use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh Disable AVC check egrep: warning: egrep is obsolescent; using grep -E [ 08:24:00 ] :: [ LOG ] :: Prepare Kdump [ 08:24:00 ] :: [ LOG ] :: Install kexec-tools and related packages [ 08:24:00 ] :: [ RUN ] :: # dnf install -y kexec-tools Last metadata expiration check: 0:00:32 ago on Wed 25 Jan 2023 08:23:30 AM EST. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kexec-tools x86_64 2.0.26-1.fc38 beaker-Fedora 491 k Installing dependencies: dracut-network x86_64 057-5.fc38 beaker-Fedora 76 k dracut-squash x86_64 057-5.fc38 beaker-Fedora 12 k ethtool x86_64 2:6.1-1.fc38 beaker-Fedora 229 k lzo x86_64 2.10-7.fc37 beaker-Fedora 66 k snappy x86_64 1.1.9-5.fc37 beaker-Fedora 36 k squashfs-tools x86_64 4.5.1-2.fc37 beaker-Fedora 227 k Transaction Summary ================================================================================ Install 7 Packages Total download size: 1.1 M Installed size: 2.9 M Downloading Packages: (1/7): dracut-squash-057-5.fc38.x86_64.rpm 2.4 MB/s | 12 kB 00:00 (2/7): dracut-network-057-5.fc38.x86_64.rpm 9.8 MB/s | 76 kB 00:00 (3/7): lzo-2.10-7.fc37.x86_64.rpm 7.7 MB/s | 66 kB 00:00 (4/7): ethtool-6.1-1.fc38.x86_64.rpm 12 MB/s | 229 kB 00:00 (5/7): snappy-1.1.9-5.fc37.x86_64.rpm 8.1 MB/s | 36 kB 00:00 (6/7): kexec-tools-2.0.26-1.fc38.x86_64.rpm 24 MB/s | 491 kB 00:00 (7/7): squashfs-tools-4.5.1-2.fc37.x86_64.rpm 19 MB/s | 227 kB 00:00 -------------------------------------------------------------------------------- Total 33 MB/s | 1.1 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : lzo-2.10-7.fc37.x86_64 1/7 Installing : squashfs-tools-4.5.1-2.fc37.x86_64 2/7 Installing : dracut-squash-057-5.fc38.x86_64 3/7 Installing : snappy-1.1.9-5.fc37.x86_64 4/7 Installing : ethtool-2:6.1-1.fc38.x86_64 5/7 Installing : dracut-network-057-5.fc38.x86_64 6/7 Running scriptlet: kexec-tools-2.0.26-1.fc38.x86_64 7/7 Installing : kexec-tools-2.0.26-1.fc38.x86_64 7/7 Running scriptlet: kexec-tools-2.0.26-1.fc38.x86_64 7/7 Verifying : dracut-network-057-5.fc38.x86_64 1/7 Verifying : dracut-squash-057-5.fc38.x86_64 2/7 Verifying : ethtool-2:6.1-1.fc38.x86_64 3/7 Verifying : kexec-tools-2.0.26-1.fc38.x86_64 4/7 Verifying : lzo-2.10-7.fc37.x86_64 5/7 Verifying : snappy-1.1.9-5.fc37.x86_64 6/7 Verifying : squashfs-tools-4.5.1-2.fc37.x86_64 7/7 Installed: dracut-network-057-5.fc38.x86_64 dracut-squash-057-5.fc38.x86_64 ethtool-2:6.1-1.fc38.x86_64 kexec-tools-2.0.26-1.fc38.x86_64 lzo-2.10-7.fc37.x86_64 snappy-1.1.9-5.fc37.x86_64 squashfs-tools-4.5.1-2.fc37.x86_64 Complete! kexec-tools-2.0.26-1.fc38.x86_64 Created symlink /etc/systemd/system/multi-user.target.wants/kdump.service → /usr/lib/systemd/system/kdump.service. [ 08:24:06 ] :: [ RUN ] :: # dnf upgrade -y kexec-tools dracut systemd selinux-policy --enablerepo=updates-testing --enablerepo=fedora --releasever=rawhide Fedora rawhide - x86_64 378 kB/s | 1.7 MB 00:04 Fedora rawhide - x86_64 - Test Updates 389 kB/s | 1.7 MB 00:04 Last metadata expiration check: 0:00:23 ago on Wed 25 Jan 2023 08:24:38 AM EST. Dependencies resolved. Nothing to do. Complete! [ 08:25:11 ] :: [ LOG ] :: Enable kdump service [ 08:25:12 ] :: [ LOG ] :: Update boot loader [ 08:25:12 ] :: [ RUN ] :: # /sbin/grubby --args="crashkernel=0G-4G:256M,4G-64G:256M,64G-1T:256M,1T-:512M" --update-kernel="/boot/vmlinuz-6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64" ::::::::::::::::::::::::::::::::::::::::::::: :: PHASE: pre-reboot :: RESULT: PASS (skip: 0 warn: 0 error: 0) ::::::::::::::::::::::::::::::::::::::::::::: ** /kdump/crash-sysrq-c/pre-reboot PASS Score:0 Uploading resultoutputfile.log .done [ 08:25:12 ] :: [ LOG ] :: Rebooting... use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh Disable AVC check egrep: warning: egrep is obsolescent; using grep -E [ 08:26:13 ] :: [ LOG ] :: Waiting for kdump service to be fully up kdump: Kdump is operational [ 08:26:13 ] :: [ LOG ] :: Upload system hardware info Uploading bios.output .done Uploading lshw.output .done [ 08:26:14 ] :: [ LOG ] :: Packages versions: 6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64 kexec-tools-2.0.26-1.fc38.x86_64 systemd-252.4-4.fc38.x86_64 dracut-057-5.fc38.x86_64 [ 08:26:14 ] :: [ LOG ] :: Kernel cmdline and crash memory reservation BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64 root=/dev/mapper/fedora_kvm--08--guest24-root ro rd.lvm.lv=fedora_kvm-08-guest24/root console=ttyS0,115200 crashkernel=0G-4G:256M,4G-64G:256M,64G-1T:256M,1T-:512M Total system memory: 4GiB kdump: Reserved 256MB memory for crash kernel ::::::::::::::::::::::::::::::::::::::::::::: :: TEST CLEANUP [ 08:26:15 ] :: [ LOG ] :: Remove vmcores [ 08:26:15 ] :: [ LOG ] :: - Remove all files in /var/crash [ 08:26:15 ] :: [ LOG ] :: Restore Kdump configurations [ 08:26:15 ] :: [ LOG ] :: - Restore default /etc/kdump.conf [ 08:26:15 ] :: [ LOG ] :: - Restore default /etc/sysconfig/kdump ::::::::::::::::::::::::::::::::::::::::::::: [ 08:26:15 ] :: [ LOG ] :: Modifying /etc/sysconfig/kdump [ 08:26:15 ] :: [ LOG ] :: - Remove '-s' from 'KEXEC_ARGS' Uploading kdump .done [ 08:26:15 ] :: [ LOG ] :: Modifying /etc/sysconfig/kdump [ 08:26:15 ] :: [ LOG ] :: - Add 'rd.memdebug=1' to 'KDUMP_COMMANDLINE_APPEND' Uploading kdump .done [ 08:26:15 ] :: [ LOG ] :: Restarting Kdump service. Uploading kdump.conf .done Uploading kdump .done kdump: Reserved 256MB memory for crash kernel kdump: kexec: unloaded kdump kernel kdump: Stopping kdump: [OK] kdump: No kdump initial ramdisk found. kdump: Rebuilding /boot/initramfs-6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64kdump.img kdump: kexec: loaded kdump kernel kdump: Starting kdump: [OK] kdump: Kdump is operational Uploading kdump.log .done use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh Disable AVC check egrep: warning: egrep is obsolescent; using grep -E [ 08:28:42 ] :: [ LOG ] :: Checking dumped file: vmcore-dmesg.txt [ 08:28:42 ] :: [ RUN ] :: # find /var/crash /var/crash /var/crash/127.0.0.1-2023-01-25-08:26:46 /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore-dmesg.txt /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore /var/crash/127.0.0.1-2023-01-25-08:26:46/kexec-dmesg.log [ 08:28:42 ] :: [ RUN ] :: # file -i /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore-dmesg.txt /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore-dmesg.txt: text/plain; charset=us-ascii [ 08:28:42 ] :: [ LOG ] :: vmcore-dmesg.txt path: /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore-dmesg.txt [ 08:28:42 ] :: [ LOG ] :: Checking dumped file: vmcore [ 08:28:42 ] :: [ RUN ] :: # find /var/crash /var/crash /var/crash/127.0.0.1-2023-01-25-08:26:46 /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore-dmesg.txt /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore /var/crash/127.0.0.1-2023-01-25-08:26:46/kexec-dmesg.log [ 08:28:42 ] :: [ RUN ] :: # file -i /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore: application/octet-stream; charset=binary [ 08:28:42 ] :: [ LOG ] :: vmcore path: /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore [ 08:28:42 ] :: [ LOG ] :: Install crash package crash is not installed [ 08:28:42 ] :: [ RUN ] :: # dnf install -y crash Last metadata expiration check: 0:05:14 ago on Wed 25 Jan 2023 08:23:30 AM EST. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: crash x86_64 8.0.2-1.fc38 beaker-Fedora-Everything 4.3 M Transaction Summary ================================================================================ Install 1 Package Total download size: 4.3 M Installed size: 12 M Downloading Packages: crash-8.0.2-1.fc38.x86_64.rpm 22 MB/s | 4.3 MB 00:00 -------------------------------------------------------------------------------- Total 21 MB/s | 4.3 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : crash-8.0.2-1.fc38.x86_64 1/1 Running scriptlet: crash-8.0.2-1.fc38.x86_64 1/1 Verifying : crash-8.0.2-1.fc38.x86_64 1/1 Installed: crash-8.0.2-1.fc38.x86_64 Complete! [ 08:28:47 ] :: [ RUN ] :: # dnf upgrade -y crash --enablerepo=updates-testing --enablerepo=fedora --releasever=rawhide Last metadata expiration check: 0:04:12 ago on Wed 25 Jan 2023 08:24:38 AM EST. Dependencies resolved. Nothing to do. Complete! [ 08:28:52 ] :: [ LOG ] :: Install kernel-debuginfo-6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64 package kernel-debuginfo-6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64 is not installed [ 08:28:52 ] :: [ RUN ] :: # dnf install -y kernel-debuginfo-6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64 Last metadata expiration check: 0:05:23 ago on Wed 25 Jan 2023 08:23:30 AM EST. Dependencies resolved. ================================================================================================= Package Arch Version Repository Size ================================================================================================= Installing: kernel-debuginfo x86_64 6.2.0-0.rc5.948ef7bb70c4.40.test.fc38 kernel-cki 551 M Installing dependencies: kernel-debuginfo-common-x86_64 x86_64 6.2.0-0.rc5.948ef7bb70c4.40.test.fc38 kernel-cki 5.2 M Transaction Summary ================================================================================================= Install 2 Packages Total download size: 557 M Installed size: 2.6 G Downloading Packages: (1/2): kernel-debuginfo-common-x86_64-6.2.0-0.r 4.5 MB/s | 5.2 MB 00:01 (2/2): kernel-debuginfo-6.2.0-0.rc5.948ef7bb70c 5.7 MB/s | 551 MB 01:36 -------------------------------------------------------------------------------- Total 5.8 MB/s | 557 MB 01:36 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : kernel-debuginfo-common-x86_64-6.2.0-0.rc5.948ef7bb7 1/2 Installing : kernel-debuginfo-6.2.0-0.rc5.948ef7bb70c4.40.test.fc 2/2 Running scriptlet: kernel-debuginfo-6.2.0-0.rc5.948ef7bb70c4.40.test.fc 2/2 Verifying : kernel-debuginfo-6.2.0-0.rc5.948ef7bb70c4.40.test.fc 1/2 Verifying : kernel-debuginfo-common-x86_64-6.2.0-0.rc5.948ef7bb7 2/2 Installed: kernel-debuginfo-6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64 kernel-debuginfo-common-x86_64-6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64 Complete! kernel-debuginfo-6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64 [ 08:32:21 ] :: [ LOG ] :: Kernel debug vmlinux is ready at /usr/lib/debug/lib/modules/6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64/vmlinux [ 08:32:21 ] :: [ LOG ] :: Simple crash tests against the vmcore [ 08:32:21 ] :: [ LOG ] :: - Only check the return code of this session. [ 08:32:21 ] :: [ LOG ] :: # crash -i /mnt/testarea/crash-simple.cmd /usr/lib/debug/lib/modules/6.2.0-0.rc5.948ef7bb70c4.40.test.fc38.x86_64/vmlinux /var/crash/127.0.0.1-2023-01-25-08:26:46/vmcore Uploading crash-simple.vmcore.log .done Uploading crash-simple.cmd .done [ 08:32:29 ] :: [ ERROR ] :: - Crash returns error code 1. ::::::::::::::::::::::::::::::::::::::::::::: :: RESULT: FAIL (skip: 0 warn: 0 error: 1) ::::::::::::::::::::::::::::::::::::::::::::: ** /kdump/crash-sysrq-c FAIL Score:1 Uploading resultoutputfile.log .done