Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp948621ybf; Fri, 28 Feb 2020 10:44:10 -0800 (PST) X-Google-Smtp-Source: APXvYqzIts5BpquVXyo8GG8USbp/FopEsc6pDMEGqu+L3i8gFjVzok3TrhpQztk2jRx7TGfFb0hq X-Received: by 2002:a05:6830:1b76:: with SMTP id d22mr4266334ote.343.1582915450569; Fri, 28 Feb 2020 10:44:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582915450; cv=none; d=google.com; s=arc-20160816; b=GhDficM4JpuxQDz7TCUY/9hvdyXcbSkTaWJVnhb3Ja70DiZqqLwbZXukVXdn2Vr8mE BaEhK5qm2PZmCw6WTXq30ylzbD9wAZa9IPzRjclgY2NhqmzNObPRvv07fy0NPXqpbE/4 cLqqrcH1TVl8GQKF72NEsHH/CguXobwOfF38ZQ6HU2G6fVePNoQfYtrEhPsejn4z4uTq WWv1J/RbdPPbhnEbqLwGxFlqvhvtn2QX9RzYrNOBZf2N/Ik8AMiE8VdQIAsgPBOjeTWc IYY3sR/1xMImm56YyWCUGRvNtB/ymvBgLEzuxME6vuVB+NrJGOUmWDgzTxB1us2MM3tJ sfog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=moBvHo+PTilRWFkHOSs3qSLIv/tOzADb8Es4P0sl9A4=; b=AGiTswqgRajMdBDHI+3TOyT2+COCy3kanct6GdeiAjvvaEVy4mbVGvaK0aCsgsUG9/ bLBi7jyM4W3pZepTH2hSQHzUt5hsUKLqW7D2T708Yvb4Or0NVuEm5nkWB4QNLYB1XE95 q/e9vdHgtFw3WteFkKhdisD5M6vs6BakKC1WFwy3wha8o2AT02rvjynVcJmXHDCm6RPW viKg4khZHVHogO3mVt2bzmhnIVhCy/Nm5td5pczmaSYLZSROdBeq85pk63vyUIo3Ovni mGoDjZxXI1rx6M692681GOb9P7vJnNmiLqEkaRUwIfGQqrUdqK4v4DlqUxgSYCMMho7f iIRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=SsiA+gq4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g25si2135460otj.198.2020.02.28.10.43.58; Fri, 28 Feb 2020 10:44:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=SsiA+gq4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726674AbgB1Sng (ORCPT + 99 others); Fri, 28 Feb 2020 13:43:36 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:36316 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725886AbgB1Snf (ORCPT ); Fri, 28 Feb 2020 13:43:35 -0500 Received: by mail-io1-f68.google.com with SMTP id d15so4533003iog.3 for ; Fri, 28 Feb 2020 10:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=moBvHo+PTilRWFkHOSs3qSLIv/tOzADb8Es4P0sl9A4=; b=SsiA+gq4Oo+ubZQXvcRExrh5NfW6GLe9g4JUQI/KH4QsPvKRz4QNqomuzJzwyk7YDa lMTgOTmFuYCvxYc5xXgthDOExlRMgtWcfRrgkCotfmYIALKHgnSgXtUONERx+9ZPRnWA +skhwvRdMP3b21fpLh78V52Ee8lz1/l1XMfvk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=moBvHo+PTilRWFkHOSs3qSLIv/tOzADb8Es4P0sl9A4=; b=r4YkOk/4Tu0p/YN4Tv8JtOyplHTxEia8qT6Qwf3cUWwvW+m7Gh93OxAgOJvnshA7SM NNEcu/gZ/UB0WGD6CoKEJ3lzmXKeMsnT90k+gXnfrpc+Uq52xarAk0+xYd+oB705zAlK GeJJT4fBk7R3mKF/0ARbN9C6jVyfFyP9OXlr+RvYG3N2FgPZlso8laljZwcDijPOV/ls WMNOKBZ7EDvMl5dftWpHwoCyHCtFZdIm9KF5tc1ZMfCbnZLWe+N1kG2/LjVxX1VRd0w7 nMMifguBzrHwRk6zm6rJph+6q7dDacIvXCDJQbnYKHezCcYmEihi0rhY2Zz8VoCjrsIj +46A== X-Gm-Message-State: APjAAAVagt6fy3MBJ6wXXOacUaKfZXIoXKr/xYY49nYhJUhqGu6kk3lT XLQJ5CxVnhqu8nu0KYdHgXiEaw== X-Received: by 2002:a05:6638:501:: with SMTP id i1mr4392752jar.25.1582915414850; Fri, 28 Feb 2020 10:43:34 -0800 (PST) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id g16sm2150292ioc.13.2020.02.28.10.43.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Feb 2020 10:43:34 -0800 (PST) Subject: Re: [ANN] Kselftest integration into Kernel CI To: "Bird, Tim" , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List Cc: Kevin Hilman , Michael Ellerman , Greg Kroah-Hartman , Andrew Morton , Linus Torvalds , Shuah Khan References: <3b3dc707-7ae7-955b-69fe-b9abe9ae26c5@linuxfoundation.org> From: Shuah Khan Message-ID: Date: Fri, 28 Feb 2020 11:43:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/28/20 10:50 AM, Bird, Tim wrote: > > >> -----Original Message----- >> From: Shuah Khan >> >> Integrating Kselftest into Kernel CI rings depends on Kselftest build >> and install framework to support Kernel CI use-cases. I am kicking off >> an effort to support Kselftest runs in Kernel CI rings. Running these >> tests in Kernel CI rings will help quality of kernel releases, both >> stable and mainline. >> >> What is required for full support? >> >> 1. Cross-compilation & relocatable build support >> 2. Generates objects in objdir/kselftest without cluttering main objdir >> 3. Leave source directory clean >> 4. Installs correctly in objdir/kselftest/kselftest_install and adds >> itself to run_kselftest.sh script generated during install. >> >> Note that install step is necessary for all files to be installed for >> run time support. >> >> I looked into the current status and identified problems. The work is >> minimal to add full support. Out of 80+ tests, 7 fail to cross-build >> and 1 fails to install correctly. >> >> List is below: >> >> Tests fails to build: bpf, capabilities, kvm, memfd, mqueue, timens, vm >> Tests fail to install: android (partial failure) >> Leaves source directory dirty: bpf, seccomp >> >> I have patches ready for the following issues: >> >> Kselftest objects (test dirs) clutter top level object directory. >> seccomp_bpf generates objects in the source directory. >> >> I created a topic branch to collect all the patches: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/?h=kernelci >> >> I am going to start working on build problems. If anybody is >> interested in helping me with this effort, don't hesitate to >> contact me. I first priority is fixing build and install and >> then look into tests that leave the source directory dirty. > > I'm interested in this. I'd like the same cleanups in order to run > kselftest in Fuego, and I can try it with additional toolchains > and boards. Unfortunately, in terms of running tests, almost all > the boards in my lab are running old kernels. So the tests results > aren't useful for upstream work. But I can still test > compilation and install issues, for the kselftest tests themselves. > Testing compilation and install issues is very valuable. This is one area that hasn't been test coverage compared to running tests. So it great if you can help with build/install on linux-next to catch problems in new tests. I am finding that older tests have been stable and as new tests come in, we tend to miss catching these types of problems. Especially cross-builds and installs on arm64 and others. >> >> Detailed report can be found here: >> >> https://drive.google.com/file/d/11nnWOKIzzOrE4EiucZBn423lzSU_eNNv/view?usp=sharing > > Is there anything you'd like me to look at specifically? Do you want me to start > at the bottom of the list and work up? I could look at 'vm' or 'timens'. > Yes you can start with vm and timens. thanks, -- Shuah