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-prev] [day] [month] [year] [list]
Message-ID: <20191021082958.GD9296@shao2-debian>
Date:   Mon, 21 Oct 2019 16:29:58 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     yu kuai <yukuai3@...wei.com>
Cc:     darrick.wong@...cle.com, bfoster@...hat.com, dchinner@...hat.com,
        linux-xfs@...r.kernel.org, linux-kernel@...r.kernel.org,
        yukuai3@...wei.com, zhengbin13@...wei.com, yi.zhang@...wei.com,
        zhangxiaoxu5@...wei.com, lkp@...ts.01.org
Subject: [xfs]  eb787bfed8: xfstests.xfs.281.fail

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

commit: eb787bfed810b4839dde386a0d2b8a12715ed588 ("[PATCH] xfs: fix wrong struct type in ioctl definition whih cmd XFS_IOC_GETBMAPAX")
url: https://github.com/0day-ci/linux/commits/yu-kuai/xfs-fix-wrong-struct-type-in-ioctl-definition-whih-cmd-XFS_IOC_GETBMAPAX/20191014-023839
base: https://git.kernel.org/cgit/fs/xfs/xfs-linux.git for-next

in testcase: xfstests
with following parameters:

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

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>

2019-10-19 20:53:16 export TEST_DIR=/fs/vda
2019-10-19 20:53:16 export TEST_DEV=/dev/vda
2019-10-19 20:53:16 export FSTYP=xfs
2019-10-19 20:53:16 export SCRATCH_MNT=/fs/scratch
2019-10-19 20:53:16 mkdir /fs/scratch -p
2019-10-19 20:53:16 export SCRATCH_DEV=/dev/vdd
2019-10-19 20:53:16 export SCRATCH_LOGDEV=/dev/vdb
2019-10-19 20:53:16 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2019-10-19 20:53:16 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2019-10-19 20:53:16 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group17 | grep -F -f merged_ignored_files
2019-10-19 20:53:16 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group17 | grep -v -F -f merged_ignored_files
2019-10-19 20:53:16 ./check xfs/279 xfs/281 xfs/282 xfs/283 xfs/284 xfs/285 xfs/286 xfs/287 xfs/288 xfs/289 xfs/290 xfs/291
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 vm-snb-7f85e55f15ab 5.4.0-rc2-00008-geb787bfed810b #1 SMP Tue Oct 15 17:39:59 CST 2019
MKFS_OPTIONS  -- -f -bsize=4096 /dev/vdd
MOUNT_OPTIONS -- /dev/vdd /fs/scratch

xfs/279	 8s
xfs/281	- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/281.out.bad)
    --- tests/xfs/281.out	2019-09-06 14:33:46.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/281.out.bad	2019-10-19 20:53:41.912277447 +0800
    @@ -17,6 +17,42 @@
     xfsdump: dumping ino map
     xfsdump: dumping directories
     xfsdump: dumping non-directory files
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/281.out /lkp/benchmarks/xfstests/results//xfs/281.out.bad'  to see the entire diff)
xfs/282	_check_dmesg: something found in dmesg (see /lkp/benchmarks/xfstests/results//xfs/282.dmesg)
- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/282.out.bad)
    --- tests/xfs/282.out	2019-09-06 14:33:46.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/282.out.bad	2019-10-19 20:53:57.877277447 +0800
    @@ -17,6 +17,42 @@
     xfsdump: dumping ino map
     xfsdump: dumping directories
     xfsdump: dumping non-directory files
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/282.out /lkp/benchmarks/xfstests/results//xfs/282.out.bad'  to see the entire diff)
xfs/283	_check_dmesg: something found in dmesg (see /lkp/benchmarks/xfstests/results//xfs/283.dmesg)
- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/283.out.bad)
    --- tests/xfs/283.out	2019-09-06 14:33:46.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/283.out.bad	2019-10-19 20:54:14.209277447 +0800
    @@ -17,6 +17,42 @@
     xfsdump: dumping ino map
     xfsdump: dumping directories
     xfsdump: dumping non-directory files
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    +xfsdump: WARNING: getbmapx 1 ino INO mode 0x000081a4 offset 0 failed: Inappropriate ioctl for device
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/283.out /lkp/benchmarks/xfstests/results//xfs/283.out.bad'  to see the entire diff)
xfs/284	_check_dmesg: something found in dmesg (see /lkp/benchmarks/xfstests/results//xfs/284.dmesg)

xfs/285	 67s
xfs/286	- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/286.out.bad)
    --- tests/xfs/286.out	2019-09-06 14:33:46.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/286.out.bad	2019-10-19 20:56:35.130277447 +0800
    @@ -1,4 +1,13 @@
     QA output created by 286
     Format and populate
     Concurrent repair
    +Repaired: AG 1 superblock: Repairs successful. (scrub.c line 829)
    +Repaired: AG 2 superblock: Repairs successful. (scrub.c line 829)
    +Repaired: AG 3 superblock: Repairs successful. (scrub.c line 829)
    +Repaired: AG 1 superblock: Repairs successful. (scrub.c line 829)
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/286.out /lkp/benchmarks/xfstests/results//xfs/286.out.bad'  to see the entire diff)
xfs/287	[not run] 16 bit project IDs not supported on /dev/vdd
xfs/288	 3s
xfs/289	 1s
xfs/290	 2s
xfs/291	 87s
Ran: xfs/279 xfs/281 xfs/282 xfs/283 xfs/284 xfs/285 xfs/286 xfs/287 xfs/288 xfs/289 xfs/290 xfs/291
Not run: xfs/287
Failures: xfs/281 xfs/282 xfs/283 xfs/284 xfs/286
Failed 5 of 12 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-rc2-00008-geb787bfed810b .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.4.0-rc2-00008-geb787bfed810b" of type "text/plain" (200620 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ