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  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]
Date:   Fri, 26 Apr 2019 17:47:09 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Theodore Ts'o <tytso@....edu>
Cc:     LKML <linux-kernel@...r.kernel.org>, Theodore Ts'o <tytso@....edu>,
        linux-ext4@...r.kernel.org, lkp@...org
Subject: [ext4] 345c0dbf3a: xfstests.ext4.303.fail

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

commit: 345c0dbf3a30872d9b204db96b5857cd00808cae ("ext4: protect journal inode's blocks using block_validity")
https://git.kernel.org/cgit/linux/kernel/git/tytso/ext4.git dev

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: ext4
	test: ext4-run

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 2G

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-04-26 12:48:55 export TEST_DIR=/fs/vda
2019-04-26 12:48:55 export TEST_DEV=/dev/vda
2019-04-26 12:48:55 export FSTYP=ext4
2019-04-26 12:48:55 export SCRATCH_MNT=/fs/scratch
2019-04-26 12:48:55 mkdir /fs/scratch -p
2019-04-26 12:48:55 export SCRATCH_DEV=/dev/vdd
2019-04-26 12:48:55 sed "s:^:ext4/:" /lkp/lkp/src/pack/xfstests-addon/tests/ext4-run | grep -F -f merged_ignored_files
2019-04-26 12:48:55 sed "s:^:ext4/:" /lkp/lkp/src/pack/xfstests-addon/tests/ext4-run | grep -v -F -f merged_ignored_files
2019-04-26 12:48:55 ./check ext4/001 ext4/002 ext4/003 ext4/004 ext4/005 ext4/010 ext4/011 ext4/012 ext4/013 ext4/014 ext4/015 ext4/016 ext4/017 ext4/018 ext4/019 ext4/020 ext4/021 ext4/022 ext4/023 ext4/024 ext4/025 ext4/026 ext4/027 ext4/028 ext4/032 ext4/033 ext4/034 ext4/271 ext4/301 ext4/302 ext4/303 ext4/305 ext4/306 ext4/307 ext4/308
FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 vm-snb-2G-405 5.1.0-rc3-00007-g345c0dbf
MKFS_OPTIONS  -- /dev/vdd
MOUNT_OPTIONS -- -o acl,user_xattr /dev/vdd /fs/scratch

ext4/001	- output mismatch (see /lkp/benchmarks/xfstests/results//ext4/001.out.bad)
    --- tests/ext4/001.out	2019-04-25 09:04:55.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//ext4/001.out.bad	2019-04-26 12:49:25.516490198 +0800
    @@ -1,79 +1,45 @@
     QA output created by 001
     	1. into a hole
    -0: [0..127]: hole
    -1: [128..383]: unwritten
    -2: [384..639]: hole
    +0: [0..639]: hole
     1aca77e2188f52a62674fe8a873bdaba
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/ext4/001.out /lkp/benchmarks/xfstests/results//ext4/001.out.bad'  to see the entire diff)
ext4/002	- output mismatch (see /lkp/benchmarks/xfstests/results//ext4/002.out.bad)
    --- tests/ext4/002.out	2019-04-25 09:04:55.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//ext4/002.out.bad	2019-04-26 12:49:43.719490198 +0800
    @@ -1,7 +1,13 @@
     QA output created by 002
    -Blocks modified: [0 - 0]
    -Blocks modified: [0 - 0]
    -Blocks modified: [0 - 9]
    -Blocks modified: [0 - 9]
    -Blocks modified: [64 - 64]
    -Blocks modified: [64 - 64]
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/ext4/002.out /lkp/benchmarks/xfstests/results//ext4/002.out.bad'  to see the entire diff)
ext4/003	 8s
ext4/004	 12s
ext4/005	 14s
ext4/010	 55s
ext4/011	 56s
ext4/012	 39s
ext4/013	 47s
ext4/014	 52s
ext4/015	 44s
ext4/016	 42s
ext4/017	 42s
ext4/018	[failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//ext4/018.out.bad)
    --- tests/ext4/018.out	2019-04-25 09:04:55.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//ext4/018.out.bad	2019-04-26 12:57:00.169490198 +0800
    @@ -4,9 +4,8 @@
     + make some files
     + check fs
     + corrupt image
    +./tests/ext4/018: line 59: 9287    Directory ACL: 0: syntax error in expression (error token is "Directory ACL: 0")
     + mount image
     + modify attrs
    -+ repair fs
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/ext4/018.out /lkp/benchmarks/xfstests/results//ext4/018.out.bad'  to see the entire diff)
ext4/019	 21s
ext4/020	 19s
ext4/021	 40s
ext4/022	 24s
ext4/023	[failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//ext4/023.out.bad)
    --- tests/ext4/023.out	2019-04-25 09:04:55.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//ext4/023.out.bad	2019-04-26 13:08:07.375490198 +0800
    @@ -1,3 +1,2 @@
     QA output created by 023
     Format and populate
    -Mount
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/ext4/023.out /lkp/benchmarks/xfstests/results//ext4/023.out.bad'  to see the entire diff)
ext4/024	 27s
ext4/025	 21s
ext4/026	[not run] mkfs.ext4 doesn't support ea_inode feature
ext4/027	 17s
ext4/028	[failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//ext4/028.out.bad)
    --- tests/ext4/028.out	2019-04-25 09:04:55.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//ext4/028.out.bad	2019-04-26 13:09:34.968490198 +0800
    @@ -1,3 +1,2 @@
     QA output created by 028
     Format and mount
    -Compare fsmap
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/ext4/028.out /lkp/benchmarks/xfstests/results//ext4/028.out.bad'  to see the entire diff)
ext4/032	 83s
ext4/033	 52s
ext4/034	 15s
ext4/271	 1s
ext4/301	 55s
ext4/302	_check_generic_filesystem: filesystem on /dev/vdd is inconsistent
(see /lkp/benchmarks/xfstests/results//ext4/302.full for details)

ext4/303	[failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//ext4/303.out.bad)
    --- tests/ext4/303.out	2019-04-25 09:04:55.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//ext4/303.out.bad	2019-04-26 13:14:26.046490198 +0800
    @@ -2,3 +2,5 @@
     
      Start defragment activity
     
    +failed: '/usr/bin/fio /tmp/8398.fio'
    +(see /lkp/benchmarks/xfstests/results//ext4/303.full for details)
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/ext4/303.out /lkp/benchmarks/xfstests/results//ext4/303.out.bad'  to see the entire diff)
ext4/305	 19s
ext4/306	 11s
ext4/307	- output mismatch (see /lkp/benchmarks/xfstests/results//ext4/307.out.bad)
    --- tests/ext4/307.out	2019-04-25 09:04:55.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//ext4/307.out.bad	2019-04-26 13:15:02.522490198 +0800
    @@ -1,6 +1,7 @@
     QA output created by 307
     
     Run fsstress
    +./tests/ext4/307: line 34: gawk: command not found
     Allocate donor file
     Perform compacting
     Check data
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/ext4/307.out /lkp/benchmarks/xfstests/results//ext4/307.out.bad'  to see the entire diff)
ext4/308	 13s
Ran: ext4/001 ext4/002 ext4/003 ext4/004 ext4/005 ext4/010 ext4/011 ext4/012 ext4/013 ext4/014 ext4/015 ext4/016 ext4/017 ext4/018 ext4/019 ext4/020 ext4/021 ext4/022 ext4/023 ext4/024 ext4/025 ext4/026 ext4/027 ext4/028 ext4/032 ext4/033 ext4/034 ext4/271 ext4/301 ext4/302 ext4/303 ext4/305 ext4/306 ext4/307 ext4/308
Not run: ext4/026
Failures: ext4/001 ext4/002 ext4/018 ext4/023 ext4/028 ext4/302 ext4/303 ext4/307
Failed 8 of 35 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.1.0-rc3-00007-g345c0dbf .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 modules_prepare
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 SHELL=/bin/bash
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 bzImage


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
	bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email




Thanks,
Rong Chen


View attachment "config-5.1.0-rc3-00007-g345c0dbf" of type "text/plain" (188879 bytes)

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

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

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

Powered by blists - more mailing lists