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]
Date:   Mon, 16 Sep 2019 09:52:30 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     "Darrick J. Wong" <darrick.wong@...cle.com>
Cc:     Dave Chinner <dchinner@...hat.com>,
        LKML <linux-kernel@...r.kernel.org>,
        "Darrick J. Wong" <darrick.wong@...cle.com>, lkp@...org
Subject: [xfs]  b81d836a68: xfstests.xfs.462.fail

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

commit: b81d836a68edd029204750143daa29b1421db187 ("xfs: remove all *_ITER_ABORT values")
https://kernel.googlesource.com/pub/scm/linux/kernel/git/djwong/xfs-linux.git xfs-5.4-fixes

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: xfs
	test: xfs-rmapbt

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-09-15 15:20:48 export TEST_DIR=/fs/vda
2019-09-15 15:20:48 export TEST_DEV=/dev/vda
2019-09-15 15:20:48 export FSTYP=xfs
2019-09-15 15:20:48 export SCRATCH_MNT=/fs/scratch
2019-09-15 15:20:48 mkdir /fs/scratch -p
2019-09-15 15:20:48 export SCRATCH_DEV=/dev/vdd
2019-09-15 15:20:48 export SCRATCH_LOGDEV=/dev/vdb
2019-09-15 15:20:48 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2019-09-15 15:20:48 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2019-09-15 15:20:48 export MKFS_OPTIONS=-mrmapbt=1
2019-09-15 15:20:48 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-rmapbt | grep -F -f merged_ignored_files
2019-09-15 15:20:48 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-rmapbt | grep -v -F -f merged_ignored_files
2019-09-15 15:20:48 ./check xfs/114 xfs/233 xfs/234 xfs/235 xfs/236 xfs/271 xfs/272 xfs/277 xfs/310 xfs/317 xfs/332 xfs/333 xfs/368 xfs/369 xfs/370 xfs/371 xfs/422 xfs/450 xfs/462 xfs/463
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 vm-snb-4G-6b6e11471aed 5.3.0-rc7-00018-gb81d836a68edd #1 SMP Sun Sep 15 14:35:33 CST 2019
MKFS_OPTIONS  -- -f -mrmapbt=1 /dev/vdd
MOUNT_OPTIONS -- /dev/vdd /fs/scratch

xfs/114	 6s
xfs/233	 350s
xfs/234	 8s
xfs/235	 6s
xfs/236	 16s
xfs/271	 3s
xfs/272	 5s
xfs/277	 2s
xfs/310	 2s
xfs/317	 3s
xfs/332	 3s
xfs/333	[not run] realtime rmapbt not supported
xfs/368	 119s
xfs/369	 11s
xfs/370	 10s
xfs/371	 12s
xfs/422	_check_xfs_filesystem: filesystem on /dev/vdd has dirty log
(see /lkp/benchmarks/xfstests/results//xfs/422.full for details)
xfs_check: /dev/vdd contains a mounted and writable filesystem

fatal error -- couldn't initialize XFS library
_check_xfs_filesystem: filesystem on /dev/vdd is inconsistent (r)
(see /lkp/benchmarks/xfstests/results//xfs/422.full for details)
- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/422.out.bad)
    --- tests/xfs/422.out	2019-09-06 14:33:46.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/422.out.bad	2019-09-15 15:30:47.611418919 +0800
    @@ -1,4 +1,5206 @@
     QA output created by 422
     Format and populate
     Concurrent repair
    +repair: Operation not supported
    +repair: Operation not supported
    +repair: Operation not supported
    +repair: Operation not supported
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/422.out /lkp/benchmarks/xfstests/results//xfs/422.out.bad'  to see the entire diff)
xfs/450	[failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/450.out.bad)
    --- tests/xfs/450.out	2019-09-06 14:33:46.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/450.out.bad	2019-09-15 15:30:48.754418919 +0800
    @@ -1,2 +1,5 @@
     QA output created by 450
    -Silence is golden.
    +umount: /fs/scratch: target is busy
    +        (In some cases useful info about processes that
    +         use the device is found by lsof(8) or fuser(1).)
    +failed to unmount /dev/vdd
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/450.out /lkp/benchmarks/xfstests/results//xfs/450.out.bad'  to see the entire diff)
xfs/462	[failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/462.out.bad)
    --- tests/xfs/462.out	2019-09-06 14:33:46.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/462.out.bad	2019-09-15 15:30:49.193418919 +0800
    @@ -1,4 +1,5 @@
     QA output created by 462
    -Format and populate
    -Fuzz rmapbt recs
    -Done fuzzing rmapbt recs
    +umount: /fs/scratch: target is busy
    +        (In some cases useful info about processes that
    +         use the device is found by lsof(8) or fuser(1).)
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/462.out /lkp/benchmarks/xfstests/results//xfs/462.out.bad'  to see the entire diff)
xfs/463	[failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/463.out.bad)
    --- tests/xfs/463.out	2019-09-06 14:33:46.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/463.out.bad	2019-09-15 15:30:50.459418919 +0800
    @@ -1,4 +1,5 @@
     QA output created by 463
    -Format and populate
    -Fuzz rmapbt keyptr
    -Done fuzzing rmapbt keyptr
    +umount: /fs/scratch: target is busy
    +        (In some cases useful info about processes that
    +         use the device is found by lsof(8) or fuser(1).)
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/463.out /lkp/benchmarks/xfstests/results//xfs/463.out.bad'  to see the entire diff)
Ran: xfs/114 xfs/233 xfs/234 xfs/235 xfs/236 xfs/271 xfs/272 xfs/277 xfs/310 xfs/317 xfs/332 xfs/333 xfs/368 xfs/369 xfs/370 xfs/371 xfs/422 xfs/450 xfs/462 xfs/463
Not run: xfs/333
Failures: xfs/422 xfs/450 xfs/462 xfs/463
Failed 4 of 20 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.3.0-rc7-00018-gb81d836a68edd .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.3.0-rc7-00018-gb81d836a68edd" of type "text/plain" (199452 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ