use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 21:01:03 ] :: [ BEGIN ] :: Running 'uname -a' Linux ampere-hr330a-03.lab.eng.rdu2.redhat.com 6.0.0-rc7 #1 SMP PREEMPT_DYNAMIC Sun Sep 25 21:38:53 UTC 2022 aarch64 GNU/Linux :: [ 21:01:03 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 21:01:04 ] :: [ BEGIN ] :: Running 'rpm -q mdadm || dnf install -y mdadm' mdadm-4.2-2.fc37.aarch64 :: [ 21:01:04 ] :: [ PASS ] :: Command 'rpm -q mdadm || dnf install -y mdadm' (Expected 0, got 0) :: [ 21:01:04 ] :: [ LOG ] :: ./runtest.sh :: [ 21:01:04 ] :: [ BEGIN ] :: Running 'modprobe raid456 devices_handle_discard_safely=Y' :: [ 21:01:04 ] :: [ PASS ] :: Command 'modprobe raid456 devices_handle_discard_safely=Y' (Expected 0, got 0) :: [ 21:01:04 ] :: [ BEGIN ] :: Running 'echo Y >/sys/module/raid456/parameters/devices_handle_discard_safely' :: [ 21:01:04 ] :: [ PASS ] :: Command 'echo Y >/sys/module/raid456/parameters/devices_handle_discard_safely' (Expected 0, got 0) /usr/sbin/mkfs.xfs INFO: Executing MD_Create_RAID() to create raid 0 INFO: Created md raid with these raid devices " /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4". :: [ 21:01:12 ] :: [ BEGIN ] :: Running 'mdadm --create --run /dev/md1 --level 0 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --chunk 512' mdadm: array /dev/md1 started. :: [ 21:01:20 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 0 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --chunk 512' (Expected 0, got 0) INFO:cat /proc/mdstat###################### :: [ 21:01:20 ] :: [ BEGIN ] :: Running 'cat /proc/mdstat' Personalities : [raid6] [raid5] [raid4] [raid0] md1 : active raid0 loop4[4] loop3[3] loop2[2] loop1[1] loop0[0] 2549760 blocks super 1.2 512k chunks unused devices: :: [ 21:01:20 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:01:20 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 500M 0 loop └─md1 9:1 0 2.4G 0 raid0 loop1 7:1 0 500M 0 loop └─md1 9:1 0 2.4G 0 raid0 loop2 7:2 0 500M 0 loop └─md1 9:1 0 2.4G 0 raid0 loop3 7:3 0 500M 0 loop └─md1 9:1 0 2.4G 0 raid0 loop4 7:4 0 500M 0 loop └─md1 9:1 0 2.4G 0 raid0 loop5 7:5 0 500M 0 loop sda 8:0 0 447.1G 0 disk ├─sda1 8:1 0 600M 0 part /boot/efi ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 445.5G 0 part └─fedora_ampere--hr330a--03-root 253:0 0 445.5G 0 lvm / sdb 8:16 1 0B 0 disk sr0 11:0 1 1024M 0 rom zram0 252:0 0 8G 0 disk [SWAP] :: [ 21:01:20 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) egrep: warning: egrep is obsolescent; using grep -E /dev/md1 INFO:mdadm -D /dev/md1 ######################### :: [ 21:01:20 ] :: [ BEGIN ] :: Running 'mdadm --detail /dev/md1' /dev/md1: Version : 1.2 Creation Time : Sun Sep 25 21:01:12 2022 Raid Level : raid0 Array Size : 2549760 (2.43 GiB 2.61 GB) Raid Devices : 5 Total Devices : 5 Persistence : Superblock is persistent Update Time : Sun Sep 25 21:01:12 2022 State : clean Active Devices : 5 Working Devices : 5 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : 1 UUID : 26ffbafc:079bebf3:3b1ab796:46111454 Events : 0 Number Major Minor RaidDevice State 0 7 0 0 active sync /dev/loop0 1 7 1 1 active sync /dev/loop1 2 7 2 2 active sync /dev/loop2 3 7 3 3 active sync /dev/loop3 4 7 4 4 active sync /dev/loop4 :: [ 21:01:20 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:01:20 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 1664154080 start_time against this md array: /dev/md1 state is clean :: [ 21:01:20 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 log stripe unit (524288 bytes) is too large (maximum is 256KiB) log stripe unit adjusted to 32KiB meta-data=/dev/md1 isize=512 agcount=8, agsize=79744 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=637440, imaxpct=25 = sunit=128 swidth=640 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=8 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. :: [ 21:01:20 ] :: [ BEGIN ] :: Running 'mount -t xfs /dev/md1 /mnt/md_test ' :: [ 21:01:20 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:01:20 ] :: [ BEGIN ] :: Running 'fstrim -v /mnt/md_test' /mnt/md_test: 2.4 GiB (2543484928 bytes) trimmed :: [ 21:01:20 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:01:20 ] :: [ BEGIN ] :: Running 'umount /dev/md1' :: [ 21:01:21 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) INFO: Executing MD_Clean_RAID() against this md device: mdadm --stop /dev/md1 mdadm: stopped /dev/md1 clean devs : /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 mdadm --zero-superblock /dev/loop0 mdadm --zero-superblock /dev/loop1 mdadm --zero-superblock /dev/loop2 mdadm --zero-superblock /dev/loop3 mdadm --zero-superblock /dev/loop4 ret is 0 ls /dev/md1 ls: cannot access '/dev/md1': No such file or directory mdadm --stop can delete md node name /dev/md1 in /dev INFO: Executing MD_Create_RAID() to create raid 1 INFO: Created md raid with these raid devices " /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4". INFO: Created md raid with these spare disks " /dev/loop5". :: [ 21:01:46 ] :: [ BEGIN ] :: Running 'mdadm --create --run /dev/md1 --level 1 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --bitmap=internal --bitmap-chunk=64M' mdadm: array /dev/md1 started. :: [ 21:01:46 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 1 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) INFO:cat /proc/mdstat###################### :: [ 21:01:46 ] :: [ BEGIN ] :: Running 'cat /proc/mdstat' Personalities : [raid6] [raid5] [raid4] [raid0] [raid1] md1 : active raid1 loop5[5](S) loop4[4] loop3[3] loop2[2] loop1[1] loop0[0] 510976 blocks super 1.2 [5/5] [UUUUU] [=>...................] resync = 5.1% (26240/510976) finish=0.3min speed=26240K/sec bitmap: 1/1 pages [4KB], 65536KB chunk unused devices: :: [ 21:01:46 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:01:46 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 500M 0 loop └─md1 9:1 0 499M 0 raid1 loop1 7:1 0 500M 0 loop └─md1 9:1 0 499M 0 raid1 loop2 7:2 0 500M 0 loop └─md1 9:1 0 499M 0 raid1 loop3 7:3 0 500M 0 loop └─md1 9:1 0 499M 0 raid1 loop4 7:4 0 500M 0 loop └─md1 9:1 0 499M 0 raid1 loop5 7:5 0 500M 0 loop └─md1 9:1 0 499M 0 raid1 sda 8:0 0 447.1G 0 disk ├─sda1 8:1 0 600M 0 part /boot/efi ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 445.5G 0 part └─fedora_ampere--hr330a--03-root 253:0 0 445.5G 0 lvm / sdb 8:16 1 0B 0 disk sr0 11:0 1 1024M 0 rom zram0 252:0 0 8G 0 disk [SWAP] :: [ 21:01:46 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) egrep: warning: egrep is obsolescent; using grep -E /dev/md1 INFO:mdadm -D /dev/md1 ######################### :: [ 21:01:46 ] :: [ BEGIN ] :: Running 'mdadm --detail /dev/md1' /dev/md1: Version : 1.2 Creation Time : Sun Sep 25 21:01:46 2022 Raid Level : raid1 Array Size : 510976 (499.00 MiB 523.24 MB) Used Dev Size : 510976 (499.00 MiB 523.24 MB) Raid Devices : 5 Total Devices : 6 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Sun Sep 25 21:01:46 2022 State : clean, resyncing Active Devices : 5 Working Devices : 6 Failed Devices : 0 Spare Devices : 1 Consistency Policy : bitmap Resync Status : 6% complete Name : 1 UUID : 0c68c5d6:33c63ebc:52169211:81e85e14 Events : 0 Number Major Minor RaidDevice State 0 7 0 0 active sync /dev/loop0 1 7 1 1 active sync /dev/loop1 2 7 2 2 active sync /dev/loop2 3 7 3 3 active sync /dev/loop3 4 7 4 4 active sync /dev/loop4 5 7 5 - spare /dev/loop5 :: [ 21:01:46 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:01:46 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 1664154106 start_time against this md array: /dev/md1 state is clean, 1664154111 start_time against this md array: /dev/md1 state is clean, 1664154117 start_time against this md array: /dev/md1 state is clean :: [ 21:01:57 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 meta-data=/dev/md1 isize=512 agcount=4, agsize=31936 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=127744, imaxpct=25 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. :: [ 21:01:58 ] :: [ BEGIN ] :: Running 'mount -t xfs /dev/md1 /mnt/md_test ' :: [ 21:01:58 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:01:58 ] :: [ BEGIN ] :: Running 'fstrim -v /mnt/md_test' /mnt/md_test: 434.8 MiB (455933952 bytes) trimmed :: [ 21:01:58 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:01:58 ] :: [ BEGIN ] :: Running 'umount /dev/md1' :: [ 21:01:58 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) INFO: Executing MD_Clean_RAID() against this md device: mdadm --stop /dev/md1 mdadm: stopped /dev/md1 clean devs : /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 mdadm --zero-superblock /dev/loop0 mdadm --zero-superblock /dev/loop1 mdadm --zero-superblock /dev/loop2 mdadm --zero-superblock /dev/loop3 mdadm --zero-superblock /dev/loop4 mdadm --zero-superblock /dev/loop5 ret is 0 ls /dev/md1 ls: cannot access '/dev/md1': No such file or directory mdadm --stop can delete md node name /dev/md1 in /dev INFO: Executing MD_Create_RAID() to create raid 4 INFO: Created md raid with these raid devices " /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4". INFO: Created md raid with these spare disks " /dev/loop5". :: [ 21:02:23 ] :: [ BEGIN ] :: Running 'mdadm --create --run /dev/md1 --level 4 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' mdadm: array /dev/md1 started. :: [ 21:02:23 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 4 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) INFO:cat /proc/mdstat###################### :: [ 21:02:24 ] :: [ BEGIN ] :: Running 'cat /proc/mdstat' Personalities : [raid6] [raid5] [raid4] [raid0] [raid1] md1 : active raid4 loop4[6] loop5[5](S) loop3[3] loop2[2] loop1[1] loop0[0] 2039808 blocks super 1.2 level 4, 512k chunk, algorithm 0 [5/4] [UUUU_] [>....................] recovery = 0.4% (2172/509952) finish=3.8min speed=2172K/sec bitmap: 1/1 pages [4KB], 65536KB chunk unused devices: :: [ 21:02:24 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:02:24 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid4 loop1 7:1 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid4 loop2 7:2 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid4 loop3 7:3 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid4 loop4 7:4 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid4 loop5 7:5 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid4 sda 8:0 0 447.1G 0 disk ├─sda1 8:1 0 600M 0 part /boot/efi ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 445.5G 0 part └─fedora_ampere--hr330a--03-root 253:0 0 445.5G 0 lvm / sdb 8:16 1 0B 0 disk sr0 11:0 1 1024M 0 rom zram0 252:0 0 8G 0 disk [SWAP] :: [ 21:02:24 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) egrep: warning: egrep is obsolescent; using grep -E /dev/md1 INFO:mdadm -D /dev/md1 ######################### :: [ 21:02:24 ] :: [ BEGIN ] :: Running 'mdadm --detail /dev/md1' /dev/md1: Version : 1.2 Creation Time : Sun Sep 25 21:02:23 2022 Raid Level : raid4 Array Size : 2039808 (1992.00 MiB 2088.76 MB) Used Dev Size : 509952 (498.00 MiB 522.19 MB) Raid Devices : 5 Total Devices : 6 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Sun Sep 25 21:02:23 2022 State : clean, degraded, recovering Active Devices : 4 Working Devices : 6 Failed Devices : 0 Spare Devices : 2 Chunk Size : 512K Consistency Policy : bitmap Rebuild Status : 1% complete Name : 1 UUID : c1b5aaf1:15e6ad88:b859939d:659c33b1 Events : 1 Number Major Minor RaidDevice State 0 7 0 0 active sync /dev/loop0 1 7 1 1 active sync /dev/loop1 2 7 2 2 active sync /dev/loop2 3 7 3 3 active sync /dev/loop3 6 7 4 4 spare rebuilding /dev/loop4 5 7 5 - spare /dev/loop5 :: [ 21:02:24 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:02:24 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 1664154144 start_time against this md array: /dev/md1 state is clean, 1664154149 start_time against this md array: /dev/md1 state is clean, 1664154154 start_time against this md array: /dev/md1 state is clean :: [ 21:02:34 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 log stripe unit (524288 bytes) is too large (maximum is 256KiB) log stripe unit adjusted to 32KiB meta-data=/dev/md1 isize=512 agcount=8, agsize=63744 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=509952, imaxpct=25 = sunit=128 swidth=512 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=8 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. :: [ 21:02:38 ] :: [ BEGIN ] :: Running 'mount -t xfs /dev/md1 /mnt/md_test ' :: [ 21:02:38 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:02:38 ] :: [ BEGIN ] :: Running 'fstrim -v /mnt/md_test' /mnt/md_test: 1.9 GiB (2020802560 bytes) trimmed :: [ 21:02:40 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:02:41 ] :: [ BEGIN ] :: Running 'umount /dev/md1' :: [ 21:02:41 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) INFO: Executing MD_Clean_RAID() against this md device: mdadm --stop /dev/md1 mdadm: stopped /dev/md1 clean devs : /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 mdadm --zero-superblock /dev/loop0 mdadm --zero-superblock /dev/loop1 mdadm --zero-superblock /dev/loop2 mdadm --zero-superblock /dev/loop3 mdadm --zero-superblock /dev/loop4 mdadm --zero-superblock /dev/loop5 ret is 0 ls /dev/md1 ls: cannot access '/dev/md1': No such file or directory mdadm --stop can delete md node name /dev/md1 in /dev INFO: Executing MD_Create_RAID() to create raid 5 INFO: Created md raid with these raid devices " /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4". INFO: Created md raid with these spare disks " /dev/loop5". :: [ 21:03:06 ] :: [ BEGIN ] :: Running 'mdadm --create --run /dev/md1 --level 5 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' mdadm: array /dev/md1 started. :: [ 21:03:06 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 5 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) INFO:cat /proc/mdstat###################### :: [ 21:03:06 ] :: [ BEGIN ] :: Running 'cat /proc/mdstat' Personalities : [raid6] [raid5] [raid4] [raid0] [raid1] md1 : active raid5 loop4[6] loop5[5](S) loop3[3] loop2[2] loop1[1] loop0[0] 2039808 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/4] [UUUU_] [>....................] recovery = 0.4% (2432/509952) finish=3.4min speed=2432K/sec bitmap: 1/1 pages [4KB], 65536KB chunk unused devices: :: [ 21:03:06 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:03:06 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid5 loop1 7:1 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid5 loop2 7:2 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid5 loop3 7:3 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid5 loop4 7:4 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid5 loop5 7:5 0 500M 0 loop └─md1 9:1 0 1.9G 0 raid5 sda 8:0 0 447.1G 0 disk ├─sda1 8:1 0 600M 0 part /boot/efi ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 445.5G 0 part └─fedora_ampere--hr330a--03-root 253:0 0 445.5G 0 lvm / sdb 8:16 1 0B 0 disk sr0 11:0 1 1024M 0 rom zram0 252:0 0 8G 0 disk [SWAP] :: [ 21:03:07 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) egrep: warning: egrep is obsolescent; using grep -E /dev/md1 INFO:mdadm -D /dev/md1 ######################### :: [ 21:03:07 ] :: [ BEGIN ] :: Running 'mdadm --detail /dev/md1' /dev/md1: Version : 1.2 Creation Time : Sun Sep 25 21:03:06 2022 Raid Level : raid5 Array Size : 2039808 (1992.00 MiB 2088.76 MB) Used Dev Size : 509952 (498.00 MiB 522.19 MB) Raid Devices : 5 Total Devices : 6 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Sun Sep 25 21:03:06 2022 State : clean, degraded, recovering Active Devices : 4 Working Devices : 6 Failed Devices : 0 Spare Devices : 2 Layout : left-symmetric Chunk Size : 512K Consistency Policy : bitmap Rebuild Status : 1% complete Name : 1 UUID : 1df06a1b:ce471e55:d7e6abfa:62f26303 Events : 1 Number Major Minor RaidDevice State 0 7 0 0 active sync /dev/loop0 1 7 1 1 active sync /dev/loop1 2 7 2 2 active sync /dev/loop2 3 7 3 3 active sync /dev/loop3 6 7 4 4 spare rebuilding /dev/loop4 5 7 5 - spare /dev/loop5 :: [ 21:03:07 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:03:07 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 1664154187 start_time against this md array: /dev/md1 state is clean, 1664154192 start_time against this md array: /dev/md1 state is clean, 1664154197 start_time against this md array: /dev/md1 state is clean :: [ 21:03:17 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 mkfs.xfs: /dev/md1 appears to contain an existing filesystem (xfs). mkfs.xfs: Use the -f option to force overwrite. log stripe unit (524288 bytes) is too large (maximum is 256KiB) log stripe unit adjusted to 32KiB meta-data=/dev/md1 isize=512 agcount=8, agsize=63744 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=509952, imaxpct=25 = sunit=128 swidth=512 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=8 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. :: [ 21:03:21 ] :: [ BEGIN ] :: Running 'mount -t xfs /dev/md1 /mnt/md_test ' :: [ 21:03:21 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:03:21 ] :: [ BEGIN ] :: Running 'fstrim -v /mnt/md_test' /mnt/md_test: 1.9 GiB (2020802560 bytes) trimmed :: [ 21:03:24 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:03:24 ] :: [ BEGIN ] :: Running 'umount /dev/md1' :: [ 21:03:24 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) INFO: Executing MD_Clean_RAID() against this md device: mdadm --stop /dev/md1 mdadm: stopped /dev/md1 clean devs : /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 mdadm --zero-superblock /dev/loop0 mdadm --zero-superblock /dev/loop1 mdadm --zero-superblock /dev/loop2 mdadm --zero-superblock /dev/loop3 mdadm --zero-superblock /dev/loop4 mdadm --zero-superblock /dev/loop5 ret is 0 ls /dev/md1 ls: cannot access '/dev/md1': No such file or directory mdadm --stop can delete md node name /dev/md1 in /dev INFO: Executing MD_Create_RAID() to create raid 6 INFO: Created md raid with these raid devices " /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4". INFO: Created md raid with these spare disks " /dev/loop5". :: [ 21:03:49 ] :: [ BEGIN ] :: Running 'mdadm --create --run /dev/md1 --level 6 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' mdadm: array /dev/md1 started. :: [ 21:03:49 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 6 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) INFO:cat /proc/mdstat###################### :: [ 21:03:49 ] :: [ BEGIN ] :: Running 'cat /proc/mdstat' Personalities : [raid6] [raid5] [raid4] [raid0] [raid1] md1 : active raid6 loop5[5](S) loop4[4] loop3[3] loop2[2] loop1[1] loop0[0] 1529856 blocks super 1.2 level 6, 512k chunk, algorithm 2 [5/5] [UUUUU] [>....................] resync = 0.4% (2356/509952) finish=3.5min speed=2356K/sec bitmap: 1/1 pages [4KB], 65536KB chunk unused devices: :: [ 21:03:49 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:03:50 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 500M 0 loop └─md1 9:1 0 1.5G 0 raid6 loop1 7:1 0 500M 0 loop └─md1 9:1 0 1.5G 0 raid6 loop2 7:2 0 500M 0 loop └─md1 9:1 0 1.5G 0 raid6 loop3 7:3 0 500M 0 loop └─md1 9:1 0 1.5G 0 raid6 loop4 7:4 0 500M 0 loop └─md1 9:1 0 1.5G 0 raid6 loop5 7:5 0 500M 0 loop └─md1 9:1 0 1.5G 0 raid6 sda 8:0 0 447.1G 0 disk ├─sda1 8:1 0 600M 0 part /boot/efi ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 445.5G 0 part └─fedora_ampere--hr330a--03-root 253:0 0 445.5G 0 lvm / sdb 8:16 1 0B 0 disk sr0 11:0 1 1024M 0 rom zram0 252:0 0 8G 0 disk [SWAP] :: [ 21:03:50 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) egrep: warning: egrep is obsolescent; using grep -E /dev/md1 INFO:mdadm -D /dev/md1 ######################### :: [ 21:03:50 ] :: [ BEGIN ] :: Running 'mdadm --detail /dev/md1' /dev/md1: Version : 1.2 Creation Time : Sun Sep 25 21:03:49 2022 Raid Level : raid6 Array Size : 1529856 (1494.00 MiB 1566.57 MB) Used Dev Size : 509952 (498.00 MiB 522.19 MB) Raid Devices : 5 Total Devices : 6 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Sun Sep 25 21:03:49 2022 State : clean, resyncing Active Devices : 5 Working Devices : 6 Failed Devices : 0 Spare Devices : 1 Layout : left-symmetric Chunk Size : 512K Consistency Policy : bitmap Resync Status : 1% complete Name : 1 UUID : a46c9940:4e0bf272:722a778b:5f6874a4 Events : 0 Number Major Minor RaidDevice State 0 7 0 0 active sync /dev/loop0 1 7 1 1 active sync /dev/loop1 2 7 2 2 active sync /dev/loop2 3 7 3 3 active sync /dev/loop3 4 7 4 4 active sync /dev/loop4 5 7 5 - spare /dev/loop5 :: [ 21:03:50 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:03:50 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 1664154230 start_time against this md array: /dev/md1 state is clean, 1664154235 start_time against this md array: /dev/md1 state is clean, 1664154240 start_time against this md array: /dev/md1 state is clean :: [ 21:04:00 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 log stripe unit (524288 bytes) is too large (maximum is 256KiB) log stripe unit adjusted to 32KiB meta-data=/dev/md1 isize=512 agcount=8, agsize=47872 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=382464, imaxpct=25 = sunit=128 swidth=384 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=8 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. :: [ 21:04:03 ] :: [ BEGIN ] :: Running 'mount -t xfs /dev/md1 /mnt/md_test ' :: [ 21:04:03 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:04:03 ] :: [ BEGIN ] :: Running 'fstrim -v /mnt/md_test' /mnt/md_test: 1.4 GiB (1498611712 bytes) trimmed :: [ 21:04:06 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:04:06 ] :: [ BEGIN ] :: Running 'umount /dev/md1' :: [ 21:04:06 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) INFO: Executing MD_Clean_RAID() against this md device: mdadm --stop /dev/md1 mdadm: stopped /dev/md1 clean devs : /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 mdadm --zero-superblock /dev/loop0 mdadm --zero-superblock /dev/loop1 mdadm --zero-superblock /dev/loop2 mdadm --zero-superblock /dev/loop3 mdadm --zero-superblock /dev/loop4 mdadm --zero-superblock /dev/loop5 ret is 0 ls /dev/md1 ls: cannot access '/dev/md1': No such file or directory mdadm --stop can delete md node name /dev/md1 in /dev INFO: Executing MD_Create_RAID() to create raid 10 INFO: Created md raid with these raid devices " /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4". INFO: Created md raid with these spare disks " /dev/loop5". :: [ 21:04:31 ] :: [ BEGIN ] :: Running 'mdadm --create --run /dev/md1 --level 10 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' mdadm: array /dev/md1 started. :: [ 21:04:31 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 10 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) INFO:cat /proc/mdstat###################### :: [ 21:04:32 ] :: [ BEGIN ] :: Running 'cat /proc/mdstat' Personalities : [raid6] [raid5] [raid4] [raid0] [raid1] [raid10] md1 : active raid10 loop5[5](S) loop4[4] loop3[3] loop2[2] loop1[1] loop0[0] 1274880 blocks super 1.2 512K chunks 2 near-copies [5/5] [UUUUU] [=>...................] resync = 5.8% (74880/1274880) finish=0.2min speed=74880K/sec bitmap: 1/1 pages [4KB], 65536KB chunk unused devices: :: [ 21:04:32 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:04:32 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 500M 0 loop └─md1 9:1 0 1.2G 0 raid10 loop1 7:1 0 500M 0 loop └─md1 9:1 0 1.2G 0 raid10 loop2 7:2 0 500M 0 loop └─md1 9:1 0 1.2G 0 raid10 loop3 7:3 0 500M 0 loop └─md1 9:1 0 1.2G 0 raid10 loop4 7:4 0 500M 0 loop └─md1 9:1 0 1.2G 0 raid10 loop5 7:5 0 500M 0 loop └─md1 9:1 0 1.2G 0 raid10 sda 8:0 0 447.1G 0 disk ├─sda1 8:1 0 600M 0 part /boot/efi ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 445.5G 0 part └─fedora_ampere--hr330a--03-root 253:0 0 445.5G 0 lvm / sdb 8:16 1 0B 0 disk sr0 11:0 1 1024M 0 rom zram0 252:0 0 8G 0 disk [SWAP] :: [ 21:04:32 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) egrep: warning: egrep is obsolescent; using grep -E /dev/md1 INFO:mdadm -D /dev/md1 ######################### :: [ 21:04:32 ] :: [ BEGIN ] :: Running 'mdadm --detail /dev/md1' /dev/md1: Version : 1.2 Creation Time : Sun Sep 25 21:04:31 2022 Raid Level : raid10 Array Size : 1274880 (1245.00 MiB 1305.48 MB) Used Dev Size : 509952 (498.00 MiB 522.19 MB) Raid Devices : 5 Total Devices : 6 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Sun Sep 25 21:04:32 2022 State : clean, resyncing Active Devices : 5 Working Devices : 6 Failed Devices : 0 Spare Devices : 1 Layout : near=2 Chunk Size : 512K Consistency Policy : bitmap Resync Status : 15% complete Name : 1 UUID : b3247878:6b09a579:951bb7af:a0d381f7 Events : 2 Number Major Minor RaidDevice State 0 7 0 0 active sync /dev/loop0 1 7 1 1 active sync /dev/loop1 2 7 2 2 active sync /dev/loop2 3 7 3 3 active sync /dev/loop3 4 7 4 4 active sync /dev/loop4 5 7 5 - spare /dev/loop5 :: [ 21:04:32 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:04:32 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 1664154272 start_time against this md array: /dev/md1 state is clean, 1664154277 start_time against this md array: /dev/md1 state is clean, 1664154282 start_time against this md array: /dev/md1 state is clean :: [ 21:04:42 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 log stripe unit (524288 bytes) is too large (maximum is 256KiB) log stripe unit adjusted to 32KiB meta-data=/dev/md1 isize=512 agcount=8, agsize=39936 blks = sectsz=512 attr=2, projid32bit=1 = crc=1 finobt=1, sparse=1, rmapbt=0 = reflink=1 bigtime=1 inobtcount=1 nrext64=0 data = bsize=4096 blocks=318720, imaxpct=25 = sunit=128 swidth=640 blks naming =version 2 bsize=4096 ascii-ci=0, ftype=1 log =internal log bsize=4096 blocks=16384, version=2 = sectsz=512 sunit=8 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 Discarding blocks...Done. :: [ 21:04:42 ] :: [ BEGIN ] :: Running 'mount -t xfs /dev/md1 /mnt/md_test ' :: [ 21:04:42 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:04:42 ] :: [ BEGIN ] :: Running 'fstrim -v /mnt/md_test' /mnt/md_test: 1.2 GiB (1238007808 bytes) trimmed :: [ 21:04:42 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:04:42 ] :: [ BEGIN ] :: Running 'umount /dev/md1' :: [ 21:04:43 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) INFO: Executing MD_Clean_RAID() against this md device: mdadm --stop /dev/md1 mdadm: stopped /dev/md1 clean devs : /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 mdadm --zero-superblock /dev/loop0 mdadm --zero-superblock /dev/loop1 mdadm --zero-superblock /dev/loop2 mdadm --zero-superblock /dev/loop3 mdadm --zero-superblock /dev/loop4 mdadm --zero-superblock /dev/loop5 ret is 0 ls /dev/md1 ls: cannot access '/dev/md1': No such file or directory mdadm --stop can delete md node name /dev/md1 in /dev losetup -d /dev/loop0 losetup -d /dev/loop1 losetup -d /dev/loop2 losetup -d /dev/loop3 losetup -d /dev/loop4 losetup -d /dev/loop5 :: [ 21:05:04 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'Call Trace:'' :: [ 21:05:04 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 241s :: Assertions: 47 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 11 Package : unknown beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch bl-redhat RPM : beakerlib-redhat-1-33.fc37eng.noarch Test name : unknown Test started : 2022-09-25 21:01:03 EDT Test finished : 2022-09-25 21:05:05 EDT (still running) Test duration : 242 seconds Distro : Fedora release 38 (Rawhide) Hostname : ampere-hr330a-03.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 0 x RAM size : 128257 MB HDD size : 447.00 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of trim Description: Test the function of TRIM which quickly erase invalid data for the RAID that created by mdadm. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 21:01:03 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 21:01:04 ] :: [ PASS ] :: Command 'rpm -q mdadm || dnf install -y mdadm' (Expected 0, got 0) :: [ 21:01:04 ] :: [ LOG ] :: ./runtest.sh :: [ 21:01:04 ] :: [ PASS ] :: Command 'modprobe raid456 devices_handle_discard_safely=Y' (Expected 0, got 0) :: [ 21:01:04 ] :: [ PASS ] :: Command 'echo Y >/sys/module/raid456/parameters/devices_handle_discard_safely' (Expected 0, got 0) :: [ 21:01:20 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 0 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --chunk 512' (Expected 0, got 0) :: [ 21:01:20 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:01:20 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 21:01:20 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:01:20 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 :: [ 21:01:20 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 :: [ 21:01:20 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:01:20 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:01:21 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) :: [ 21:01:46 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 1 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) :: [ 21:01:46 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:01:46 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 21:01:46 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:01:46 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 :: [ 21:01:57 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 :: [ 21:01:58 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:01:58 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:01:58 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) :: [ 21:02:23 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 4 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) :: [ 21:02:24 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:02:24 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 21:02:24 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:02:24 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 :: [ 21:02:34 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 :: [ 21:02:38 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:02:40 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:02:41 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) :: [ 21:03:06 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 5 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) :: [ 21:03:06 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:03:07 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 21:03:07 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:03:07 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 :: [ 21:03:17 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 :: [ 21:03:21 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:03:24 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:03:24 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) :: [ 21:03:49 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 6 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) :: [ 21:03:49 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:03:50 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 21:03:50 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:03:50 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 :: [ 21:04:00 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 :: [ 21:04:03 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:04:06 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:04:06 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) :: [ 21:04:31 ] :: [ PASS ] :: Command 'mdadm --create --run /dev/md1 --level 10 --metadata 1.2 --raid-devices 5 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 --spare-devices 1 /dev/loop5 --chunk 512 --bitmap=internal --bitmap-chunk=64M' (Expected 0, got 0) :: [ 21:04:32 ] :: [ PASS ] :: Command 'cat /proc/mdstat' (Expected 0, got 0) :: [ 21:04:32 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 21:04:32 ] :: [ PASS ] :: Command 'mdadm --detail /dev/md1' (Expected 0, got 0) :: [ 21:04:32 ] :: [ LOG ] :: INFO: Successfully created md raid /dev/md1 :: [ 21:04:42 ] :: [ LOG ] :: mkfs -t xfs /dev/md1 :: [ 21:04:42 ] :: [ PASS ] :: Command 'mount -t xfs /dev/md1 /mnt/md_test ' (Expected 0, got 0) :: [ 21:04:42 ] :: [ PASS ] :: Command 'fstrim -v /mnt/md_test' (Expected 0, got 0) :: [ 21:04:43 ] :: [ PASS ] :: Command 'umount /dev/md1' (Expected 0, got 0) :: [ 21:05:04 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 241s :: Assertions: 47 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 21:05:05 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 21:05:05 ] :: [ LOG ] :: Asserts fingerprint: IcvkrVvU Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 242s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (unknown)