use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh Disable AVC check egrep: warning: egrep is obsolescent; using grep -E [ 09:13:56 ] :: [ LOG ] :: Prepare Kdump [ 09:13:56 ] :: [ LOG ] :: Install kexec-tools and related packages [ 09:13:56 ] :: [ RUN ] :: # dnf install -y kexec-tools Last metadata expiration check: 0:00:23 ago on Sun 25 Sep 2022 09:13:34 AM EDT. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kexec-tools aarch64 2.0.25-1.fc37 beaker-Fedora 455 k Installing dependencies: dracut-network aarch64 057-3.fc38 beaker-Fedora 76 k dracut-squash aarch64 057-3.fc38 beaker-Fedora 12 k ethtool aarch64 2:5.19-1.fc38 beaker-Fedora 219 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 Installing weak dependencies: zstd aarch64 1.5.2-3.fc37 beaker-Fedora-Everything 412 k Transaction Summary ================================================================================ Install 8 Packages Total download size: 1.5 M Installed size: 4.4 M Downloading Packages: (1/8): dracut-squash-057-3.fc38.aarch64.rpm 572 kB/s | 12 kB 00:00 (2/8): dracut-network-057-3.fc38.aarch64.rpm 1.8 MB/s | 76 kB 00:00 (3/8): ethtool-5.19-1.fc38.aarch64.rpm 4.5 MB/s | 219 kB 00:00 (4/8): lzo-2.10-7.fc37.aarch64.rpm 2.8 MB/s | 63 kB 00:00 (5/8): snappy-1.1.9-5.fc37.aarch64.rpm 1.5 MB/s | 35 kB 00:00 (6/8): kexec-tools-2.0.25-1.fc37.aarch64.rpm 7.8 MB/s | 455 kB 00:00 (7/8): squashfs-tools-4.5.1-2.fc37.aarch64.rpm 7.0 MB/s | 224 kB 00:00 (8/8): zstd-1.5.2-3.fc37.aarch64.rpm 9.0 MB/s | 412 kB 00:00 -------------------------------------------------------------------------------- Total 12 MB/s | 1.5 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/8 Installing : squashfs-tools-4.5.1-2.fc37.aarch64 2/8 Installing : dracut-squash-057-3.fc38.aarch64 3/8 Installing : zstd-1.5.2-3.fc37.aarch64 4/8 Installing : snappy-1.1.9-5.fc37.aarch64 5/8 Installing : ethtool-2:5.19-1.fc38.aarch64 6/8 Installing : dracut-network-057-3.fc38.aarch64 7/8 Running scriptlet: kexec-tools-2.0.25-1.fc37.aarch64 8/8 Installing : kexec-tools-2.0.25-1.fc37.aarch64 8/8 Running scriptlet: kexec-tools-2.0.25-1.fc37.aarch64 8/8 Verifying : dracut-network-057-3.fc38.aarch64 1/8 Verifying : dracut-squash-057-3.fc38.aarch64 2/8 Verifying : ethtool-2:5.19-1.fc38.aarch64 3/8 Verifying : kexec-tools-2.0.25-1.fc37.aarch64 4/8 Verifying : lzo-2.10-7.fc37.aarch64 5/8 Verifying : snappy-1.1.9-5.fc37.aarch64 6/8 Verifying : squashfs-tools-4.5.1-2.fc37.aarch64 7/8 Verifying : zstd-1.5.2-3.fc37.aarch64 8/8 Installed: dracut-network-057-3.fc38.aarch64 dracut-squash-057-3.fc38.aarch64 ethtool-2:5.19-1.fc38.aarch64 kexec-tools-2.0.25-1.fc37.aarch64 lzo-2.10-7.fc37.aarch64 snappy-1.1.9-5.fc37.aarch64 squashfs-tools-4.5.1-2.fc37.aarch64 zstd-1.5.2-3.fc37.aarch64 Complete! kexec-tools-2.0.25-1.fc37.aarch64 Created symlink /etc/systemd/system/multi-user.target.wants/kdump.service → /usr/lib/systemd/system/kdump.service. [ 09:14:01 ] :: [ RUN ] :: # dnf upgrade -y kexec-tools dracut systemd selinux-policy --enablerepo=updates-testing --enablerepo=fedora --releasever=rawhide Fedora rawhide - aarch64 2.1 MB/s | 1.7 MB 00:00 Fedora rawhide - aarch64 - Test Updates 1.6 MB/s | 1.7 MB 00:01 Last metadata expiration check: 0:00:18 ago on Sun 25 Sep 2022 09:14:21 AM EDT. Dependencies resolved. Nothing to do. Complete! [ 09:14:45 ] :: [ LOG ] :: Enable kdump service [ 09:14:45 ] :: [ LOG ] :: Update boot loader [ 09:14:45 ] :: [ RUN ] :: # /sbin/grubby --args="crashkernel=512M" --update-kernel="/boot/vmlinuz-6.0.0-0.rc6.105a36f3694e.46.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 [ 09:14:45 ] :: [ LOG ] :: Rebooting... <13>Sep 25 09:14:46 root: efibootmgr -n 0009 BootNext: 0009 BootCurrent: 0009 Timeout: 3 seconds BootOrder: 0005,0006,0003,0004,0002,0009,0007,0000,0001 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:525400235506) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(525400235506,1)/IPv4(0.0.0.00.0.0.0,0,0){auto_created_boot_option} Boot0004* UEFI PXEv6 (MAC:525400235506) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(525400235506,1)/IPv6([::]:<->[::]:,0,0){auto_created_boot_option} Boot0005* UEFI HTTPv4 (MAC:525400235506) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(525400235506,1)/IPv4(0.0.0.00.0.0.0,0,0)/Uri(){auto_created_boot_option} Boot0006* UEFI HTTPv6 (MAC:525400235506) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(525400235506,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,1271eb48-63b2-4327-b049-ea920e75d982,0x800,0x12c000)/File(\EFI\fedora\shimaa64.efi) <13>Sep 25 09:14:46 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 [ 09:16:47 ] :: [ LOG ] :: Waiting for kdump service to be fully up kdump: Kdump is operational [ 09:16:47 ] :: [ LOG ] :: Upload system hardware info Uploading lshw.output .done [ 09:16:48 ] :: [ LOG ] :: Packages versions: 6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64 kexec-tools-2.0.25-1.fc37.aarch64 systemd-251.4-53.fc38.aarch64 dracut-057-3.fc38.aarch64 [ 09:16:48 ] :: [ LOG ] :: Kernel cmdline and crash memory reservation BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64 root=/dev/mapper/fedora_ampere--mtsnow--altra--02--vm--06-root ro rd.lvm.lv=fedora_ampere-mtsnow-altra-02-vm-06/root acpi=force crashkernel=512M Total system memory: 14GiB kdump: Reserved 512MB memory for crash kernel ::::::::::::::::::::::::::::::::::::::::::::: :: TEST CLEANUP [ 09:16:48 ] :: [ LOG ] :: Remove vmcores [ 09:16:48 ] :: [ LOG ] :: - Remove all files in /var/crash [ 09:16:48 ] :: [ LOG ] :: Restore Kdump configurations [ 09:16:48 ] :: [ LOG ] :: - Restore default /etc/kdump.conf [ 09:16:48 ] :: [ LOG ] :: - Restore default /etc/sysconfig/kdump ::::::::::::::::::::::::::::::::::::::::::::: [ 09:16:48 ] :: [ LOG ] :: Modifying /etc/sysconfig/kdump [ 09:16:48 ] :: [ LOG ] :: - Remove '-s' from 'KEXEC_ARGS' Uploading kdump .done [ 09:16:48 ] :: [ LOG ] :: Modifying /etc/sysconfig/kdump [ 09:16:48 ] :: [ LOG ] :: - Add 'rd.memdebug=1' to 'KDUMP_COMMANDLINE_APPEND' Uploading kdump .done [ 09:16:48 ] :: [ 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.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64kdump.img grep: warning: stray \ before - grep: warning: stray \ before - grep: warning: stray \ before - grep: warning: stray \ before - grep: warning: stray \ before - kdump: kexec: loaded kdump kernel kdump: Starting kdump: [OK] kdump: Kdump is operational Uploading kdump.log .done [ 09:17:10 ] :: [ WARN ] :: Restarting kdump reported warn/error message [ 09:17:10 ] :: [ LOG ] :: - Updating efibootmgr next boot option to 0009 according to BootCurrent BootNext: 0009 BootCurrent: 0009 Timeout: 3 seconds BootOrder: 0005,0006,0003,0004,0002,0009,0007,0000,0001 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:525400235506) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(525400235506,1)/IPv4(0.0.0.00.0.0.0,0,0){auto_created_boot_option} Boot0004* UEFI PXEv6 (MAC:525400235506) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(525400235506,1)/IPv6([::]:<->[::]:,0,0){auto_created_boot_option} Boot0005* UEFI HTTPv4 (MAC:525400235506) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(525400235506,1)/IPv4(0.0.0.00.0.0.0,0,0)/Uri(){auto_created_boot_option} Boot0006* UEFI HTTPv6 (MAC:525400235506) PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(525400235506,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,1271eb48-63b2-4327-b049-ea920e75d982,0x800,0x12c000)/File(\EFI\fedora\shimaa64.efi) [ 09:17:10 ] :: [ 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 [ 09:19:11 ] :: [ LOG ] :: Checking dumped file: vmcore-dmesg.txt [ 09:19:11 ] :: [ RUN ] :: # find /var/crash /var/crash /var/crash/127.0.0.1-2022-09-25-09:17:50 /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore-dmesg.txt /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore /var/crash/127.0.0.1-2022-09-25-09:17:50/kexec-dmesg.log [ 09:19:11 ] :: [ RUN ] :: # file -i /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore-dmesg.txt /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore-dmesg.txt: text/plain; charset=us-ascii [ 09:19:11 ] :: [ LOG ] :: vmcore-dmesg.txt path: /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore-dmesg.txt [ 09:19:11 ] :: [ LOG ] :: Checking dumped file: vmcore [ 09:19:11 ] :: [ RUN ] :: # find /var/crash /var/crash /var/crash/127.0.0.1-2022-09-25-09:17:50 /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore-dmesg.txt /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore /var/crash/127.0.0.1-2022-09-25-09:17:50/kexec-dmesg.log [ 09:19:11 ] :: [ RUN ] :: # file -i /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore: application/octet-stream; charset=binary [ 09:19:11 ] :: [ LOG ] :: vmcore path: /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore [ 09:19:11 ] :: [ LOG ] :: Install crash package crash is not installed [ 09:19:11 ] :: [ RUN ] :: # dnf install -y crash Last metadata expiration check: 0:05:38 ago on Sun 25 Sep 2022 09:13:34 AM EDT. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: crash aarch64 8.0.1-4.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.1-4.fc38.aarch64.rpm 19 MB/s | 4.0 MB 00:00 -------------------------------------------------------------------------------- Total 19 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.1-4.fc38.aarch64 1/1 Running scriptlet: crash-8.0.1-4.fc38.aarch64 1/1 Verifying : crash-8.0.1-4.fc38.aarch64 1/1 Installed: crash-8.0.1-4.fc38.aarch64 Complete! [ 09:19:14 ] :: [ RUN ] :: # dnf upgrade -y crash --enablerepo=updates-testing --enablerepo=fedora --releasever=rawhide Last metadata expiration check: 0:04:55 ago on Sun 25 Sep 2022 09:14:21 AM EDT. Dependencies resolved. Nothing to do. Complete! [ 09:19:18 ] :: [ LOG ] :: Install kernel-debuginfo-6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64 package kernel-debuginfo-6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64 is not installed [ 09:19:18 ] :: [ RUN ] :: # dnf install -y kernel-debuginfo-6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64 Last metadata expiration check: 0:05:45 ago on Sun 25 Sep 2022 09:13:34 AM EDT. Dependencies resolved. =================================================================================================== Package Arch Version Repository Size =================================================================================================== Installing: kernel-debuginfo aarch64 6.0.0-0.rc6.105a36f3694e.46.test.fc38 kernel-cki 753 M Installing dependencies: kernel-debuginfo-common-aarch64 aarch64 6.0.0-0.rc6.105a36f3694e.46.test.fc38 kernel-cki 11 M Transaction Summary =================================================================================================== Install 2 Packages Total download size: 764 M Installed size: 3.0 G Downloading Packages: (1/2): kernel-debuginfo-common-aarch64-6.0.0-0. 14 MB/s | 11 MB 00:00 (2/2): kernel-debuginfo-6.0.0-0.rc6.105a36f3694 41 MB/s | 753 MB 00:18 -------------------------------------------------------------------------------- Total 41 MB/s | 764 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.0.0-0.rc6.105a36f3 1/2 Installing : kernel-debuginfo-6.0.0-0.rc6.105a36f3694e.46.test.fc 2/2 Running scriptlet: kernel-debuginfo-6.0.0-0.rc6.105a36f3694e.46.test.fc 2/2 Verifying : kernel-debuginfo-6.0.0-0.rc6.105a36f3694e.46.test.fc 1/2 Verifying : kernel-debuginfo-common-aarch64-6.0.0-0.rc6.105a36f3 2/2 Installed: kernel-debuginfo-6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64 kernel-debuginfo-common-aarch64-6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64 Complete! kernel-debuginfo-6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64 [ 09:20:54 ] :: [ LOG ] :: Kernel debug vmlinux is ready at /usr/lib/debug/lib/modules/6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64/vmlinux [ 09:20:54 ] :: [ LOG ] :: Simple crash tests against the vmcore [ 09:20:54 ] :: [ LOG ] :: - Only check the return code of this session. [ 09:20:54 ] :: [ LOG ] :: # crash -i /mnt/testarea/crash-simple.cmd /usr/lib/debug/lib/modules/6.0.0-0.rc6.105a36f3694e.46.test.fc38.aarch64/vmlinux /var/crash/127.0.0.1-2022-09-25-09:17:50/vmcore Uploading crash-simple.vmcore.log .done Uploading crash-simple.cmd .done ::::::::::::::::::::::::::::::::::::::::::::: :: RESULT: PASS (skip: 0 warn: 0 error: 0) ::::::::::::::::::::::::::::::::::::::::::::: ** /kdump/crash-sysrq-c PASS Score:0 Uploading resultoutputfile.log .done