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]
Date:   Wed, 30 Oct 2019 22:38:27 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Ian Kent <raven@...maw.net>
Cc:     "Darrick J. Wong" <darrick.wong@...cle.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [xfs]  e35c37b1b9: xfstests.generic.452.fail

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

commit: e35c37b1b9987c8d87d91dbeca6c24aade2a3390 ("xfs: switch to use the new mount-api")
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git mount-api-crash

in testcase: xfstests
with following parameters:

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

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

2019-10-30 09:46:44 export TEST_DIR=/fs/vda
2019-10-30 09:46:44 export TEST_DEV=/dev/vda
2019-10-30 09:46:44 export FSTYP=xfs
2019-10-30 09:46:44 export SCRATCH_MNT=/fs/scratch
2019-10-30 09:46:44 mkdir /fs/scratch -p
2019-10-30 09:46:44 export SCRATCH_DEV=/dev/vdd
2019-10-30 09:46:44 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=1, 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
2019-10-30 09:46:46 export MKFS_OPTIONS=-mreflink=1
2019-10-30 09:46:46 sed "s:^:generic/:" //lkp/benchmarks/xfstests/tests/generic-group24
2019-10-30 09:46:46 ./check generic/450 generic/451 generic/452 generic/453 generic/454 generic/456 generic/459 generic/460 generic/461 generic/463 generic/464 generic/465 generic/466 generic/467 generic/468 generic/469 generic/471
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 vm-snb-ae49c5594e39 5.4.0-rc3-00104-ge35c37b1b9987 #2 SMP Tue Oct 29 12:57:26 CST 2019
MKFS_OPTIONS  -- -f -mreflink=1 /dev/vdd
MOUNT_OPTIONS -- /dev/vdd /fs/scratch

generic/450	 1s
generic/451	 31s
generic/452	_check_xfs_filesystem: filesystem on /dev/vdd is inconsistent (r)
(see /lkp/benchmarks/xfstests/results//generic/452.full for details)

generic/453	 3s
generic/454	 2s
generic/456	 2s
generic/459	 13s
generic/460	 6s
generic/461	 22s
generic/463	 1s
generic/464	 93s
generic/465	 9s
generic/466	 41s
generic/467	 4s
generic/468	 10s
generic/469	 1s
generic/471	[not run] xfs_io pwrite doesn't support -N
Ran: generic/450 generic/451 generic/452 generic/453 generic/454 generic/456 generic/459 generic/460 generic/461 generic/463 generic/464 generic/465 generic/466 generic/467 generic/468 generic/469 generic/471
Not run: generic/471
Failures: generic/452
Failed 1 of 17 tests




To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-rc3-00104-ge35c37b1b9987 .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,
Oliver Sang


View attachment "config-5.4.0-rc3-00104-ge35c37b1b9987" of type "text/plain" (200551 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ