Re: kunit stopped working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+Cc people from culprit commit

On Mon, Dec 21, 2020 at 09:27:57PM +0200, Andy Shevchenko wrote:
> On Mon, Dec 21, 2020 at 11:37:44AM -0700, Shuah Khan wrote:
> > On 12/21/20 7:45 AM, Andy Shevchenko wrote:
> > > On Mon, Dec 21, 2020 at 04:43:02PM +0200, Andy Shevchenko wrote:
> > > > Hi!
> > > > 
> > > > For last few weeks KUnit stopped working. Any insight?
> > > > 
> > > > P.S. I guess no need to tell that my kernel on which I run tests has not been
> > > > changed as well as command line for wrapper:
> > > > 
> > > > 	tools/testing/kunit/kunit.py run --build_dir ~/$OUT_DIR
> > > 
> > > Current output (expected 18 tests to be run from several modules):
> > > 
> > > $ tools/testing/kunit/kunit.py run --build_dir ~/$OUT_DIR
> > > [16:42:24] Configuring KUnit Kernel ...
> > > [16:42:24] Building KUnit Kernel ...
> > > [16:42:28] Starting KUnit Kernel ...
> > > [ERROR] no tests run!
> > > [16:42:28] ============================================================
> > > [16:42:28] Testing complete. 0 tests run. 0 failed. 0 crashed.
> > > [16:42:28] Elapsed time: 3.563s total, 0.002s configuring, 3.441s building, 0.000s running
> 
> > Please give more details on which repo you are using and the what's
> > the top commit.
> 
> v5.10 - OK
> 
> [21:24:14] Testing complete. 14 tests run. 0 failed. 0 crashed.
> 
> Linux Next 20201221 - Not OK.
> 
> I'm expecting that v5.11-rc1 will be broken.

Luckily it's easy to bisect:

# bad: [3b45c156c48f6fa078789df83c3174f96d01ecb8] defconfig: remove everything that is not needed for netboot
# good: [2c85ebc57b3e1817b6ce1a6b703928e113a90442] Linux 5.10
# good: [2cffa11e2aa76a0560c890f057858b68fe744d03] Merge tag 'irq-core-2020-12-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
# bad: [9805529ec544ea7a82d891d5239a8ebd3dbb2a3e] Merge tag 'arm-soc-dt-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
# bad: [ac7ac4618cf25e0d5cd8eba83d5f600084b65b9a] Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-block
# good: [8958b2491104d7f254cff0698505392582dbc13a] mm: fix some spelling mistakes in comments
# good: [6febd8bef36e64fc1f4aaff1f6302be5c653ad64] Merge branch 'signal-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
# bad: [8312f41f08edc641aa927d31fb71319694ae9c42] Merge tag 'mips_5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
# bad: [ca5b877b6ccc7b989614f3f541e9a1fe2ff7f75a] Merge tag 'selinux-pr-20201214' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux
# good: [157807123c94acc8dcddd08a2335bd0173c5d68d] Merge tag 'asm-generic-mmu-context-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
# good: [7194850efa47c8dac6e805087dd23c7b03af019d] Merge tag 'linux-kselftest-next-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
# bad: [d3eb52113d162cc88975fbd03c9e6f9cf2f8a771] Merge tag 'printk-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux
# good: [5e60366d56c630e32befce7ef05c569e04391ca3] Merge tag 'fallthrough-fixes-clang-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
# bad: [5f3b8d398601055f29f32986a94d55955cd48f09] Merge branch 'for-5.11-null-console' into for-linus
# bad: [3cffa06aeef7ece30f6b5ac0ea51f264e8fea4d0] printk/console: Allow to disable console output by using console="" or console=null
# bad: [757055ae8dedf5333af17b3b5b4b70ba9bc9da4e] init/console: Use ttynull as a fallback when there is no console
# first bad commit: [757055ae8dedf5333af17b3b5b4b70ba9bc9da4e] init/console: Use ttynull as a fallback when there is no console



-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux