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:   Sun, 27 Oct 2019 13:04:19 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Yufen Yu <yuyufen@...wei.com>
Cc:     Song Liu <songliubraving@...com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...ts.01.org
Subject: [md]  6a5cb53aaa:
 mdadm-selftests.enchmarks/mdadm-selftests/tests/00multipath.fail

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

commit: 6a5cb53aaa4ef515ddeffa04ce18b771121127b4 ("md: no longer compare spare disk superblock events in super_load")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: mdadm-selftests
with following parameters:

	disk: 1HDD
	test_prefix: 00



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>


Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x95f46372.

Command (m for help): Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-536870911, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-536870911, default 536870911): 
Created a new partition 1 of type 'Linux' and of size 5 GiB.

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

2019-10-26 15:22:28 mkdir -p /var/tmp
2019-10-26 15:22:28 mke2fs -t ext3 -b 1024 -J size=1 -q /dev/vda1
2019-10-26 15:22:29 mount -t ext3 /dev/vda1 /var/tmp
sed -e 's/{DEFAULT_METADATA}/1.2/g' \
-e 's,{MAP_PATH},/run/mdadm/map,g'  mdadm.8.in > mdadm.8
/usr/bin/install -D -m 644 mdadm.8 /usr/share/man/man8/mdadm.8
/usr/bin/install -D -m 644 mdmon.8 /usr/share/man/man8/mdmon.8
/usr/bin/install -D -m 644 md.4 /usr/share/man/man4/md.4
/usr/bin/install -D -m 644 mdadm.conf.5 /usr/share/man/man5/mdadm.conf.5
/usr/bin/install -D -m 644 udev-md-raid-creating.rules /lib/udev/rules.d/01-md-raid-creating.rules
/usr/bin/install -D -m 644 udev-md-raid-arrays.rules /lib/udev/rules.d/63-md-raid-arrays.rules
/usr/bin/install -D -m 644 udev-md-raid-assembly.rules /lib/udev/rules.d/64-md-raid-assembly.rules
/usr/bin/install -D -m 644 udev-md-clustered-confirm-device.rules /lib/udev/rules.d/69-md-clustered-confirm-device.rules
/usr/bin/install -D  -m 755 mdadm /sbin/mdadm
/usr/bin/install -D  -m 755 mdmon /sbin/mdmon
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00linear... succeeded
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00multipath... FAILED - see /var/tmp/00multipath.log and /var/tmp/fail00multipath.log for details
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00names... succeeded
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00raid0... succeeded
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00raid1... succeeded
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00raid10... succeeded
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00raid4... succeeded
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00raid5... succeeded
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00raid6... succeeded
Testing on linux-5.4.0-rc2-00007-g6a5cb53aaa4ef kernel
/lkp/benchmarks/mdadm-selftests/tests/00readonly... succeeded



To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-rc2-00007-g6a5cb53aaa4ef .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.4.0-rc2-00007-g6a5cb53aaa4ef" of type "text/plain" (200620 bytes)

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

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

View attachment "mdadm-selftests" of type "text/plain" (3000 bytes)

View attachment "00multipath.log" of type "text/plain" (2637 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ