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: <20200104114651.GG25360@shao2-debian>
Date:   Sat, 4 Jan 2020 19:46:52 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     "Darrick J. Wong" <darrick.wong@...cle.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        "Darrick J. Wong" <darrick.wong@...cle.com>, lkp@...ts.01.org
Subject: [xfs] 2155ea1023: xfstests.xfs.262.fail

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

commit: 2155ea10235b3503ea0abd9df01e6b73a536991f ("xfs: repair inode block maps")
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git repair-quota

in testcase: xfstests
with following parameters:

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

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-01-03 23:48:55 export TEST_DIR=/fs/vda
2020-01-03 23:48:55 export TEST_DEV=/dev/vda
2020-01-03 23:48:55 export FSTYP=xfs
2020-01-03 23:48:55 export SCRATCH_MNT=/fs/scratch
2020-01-03 23:48:55 mkdir /fs/scratch -p
2020-01-03 23:48:55 export SCRATCH_DEV=/dev/vdd
2020-01-03 23:48:55 export SCRATCH_LOGDEV=/dev/vdb
2020-01-03 23:48:55 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2020-01-03 23:48:55 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2020-01-03 23:48:55 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group16 | grep -F -f merged_ignored_files
2020-01-03 23:48:55 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group16 | grep -v -F -f merged_ignored_files
2020-01-03 23:48:55 ./check xfs/261 xfs/262 xfs/263 xfs/264 xfs/266 xfs/267 xfs/268 xfs/269 xfs/270 xfs/273 xfs/278 xfs/279
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 vm-snb-b61411d4a03e 5.5.0-rc4-00026-g2155ea10235b3 #1 SMP Fri Jan 3 23:22:59 CST 2020
MKFS_OPTIONS  -- -f -bsize=4096 /dev/vdd
MOUNT_OPTIONS -- /dev/vdd /fs/scratch

xfs/261	 2s
xfs/262	_check_dmesg: something found in dmesg (see /lkp/benchmarks/xfstests/results//xfs/262.dmesg)
- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/262.out.bad)
    --- tests/xfs/262.out	2019-12-25 16:49:46.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/262.out.bad	2020-01-03 23:49:05.027241420 +0800
    @@ -1,3 +1,17 @@
     QA output created by 262
     Format and populate
     Force online repairs
    +Corruption: inode 131 (0/131) data block map: Repair unsuccessful; offline repair required. (scrub.c line 790)
    +Corruption: inode 132 (0/132) data block map: Repair unsuccessful; offline repair required. (scrub.c line 790)
    +Corruption: inode 133 (0/133) data block map: Repair unsuccessful; offline repair required. (scrub.c line 790)
    +Corruption: inode 134 (0/134) data block map: Repair unsuccessful; offline repair required. (scrub.c line 790)
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/262.out /lkp/benchmarks/xfstests/results//xfs/262.out.bad'  to see the entire diff)
xfs/263	 2s
xfs/264	 9s
xfs/266	 16s
xfs/267	[not run] No dump tape specified
xfs/268	[not run] No dump tape specified
xfs/269	 2s
xfs/270	 1s
xfs/273	 164s
xfs/278	 2s
xfs/279	 7s
Ran: xfs/261 xfs/262 xfs/263 xfs/264 xfs/266 xfs/267 xfs/268 xfs/269 xfs/270 xfs/273 xfs/278 xfs/279
Not run: xfs/267 xfs/268
Failures: xfs/262
Failed 1 of 12 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.5.0-rc4-00026-g2155ea10235b3 .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.5.0-rc4-00026-g2155ea10235b3" of type "text/plain" (202322 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ