use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:27:21 ] :: [ BEGIN ] :: Running 'dmesg -C' :: [ 19:27:21 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 19:27:21 ] :: [ BEGIN ] :: Running 'uname -a' Linux hpe-apollo-cn99xx-14-vm-08.khw4.lab.eng.bos.redhat.com 6.0.0-0.rc6.a63f2e7cb110.45.test.fc38.aarch64 #1 SMP PREEMPT_DYNAMIC Sat Sep 24 18:27:49 UTC 2022 aarch64 GNU/Linux :: [ 19:27:21 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 19:27:21 ] :: [ LOG ] :: ./runtest.sh :: [ 19:27:21 ] :: [ BEGIN ] :: Running 'rpm -q zstd rsync || yum install -y zstd rsync' zstd-1.5.2-3.fc37.aarch64 rsync-3.2.6-1.fc38.aarch64 :: [ 19:27:21 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) zram0 251:0 0 5.8G 0 disk [SWAP] :: [ 19:27:21 ] :: [ LOG ] :: need remove swap frist :: [ 19:27:21 ] :: [ BEGIN ] :: Running 'swapoff /dev/zram0' :: [ 19:27:21 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 19:27:21 ] :: [ BEGIN ] :: Running 'echo 0 > /sys/class/zram-control/hot_remove' :: [ 19:27:21 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 19:27:21 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 19:27:21 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 19:27:21 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS vda 252:0 0 100G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 98.4G 0 part └─fedora_hpe--apollo--cn99xx--14--vm--08-root 253:0 0 98.4G 0 lvm / :: [ 19:27:21 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 19:27:21 ] :: [ BEGIN ] :: Running 'modprobe zram num_devices=1' :: [ 19:27:22 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 19:27:25 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo [lzo-rle] lz4 lz4hc 842 zstd :: [ 19:27:25 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 19:27:25 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 19:27:25 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 19:27:25 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo lzo-rle lz4 lz4hc 842 [zstd] :: [ 19:27:25 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 19:27:25 ] :: [ BEGIN ] :: Running 'echo 1G > /sys/block/zram0/disksize' :: [ 19:27:25 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 19:27:25 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 1G 0 disk vda 252:0 0 100G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 98.4G 0 part └─fedora_hpe--apollo--cn99xx--14--vm--08-root 253:0 0 98.4G 0 lvm / :: [ 19:27:25 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 19:27:25 ] :: [ 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: d5d7fa4b-eb74-4a94-bf03-3e41ffdb4fb0 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 :: [ 19:27:25 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 19:27:25 ] :: [ BEGIN ] :: Running 'mkdir -p /mnt/zram' :: [ 19:27:25 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 19:27:25 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 19:27:25 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 19:27:25 ] :: [ BEGIN ] :: Running 'mount | grep zram' /dev/zram0 on /mnt/zram type ext2 (rw,nosuid,noexec,relatime,seclabel) :: [ 19:27:25 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 19:27:25 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 1G 0 disk /mnt/zram vda 252:0 0 100G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 98.4G 0 part └─fedora_hpe--apollo--cn99xx--14--vm--08-root 253:0 0 98.4G 0 lvm / :: [ 19:27:26 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 19:27:26 ] :: [ 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/.wget-hsts root/EFI_BOOT_ENTRY.TXT root/NETBOOT_METHOD.TXT root/RECIPE.TXT root/anaconda-ks.cfg root/original-ks.cfg root/.cache/ root/.cache/JNA/ root/.cache/JNA/temp/ root/.cache/JNA/temp/libjnidispatch.so root/.ssh/ root/.ssh/authorized_keys sent 175,040 bytes received 291 bytes 350,662.00 bytes/sec total size is 173,912 speedup is 0.99 :: [ 19:27:26 ] :: [ PASS ] :: Command 'rsync -av --exclude=.debug /root /mnt/zram' (Expected 0, got 0) :: [ 19:27:26 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 19:27:26 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 19:27:26 ] :: [ BEGIN ] :: Running 'echo 3 > /proc/sys/vm/drop_caches' :: [ 19:27:27 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 19:27:27 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 19:27:27 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 19:27:27 ] :: [ BEGIN ] :: Running 'diff -rp -x .debug /root /mnt/zram/root' :: [ 19:27:27 ] :: [ PASS ] :: Command 'diff -rp -x .debug /root /mnt/zram/root' (Expected 0, got 0) :: [ 19:27:27 ] :: [ LOG ] :: get funny stats uncompressed size of data 647168 compressed size of data 85834 memory allocated for this disk 303104 number of incompressible pages 0 :: [ 19:27:27 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 19:27:28 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 19:27:28 ] :: [ BEGIN ] :: Running 'rm -rf /mnt/zram/*' :: [ 19:27:28 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 19:27:28 ] :: [ BEGIN ] :: Running 'rmdir /mnt/zram/' :: [ 19:27:28 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 19:27:28 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 19:27:28 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 19:27:28 ] :: [ BEGIN ] :: Running 'modprobe -v zram' insmod /lib/modules/6.0.0-0.rc6.a63f2e7cb110.45.test.fc38.aarch64/kernel/drivers/block/zram/zram.ko.xz :: [ 19:27:28 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 19:27:28 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 19:27:28 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 19:27:28 ] :: [ BEGIN ] :: Running 'echo 4G > /sys/block/zram0/disksize' :: [ 19:27:28 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 19:27:28 ] :: [ BEGIN ] :: Running 'mkswap /dev/zram0' Setting up swapspace version 1, size = 4 GiB (4294963200 bytes) no label, UUID=b545f692-0c17-4c54-9697-e8c234620e1d :: [ 19:27:28 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 19:27:28 ] :: [ BEGIN ] :: Running 'swapon /dev/zram0' :: [ 19:27:29 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 19:27:29 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 4G 0 disk [SWAP] vda 252:0 0 100G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 98.4G 0 part └─fedora_hpe--apollo--cn99xx--14--vm--08-root 253:0 0 98.4G 0 lvm / :: [ 19:27:29 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 19:27:29 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'Call Trace:'' :: [ 19:27:29 ] :: [ 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 : 39 Package : - beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch bl-redhat RPM : beakerlib-redhat-1-33.fc37eng.noarch Test name : Storage - block zstd compression test Test started : 2022-09-24 19:27:20 EDT Test finished : 2022-09-24 19:27:30 EDT (still running) Test duration : 10 seconds Distro : Fedora release 38 (Rawhide) Hostname : hpe-apollo-cn99xx-14-vm-08.khw4.lab.eng.bos.redhat.com Architecture : unknown CPUs : 0 x RAM size : 5903 MB HDD size : 99.86 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:27:21 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 19:27:21 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 19:27:21 ] :: [ LOG ] :: ./runtest.sh :: [ 19:27:21 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) :: [ 19:27:21 ] :: [ LOG ] :: need remove swap frist :: [ 19:27:21 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 19:27:21 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 19:27:21 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 19:27:21 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 19:27:22 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 19:27:25 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 19:27:25 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 19:27:25 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 19:27:25 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 19:27:25 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 19:27:25 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 19:27:25 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 19:27:25 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 19:27:25 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 19:27:26 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 19:27:26 ] :: [ PASS ] :: Command 'rsync -av --exclude=.debug /root /mnt/zram' (Expected 0, got 0) :: [ 19:27:26 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 19:27:27 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 19:27:27 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 19:27:27 ] :: [ PASS ] :: Command 'diff -rp -x .debug /root /mnt/zram/root' (Expected 0, got 0) :: [ 19:27:27 ] :: [ LOG ] :: get funny stats :: [ 19:27:28 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 19:27:28 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 19:27:28 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 19:27:28 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 19:27:28 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 19:27:28 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 19:27:28 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 19:27:28 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 19:27:29 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 19:27:29 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 19:27:29 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Assertions: 34 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Storage - block zstd compression test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:27:30 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 19:27:30 ] :: [ LOG ] :: Asserts fingerprint: wL30BUnq Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 10s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (Storage - block zstd compression test)