use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:29:17 ] :: [ BEGIN ] :: Running 'dmesg -C' :: [ 20:29:17 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 20:29:17 ] :: [ BEGIN ] :: Running 'uname -a' Linux s390x-kvm-023.lab.eng.rdu2.redhat.com 6.2.0-rc6 #1 SMP Fri Feb 3 19:16:02 UTC 2023 s390x GNU/Linux :: [ 20:29:17 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 20:29:17 ] :: [ LOG ] :: ./runtest.sh :: [ 20:29:17 ] :: [ BEGIN ] :: Running 'rpm -q zstd rsync || yum install -y zstd rsync' zstd-1.5.2-4.fc38.s390x rsync-3.2.7-2.fc38.s390x :: [ 20:29:17 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) zram0 251:0 0 7.8G 0 disk [SWAP] :: [ 20:29:17 ] :: [ LOG ] :: need remove swap frist :: [ 20:29:17 ] :: [ BEGIN ] :: Running 'swapoff /dev/zram0' :: [ 20:29:17 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 20:29:17 ] :: [ BEGIN ] :: Running 'echo 0 > /sys/class/zram-control/hot_remove' :: [ 20:29:17 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 20:29:17 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 20:29:17 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 20:29:17 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS vda 252:0 0 120G 0 disk ├─vda1 252:1 0 1G 0 part /boot └─vda2 252:2 0 119G 0 part └─fedora_s390x--kvm--023-root 253:0 0 119G 0 lvm / :: [ 20:29:17 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 20:29:17 ] :: [ BEGIN ] :: Running 'modprobe zram num_devices=1' :: [ 20:29:17 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 20:29:20 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo [lzo-rle] lz4 lz4hc 842 zstd :: [ 20:29:20 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 20:29:20 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 20:29:20 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 20:29:20 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo lzo-rle lz4 lz4hc 842 [zstd] :: [ 20:29:20 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 20:29:20 ] :: [ BEGIN ] :: Running 'echo 1G > /sys/block/zram0/disksize' :: [ 20:29:20 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 20:29:20 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 1G 0 disk vda 252:0 0 120G 0 disk ├─vda1 252:1 0 1G 0 part /boot └─vda2 252:2 0 119G 0 part └─fedora_s390x--kvm--023-root 253:0 0 119G 0 lvm / :: [ 20:29:20 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 20:29:20 ] :: [ 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: 73111748-92fd-4893-8c5d-43d46bc5fc95 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 :: [ 20:29:20 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 20:29:20 ] :: [ BEGIN ] :: Running 'mkdir -p /mnt/zram' :: [ 20:29:20 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 20:29:20 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 20:29:20 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 20:29:20 ] :: [ BEGIN ] :: Running 'mount | grep zram' /dev/zram0 on /mnt/zram type ext2 (rw,nosuid,noexec,relatime,seclabel) :: [ 20:29:20 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 20:29:21 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 1G 0 disk /mnt/zram vda 252:0 0 120G 0 disk ├─vda1 252:1 0 1G 0 part /boot └─vda2 252:2 0 119G 0 part └─fedora_s390x--kvm--023-root 253:0 0 119G 0 lvm / :: [ 20:29:21 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0280339 s, 374 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0266333 s, 394 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0263781 s, 398 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0260382 s, 403 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0267309 s, 392 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.026286 s, 399 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0264496 s, 396 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0257845 s, 407 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0264656 s, 396 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0254799 s, 412 MB/s :: [ 20:29:21 ] :: [ BEGIN ] :: Running 'ls temp' test.file1 test.file10 test.file2 test.file3 test.file4 test.file5 test.file6 test.file7 test.file8 test.file9 :: [ 20:29:21 ] :: [ PASS ] :: Command 'ls temp' (Expected 0, got 0) :: [ 20:29:21 ] :: [ BEGIN ] :: Running 'cp -r temp /mnt/zram' :: [ 20:29:21 ] :: [ PASS ] :: Command 'cp -r temp /mnt/zram' (Expected 0, got 0) :: [ 20:29:21 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 20:29:21 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 20:29:21 ] :: [ BEGIN ] :: Running 'echo 3 > /proc/sys/vm/drop_caches' :: [ 20:29:21 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 20:29:21 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 20:29:21 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 20:29:21 ] :: [ BEGIN ] :: Running 'diff -rp temp /mnt/zram/temp' :: [ 20:29:22 ] :: [ PASS ] :: Command 'diff -rp temp /mnt/zram/temp' (Expected 0, got 0) :: [ 20:29:22 ] :: [ LOG ] :: get funny stats uncompressed size of data 105422848 compressed size of data 104922473 memory allocated for this disk 105009152 number of incompressible pages 25600 :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 20:29:22 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'rm -rf /mnt/zram/*' :: [ 20:29:22 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'rmdir /mnt/zram/' :: [ 20:29:22 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 20:29:22 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'rm -rf temp' :: [ 20:29:22 ] :: [ PASS ] :: Command 'rm -rf temp' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'modprobe -v zram' insmod /lib/modules/6.2.0-rc6/kernel/drivers/block/zram/zram.ko :: [ 20:29:22 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 20:29:22 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'echo 4G > /sys/block/zram0/disksize' :: [ 20:29:22 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'mkswap /dev/zram0' Setting up swapspace version 1, size = 4 GiB (4294963200 bytes) no label, UUID=f029109a-685c-47f8-9721-bc1b789ee351 :: [ 20:29:22 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'swapon /dev/zram0' :: [ 20:29:22 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 4G 0 disk [SWAP] vda 252:0 0 120G 0 disk ├─vda1 252:1 0 1G 0 part /boot └─vda2 252:2 0 119G 0 part └─fedora_s390x--kvm--023-root 253:0 0 119G 0 lvm / :: [ 20:29:22 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 20:29:22 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'Call Trace:'' :: [ 20:29:22 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 20:29:22 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'kernel BUG at'' :: [ 20:29:22 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 20:29:22 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep 'BUG:'' :: [ 20:29:22 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 20:29:22 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'WARNING:'' :: [ 20:29:22 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Assertions: 39 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 34 Package : - beakerlib RPM : beakerlib-1.29.3-2.fc38.noarch Test name : Storage - block zstd compression test Test started : 2023-02-03 20:29:17 EST Test finished : 2023-02-03 20:29:22 EST (still running) Test duration : 5 seconds Distro : Fedora release 38 (Rawhide) Hostname : s390x-kvm-023.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 0 x RAM size : 8020 MB HDD size : 119.87 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:29:17 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 20:29:17 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 20:29:17 ] :: [ LOG ] :: ./runtest.sh :: [ 20:29:17 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) :: [ 20:29:17 ] :: [ LOG ] :: need remove swap frist :: [ 20:29:17 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 20:29:17 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 20:29:17 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 20:29:17 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 20:29:17 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 20:29:20 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 20:29:20 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 20:29:20 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 20:29:20 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 20:29:20 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 20:29:20 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 20:29:20 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 20:29:20 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 20:29:20 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 20:29:21 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 20:29:21 ] :: [ PASS ] :: Command 'ls temp' (Expected 0, got 0) :: [ 20:29:21 ] :: [ PASS ] :: Command 'cp -r temp /mnt/zram' (Expected 0, got 0) :: [ 20:29:21 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 20:29:21 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 20:29:21 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'diff -rp temp /mnt/zram/temp' (Expected 0, got 0) :: [ 20:29:22 ] :: [ LOG ] :: get funny stats :: [ 20:29:22 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'rm -rf temp' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 20:29:22 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 20:29:22 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 20:29:22 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 20:29:22 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Assertions: 39 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Storage - block zstd compression test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:29:22 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 20:29:22 ] :: [ LOG ] :: Asserts fingerprint: jLu2CFxK Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (Storage - block zstd compression test)