lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191127004328.GB20422@shao2-debian>
Date:   Wed, 27 Nov 2019 08:43:29 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Dave Chinner <david@...morbit.com>
Cc:     Ming Lei <ming.lei@...hat.com>, linux-block@...r.kernel.org,
        linux-fsdevel@...r.kernel.org, linux-xfs@...r.kernel.org,
        linux-kernel@...r.kernel.org, Jeff Moyer <jmoyer@...hat.com>,
        Dave Chinner <dchinner@...hat.com>,
        Eric Sandeen <sandeen@...hat.com>,
        Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>,
        Ingo Molnar <mingo@...hat.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Tejun Heo <tj@...nel.org>, lkp@...ts.01.org
Subject: 0da4873c66: xfstests.generic.287.fail

FYI, we noticed the following commit (built with gcc-7):

commit: 0da4873c663ebd0a0aa89d49f8c0e6b15e547f3a ("Re: single aio thread is migrated crazily by scheduler")
url: https://github.com/0day-ci/linux/commits/Dave-Chinner/Re-single-aio-thread-is-migrated-crazily-by-scheduler/20191115-075605
base: https://git.kernel.org/cgit/fs/xfs/xfs-linux.git for-next

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: xfs
	test: generic-group14

test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git


on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):




If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>

2019-11-25 07:42:35 export TEST_DIR=/fs/vda
2019-11-25 07:42:35 export TEST_DEV=/dev/vda
2019-11-25 07:42:35 export FSTYP=xfs
2019-11-25 07:42:35 export SCRATCH_MNT=/fs/scratch
2019-11-25 07:42:35 mkdir /fs/scratch -p
2019-11-25 07:42:35 export SCRATCH_DEV=/dev/vdd
2019-11-25 07:42:35 export SCRATCH_LOGDEV=/dev/vdb
meta-data=/dev/vda               isize=512    agcount=4, agsize=16777216 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1
data     =                       bsize=4096   blocks=67108864, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
log      =internal log           bsize=4096   blocks=32768, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
2019-11-25 07:42:35 export MKFS_OPTIONS=-mreflink=1
2019-11-25 07:42:35 sed "s:^:generic/:" //lkp/benchmarks/xfstests/tests/generic-group14
2019-11-25 07:42:35 ./check generic/281 generic/282 generic/283 generic/284 generic/285 generic/286 generic/287 generic/288 generic/289 generic/290 generic/291 generic/292 generic/293 generic/294 generic/295 generic/296 generic/298 generic/30
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 vm-snb-2b2ebbb8cac0 5.4.0-rc3-00207-g0da4873c663eb #1 SMP Fri Nov 15 19:22:52 CST 2019
MKFS_OPTIONS  -- -f -mreflink=1 /dev/vdd
MOUNT_OPTIONS -- /dev/vdd /fs/scratch

generic/281	 33s
generic/282	 4s
generic/283	 33s
generic/284	 4s
generic/285	 1s
generic/286	 3s
generic/287	- output mismatch (see /lkp/benchmarks/xfstests/results//generic/287.out.bad)
    --- tests/generic/287.out	2019-11-06 09:57:56.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//generic/287.out.bad	2019-11-25 07:44:00.877148102 +0800
    @@ -7,6 +7,6 @@
     bdbcf02ee0aa977795a79d25fcfdccb1  SCRATCH_MNT/test-287/file1.chk
     CoW across the transition
     Compare files
    -2dc2b131303b2f70ddb480778caac8b7  SCRATCH_MNT/test-287/file1
    +00f4f4ac4f4b6feac3186f131e83b915  SCRATCH_MNT/test-287/file1
     ce2023f765eba19677517c511886d5c9  SCRATCH_MNT/test-287/file3
     2dc2b131303b2f70ddb480778caac8b7  SCRATCH_MNT/test-287/file1.chk
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/287.out /lkp/benchmarks/xfstests/results//generic/287.out.bad'  to see the entire diff)
generic/288	[not run] FITRIM not supported on /fs/scratch
generic/289	 3s
generic/290	 4s
generic/291	 4s
generic/292	 3s
generic/293	 3s
generic/294	 2s
generic/295	 3s
generic/296	 4s
generic/298	 38s
generic/30 - no such test?
Ran: generic/281 generic/282 generic/283 generic/284 generic/285 generic/286 generic/287 generic/288 generic/289 generic/290 generic/291 generic/292 generic/293 generic/294 generic/295 generic/296 generic/298
Not run: generic/288
Failures: generic/287
Failed 1 of 17 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-rc3-00207-g0da4873c663eb .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
	cd <mod-install-dir>
	find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email



Thanks,
Rong Chen


View attachment "config-5.4.0-rc3-00207-g0da4873c663eb" of type "text/plain" (200562 bytes)

View attachment "job-script" of type "text/plain" (5494 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (96860 bytes)

View attachment "xfstests" of type "text/plain" (3019 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ