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: <20200416053942.GD3064@shao2-debian>
Date:   Thu, 16 Apr 2020 13:39:42 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     ira.weiny@...el.com
Cc:     linux-kernel@...r.kernel.org, Ira Weiny <ira.weiny@...el.com>,
        "Darrick J. Wong" <darrick.wong@...cle.com>,
        Dan Williams <dan.j.williams@...el.com>,
        Dave Chinner <david@...morbit.com>,
        Christoph Hellwig <hch@....de>,
        "Theodore Y. Ts'o" <tytso@....edu>, Jan Kara <jack@...e.cz>,
        Jeff Moyer <jmoyer@...hat.com>, linux-ext4@...r.kernel.org,
        linux-xfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
        lkp@...ts.01.org
Subject: [fs/xfs] 857c9841f8: xfstests.xfs.046.fail

Greeting,

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

commit: 857c9841f801aaa67890fa950724f404004ea8c8 ("[PATCH V6 7/8] fs/xfs: Change xfs_ioctl_setattr_dax_invalidate() to xfs_ioctl_dax_check()")
url: https://github.com/0day-ci/linux/commits/ira-weiny-intel-com/Enable-per-file-per-directory-DAX-operations-V6/20200408-035443


in testcase: xfstests
with following parameters:

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

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-04-15 23:08:51 export TEST_DIR=/fs/vda
2020-04-15 23:08:51 export TEST_DEV=/dev/vda
2020-04-15 23:08:51 export FSTYP=xfs
2020-04-15 23:08:51 export SCRATCH_MNT=/fs/scratch
2020-04-15 23:08:51 mkdir /fs/scratch -p
2020-04-15 23:08:51 export SCRATCH_DEV=/dev/vdd
2020-04-15 23:08:51 export SCRATCH_LOGDEV=/dev/vdb
2020-04-15 23:08:51 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2020-04-15 23:08:51 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2020-04-15 23:08:51 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group15 | grep -F -f merged_ignored_files
2020-04-15 23:08:51 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group15 | grep -v -F -f merged_ignored_files
2020-04-15 23:08:51 ./check xfs/016 xfs/046 xfs/076 xfs/111 xfs/151 xfs/186 xfs/263 xfs/301 xfs/376 xfs/412 xfs/455 xfs/491
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 vm-snb-56 5.6.0-00007-g857c9841f801a #1 SMP Wed Apr 15 22:42:37 CST 2020
MKFS_OPTIONS  -- -f -bsize=4096 /dev/vdd
MOUNT_OPTIONS -- /dev/vdd /fs/scratch

xfs/016	 11s
xfs/046	- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/046.out.bad)
    --- tests/xfs/046.out	2020-04-09 10:45:28.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//xfs/046.out.bad	2020-04-15 23:09:18.054631738 +0800
    @@ -31,6 +31,10 @@
     xfsrestore: 3 directories and 10 entries processed
     xfsrestore: directory post-processing
     xfsrestore: restoring non-directory files
    +xfsrestore: WARNING: attempt to set extended attributes (xflags 0x0, extsize = 0x0, projid = 0x0) of dumpdir/a failed: Invalid argument
    +xfsrestore: WARNING: attempt to set extended attributes (xflags 0x0, extsize = 0x0, projid = 0x0) of dumpdir/b failed: Invalid argument
    +xfsrestore: WARNING: attempt to set extended attributes (xflags 0x0, extsize = 0x0, projid = 0x0) of dumpdir/sub/a failed: Invalid argument
    +xfsrestore: WARNING: attempt to set extended attributes (xflags 0x0, extsize = 0x0, projid = 0x0) of dumpdir/sub/b failed: Invalid argument
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/046.out /lkp/benchmarks/xfstests/results//xfs/046.out.bad'  to see the entire diff)
xfs/076	_check_dmesg: something found in dmesg (see /lkp/benchmarks/xfstests/results//xfs/076.dmesg)

xfs/111	 4s
xfs/151	[not run] Assuming DMAPI modules are not loaded
xfs/186	[not run] attr v1 not supported on /dev/vdd
xfs/263	 3s
xfs/301	 13s
xfs/376	[not run] xfs_scrub not found
xfs/412	[not run] xfs_scrub not found
xfs/455	[not run] xfs_scrub not found
xfs/491	 1s
Ran: xfs/016 xfs/046 xfs/076 xfs/111 xfs/151 xfs/186 xfs/263 xfs/301 xfs/376 xfs/412 xfs/455 xfs/491
Not run: xfs/151 xfs/186 xfs/376 xfs/412 xfs/455
Failures: xfs/046 xfs/076
Failed 2 of 12 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.6.0-00007-g857c9841f801a .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.6.0-00007-g857c9841f801a" of type "text/plain" (204855 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ