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: <20181012085844.GN13396@shao2-debian>
Date:   Fri, 12 Oct 2018 16:58:44 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Shaohua Li <shli@...com>
Cc:     Gioh Kim <gi-oh.kim@...fitbricks.com>,
        Guoqing Jiang <gqjiang@...e.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [LKP] [MD]  d595567dc4: mdadm-selftests.02lineargrow.fail

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

commit: d595567dc4f0c1d90685ec1e2e296e2cad2643ac ("MD: fix invalid stored role for a disk")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: mdadm-selftests
with following parameters:

	disk: 1HDD
	test_prefix: 02



on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):





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 0xd50ae9f0.

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.

2018-10-12 11:05:55 mkdir -p /var/tmp
2018-10-12 11:05:55 mke2fs -t ext3 -b 1024 -J size=1 -q /dev/vda1
2018-10-12 11:06:00 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-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 755 mdadm /sbin/mdadm
/usr/bin/install -D  -m 755 mdmon /sbin/mdmon
Testing on linux-4.19.0-rc5-00182-gd595567 kernel
tests/02lineargrow... FAILED - see /var/tmp/log for details
Testing on linux-4.19.0-rc5-00182-gd595567 kernel
tests/02r1add... succeeded
Testing on linux-4.19.0-rc5-00182-gd595567 kernel
tests/02r1grow... succeeded
Testing on linux-4.19.0-rc5-00182-gd595567 kernel
tests/02r5grow... succeeded
Testing on linux-4.19.0-rc5-00182-gd595567 kernel
tests/02r6grow... succeeded



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
	bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email




Thanks,
Rong Chen

View attachment "config-4.19.0-rc5-00182-gd595567" of type "text/plain" (167709 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ