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>] [day] [month] [year] [list]
Message-ID: <20190422133222.GB25607@shao2-debian>
Date:   Mon, 22 Apr 2019 21:32:22 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Christoph Hellwig <hch@....de>
Cc:     Jens Axboe <axboe@...nel.dk>, Bart Van Assche <bvanassche@....org>,
        Ming Lei <ming.lei@...hat.com>,
        Johannes Thumshirn <jthumshirn@...e.de>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [block]  8a96a0e408: xfstests.generic.349.fail

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

commit: 8a96a0e408102fb7aa73d8aa0b5e2219cfd51e55 ("block: rewrite blk_bvec_map_sg to avoid a nth_page call")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: f2fs
	test: generic-group4

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 4G

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-04-20 11:13:51 export TEST_DIR=/fs/vda
2019-04-20 11:13:51 export TEST_DEV=/dev/vda
2019-04-20 11:13:51 export FSTYP=f2fs
2019-04-20 11:13:51 export SCRATCH_MNT=/fs/scratch
2019-04-20 11:13:51 mkdir /fs/scratch -p
2019-04-20 11:13:51 export SCRATCH_DEV=/dev/vdd
2019-04-20 11:13:51 export MKFS_OPTIONS=-f
2019-04-20 11:13:51 sed "s:^:generic/:" /lkp/lkp/src/pack/xfstests-addon/tests/generic-group4 | grep -F -f merged_ignored_files
2019-04-20 11:13:51 sed "s:^:generic/:" /lkp/lkp/src/pack/xfstests-addon/tests/generic-group4 | grep -v -F -f merged_ignored_files
2019-04-20 11:13:51 ./check generic/349 generic/350 generic/352 generic/353 generic/354 generic/355 generic/356 generic/357 generic/358 generic/359 generic/360 generic/361 generic/362 generic/363 generic/364 generic/365 generic/366 generic/367 generic/368 generic/369 generic/370 generic/371 generic/372 generic/373 generic/374 generic/375 generic/376 generic/377 generic/378 generic/379 generic/380 generic/381 generic/382 generic/383 generic/384 generic/385
FSTYP         -- f2fs
PLATFORM      -- Linux/x86_64 vm-snb-4G-754 5.1.0-rc3-00083-g8a96a0e4
MKFS_OPTIONS  -- -f /dev/vdd
MOUNT_OPTIONS -- -o acl,user_xattr /dev/vdd /fs/scratch

generic/349	- output mismatch (see /lkp/benchmarks/xfstests/results//generic/349.out.bad)
    --- tests/generic/349.out	2019-04-17 19:35:39.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//generic/349.out.bad	2019-04-20 11:14:02.972755404 +0800
    @@ -4,8 +4,8 @@
     Zero range without keep_size
     Zero range past EOD
     Check contents
    -f0cb9070c098aa347f664bead3a219d9  SCSI_DEBUG_DEV
    +cc742ba48530d0c2463fa34c9e8ed083  SCSI_DEBUG_DEV
     Zero range to MAX_LFS_FILESIZE
     Check contents
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/349.out /lkp/benchmarks/xfstests/results//generic/349.out.bad'  to see the entire diff)
generic/350	- output mismatch (see /lkp/benchmarks/xfstests/results//generic/350.out.bad)
    --- tests/generic/350.out	2019-04-17 19:35:39.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//generic/350.out.bad	2019-04-20 11:14:06.200755404 +0800
    @@ -3,8 +3,8 @@
     Zero punch
     Punch range past EOD
     Check contents
    -8c6a3fd51601141b56eaebbab3746156  SCSI_DEBUG_DEV
    +2fc1a274684fc1d3951f3612a0e58aee  SCSI_DEBUG_DEV
     Punch to MAX_LFS_FILESIZE
     Check contents
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/350.out /lkp/benchmarks/xfstests/results//generic/350.out.bad'  to see the entire diff)
generic/352	[not run] Reflink not supported by scratch filesystem type: f2fs
generic/353	[not run] Reflink not supported by scratch filesystem type: f2fs
generic/354	 9s
generic/355	 3s
generic/356	[not run] Reflink not supported by scratch filesystem type: f2fs
generic/357	[not run] Reflink not supported by scratch filesystem type: f2fs
generic/358	[not run] Reflink not supported by scratch filesystem type: f2fs
generic/359	[not run] Reflink not supported by scratch filesystem type: f2fs
generic/360	 2s
generic/361	 3s
generic/362	[not run] this test requires richacl support on $SCRATCH_DEV
generic/363	[not run] this test requires richacl support on $SCRATCH_DEV
generic/364	[not run] this test requires richacl support on $SCRATCH_DEV
generic/365	[not run] this test requires richacl support on $SCRATCH_DEV
generic/366	[not run] this test requires richacl support on $SCRATCH_DEV
generic/367	[not run] this test requires richacl support on $SCRATCH_DEV
generic/368	[not run] this test requires richacl support on $SCRATCH_DEV
generic/369	[not run] this test requires richacl support on $SCRATCH_DEV
generic/370	[not run] this test requires richacl support on $SCRATCH_DEV
generic/371	 24s
generic/372	[not run] Reflink not supported by scratch filesystem type: f2fs
generic/373	[not run] Reflink not supported by scratch filesystem type: f2fs
generic/374	[not run] Dedupe not supported by scratch filesystem type: f2fs
generic/375	 3s
generic/376	 3s
generic/377	 7s
generic/378	 3s
generic/379	[not run] disk quotas not supported by this filesystem type: f2fs
generic/380	[not run] disk quotas not supported by this filesystem type: f2fs
generic/381	[not run] disk quotas not supported by this filesystem type: f2fs
generic/382	[not run] disk quotas not supported by this filesystem type: f2fs
generic/383	[not run] disk quotas not supported by this filesystem type: f2fs
generic/384	[not run] disk quotas not supported by this filesystem type: f2fs
generic/385	[not run] disk quotas not supported by this filesystem type: f2fs
Ran: generic/349 generic/350 generic/352 generic/353 generic/354 generic/355 generic/356 generic/357 generic/358 generic/359 generic/360 generic/361 generic/362 generic/363 generic/364 generic/365 generic/366 generic/367 generic/368 generic/369 generic/370 generic/371 generic/372 generic/373 generic/374 generic/375 generic/376 generic/377 generic/378 generic/379 generic/380 generic/381 generic/382 generic/383 generic/384 generic/385
Not run: generic/352 generic/353 generic/356 generic/357 generic/358 generic/359 generic/362 generic/363 generic/364 generic/365 generic/366 generic/367 generic/368 generic/369 generic/370 generic/372 generic/373 generic/374 generic/379 generic/380 generic/381 generic/382 generic/383 generic/384 generic/385
Failures: generic/349 generic/350
Failed 2 of 36 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.1.0-rc3-00083-g8a96a0e4 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
	bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email




Thanks,
Rong Chen


View attachment "config-5.1.0-rc3-00083-g8a96a0e4" of type "text/plain" (188879 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ