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>] [day] [month] [year] [list]
Message-ID: <20200416053839.GC3064@shao2-debian>
Date:   Thu, 16 Apr 2020 13:38:39 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Domenico Andreoli <domenico.andreoli@...ux.com>
Cc:     "Darrick J. Wong" <darrick.wong@...cle.com>,
        Marian Klein <mkleinsoft@...il.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [hibernate] 56939e014a: xfstests.generic.570.fail

Greeting,

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

commit: 56939e014a6c212b317414faa307029e2e80c3b9 ("hibernate: Allow uswsusp to write to swap")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: xfs
	test: generic-group29

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 14:56:42 export TEST_DIR=/fs/vda
2020-04-15 14:56:42 export TEST_DEV=/dev/vda
2020-04-15 14:56:42 export FSTYP=xfs
2020-04-15 14:56:42 export SCRATCH_MNT=/fs/scratch
2020-04-15 14:56:42 mkdir /fs/scratch -p
2020-04-15 14:56:42 export SCRATCH_DEV=/dev/vdd
2020-04-15 14:56:42 export SCRATCH_LOGDEV=/dev/vdb
meta-data=/dev/vda               isize=512    agcount=4, agsize=16777216 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=0, rmapbt=0, reflink=1
data     =                       bsize=4096   blocks=67108864, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal log           bsize=4096   blocks=32768, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
2020-04-15 14:56:42 export MKFS_OPTIONS=-mreflink=1
2020-04-15 14:56:42 sed "s:^:generic/:" //lkp/benchmarks/xfstests/tests/generic-group29
2020-04-15 14:56:43 ./check generic/039 generic/080 generic/111 generic/143 generic/179 generic/210 generic/242 generic/275 generic/307 generic/337 generic/369 generic/402 generic/435 generic/472 generic/508 generic/540 generic/570
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 vm-snb-61 5.6.0-rc4-00001-g56939e014a6c2 #1 SMP Tue Mar 24 05:59:06 CST 2020
MKFS_OPTIONS  -- -f -mreflink=1 /dev/vdd
MOUNT_OPTIONS -- /dev/vdd /fs/scratch

generic/039	 3s
generic/080	 3s
generic/111	 1s
generic/143	 6s
generic/179	 1s
generic/210	 1s
generic/242	 13s
generic/275	 9s
generic/307	 3s
generic/337	 1s
generic/369	[not run] mkfs.xfs doesn't have richacl feature
generic/402	[not run] xfs_io utimes  support is missing
generic/435	[not run] xfs_io set_encpolicy  support is missing
generic/472	 2s
generic/508	[not run] xfs_io statx  support is missing
generic/540	 2s
generic/570	- output mismatch (see /lkp/benchmarks/xfstests/results//generic/570.out.bad)
    --- tests/generic/570.out	2020-04-09 10:45:28.000000000 +0800
    +++ /lkp/benchmarks/xfstests/results//generic/570.out.bad	2020-04-15 14:57:33.721046590 +0800
    @@ -1,12 +1,13 @@
     QA output created by 570
     verb 1
    -pwrite: Text file busy
     verb 2
     mmap: Text file busy
     verb 3
     Caught signal 7, terminating...
    ...
    (Run 'diff -u /lkp/benchmarks/xfstests/tests/generic/570.out /lkp/benchmarks/xfstests/results//generic/570.out.bad'  to see the entire diff)
Ran: generic/039 generic/080 generic/111 generic/143 generic/179 generic/210 generic/242 generic/275 generic/307 generic/337 generic/369 generic/402 generic/435 generic/472 generic/508 generic/540 generic/570
Not run: generic/369 generic/402 generic/435 generic/508
Failures: generic/570
Failed 1 of 17 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.6.0-rc4-00001-g56939e014a6c2 .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-rc4-00001-g56939e014a6c2" of type "text/plain" (203581 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ