Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753495AbdHXUUa (ORCPT ); Thu, 24 Aug 2017 16:20:30 -0400 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:47745 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753201AbdHXUU3 (ORCPT ); Thu, 24 Aug 2017 16:20:29 -0400 Subject: Re: kselftests results under uml To: Thomas Meyer Cc: Thomas Meyer , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net, Shuah Khan References: From: Shuah Khan Message-ID: Date: Thu, 24 Aug 2017 14:20:25 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2323 Lines: 64 On 08/24/2017 02:06 PM, Thomas Meyer wrote: > Am 24.08.2017 9:34 nachm. schrieb Shuah Khan : > > Hi Thomas, > > On 08/24/2017 01:12 PM, Thomas Meyer wrote: > > Hi, > > > > I am writing a script which bundles all kselftests and run them under an UML > > kernel. > > Nice! > > > > > The script is available here: > > https://github.com/thomasmey/uml/blob/master/uml-fedora-kselftest.sh > > > > kselftests needed some fixing on debian. See the commits here: > > https://github.com/thomasmey/linux/commits/devel > > I will take a look at these. Would you be interested in sending upstream > patches for these fixes? > > I did send all um fixes upstream. Regarding https://github.com/thomasmey/linux/commit/6b0ed22e4a0990e4990f95b5aa98c19d14367bd7 > > I would like to send it upstream bit I don't know how to tell clang to include the glibc headers in a portable way (is this maybe an Debian bug?!) > I am not sure. I don't use clang. > > > > > The results are against 4.13.0-rc5-00220-g770414c23190-dirty > > > > Is anybody interested in those results? If so I can try to further automate > > these runs. > > Yes. Please send them to me and cc linux-kselftest@vger.kernel.org as you > have done for this message. > > Okay I'll work some more on this then. > > > > > > Some tests fails because either the distro used still misses > > some packages, or the uml is buggy, or the tests are buggy. It's on my todo > > list to look at all errors in details. > > Probably both. There are some tests that fail instead of skip when config > isn't enabled. We have been fixing them as we find them. You can find fixes > and enhancements slated for 4.14-rc1 in linux-kselftest next. > > One question regarding modules: > As my kernel uses an allmodconfig, some test seems to modprobe the modules they need by itself, some fail when a necessary module is not loaded, what's your opinion on that? > Right. Several tests fail the test if modules isn't loaded which isn't correct. Doing a dry-run and skip the test as opposed failing is the desired behavior. Please see lib/printf.sh for the correct way to handle it. Several tests that use modprobe need fixing. thanks, -- Shuah