use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 03:35:52 ] :: [ BEGIN ] :: Running 'dmesg -C' :: [ 03:35:52 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 03:35:52 ] :: [ BEGIN ] :: Running 'uname -a' Linux hpe-dl360egen8-01.hpe2.lab.eng.bos.redhat.com 6.2.0-rc6 #1 SMP PREEMPT_DYNAMIC Sat Feb 4 22:50:54 UTC 2023 x86_64 GNU/Linux :: [ 03:35:52 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 03:35:52 ] :: [ LOG ] :: ./runtest.sh :: [ 03:35:52 ] :: [ BEGIN ] :: Running 'rpm -q zstd rsync || yum install -y zstd rsync' zstd-1.5.2-4.fc38.x86_64 rsync-3.2.7-2.fc38.x86_64 :: [ 03:35:52 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) zram0 252:0 0 8G 0 disk [SWAP] :: [ 03:35:52 ] :: [ LOG ] :: need remove swap frist :: [ 03:35:52 ] :: [ BEGIN ] :: Running 'swapoff /dev/zram0' :: [ 03:35:52 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 03:35:52 ] :: [ BEGIN ] :: Running 'echo 0 > /sys/class/zram-control/hot_remove' :: [ 03:35:53 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 03:35:53 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 03:35:53 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 03:35:53 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 464.8G 0 part └─fedora_hpe--dl360egen8--01-root 253:0 0 930.5G 0 lvm / sdb 8:16 0 465.8G 0 disk └─sdb1 8:17 0 465.8G 0 part └─fedora_hpe--dl360egen8--01-root 253:0 0 930.5G 0 lvm / :: [ 03:35:53 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 03:35:53 ] :: [ BEGIN ] :: Running 'modprobe zram num_devices=1' :: [ 03:35:53 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo [lzo-rle] lz4 lz4hc 842 zstd :: [ 03:35:56 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 03:35:56 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo lzo-rle lz4 lz4hc 842 [zstd] :: [ 03:35:56 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'echo 1G > /sys/block/zram0/disksize' :: [ 03:35:56 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 464.8G 0 part └─fedora_hpe--dl360egen8--01-root 253:0 0 930.5G 0 lvm / sdb 8:16 0 465.8G 0 disk └─sdb1 8:17 0 465.8G 0 part └─fedora_hpe--dl360egen8--01-root 253:0 0 930.5G 0 lvm / zram0 252:0 0 1G 0 disk :: [ 03:35:56 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' mke2fs 1.46.5 (30-Dec-2021) Discarding device blocks: 0/262144 done Creating filesystem with 262144 4k blocks and 65536 inodes Filesystem UUID: 985b18d9-56c5-4019-b44e-35a9063266ca Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Allocating group tables: 0/8 done Writing inode tables: 0/8 done Writing superblocks and filesystem accounting information: 0/8 done :: [ 03:35:56 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'mkdir -p /mnt/zram' :: [ 03:35:56 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 03:35:56 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'mount | grep zram' /dev/zram0 on /mnt/zram type ext2 (rw,nosuid,noexec,relatime,seclabel) :: [ 03:35:56 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 03:35:56 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 464.8G 0 part └─fedora_hpe--dl360egen8--01-root 253:0 0 930.5G 0 lvm / sdb 8:16 0 465.8G 0 disk └─sdb1 8:17 0 465.8G 0 part └─fedora_hpe--dl360egen8--01-root 253:0 0 930.5G 0 lvm / zram0 252:0 0 1G 0 disk /mnt/zram :: [ 03:35:56 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0535232 s, 196 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0527777 s, 199 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0529032 s, 198 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0525841 s, 199 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0775631 s, 135 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0734035 s, 143 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0527021 s, 199 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0538055 s, 195 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0523665 s, 200 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0524317 s, 200 MB/s :: [ 03:35:57 ] :: [ BEGIN ] :: Running 'ls temp' test.file1 test.file10 test.file2 test.file3 test.file4 test.file5 test.file6 test.file7 test.file8 test.file9 :: [ 03:35:57 ] :: [ PASS ] :: Command 'ls temp' (Expected 0, got 0) :: [ 03:35:57 ] :: [ BEGIN ] :: Running 'cp -r temp /mnt/zram' :: [ 03:35:57 ] :: [ PASS ] :: Command 'cp -r temp /mnt/zram' (Expected 0, got 0) :: [ 03:35:57 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 03:35:58 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 03:35:58 ] :: [ BEGIN ] :: Running 'echo 3 > /proc/sys/vm/drop_caches' :: [ 03:35:59 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 03:35:59 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 03:35:59 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 03:35:59 ] :: [ BEGIN ] :: Running 'diff -rp temp /mnt/zram/temp' :: [ 03:35:59 ] :: [ PASS ] :: Command 'diff -rp temp /mnt/zram/temp' (Expected 0, got 0) :: [ 03:35:59 ] :: [ LOG ] :: get funny stats uncompressed size of data 105422848 compressed size of data 104922577 memory allocated for this disk 104996864 number of incompressible pages 25600 :: [ 03:36:00 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 03:36:00 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 03:36:00 ] :: [ BEGIN ] :: Running 'rm -rf /mnt/zram/*' :: [ 03:36:00 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 03:36:00 ] :: [ BEGIN ] :: Running 'rmdir /mnt/zram/' :: [ 03:36:00 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 03:36:00 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 03:36:00 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 03:36:00 ] :: [ BEGIN ] :: Running 'rm -rf temp' :: [ 03:36:00 ] :: [ PASS ] :: Command 'rm -rf temp' (Expected 0, got 0) :: [ 03:36:00 ] :: [ BEGIN ] :: Running 'modprobe -v zram' insmod /lib/modules/6.2.0-rc6/kernel/drivers/block/zram/zram.ko :: [ 03:36:00 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 03:36:00 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 03:36:00 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 03:36:00 ] :: [ BEGIN ] :: Running 'echo 4G > /sys/block/zram0/disksize' :: [ 03:36:00 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 03:36:00 ] :: [ BEGIN ] :: Running 'mkswap /dev/zram0' Setting up swapspace version 1, size = 4 GiB (4294963200 bytes) no label, UUID=a12b13e2-6c3c-4347-97c1-b396b4c4cb05 :: [ 03:36:01 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 03:36:01 ] :: [ BEGIN ] :: Running 'swapon /dev/zram0' :: [ 03:36:01 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 03:36:01 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 464.8G 0 part └─fedora_hpe--dl360egen8--01-root 253:0 0 930.5G 0 lvm / sdb 8:16 0 465.8G 0 disk └─sdb1 8:17 0 465.8G 0 part └─fedora_hpe--dl360egen8--01-root 253:0 0 930.5G 0 lvm / zram0 252:0 0 4G 0 disk [SWAP] :: [ 03:36:01 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 03:36:01 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'Call Trace:'' :: [ 03:36:01 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 03:36:01 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'kernel BUG at'' :: [ 03:36:01 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 03:36:01 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep 'BUG:'' :: [ 03:36:01 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 03:36:01 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'WARNING:'' :: [ 03:36:01 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 9s :: Assertions: 39 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 41 Package : - beakerlib RPM : beakerlib-1.29.3-2.fc38.noarch Test name : Storage - block zstd compression test Test started : 2023-02-05 03:35:52 EST Test finished : 2023-02-05 03:36:03 EST (still running) Test duration : 11 seconds Distro : Fedora release 38 (Rawhide) Hostname : hpe-dl360egen8-01.hpe2.lab.eng.bos.redhat.com Architecture : unknown CPUs : 32 x Intel(R) Xeon(R) CPU E5-2470 0 @ 2.30GHz RAM size : 15964 MB HDD size : 931.39 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 03:35:52 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 03:35:52 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 03:35:52 ] :: [ LOG ] :: ./runtest.sh :: [ 03:35:52 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) :: [ 03:35:52 ] :: [ LOG ] :: need remove swap frist :: [ 03:35:52 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 03:35:53 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 03:35:53 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 03:35:53 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 03:35:53 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 03:35:56 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 03:35:57 ] :: [ PASS ] :: Command 'ls temp' (Expected 0, got 0) :: [ 03:35:57 ] :: [ PASS ] :: Command 'cp -r temp /mnt/zram' (Expected 0, got 0) :: [ 03:35:58 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 03:35:59 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 03:35:59 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 03:35:59 ] :: [ PASS ] :: Command 'diff -rp temp /mnt/zram/temp' (Expected 0, got 0) :: [ 03:35:59 ] :: [ LOG ] :: get funny stats :: [ 03:36:00 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 03:36:00 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 03:36:00 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 03:36:00 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 03:36:00 ] :: [ PASS ] :: Command 'rm -rf temp' (Expected 0, got 0) :: [ 03:36:00 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 03:36:00 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 03:36:00 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 03:36:01 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 03:36:01 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 03:36:01 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 03:36:01 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 03:36:01 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 03:36:01 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 03:36:01 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 9s :: Assertions: 39 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Storage - block zstd compression test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 03:36:03 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 03:36:04 ] :: [ LOG ] :: Asserts fingerprint: jLu2CFxK Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 11s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (Storage - block zstd compression test)