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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200511010957.GW5770@shao2-debian>
Date:   Mon, 11 May 2020 09:09:57 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Matthew Wilcox <willy@...radead.org>
Cc:     0day robot <lkp@...el.com>, Jens Axboe <axboe@...nel.dk>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [pipe] f2af7d90e2: xfstests.btrfs.052.fail

Greeting,

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

commit: f2af7d90e25ce1cf03318bf3290fcfc1e762d8f9 ("pipe: read/write_iter() handler should check for IOCB_NOWAIT")
url: https://github.com/0day-ci/linux/commits/UPDATE-20200501-052027/Jens-Axboe/pipe-read-write_iter-handler-should-check-for-IOCB_NOWAIT/20200501-044837


in testcase: xfstests
with following parameters:

	disk: 6HDD
	fs: btrfs
	test: btrfs-group00

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-06 21:03:14 export TEST_DIR=/fs/vda
2020-05-06 21:03:14 export TEST_DEV=/dev/vda
2020-05-06 21:03:14 export FSTYP=btrfs
2020-05-06 21:03:14 export SCRATCH_MNT=/fs/scratch
2020-05-06 21:03:14 mkdir /fs/scratch -p
2020-05-06 21:03:15 export SCRATCH_DEV_POOL="/dev/vdb /dev/vdc /dev/vdd /dev/vde /dev/vdf"
2020-05-06 21:03:15 sed "s:^:btrfs/:" //lkp/benchmarks/xfstests/tests/btrfs-group00
2020-05-06 21:03:15 ./check btrfs/001 btrfs/004 btrfs/007 btrfs/010 btrfs/013 btrfs/016 btrfs/019 btrfs/022 btrfs/025 btrfs/028 btrfs/031 btrfs/034 btrfs/037 btrfs/040 btrfs/043 btrfs/046 btrfs/049 btrfs/052 btrfs/055 btrfs/058 btrfs/061 btrfs/064 btrfs/067 btrfs/071 btrfs/074 btrfs/077 btrfs/080 btrfs/083 btrfs/086 btrfs/089 btrfs/092 btrfs/095 btrfs/098 btrfs/101 btrfs/104 btrfs/107 btrfs/110 btrfs/113 btrfs/116 btrfs/119 btrfs/122 btrfs/125 btrfs/128 btrfs/131 btrfs/134 btrfs/137 btrfs/140 btrfs/143 btrfs/146 btrfs/149 btrfs/152 btrfs/155 btrfs/158 btrfs/161 btrfs/164 btrfs/167 btrfs/170 btrfs/173 btrfs/176 btrfs/179 btrfs/182 btrfs/185 btrfs/188 btrfs/191 btrfs/194 btrfs/197 btrfs/200 btrfs/203 btrfs/206 btrfs/209
FSTYP         -- btrfs
PLATFORM      -- Linux/x86_64 vm-snb-30 5.7.0-rc3-00044-gf2af7d90e25ce #1 SMP Wed May 6 04:20:50 CST 2020
MKFS_OPTIONS  -- /dev/vdb
MOUNT_OPTIONS -- /dev/vdb /fs/scratch

btrfs/001	 3s
btrfs/004	 73s
btrfs/007	 1s
btrfs/010	 129s
btrfs/013	 11s
btrfs/016	 2s
btrfs/019	 0s
btrfs/022	 5s
btrfs/025	 1s
btrfs/028	 31s
btrfs/031	 0s
btrfs/034	 6s
btrfs/037	 1s
btrfs/040	 1s
btrfs/043	 1s
btrfs/046	 4s
btrfs/049	 6s
btrfs/052	- output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/052.out.bad)
    --- tests/btrfs/052.out	2020-04-09 10:45:28.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//btrfs/052.out.bad	2020-05-06 21:07:55.779485703 +0800
    @@ -1,643 +1,139 @@
     QA output created by 052
     Testing with a cow file (default)
    -Blocks modified: [0 - 1]
    -Blocks modified: [2 - 3]
    -Blocks modified: [4 - 5]
    -Blocks modified: [6 - 7]
    -Blocks modified: [8 - 23]
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/052.out /lkp/benchmarks/xfstests/results//btrfs/052.out.bad'  to see the entire diff)
btrfs/055	- output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/055.out.bad)
    --- tests/btrfs/055.out	2020-04-09 10:45:28.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//btrfs/055.out.bad	2020-05-06 21:07:56.994485703 +0800
    @@ -1,337 +1,59 @@
     QA output created by 055
     Testing without the NO_HOLES feature
    -Blocks modified: [0 - 1]
    -Blocks modified: [2 - 3]
    -Blocks modified: [6 - 7]
    -Blocks modified: [8 - 9]
    -Blocks modified: [0 - 23]
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/055.out /lkp/benchmarks/xfstests/results//btrfs/055.out.bad'  to see the entire diff)
btrfs/058	 3s
btrfs/061	 97s
btrfs/064	 88s
btrfs/067	 51s
btrfs/071	 22s
btrfs/074	 45s
btrfs/077	 0s
btrfs/080	 43s
btrfs/083	 1s
btrfs/086	 1s
btrfs/089	 1s
btrfs/092	 1s
btrfs/095	- output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/095.out.bad)
    --- tests/btrfs/095.out	2020-04-09 10:45:28.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//btrfs/095.out.bad	2020-05-06 21:13:51.276485703 +0800
    @@ -1,35 +1,9 @@
     QA output created by 095
    -Blocks modified: [135 - 164]
    -Blocks modified: [768 - 792]
    +awk: line 19: function strtonum never defined
    +awk: line 19: function strtonum never defined
    +awk: line 19: function strtonum never defined
    +awk: line 19: function strtonum never defined
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/095.out /lkp/benchmarks/xfstests/results//btrfs/095.out.bad'  to see the entire diff)
btrfs/098	- output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/098.out.bad)
    --- tests/btrfs/098.out	2020-04-09 10:45:28.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//btrfs/098.out.bad	2020-05-06 21:13:52.311485703 +0800
    @@ -1,22 +1,7 @@
     QA output created by 098
    -Blocks modified: [200 - 224]
    +awk: line 19: function strtonum never defined
    +awk: line 19: function strtonum never defined
     File contents before power failure:
    -0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    -*
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/098.out /lkp/benchmarks/xfstests/results//btrfs/098.out.bad'  to see the entire diff)
btrfs/101	 17s
btrfs/104	 1s
btrfs/107	 1s
btrfs/110	 1s
btrfs/113	 1s
btrfs/116	[not run] FITRIM not supported on /fs/scratch
btrfs/119	 1s
btrfs/122	 6s
btrfs/125	 19s
btrfs/128	 2s
btrfs/131	 2s
btrfs/134	 1s
btrfs/137	- output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/137.out.bad)
    --- tests/btrfs/137.out	2020-04-09 10:45:28.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//btrfs/137.out.bad	2020-05-06 21:14:46.418485703 +0800
    @@ -17,22 +17,15 @@
     d3dc847171f9081bd75d7a2d3b53d322  SCRATCH_MNT/snap2/bar
     
     File snap1/foo fiemap results in the original filesystem:
    -0: [0..7]: data
     
     File snap1/bar fiemap results in the original filesystem:
    -0: [0..7]: data
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/137.out /lkp/benchmarks/xfstests/results//btrfs/137.out.bad'  to see the entire diff)
btrfs/140	 1s
btrfs/143	 2s
btrfs/146	 2s
btrfs/149	 2s
btrfs/152	 1s
btrfs/155	 1s
btrfs/158	 1s
btrfs/161	 0s
btrfs/164	 2s
btrfs/167	 1s
btrfs/170	 1s
btrfs/173	 0s
btrfs/176	 2s
btrfs/179	 133s
btrfs/182	 3s
btrfs/185	 0s
btrfs/188	 1s
btrfs/191	 1s
btrfs/194	 20s
btrfs/197	- output mismatch (see /lkp/benchmarks/xfstests/results//btrfs/197.out.bad)
    --- tests/btrfs/197.out	2020-04-09 10:45:28.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//btrfs/197.out.bad	2020-05-06 21:17:44.450485703 +0800
    @@ -3,23 +3,19 @@
     Label: none  uuid: <UUID>
     	Total devices <NUM> FS bytes used <SIZE>
     	devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV
    -	*** Some devices missing
     
     raid5
     Label: none  uuid: <UUID>
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/btrfs/197.out /lkp/benchmarks/xfstests/results//btrfs/197.out.bad'  to see the entire diff)
btrfs/200	 1s
btrfs/203	 1s
btrfs/206	[not run] This test requires a valid $LOGWRITES_DEV
btrfs/209	 0s
Ran: btrfs/001 btrfs/004 btrfs/007 btrfs/010 btrfs/013 btrfs/016 btrfs/019 btrfs/022 btrfs/025 btrfs/028 btrfs/031 btrfs/034 btrfs/037 btrfs/040 btrfs/043 btrfs/046 btrfs/049 btrfs/052 btrfs/055 btrfs/058 btrfs/061 btrfs/064 btrfs/067 btrfs/071 btrfs/074 btrfs/077 btrfs/080 btrfs/083 btrfs/086 btrfs/089 btrfs/092 btrfs/095 btrfs/098 btrfs/101 btrfs/104 btrfs/107 btrfs/110 btrfs/113 btrfs/116 btrfs/119 btrfs/122 btrfs/125 btrfs/128 btrfs/131 btrfs/134 btrfs/137 btrfs/140 btrfs/143 btrfs/146 btrfs/149 btrfs/152 btrfs/155 btrfs/158 btrfs/161 btrfs/164 btrfs/167 btrfs/170 btrfs/173 btrfs/176 btrfs/179 btrfs/182 btrfs/185 btrfs/188 btrfs/191 btrfs/194 btrfs/197 btrfs/200 btrfs/203 btrfs/206 btrfs/209
Not run: btrfs/116 btrfs/206
Failures: btrfs/052 btrfs/055 btrfs/095 btrfs/098 btrfs/137 btrfs/197
Failed 6 of 70 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.7.0-rc3-00044-gf2af7d90e25ce .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-00044-gf2af7d90e25ce" of type "text/plain" (206480 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ