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:50:21 ] :: [ LOG ] :: Prepare Kdump [ 08:50:21 ] :: [ LOG ] :: Install kexec-tools and related packages [ 08:50:21 ] :: [ RUN ] :: # dnf install -y kexec-tools Last metadata expiration check: 0:00:27 ago on Thu 12 Jan 2023 08:49:55 AM EST. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: kexec-tools aarch64 2.0.26-1.fc38 beaker-Fedora 455 k Installing dependencies: dracut-network aarch64 057-5.fc38 beaker-Fedora 76 k dracut-squash aarch64 057-5.fc38 beaker-Fedora 12 k ethtool aarch64 2:6.1-1.fc38 beaker-Fedora 223 k lzo aarch64 2.10-7.fc37 beaker-Fedora 63 k snappy aarch64 1.1.9-5.fc37 beaker-Fedora 35 k squashfs-tools aarch64 4.5.1-2.fc37 beaker-Fedora 224 k Transaction Summary ================================================================================ Install 7 Packages Total download size: 1.1 M Installed size: 3.5 M Downloading Packages: (1/7): dracut-squash-057-5.fc38.aarch64.rpm 611 kB/s | 12 kB 00:00 (2/7): ethtool-6.1-1.fc38.aarch64.rpm 5.4 MB/s | 223 kB 00:00 (3/7): dracut-network-057-5.fc38.aarch64.rpm 1.7 MB/s | 76 kB 00:00 (4/7): lzo-2.10-7.fc37.aarch64.rpm 3.5 MB/s | 63 kB 00:00 (5/7): snappy-1.1.9-5.fc37.aarch64.rpm 1.3 MB/s | 35 kB 00:00 (6/7): kexec-tools-2.0.26-1.fc38.aarch64.rpm 7.8 MB/s | 455 kB 00:00 (7/7): squashfs-tools-4.5.1-2.fc37.aarch64.rpm 8.7 MB/s | 224 kB 00:00 -------------------------------------------------------------------------------- Total 12 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.aarch64 1/7 Installing : squashfs-tools-4.5.1-2.fc37.aarch64 2/7 Installing : dracut-squash-057-5.fc38.aarch64 3/7 Installing : snappy-1.1.9-5.fc37.aarch64 4/7 Installing : ethtool-2:6.1-1.fc38.aarch64 5/7 Installing : dracut-network-057-5.fc38.aarch64 6/7 Running scriptlet: kexec-tools-2.0.26-1.fc38.aarch64 7/7 Installing : kexec-tools-2.0.26-1.fc38.aarch64 7/7 Running scriptlet: kexec-tools-2.0.26-1.fc38.aarch64 7/7 Verifying : dracut-network-057-5.fc38.aarch64 1/7 Verifying : dracut-squash-057-5.fc38.aarch64 2/7 Verifying : ethtool-2:6.1-1.fc38.aarch64 3/7 Verifying : kexec-tools-2.0.26-1.fc38.aarch64 4/7 Verifying : lzo-2.10-7.fc37.aarch64 5/7 Verifying : snappy-1.1.9-5.fc37.aarch64 6/7 Verifying : squashfs-tools-4.5.1-2.fc37.aarch64 7/7 Installed: dracut-network-057-5.fc38.aarch64 dracut-squash-057-5.fc38.aarch64 ethtool-2:6.1-1.fc38.aarch64 kexec-tools-2.0.26-1.fc38.aarch64 lzo-2.10-7.fc37.aarch64 snappy-1.1.9-5.fc37.aarch64 squashfs-tools-4.5.1-2.fc37.aarch64 Complete! kexec-tools-2.0.26-1.fc38.aarch64 Created symlink /etc/systemd/system/multi-user.target.wants/kdump.service → /usr/lib/systemd/system/kdump.service. [ 08:50:26 ] :: [ RUN ] :: # dnf upgrade -y kexec-tools dracut systemd selinux-policy --enablerepo=updates-testing --enablerepo=fedora --releasever=rawhide Fedora rawhide - aarch64 435 kB/s | 1.7 MB 00:04 Fedora rawhide - aarch64 - Test Updates 208 kB/s | 1.7 MB 00:08 Last metadata expiration check: 0:00:18 ago on Thu 12 Jan 2023 08:50:54 AM EST. Dependencies resolved. Nothing to do. Complete! [ 08:51:22 ] :: [ LOG ] :: Enable kdump service [ 08:51:23 ] :: [ LOG ] :: Update boot loader [ 08:51:23 ] :: [ RUN ] :: # /sbin/grubby --args="crashkernel=512M" --update-kernel="/boot/vmlinuz-6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64" ::::::::::::::::::::::::::::::::::::::::::::: :: 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:51:23 ] :: [ LOG ] :: Rebooting... <13>Jan 12 08:51:23 root: efibootmgr -n 0009 BootNext: 0009 BootCurrent: 0009 Timeout: 3 seconds BootOrder: 0003,0004,0005,0006,0002,0009,0000,0001,0007 Boot0000* UiApp FvVol(64074afe-340a-4be6-94ba-91b5b4d0f71e)/FvFile(462caa21-7614-4503-836e-8ab6f4662331) Boot0001* UEFI Misc Device VenHw(93e34c7e-b50e-11df-9223-2443dfd72085,00){auto_created_boot_option} Boot0002* UEFI Misc Device 2 PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0){auto_created_boot_option} Boot0003* UEFI PXEv4 (MAC:5254001AE514) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254001ae514,1)/IPv4(0.0.0.00.0.0.0,0,0){auto_created_boot_option} Boot0004* UEFI PXEv6 (MAC:5254001AE514) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254001ae514,1)/IPv6([::]:<->[::]:,0,0){auto_created_boot_option} Boot0005* UEFI HTTPv4 (MAC:5254001AE514) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254001ae514,1)/IPv4(0.0.0.00.0.0.0,0,0)/Uri(){auto_created_boot_option} Boot0006* UEFI HTTPv6 (MAC:5254001AE514) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254001ae514,1)/IPv6([::]:<->[::]:,0,0)/Uri(){auto_created_boot_option} Boot0007* EFI Internal Shell FvVol(64074afe-340a-4be6-94ba-91b5b4d0f71e)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1) Boot0009* Fedora HD(1,GPT,6c695144-2cd2-4687-acea-787ec318a336,0x800,0x12c000)/File(\EFI\fedora\shimaa64.efi) <13>Jan 12 08:51:23 root: NextBoot value is valid for the next 180 seconds 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:53:26 ] :: [ LOG ] :: Waiting for kdump service to be fully up kdump: Another app is currently holding the kdump lock; waiting for it to exit... kdump: Kdump is operational [ 08:53:27 ] :: [ LOG ] :: Upload system hardware info Uploading lshw.output .done [ 08:53:28 ] :: [ LOG ] :: Packages versions: 6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64 kexec-tools-2.0.26-1.fc38.aarch64 systemd-252.4-598.fc38.aarch64 dracut-057-5.fc38.aarch64 [ 08:53:28 ] :: [ LOG ] :: Kernel cmdline and crash memory reservation BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64 root=/dev/mapper/fedora_ampere--mtsnow--altramax--02--vm--20-root ro rd.lvm.lv=fedora_ampere-mtsnow-altramax-02-vm-20/root acpi=force crashkernel=512M Total system memory: 35GiB kdump: Reserved 512MB memory for crash kernel ::::::::::::::::::::::::::::::::::::::::::::: :: TEST CLEANUP [ 08:53:29 ] :: [ LOG ] :: Remove vmcores [ 08:53:29 ] :: [ LOG ] :: - Remove all files in /var/crash [ 08:53:29 ] :: [ LOG ] :: Restore Kdump configurations [ 08:53:29 ] :: [ LOG ] :: - Restore default /etc/kdump.conf [ 08:53:29 ] :: [ LOG ] :: - Restore default /etc/sysconfig/kdump ::::::::::::::::::::::::::::::::::::::::::::: [ 08:53:29 ] :: [ LOG ] :: Modifying /etc/sysconfig/kdump [ 08:53:29 ] :: [ LOG ] :: - Remove '-s' from 'KEXEC_ARGS' Uploading kdump .done [ 08:53:29 ] :: [ LOG ] :: Modifying /etc/sysconfig/kdump [ 08:53:29 ] :: [ LOG ] :: - Add 'rd.memdebug=1' to 'KDUMP_COMMANDLINE_APPEND' Uploading kdump .done [ 08:53:29 ] :: [ LOG ] :: Restarting Kdump service. Uploading kdump.conf .done Uploading kdump .done kdump: Reserved 512MB 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.rc3.e8f60cd7db24.27.test.fc38.aarch64kdump.img kdump: kexec: loaded kdump kernel kdump: Starting kdump: [OK] kdump: Kdump is operational Uploading kdump.log .done [ 08:53:53 ] :: [ LOG ] :: - Updating efibootmgr next boot option to 0009 according to BootCurrent BootNext: 0009 BootCurrent: 0009 Timeout: 3 seconds BootOrder: 0003,0004,0005,0006,0002,0009,0000,0001,0007 Boot0000* UiApp FvVol(64074afe-340a-4be6-94ba-91b5b4d0f71e)/FvFile(462caa21-7614-4503-836e-8ab6f4662331) Boot0001* UEFI Misc Device VenHw(93e34c7e-b50e-11df-9223-2443dfd72085,00){auto_created_boot_option} Boot0002* UEFI Misc Device 2 PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0){auto_created_boot_option} Boot0003* UEFI PXEv4 (MAC:5254001AE514) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254001ae514,1)/IPv4(0.0.0.00.0.0.0,0,0){auto_created_boot_option} Boot0004* UEFI PXEv6 (MAC:5254001AE514) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254001ae514,1)/IPv6([::]:<->[::]:,0,0){auto_created_boot_option} Boot0005* UEFI HTTPv4 (MAC:5254001AE514) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254001ae514,1)/IPv4(0.0.0.00.0.0.0,0,0)/Uri(){auto_created_boot_option} Boot0006* UEFI HTTPv6 (MAC:5254001AE514) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254001ae514,1)/IPv6([::]:<->[::]:,0,0)/Uri(){auto_created_boot_option} Boot0007* EFI Internal Shell FvVol(64074afe-340a-4be6-94ba-91b5b4d0f71e)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1) Boot0009* Fedora HD(1,GPT,6c695144-2cd2-4687-acea-787ec318a336,0x800,0x12c000)/File(\EFI\fedora\shimaa64.efi) [ 08:53:53 ] :: [ LOG ] :: Alert: Triggering crash 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:55:58 ] :: [ LOG ] :: Checking dumped file: vmcore-dmesg.txt [ 08:55:58 ] :: [ RUN ] :: # find /var/crash /var/crash /var/crash/127.0.0.1-2023-01-12-08:54:35 /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore-dmesg.txt /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore /var/crash/127.0.0.1-2023-01-12-08:54:35/kexec-dmesg.log [ 08:55:58 ] :: [ RUN ] :: # file -i /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore-dmesg.txt /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore-dmesg.txt: text/plain; charset=us-ascii [ 08:55:58 ] :: [ LOG ] :: vmcore-dmesg.txt path: /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore-dmesg.txt [ 08:55:58 ] :: [ LOG ] :: Checking dumped file: vmcore [ 08:55:58 ] :: [ RUN ] :: # find /var/crash /var/crash /var/crash/127.0.0.1-2023-01-12-08:54:35 /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore-dmesg.txt /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore /var/crash/127.0.0.1-2023-01-12-08:54:35/kexec-dmesg.log [ 08:55:58 ] :: [ RUN ] :: # file -i /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore: application/octet-stream; charset=binary [ 08:55:58 ] :: [ LOG ] :: vmcore path: /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore [ 08:55:58 ] :: [ LOG ] :: Install crash package crash is not installed [ 08:55:58 ] :: [ RUN ] :: # dnf install -y crash Last metadata expiration check: 0:06:04 ago on Thu 12 Jan 2023 08:49:55 AM EST. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: crash aarch64 8.0.2-1.fc38 beaker-Fedora-Everything 4.0 M Transaction Summary ================================================================================ Install 1 Package Total download size: 4.0 M Installed size: 12 M Downloading Packages: crash-8.0.2-1.fc38.aarch64.rpm 25 MB/s | 4.0 MB 00:00 -------------------------------------------------------------------------------- Total 24 MB/s | 4.0 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.aarch64 1/1 Running scriptlet: crash-8.0.2-1.fc38.aarch64 1/1 Verifying : crash-8.0.2-1.fc38.aarch64 1/1 Installed: crash-8.0.2-1.fc38.aarch64 Complete! [ 08:56:02 ] :: [ RUN ] :: # dnf upgrade -y crash --enablerepo=updates-testing --enablerepo=fedora --releasever=rawhide Last metadata expiration check: 0:05:10 ago on Thu 12 Jan 2023 08:50:54 AM EST. Dependencies resolved. Nothing to do. Complete! [ 08:56:06 ] :: [ LOG ] :: Install kernel-debuginfo-6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64 package kernel-debuginfo-6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64 is not installed [ 08:56:06 ] :: [ RUN ] :: # dnf install -y kernel-debuginfo-6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64 Last metadata expiration check: 0:06:13 ago on Thu 12 Jan 2023 08:49:55 AM EST. Dependencies resolved. =================================================================================================== Package Arch Version Repository Size =================================================================================================== Installing: kernel-debuginfo aarch64 6.2.0-0.rc3.e8f60cd7db24.27.test.fc38 kernel-cki 783 M Installing dependencies: kernel-debuginfo-common-aarch64 aarch64 6.2.0-0.rc3.e8f60cd7db24.27.test.fc38 kernel-cki 19 M Transaction Summary =================================================================================================== Install 2 Packages Total download size: 802 M Installed size: 3.1 G Downloading Packages: (1/2): kernel-debuginfo-common-aarch64-6.2.0-0. 42 MB/s | 19 MB 00:00 (2/2): kernel-debuginfo-6.2.0-0.rc3.e8f60cd7db2 42 MB/s | 783 MB 00:18 -------------------------------------------------------------------------------- Total 43 MB/s | 802 MB 00:18 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : kernel-debuginfo-common-aarch64-6.2.0-0.rc3.e8f60cd7 1/2 Installing : kernel-debuginfo-6.2.0-0.rc3.e8f60cd7db24.27.test.fc 2/2 Running scriptlet: kernel-debuginfo-6.2.0-0.rc3.e8f60cd7db24.27.test.fc 2/2 Verifying : kernel-debuginfo-6.2.0-0.rc3.e8f60cd7db24.27.test.fc 1/2 Verifying : kernel-debuginfo-common-aarch64-6.2.0-0.rc3.e8f60cd7 2/2 Installed: kernel-debuginfo-6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64 kernel-debuginfo-common-aarch64-6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64 Complete! kernel-debuginfo-6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64 [ 08:57:54 ] :: [ LOG ] :: Kernel debug vmlinux is ready at /usr/lib/debug/lib/modules/6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64/vmlinux [ 08:57:54 ] :: [ LOG ] :: Simple crash tests against the vmcore [ 08:57:54 ] :: [ LOG ] :: - Only check the return code of this session. [ 08:57:54 ] :: [ LOG ] :: # crash -i /mnt/testarea/crash-simple.cmd /usr/lib/debug/lib/modules/6.2.0-0.rc3.e8f60cd7db24.27.test.fc38.aarch64/vmlinux /var/crash/127.0.0.1-2023-01-12-08:54:35/vmcore Uploading crash-simple.vmcore.log .done Uploading crash-simple.cmd .done [ 08:58:27 ] :: [ 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