use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 18:41:43 ] :: [ BEGIN ] :: Running 'dmesg -C' :: [ 18:41:43 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 18:41:43 ] :: [ BEGIN ] :: Running 'uname -a' Linux ampere-mtsnow-altramax-02-vm-20.lab.eng.rdu2.redhat.com 6.2.0-rc2 #1 SMP PREEMPT_DYNAMIC Wed Jan 4 19:21:33 UTC 2023 aarch64 GNU/Linux :: [ 18:41:43 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 18:41:43 ] :: [ LOG ] :: ./runtest.sh :: [ 18:41:43 ] :: [ BEGIN ] :: Running 'rpm -q zstd rsync || yum install -y zstd rsync' zstd-1.5.2-3.fc37.aarch64 package rsync is not installed Last metadata expiration check: 0:07:45 ago on Wed 04 Jan 2023 06:33:59 PM EST. Package zstd-1.5.2-3.fc37.aarch64 is already installed. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: rsync aarch64 3.2.7-1.fc38 beaker-Fedora 413 k Transaction Summary ================================================================================ Install 1 Package Total download size: 413 k Installed size: 816 k Downloading Packages: rsync-3.2.7-1.fc38.aarch64.rpm 7.2 MB/s | 413 kB 00:00 -------------------------------------------------------------------------------- Total 7.0 MB/s | 413 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : rsync-3.2.7-1.fc38.aarch64 1/1 Running scriptlet: rsync-3.2.7-1.fc38.aarch64 1/1 Verifying : rsync-3.2.7-1.fc38.aarch64 1/1 Installed: rsync-3.2.7-1.fc38.aarch64 Complete! :: [ 18:41:46 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) zram0 251:0 0 8G 0 disk [SWAP] :: [ 18:41:46 ] :: [ LOG ] :: need remove swap frist :: [ 18:41:46 ] :: [ BEGIN ] :: Running 'swapoff /dev/zram0' :: [ 18:41:46 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 18:41:46 ] :: [ BEGIN ] :: Running 'echo 0 > /sys/class/zram-control/hot_remove' :: [ 18:41:46 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 18:41:46 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 18:41:46 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 18:41:46 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS vda 252:0 0 62G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 60.4G 0 part └─fedora_ampere--mtsnow--altramax--02--vm--20-root 253:0 0 60.4G 0 lvm / :: [ 18:41:46 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 18:41:47 ] :: [ BEGIN ] :: Running 'modprobe zram num_devices=1' :: [ 18:41:47 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo [lzo-rle] lz4 lz4hc 842 zstd :: [ 18:41:50 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 18:41:50 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'cat /sys/block/zram0/comp_algorithm' lzo lzo-rle lz4 lz4hc 842 [zstd] :: [ 18:41:50 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'echo 1G > /sys/block/zram0/disksize' :: [ 18:41:50 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 1G 0 disk vda 252:0 0 62G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 60.4G 0 part └─fedora_ampere--mtsnow--altramax--02--vm--20-root 253:0 0 60.4G 0 lvm / :: [ 18:41:50 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 18:41:50 ] :: [ 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: 337615c9-f186-4743-8efb-c32752fe0891 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 :: [ 18:41:50 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'mkdir -p /mnt/zram' :: [ 18:41:50 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 18:41:50 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'mount | grep zram' /dev/zram0 on /mnt/zram type ext2 (rw,nosuid,noexec,relatime,seclabel) :: [ 18:41:50 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 1G 0 disk /mnt/zram vda 252:0 0 62G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 60.4G 0 part └─fedora_ampere--mtsnow--altramax--02--vm--20-root 253:0 0 60.4G 0 lvm / :: [ 18:41:50 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0294421 s, 356 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0301473 s, 348 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.029731 s, 353 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0299256 s, 350 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0292244 s, 359 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.029665 s, 353 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0288869 s, 363 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.029073 s, 361 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0292555 s, 358 MB/s 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.0287555 s, 365 MB/s :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'ls temp' test.file1 test.file10 test.file2 test.file3 test.file4 test.file5 test.file6 test.file7 test.file8 test.file9 :: [ 18:41:50 ] :: [ PASS ] :: Command 'ls temp' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'cp -r temp /mnt/zram' :: [ 18:41:50 ] :: [ PASS ] :: Command 'cp -r temp /mnt/zram' (Expected 0, got 0) :: [ 18:41:50 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 18:41:51 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 18:41:51 ] :: [ BEGIN ] :: Running 'echo 3 > /proc/sys/vm/drop_caches' :: [ 18:41:51 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 18:41:51 ] :: [ BEGIN ] :: Running 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' :: [ 18:41:51 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 18:41:51 ] :: [ BEGIN ] :: Running 'diff -rp temp /mnt/zram/temp' :: [ 18:41:52 ] :: [ PASS ] :: Command 'diff -rp temp /mnt/zram/temp' (Expected 0, got 0) :: [ 18:41:52 ] :: [ LOG ] :: get funny stats uncompressed size of data 105422848 compressed size of data 104922580 memory allocated for this disk 105005056 number of incompressible pages 25600 :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'umount /mnt/zram' :: [ 18:41:52 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'rm -rf /mnt/zram/*' :: [ 18:41:52 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'rmdir /mnt/zram/' :: [ 18:41:52 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'rmmod zram' :: [ 18:41:52 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'rm -rf temp' :: [ 18:41:52 ] :: [ PASS ] :: Command 'rm -rf temp' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'modprobe -v zram' insmod /lib/modules/6.2.0-rc2/kernel/drivers/block/zram/zram.ko :: [ 18:41:52 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'echo zstd > /sys/block/zram0/comp_algorithm' :: [ 18:41:52 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'echo 4G > /sys/block/zram0/disksize' :: [ 18:41:52 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'mkswap /dev/zram0' Setting up swapspace version 1, size = 4 GiB (4294963200 bytes) no label, UUID=2d47c656-17b4-4acb-a269-bb4fa2fa0908 :: [ 18:41:52 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'swapon /dev/zram0' :: [ 18:41:52 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS zram0 251:0 0 4G 0 disk [SWAP] vda 252:0 0 62G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 60.4G 0 part └─fedora_ampere--mtsnow--altramax--02--vm--20-root 253:0 0 60.4G 0 lvm / :: [ 18:41:52 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 18:41:52 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'Call Trace:'' :: [ 18:41:52 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 18:41:52 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'kernel BUG at'' :: [ 18:41:52 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 18:41:52 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep 'BUG:'' :: [ 18:41:52 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 18:41:52 ] :: [ BEGIN ] :: check the errors :: actually running 'dmesg | grep -i 'WARNING:'' :: [ 18:41:52 ] :: [ 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 : 14 Package : - beakerlib RPM : beakerlib-1.29.3-1.fc38.noarch Test name : Storage - block zstd compression test Test started : 2023-01-04 18:41:42 EST Test finished : 2023-01-04 18:41:53 EST (still running) Test duration : 11 seconds Distro : Fedora release 38 (Rawhide) Hostname : ampere-mtsnow-altramax-02-vm-20.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 0 x RAM size : 34994 MB HDD size : 61.86 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 18:41:43 ] :: [ PASS ] :: Command 'dmesg -C' (Expected 0, got 0) :: [ 18:41:43 ] :: [ PASS ] :: Command 'uname -a' (Expected 0, got 0) :: [ 18:41:43 ] :: [ LOG ] :: ./runtest.sh :: [ 18:41:46 ] :: [ PASS ] :: Command 'rpm -q zstd rsync || yum install -y zstd rsync' (Expected 0, got 0) :: [ 18:41:46 ] :: [ LOG ] :: need remove swap frist :: [ 18:41:46 ] :: [ PASS ] :: Command 'swapoff /dev/zram0' (Expected 0, got 0) :: [ 18:41:46 ] :: [ PASS ] :: Command 'echo 0 > /sys/class/zram-control/hot_remove' (Expected 0, got 0) :: [ 18:41:46 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 18:41:46 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 18:41:47 ] :: [ PASS ] :: Command 'modprobe zram num_devices=1' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'cat /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'echo 1G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'mke2fs -m 0 -b 4096 -O sparse_super -L zram /dev/zram0' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'mkdir -p /mnt/zram' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'mount | grep zram' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'ls temp' (Expected 0, got 0) :: [ 18:41:50 ] :: [ PASS ] :: Command 'cp -r temp /mnt/zram' (Expected 0, got 0) :: [ 18:41:51 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 18:41:51 ] :: [ PASS ] :: Command 'echo 3 > /proc/sys/vm/drop_caches' (Expected 0, got 0) :: [ 18:41:51 ] :: [ PASS ] :: Command 'mount -o relatime,noexec,nosuid /dev/zram0 /mnt/zram' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'diff -rp temp /mnt/zram/temp' (Expected 0, got 0) :: [ 18:41:52 ] :: [ LOG ] :: get funny stats :: [ 18:41:52 ] :: [ PASS ] :: Command 'umount /mnt/zram' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'rm -rf /mnt/zram/*' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'rmdir /mnt/zram/' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'rmmod zram' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'rm -rf temp' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'modprobe -v zram' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'echo zstd > /sys/block/zram0/comp_algorithm' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'echo 4G > /sys/block/zram0/disksize' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'mkswap /dev/zram0' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'swapon /dev/zram0' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 18:41:52 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 18:41:52 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 18:41:52 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :: [ 18:41:52 ] :: [ PASS ] :: check the errors (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 9s :: Assertions: 39 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Storage - block zstd compression test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 18:41:53 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 18:41:53 ] :: [ LOG ] :: Asserts fingerprint: jLu2CFxK Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 11s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (Storage - block zstd compression test)