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: <20220217120317.GA28592@xsang-OptiPlex-9020>
Date:   Thu, 17 Feb 2022 20:03:17 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Gao Xiang <hsiangkao@...ux.alibaba.com>
Cc:     lkp@...ts.01.org, lkp@...el.com,
        LKML <linux-kernel@...r.kernel.org>
Subject: [xfs]  effe626833: xfstests.xfs.312.fail



Greeting,

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

commit: effe6268339cf72a89a011d3bc1104bd365d8aa9 ("xfs: introduce xfs_bremapi_from_cowfork()")
https://git.kernel.org/cgit/linux/kernel/git/xiang/linux.git xfs/endcow_opt

in testcase: xfstests
version: xfstests-x86_64-1de1db8-1_20220214
with following parameters:

	disk: 4HDD
	fs: xfs
	test: xfs-reflink-15
	ucode: 0x21

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: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 8G memory

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 <oliver.sang@...el.com>

2022-02-15 23:05:03 export TEST_DIR=/fs/sda2
2022-02-15 23:05:03 export TEST_DEV=/dev/sda2
2022-02-15 23:05:03 export FSTYP=xfs
2022-02-15 23:05:03 export SCRATCH_MNT=/fs/scratch
2022-02-15 23:05:03 mkdir /fs/scratch -p
2022-02-15 23:05:03 export SCRATCH_DEV=/dev/sda5
2022-02-15 23:05:03 export SCRATCH_LOGDEV=/dev/sda3
2022-02-15 23:05:03 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2022-02-15 23:05:03 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2022-02-15 23:05:03 export MKFS_OPTIONS=-mreflink=1
2022-02-15 23:05:03 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-reflink-15
2022-02-15 23:05:03 ./check xfs/307 xfs/308 xfs/309 xfs/312 xfs/313 xfs/315 xfs/316 xfs/319
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 lkp-ivb-d04 5.17.0-rc3-00003-geffe6268339c #1 SMP Wed Feb 16 03:48:00 CST 2022
MKFS_OPTIONS  -- -f -mreflink=1 /dev/sda5
MOUNT_OPTIONS -- /dev/sda5 /fs/scratch

xfs/307	 8s
xfs/308	 7s
xfs/309	 27s
xfs/312	- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/312.out.bad)
    --- tests/xfs/312.out	2022-02-14 17:05:52.000000000 +0000
    +++ /lkp/benchmarks/xfstests/results//xfs/312.out.bad	2022-02-15 23:05:57.679051730 +0000
    @@ -8,7 +8,6 @@
     Inject error
     CoW a few blocks
     FS should be shut down, touch will fail
    -touch: cannot touch 'SCRATCH_MNT/badfs': Input/output error
     Remount to replay log
     FS should be online, touch should succeed
     Check files again
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/312.out /lkp/benchmarks/xfstests/results//xfs/312.out.bad'  to see the entire diff)
xfs/313	 8s
xfs/315	 8s
xfs/316	 9s
xfs/319	 8s
Ran: xfs/307 xfs/308 xfs/309 xfs/312 xfs/313 xfs/315 xfs/316 xfs/319
Failures: xfs/312
Failed 1 of 8 tests




To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        sudo bin/lkp install job.yaml           # job file is attached in this email
        bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
        sudo bin/lkp run generated-yaml-file

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



---
0DAY/LKP+ Test Infrastructure                   Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org       Intel Corporation

Thanks,
Oliver Sang


View attachment "config-5.17.0-rc3-00003-geffe6268339c" of type "text/plain" (179024 bytes)

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

Download attachment "kmsg.xz" of type "application/x-xz" (24444 bytes)

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

View attachment "job.yaml" of type "text/plain" (4910 bytes)

View attachment "reproduce" of type "text/plain" (943 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ