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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200513085057.GJ17565@shao2-debian>
Date:   Wed, 13 May 2020 16:50:57 +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] f7c4c6cb55: xfstests.xfs.231.fail

Greeting,

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

commit: f7c4c6cb557622a6808848b1a1c7d8b44b7fe819 ("xfs: remove the separate cowblocks worker")
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git repair-metadata-atomically

in testcase: xfstests
with following parameters:

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

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-05-12 21:42:18 export TEST_DIR=/fs/vda
2020-05-12 21:42:18 export TEST_DEV=/dev/vda
2020-05-12 21:42:18 export FSTYP=xfs
2020-05-12 21:42:18 export SCRATCH_MNT=/fs/scratch
2020-05-12 21:42:18 mkdir /fs/scratch -p
2020-05-12 21:42:18 export SCRATCH_DEV=/dev/vdd
2020-05-12 21:42:18 export SCRATCH_LOGDEV=/dev/vdb
2020-05-12 21:42:18 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2020-05-12 21:42:18 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2020-05-12 21:42:18 export MKFS_OPTIONS=-mreflink=1
2020-05-12 21:42:18 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-reflink | grep -F -f merged_ignored_files
2020-05-12 21:42:18 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-reflink | grep -v -F -f merged_ignored_files
2020-05-12 21:42:18 ./check xfs/127 xfs/128 xfs/129 xfs/130 xfs/139 xfs/140 xfs/169 xfs/179 xfs/180 xfs/182 xfs/184 xfs/192 xfs/193 xfs/198 xfs/200 xfs/204 xfs/207 xfs/208 xfs/209 xfs/210 xfs/211 xfs/212 xfs/213 xfs/214 xfs/215 xfs/218 xfs/219 xfs/221 xfs/223 xfs/224 xfs/225 xfs/226 xfs/228 xfs/230 xfs/231 xfs/232 xfs/237 xfs/239 xfs/240 xfs/241 xfs/243 xfs/245 xfs/247 xfs/248 xfs/249 xfs/251 xfs/254 xfs/255 xfs/256 xfs/257 xfs/258 xfs/265 xfs/280 xfs/307 xfs/308 xfs/309 xfs/312 xfs/313 xfs/315 xfs/316 xfs/319 xfs/320 xfs/321 xfs/323 xfs/324 xfs/325 xfs/326 xfs/327 xfs/328 xfs/330 xfs/344 xfs/345 xfs/346 xfs/347 xfs/372 xfs/373 xfs/410 xfs/411 xfs/420 xfs/421 xfs/435 xfs/440 xfs/441 xfs/442 xfs/464 xfs/483 xfs/507
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 vm-snb-110 5.7.0-rc3-00062-gf7c4c6cb55762 #1 SMP Tue May 12 21:03:37 CST 2020
MKFS_OPTIONS  -- -f -mreflink=1 /dev/vdd
MOUNT_OPTIONS -- /dev/vdd /fs/scratch

xfs/127	 46s
xfs/128	 30s
xfs/129	 10s
xfs/130	 5s
xfs/139	 45s
xfs/140	 140s
xfs/169	 78s
xfs/179	 4s
xfs/180	 5s
xfs/182	 5s
xfs/184	 4s
xfs/192	 5s
xfs/193	 4s
xfs/198	 5s
xfs/200	 5s
xfs/204	 5s
xfs/207	 4s
xfs/208	 4s
xfs/209	 3s
xfs/210	 3s
xfs/211	 393s
xfs/212	 6s
xfs/213	 5s
xfs/214	 4s
xfs/215	 5s
xfs/218	 4s
xfs/219	 5s
xfs/221	 5s
xfs/223	 5s
xfs/224	 5s
xfs/225	 4s
xfs/226	 5s
xfs/228	 5s
xfs/230	 4s
xfs/231	- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/231.out.bad)
    --- tests/xfs/231.out	2020-05-11 11:07:16.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/231.out.bad	2020-05-12 21:57:00.598055414 +0800
    @@ -1,4 +1,5 @@
     QA output created by 231
    +cat: /proc/sys/fs/xfs/speculative_cow_prealloc_lifetime: No such file or directory
     Format and mount
     Create the original files
     Compare files
    @@ -6,11 +7,14 @@
     bdbcf02ee0aa977795a79d25fcfdccb1  SCRATCH_MNT/test-231/file2
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/231.out /lkp/benchmarks/xfstests/results//xfs/231.out.bad'  to see the entire diff)
xfs/232	- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/232.out.bad)
    --- tests/xfs/232.out	2020-05-11 11:07:16.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/232.out.bad	2020-05-12 21:57:09.641055414 +0800
    @@ -1,4 +1,5 @@
     QA output created by 232
    +cat: /proc/sys/fs/xfs/speculative_cow_prealloc_lifetime: No such file or directory
     Format and mount
     Create the original files
     Compare files
    @@ -6,11 +7,14 @@
     bdbcf02ee0aa977795a79d25fcfdccb1  SCRATCH_MNT/test-232/file2
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/232.out /lkp/benchmarks/xfstests/results//xfs/232.out.bad'  to see the entire diff)
xfs/237	 7s
xfs/239	 5s
xfs/240	 5s
xfs/241	 5s
xfs/243	 5s
xfs/245	 4s
xfs/247	 4s
xfs/248	 5s
xfs/249	 5s
xfs/251	 5s
xfs/254	 4s
xfs/255	 5s
xfs/256	 5s
xfs/257	 6s
xfs/258	 5s
xfs/265	 22s
xfs/280	 4s
xfs/307	 6s
xfs/308	 6s
xfs/309	 21s
xfs/312	 6s
xfs/313	 4s
xfs/315	 5s
xfs/316	 4s
xfs/319	 4s
xfs/320	 4s
xfs/321	 5s
xfs/323	 5s
xfs/324	 5s
xfs/325	 4s
xfs/326	 5s
xfs/327	 5s
xfs/328	 42s
xfs/330	 4s
xfs/344	 6s
xfs/345	 5s
xfs/346	 11s
xfs/347	 8s
xfs/372	[not run] xfs_scrub not found
xfs/373	[not run] xfs_scrub not found
xfs/410	[not run] xfs_scrub not found
xfs/411	[not run] xfs_scrub not found
xfs/420	 5s
xfs/421	 4s
xfs/435	 4s
xfs/440	 4s
xfs/441	 4s
xfs/442	 541s
xfs/464	[not run] xfs_scrub not found
xfs/483	[not run] xfs_scrub not found
xfs/507	[failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/507.out.bad)
    --- tests/xfs/507.out	2020-05-11 11:07:16.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/507.out.bad	2020-05-12 22:11:13.071055414 +0800
    @@ -1,8 +1,29 @@
     QA output created by 507
     Format and mount
    -Create crazy huge file
    -Reflink crazy huge file
    -COW crazy huge file
    -Check crazy huge file
    -st_blocks is in range
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/507.out /lkp/benchmarks/xfstests/results//xfs/507.out.bad'  to see the entire diff)
Ran: xfs/127 xfs/128 xfs/129 xfs/130 xfs/139 xfs/140 xfs/169 xfs/179 xfs/180 xfs/182 xfs/184 xfs/192 xfs/193 xfs/198 xfs/200 xfs/204 xfs/207 xfs/208 xfs/209 xfs/210 xfs/211 xfs/212 xfs/213 xfs/214 xfs/215 xfs/218 xfs/219 xfs/221 xfs/223 xfs/224 xfs/225 xfs/226 xfs/228 xfs/230 xfs/231 xfs/232 xfs/237 xfs/239 xfs/240 xfs/241 xfs/243 xfs/245 xfs/247 xfs/248 xfs/249 xfs/251 xfs/254 xfs/255 xfs/256 xfs/257 xfs/258 xfs/265 xfs/280 xfs/307 xfs/308 xfs/309 xfs/312 xfs/313 xfs/315 xfs/316 xfs/319 xfs/320 xfs/321 xfs/323 xfs/324 xfs/325 xfs/326 xfs/327 xfs/328 xfs/330 xfs/344 xfs/345 xfs/346 xfs/347 xfs/372 xfs/373 xfs/410 xfs/411 xfs/420 xfs/421 xfs/435 xfs/440 xfs/441 xfs/442 xfs/464 xfs/483 xfs/507
Not run: xfs/372 xfs/373 xfs/410 xfs/411 xfs/464 xfs/483
Failures: xfs/231 xfs/232 xfs/507
Failed 3 of 87 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.7.0-rc3-00062-gf7c4c6cb55762 .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.7.0-rc3-00062-gf7c4c6cb55762" of type "text/plain" (202338 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ