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: <20220602090409.GD27190@xsang-OptiPlex-9020>
Date:   Thu, 2 Jun 2022 17:04:09 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Dave Chinner <dchinner@...hat.com>
Cc:     Dave Chinner <david@...morbit.com>, Christoph Hellwig <hch@....de>,
        "Darrick J. Wong" <djwong@...nel.org>,
        LKML <linux-kernel@...r.kernel.org>, linux-xfs@...r.kernel.org,
        lkp@...ts.01.org, lkp@...el.com
Subject: [xfs]  1eb70f54c4: xfstests.xfs.348.fail


(please be noted we reported
"[xfs]  1eb70f54c4: xfstests.xfs.348.fail"
on
https://lore.kernel.org/all/20220518144504.GB22659@xsang-OptiPlex-9020/
while this commit was on linux-next/master
now we noticed the issue is still existing on mainline.
report again FYI)


Greeting,

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

commit: 1eb70f54c445fcbb25817841e774adb3d912f3e8 ("xfs: validate inode fork size against fork format")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: xfstests
version: xfstests-x86_64-46e1b83-1_20220414
with following parameters:

	disk: 4HDD
	fs: xfs
	test: xfs-group-34
	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-05-18 11:47:42 export TEST_DIR=/fs/sdb1
2022-05-18 11:47:42 export TEST_DEV=/dev/sdb1
2022-05-18 11:47:42 export FSTYP=xfs
2022-05-18 11:47:42 export SCRATCH_MNT=/fs/scratch
2022-05-18 11:47:42 mkdir /fs/scratch -p
2022-05-18 11:47:42 export SCRATCH_DEV=/dev/sdb4
2022-05-18 11:47:42 export SCRATCH_LOGDEV=/dev/sdb2
2022-05-18 11:47:42 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2022-05-18 11:47:42 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2022-05-18 11:47:42 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group-34
2022-05-18 11:47:42 ./check xfs/348 xfs/349
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 lkp-ivb-d05 5.18.0-rc2-00067-g1eb70f54c445 #1 SMP Thu May 12 04:39:22 CST 2022
MKFS_OPTIONS  -- -f /dev/sdb4
MOUNT_OPTIONS -- /dev/sdb4 /fs/scratch

xfs/348	- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/348.out.bad)
    --- tests/xfs/348.out	2022-05-16 16:42:32.000000000 +0000
    +++ /lkp/benchmarks/xfstests/results//xfs/348.out.bad	2022-05-18 11:47:58.897287914 +0000
    @@ -108,7 +108,7 @@
     would have junked entry "EMPTY" in directory PARENT_INO
     would have junked entry "FIFO" in directory PARENT_INO
     stat: 'SCRATCH_MNT/test/DIR' is a directory
    -stat: 'SCRATCH_MNT/test/DATA' is a directory
    +stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
     stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
     stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/348.out /lkp/benchmarks/xfstests/results//xfs/348.out.bad'  to see the entire diff)
xfs/349	[failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/349.out.bad)
    --- tests/xfs/349.out	2022-05-16 16:42:32.000000000 +0000
    +++ /lkp/benchmarks/xfstests/results//xfs/349.out.bad	2022-05-18 11:53:51.101272360 +0000
    @@ -1,3 +1,2 @@
     QA output created by 349
     Format and populate
    -Scrub
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/349.out /lkp/benchmarks/xfstests/results//xfs/349.out.bad'  to see the entire diff)
Ran: xfs/348 xfs/349
Failures: xfs/348 xfs/349
Failed 2 of 2 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.



-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



View attachment "config-5.18.0-rc2-00067-g1eb70f54c445" of type "text/plain" (166090 bytes)

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

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

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ