use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:54:16 ] :: [ BEGIN ] :: Running 'dmesg -C' :: [ 23:54:16 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 23:54:16 ] :: [ BEGIN ] :: Running 'uname -a' Linux ibm-z-538.lab.eng.rdu2.redhat.com 6.0.0-rc7 #1 SMP Tue Sep 27 22:37:09 UTC 2022 s390x GNU/Linux :: [ 23:54:16 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 23:54:16 ] :: [ LOG ] :: ./runtest.sh :: [ 23:54:16 ] :: [ BEGIN ] :: Running 'rpm -q zstd rsync || yum install -y zstd rsync' zstd-1.5.2-3.fc37.s390x package rsync is not installed Last metadata expiration check: 0:14:17 ago on Tue 27 Sep 2022 11:39:59 PM EDT. Package zstd-1.5.2-3.fc37.s390x is already installed. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: rsync s390x 3.2.6-1.fc38 beaker-Fedora 403 k Transaction Summary ================================================================================ Install 1 Package Total download size: 403 k Installed size: 791 k Downloading Packages: rsync-3.2.6-1.fc38.s390x.rpm 16 MB/s | 403 kB 00:00 -------------------------------------------------------------------------------- Total 16 MB/s | 403 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : rsync-3.2.6-1.fc38.s390x 1/1 Running scriptlet: rsync-3.2.6-1.fc38.s390x 1/1 Verifying : rsync-3.2.6-1.fc38.s390x 1/1 Installed: rsync-3.2.6-1.fc38.s390x Complete! :: [ 23:54:19 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) zram0 252:0 0 5.9G 0 disk [SWAP] :: [ 23:54:19 ] :: [ LOG ] :: need remove swap frist :: [ 23:54:19 ] :: [ BEGIN ] :: Running 'swapoff /dev/zram0' :: [ 23:54:19 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 23:54:19 ] :: [ BEGIN ] :: Running 'echo 0 > /sys/class/zram-control/hot_remove' :: [ 23:54:19 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 23:54:19 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 23:54:19 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 23:54:19 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS dasda 94:0 0 38.2G 0 disk ├─dasda1 94:1 0 1G 0 part /boot └─dasda2 94:2 0 37.2G 0 part └─fedora_ibm--z--538-root 253:0 0 37.2G 0 lvm / :: [ 23:54:19 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 23:54:19 ] :: [ BEGIN ] :: Running 'modprobe zram num_devices=1' :: [ 23:54:19 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo [lzo-rle] lz4 lz4hc 842 zstd :: [ 23:54:22 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 23:54:22 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo lzo-rle lz4 lz4hc 842 [zstd] :: [ 23:54:22 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'echo 1G > /sys/block/zram0/disksize' :: [ 23:54:22 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS dasda 94:0 0 38.2G 0 disk ├─dasda1 94:1 0 1G 0 part /boot └─dasda2 94:2 0 37.2G 0 part └─fedora_ibm--z--538-root 253:0 0 37.2G 0 lvm / zram0 252:0 0 1G 0 disk :: [ 23:54:22 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 23:54:22 ] :: [ 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: 2a28cd5e-37f6-435a-bbfc-957b8a075709 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 :: [ 23:54:22 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'mkdir -p /mnt/zram' :: [ 23:54:22 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 23:54:22 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'mount | grep zram' /dev/zram0 on /mnt/zram type ext2 (rw,nosuid,noexec,relatime,seclabel) :: [ 23:54:22 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS dasda 94:0 0 38.2G 0 disk ├─dasda1 94:1 0 1G 0 part /boot └─dasda2 94:2 0 37.2G 0 part └─fedora_ibm--z--538-root 253:0 0 37.2G 0 lvm / zram0 252:0 0 1G 0 disk /mnt/zram :: [ 23:54:22 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 23:54:22 ] :: [ BEGIN ] :: Running 'rsync -av --exclude=.debug /root /mnt/zram' sending incremental file list root/ root/.bash_logout root/.bash_profile root/.bashrc root/.cshrc root/.tcshrc root/NETBOOT_METHOD.TXT root/RECIPE.TXT root/anaconda-ks.cfg root/original-ks.cfg root/.ssh/ root/.ssh/authorized_keys sent 67,743 bytes received 222 bytes 135,930.00 bytes/sec total size is 66,954 speedup is 0.99 :: [ 23:54:23 ] :: [ PASS ] :: Command 'rsync -av --exclude=.debug /root /mnt/zram' (Expected 0, got 0) :: [ 23:54:23 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 23:54:23 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 23:54:23 ] :: [ BEGIN ] :: Running 'echo 3 > /proc/sys/vm/drop_caches' :: [ 23:54:23 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 23:54:23 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 23:54:23 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 23:54:23 ] :: [ BEGIN ] :: Running 'diff -rp -x .debug /root /mnt/zram/root' :: [ 23:54:23 ] :: [ PASS ] :: Command 'diff -rp -x .debug /root /mnt/zram/root' (Expected 0, got 0) :: [ 23:54:23 ] :: [ LOG ] :: get funny stats uncompressed size of data 507904 compressed size of data 38677 memory allocated for this disk 237568 number of incompressible pages 0 :: [ 23:54:23 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 23:54:23 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 23:54:23 ] :: [ BEGIN ] :: Running 'rm -rf /mnt/zram/*' :: [ 23:54:23 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 23:54:23 ] :: [ BEGIN ] :: Running 'rmdir /mnt/zram/' :: [ 23:54:23 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 23:54:23 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 23:54:23 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 23:54:23 ] :: [ BEGIN ] :: Running 'modprobe -v zram' insmod /lib/modules/6.0.0-rc7/kernel/drivers/block/zram/zram.ko :: [ 23:54:24 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 23:54:24 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 23:54:24 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 23:54:24 ] :: [ BEGIN ] :: Running 'echo 4G > /sys/block/zram0/disksize' :: [ 23:54:24 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 23:54:24 ] :: [ BEGIN ] :: Running 'mkswap /dev/zram0' Setting up swapspace version 1, size = 4 GiB (4294963200 bytes) no label, UUID=6465732f-41fc-45a3-8742-58439177fdad :: [ 23:54:24 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 23:54:24 ] :: [ BEGIN ] :: Running 'swapon /dev/zram0' :: [ 23:54:24 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 23:54:24 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS dasda 94:0 0 38.2G 0 disk ├─dasda1 94:1 0 1G 0 part /boot └─dasda2 94:2 0 37.2G 0 part └─fedora_ibm--z--538-root 253:0 0 37.2G 0 lvm / zram0 252:0 0 4G 0 disk [SWAP] :: [ 23:54:24 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 23:54:24 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'Call Trace:'' :: [ 23:54:24 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Assertions: 34 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 12 Package : - beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : Storage - block zstd compression test Test started : 2022-09-27 23:54:15 EDT Test finished : 2022-09-27 23:54:25 EDT (still running) Test duration : 10 seconds Distro : Fedora release 38 (Rawhide) Hostname : ibm-z-538.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 0 x RAM size : 5997 MB HDD size : 38.08 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:54:16 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 23:54:16 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 23:54:16 ] :: [ LOG ] :: ./runtest.sh :: [ 23:54:19 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) :: [ 23:54:19 ] :: [ LOG ] :: need remove swap frist :: [ 23:54:19 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 23:54:19 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 23:54:19 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 23:54:19 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 23:54:19 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 23:54:22 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 23:54:23 ] :: [ PASS ] :: Command 'rsync -av --exclude=.debug /root /mnt/zram' (Expected 0, got 0) :: [ 23:54:23 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 23:54:23 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 23:54:23 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 23:54:23 ] :: [ PASS ] :: Command 'diff -rp -x .debug /root /mnt/zram/root' (Expected 0, got 0) :: [ 23:54:23 ] :: [ LOG ] :: get funny stats :: [ 23:54:23 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 23:54:23 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 23:54:23 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 23:54:23 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 23:54:24 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 23:54:24 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 23:54:24 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 23:54:24 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 23:54:24 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 23:54:24 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 23:54:24 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Assertions: 34 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Storage - block zstd compression test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:54:25 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 23:54:25 ] :: [ LOG ] :: Asserts fingerprint: wL30BUnq Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 10s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (Storage - block zstd compression test)