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:   Tue, 17 Mar 2020 16:48:45 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Dave Chinner <dchinner@...hat.com>
Cc:     Dave Chinner <david@...morbit.com>,
        LKML <linux-kernel@...r.kernel.org>, linux-xfs@...r.kernel.org,
        lkp@...ts.01.org
Subject: [xfs] 3524e9d824: xfstests.xfs.011.fail

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

commit: 3524e9d824460f4dcb76863725dc5e2d149a4e9b ("xfs: don't try to write a start record into every iclog")
https://git.kernel.org/cgit/linux/kernel/git/dgc/linux-xfs.git xlog-ticket-cleanup

in testcase: xfstests
with following parameters:

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

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>

2020-03-17 11:00:47 export TEST_DIR=/fs/vda
2020-03-17 11:00:47 export TEST_DEV=/dev/vda
2020-03-17 11:00:47 export FSTYP=xfs
2020-03-17 11:00:47 export SCRATCH_MNT=/fs/scratch
2020-03-17 11:00:47 mkdir /fs/scratch -p
2020-03-17 11:00:47 export SCRATCH_DEV=/dev/vdd
2020-03-17 11:00:47 export SCRATCH_LOGDEV=/dev/vdb
2020-03-17 11:00:47 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2020-03-17 11:00:47 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2020-03-17 11:00:47 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group10 | grep -F -f merged_ignored_files
2020-03-17 11:00:47 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group10 | grep -v -F -f merged_ignored_files
2020-03-17 11:00:47 ./check xfs/011 xfs/041 xfs/071 xfs/106 xfs/146 xfs/177 xfs/252 xfs/296 xfs/365 xfs/401 xfs/449 xfs/486
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 vm-snb-73 5.6.0-rc4-00002-g3524e9d824460 #1 SMP Tue Mar 17 10:33:49 CST 2020
MKFS_OPTIONS  -- -f -bsize=4096 /dev/vdd
MOUNT_OPTIONS -- /dev/vdd /fs/scratch

xfs/011	- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/011.out.bad)
    --- tests/xfs/011.out	2020-03-05 16:38:54.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/011.out.bad	2020-03-17 11:01:46.605024521 +0800
    @@ -1,2 +1,12 @@
     QA output created by 011
     Silence is golden.
    +reserve_grant_head (1:776716) does not match log_head_lsn (1:776704), possible leak detected.
    +write_grant_head (1:776716) does not match log_head_lsn (1:776704), possible leak detected.
    +reserve_grant_head (1:1672324) does not match log_head_lsn (1:1672192), possible leak detected.
    +write_grant_head (1:1672324) does not match log_head_lsn (1:1672192), possible leak detected.
    +reserve_grant_head (1:2559252) does not match log_head_lsn (1:2558976), possible leak detected.
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/011.out /lkp/benchmarks/xfstests/results//xfs/011.out.bad'  to see the entire diff)
xfs/041	 172s
xfs/071	 18s
xfs/106	 48s
xfs/146	[not run] Assuming DMAPI modules are not loaded
xfs/177	[not run] Assuming DMAPI modules are not loaded
xfs/252	 17s
xfs/296	 29s
xfs/365	[not run] xfs_scrub not found
xfs/401	[not run] xfs_scrub not found
xfs/449	[not run] xfs_spaceman utility required, skipped this test
xfs/486	[not run] xfs_scrub not found
Ran: xfs/011 xfs/041 xfs/071 xfs/106 xfs/146 xfs/177 xfs/252 xfs/296 xfs/365 xfs/401 xfs/449 xfs/486
Not run: xfs/146 xfs/177 xfs/365 xfs/401 xfs/449 xfs/486
Failures: xfs/011
Failed 1 of 12 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.6.0-rc4-00002-g3524e9d824460 .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.6.0-rc4-00002-g3524e9d824460" of type "text/plain" (203581 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ