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:29:23 ] :: [ LOG ] :: Prepare Kdump [ 08:29:23 ] :: [ LOG ] :: Install kexec-tools and related packages [ 08:29:23 ] :: [ RUN ] :: # dnf install -y kexec-tools Last metadata expiration check: 0:00:29 ago on Fri 03 Feb 2023 08:28:54 AM EST. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kexec-tools s390x 2.0.26-3.fc38 beaker-Fedora 439 k Installing dependencies: dracut-network s390x 057-6.fc38 beaker-Fedora 77 k dracut-squash s390x 057-6.fc38 beaker-Fedora 12 k lzo s390x 2.10-8.fc38 beaker-Fedora 77 k snappy s390x 1.1.9-6.fc38 beaker-Fedora 37 k squashfs-tools s390x 4.5.1-3.fc38 beaker-Fedora 241 k Transaction Summary ================================================================================ Install 6 Packages Total download size: 882 k Installed size: 2.2 M Downloading Packages: (1/6): dracut-squash-057-6.fc38.s390x.rpm 1.6 MB/s | 12 kB 00:00 (2/6): dracut-network-057-6.fc38.s390x.rpm 5.8 MB/s | 77 kB 00:00 (3/6): lzo-2.10-8.fc38.s390x.rpm 11 MB/s | 77 kB 00:00 (4/6): snappy-1.1.9-6.fc38.s390x.rpm 3.1 MB/s | 37 kB 00:00 (5/6): squashfs-tools-4.5.1-3.fc38.s390x.rpm 13 MB/s | 241 kB 00:00 (6/6): kexec-tools-2.0.26-3.fc38.s390x.rpm 11 MB/s | 439 kB 00:00 -------------------------------------------------------------------------------- Total 20 MB/s | 882 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : lzo-2.10-8.fc38.s390x 1/6 Installing : squashfs-tools-4.5.1-3.fc38.s390x 2/6 Installing : dracut-squash-057-6.fc38.s390x 3/6 Installing : snappy-1.1.9-6.fc38.s390x 4/6 Installing : dracut-network-057-6.fc38.s390x 5/6 Running scriptlet: kexec-tools-2.0.26-3.fc38.s390x 6/6 Installing : kexec-tools-2.0.26-3.fc38.s390x 6/6 Running scriptlet: kexec-tools-2.0.26-3.fc38.s390x 6/6 Verifying : dracut-network-057-6.fc38.s390x 1/6 Verifying : dracut-squash-057-6.fc38.s390x 2/6 Verifying : kexec-tools-2.0.26-3.fc38.s390x 3/6 Verifying : lzo-2.10-8.fc38.s390x 4/6 Verifying : snappy-1.1.9-6.fc38.s390x 5/6 Verifying : squashfs-tools-4.5.1-3.fc38.s390x 6/6 Installed: dracut-network-057-6.fc38.s390x dracut-squash-057-6.fc38.s390x kexec-tools-2.0.26-3.fc38.s390x lzo-2.10-8.fc38.s390x snappy-1.1.9-6.fc38.s390x squashfs-tools-4.5.1-3.fc38.s390x Complete! kexec-tools-2.0.26-3.fc38.s390x Created symlink /etc/systemd/system/multi-user.target.wants/kdump.service → /usr/lib/systemd/system/kdump.service. [ 08:29:26 ] :: [ RUN ] :: # dnf upgrade -y kexec-tools dracut systemd selinux-policy --enablerepo=updates-testing --enablerepo=fedora --releasever=rawhide Fedora rawhide - s390x 633 kB/s | 1.7 MB 00:02 Fedora rawhide - s390x - Test Updates 508 kB/s | 1.7 MB 00:03 Last metadata expiration check: 0:00:19 ago on Fri 03 Feb 2023 08:29:51 AM EST. Dependencies resolved. Nothing to do. Complete! [ 08:30:15 ] :: [ LOG ] :: Enable kdump service [ 08:30:16 ] :: [ LOG ] :: Update boot loader [ 08:30:16 ] :: [ RUN ] :: # /sbin/grubby --args="crashkernel=0G-4G:192M,4G-64G:192M,64G-1T:256M,1T-:512M" --update-kernel="/boot/vmlinuz-6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x" Using config file '/etc/zipl.conf' Using BLS config file '/boot/loader/entries/6026746700ee485cbf47d636c7487103-6.2.0-0.rc6.20230202git9f266ccaa2f5.46.fc38.s390x.conf' Using BLS config file '/boot/loader/entries/6026746700ee485cbf47d636c7487103-6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x.conf' Using BLS config file '/boot/loader/entries/6026746700ee485cbf47d636c7487103-0-rescue.conf' Building bootmap in '/boot' Building menu 'zipl-automatic-menu' Adding #1: IPL section '(6.2.0-0.rc6.20230202git9f266ccaa2f5.46.fc38.s390x)' Adding #2: IPL section '(6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x)' (default) Adding #3: IPL section '(0-rescue-6026746700ee485cbf47d636c7487103)' Preparing boot device for LD-IPL: vda (0000). Done. ::::::::::::::::::::::::::::::::::::::::::::: :: 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:30:16 ] :: [ 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:31:17 ] :: [ LOG ] :: Waiting for kdump service to be fully up kdump: Kdump is operational [ 08:31:17 ] :: [ LOG ] :: Upload system hardware info Uploading lshw.output .done [ 08:31:17 ] :: [ LOG ] :: Packages versions: 6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x kexec-tools-2.0.26-3.fc38.s390x systemd-253~rc2-2.fc38.s390x dracut-057-6.fc38.s390x [ 08:31:17 ] :: [ LOG ] :: Kernel cmdline and crash memory reservation root=/dev/mapper/fedora_s390x--kvm--003-root rd.lvm.lv=fedora_s390x-kvm-003/root crashkernel=0G-4G:192M,4G-64G:192M,64G-1T:256M,1T-:512M Total system memory: 8GiB kdump: Reserved 192MB memory for crash kernel ::::::::::::::::::::::::::::::::::::::::::::: :: TEST CLEANUP [ 08:31:17 ] :: [ LOG ] :: Remove vmcores [ 08:31:17 ] :: [ LOG ] :: - Remove all files in /var/crash [ 08:31:17 ] :: [ LOG ] :: Restore Kdump configurations [ 08:31:17 ] :: [ LOG ] :: - Restore default /etc/kdump.conf [ 08:31:17 ] :: [ LOG ] :: - Restore default /etc/sysconfig/kdump ::::::::::::::::::::::::::::::::::::::::::::: [ 08:31:17 ] :: [ LOG ] :: Modifying /etc/sysconfig/kdump [ 08:31:17 ] :: [ LOG ] :: - Remove '-s' from 'KEXEC_ARGS' Uploading kdump .done [ 08:31:17 ] :: [ LOG ] :: Modifying /etc/sysconfig/kdump [ 08:31:17 ] :: [ LOG ] :: - Add 'rd.memdebug=1' to 'KDUMP_COMMANDLINE_APPEND' Uploading kdump .done [ 08:31:17 ] :: [ LOG ] :: Restarting Kdump service. Uploading kdump.conf .done Uploading kdump .done kdump: Reserved 192MB 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.rc6.66a87fff1a87.47.test.fc38.s390xkdump.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:33:37 ] :: [ LOG ] :: Checking dumped file: vmcore-dmesg.txt [ 08:33:37 ] :: [ RUN ] :: # find /var/crash /var/crash /var/crash/127.0.0.1-2023-02-03-08:31:37 /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore-dmesg.txt /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore /var/crash/127.0.0.1-2023-02-03-08:31:37/kexec-dmesg.log [ 08:33:37 ] :: [ RUN ] :: # file -i /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore-dmesg.txt /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore-dmesg.txt: text/plain; charset=us-ascii [ 08:33:37 ] :: [ LOG ] :: vmcore-dmesg.txt path: /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore-dmesg.txt [ 08:33:37 ] :: [ LOG ] :: Checking dumped file: vmcore [ 08:33:37 ] :: [ RUN ] :: # find /var/crash /var/crash /var/crash/127.0.0.1-2023-02-03-08:31:37 /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore-dmesg.txt /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore /var/crash/127.0.0.1-2023-02-03-08:31:37/kexec-dmesg.log [ 08:33:37 ] :: [ RUN ] :: # file -i /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore: application/octet-stream; charset=binary [ 08:33:37 ] :: [ LOG ] :: vmcore path: /var/crash/127.0.0.1-2023-02-03-08:31:37/vmcore [ 08:33:37 ] :: [ LOG ] :: Install crash package crash is not installed [ 08:33:37 ] :: [ RUN ] :: # dnf install -y crash Last metadata expiration check: 0:04:45 ago on Fri 03 Feb 2023 08:28:54 AM EST. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: crash s390x 8.0.2-2.fc38 beaker-Fedora-Everything 4.2 M Transaction Summary ================================================================================ Install 1 Package Total download size: 4.2 M Installed size: 11 M Downloading Packages: crash-8.0.2-2.fc38.s390x.rpm 31 MB/s | 4.2 MB 00:00 -------------------------------------------------------------------------------- Total 30 MB/s | 4.2 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-2.fc38.s390x 1/1 Running scriptlet: crash-8.0.2-2.fc38.s390x 1/1 Verifying : crash-8.0.2-2.fc38.s390x 1/1 Installed: crash-8.0.2-2.fc38.s390x Complete! [ 08:33:40 ] :: [ RUN ] :: # dnf upgrade -y crash --enablerepo=updates-testing --enablerepo=fedora --releasever=rawhide Last metadata expiration check: 0:03:51 ago on Fri 03 Feb 2023 08:29:51 AM EST. Dependencies resolved. Nothing to do. Complete! [ 08:33:44 ] :: [ LOG ] :: Install kernel-debuginfo-6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x package kernel-debuginfo-6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x is not installed [ 08:33:44 ] :: [ RUN ] :: # dnf install -y kernel-debuginfo-6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x Last metadata expiration check: 0:04:51 ago on Fri 03 Feb 2023 08:28:54 AM EST. Dependencies resolved. =============================================================================================== Package Arch Version Repository Size =============================================================================================== Installing: kernel-debuginfo s390x 6.2.0-0.rc6.66a87fff1a87.47.test.fc38 kernel-cki 256 M Installing dependencies: kernel-debuginfo-common-s390x s390x 6.2.0-0.rc6.66a87fff1a87.47.test.fc38 kernel-cki 3.7 M Transaction Summary =============================================================================================== Install 2 Packages Total download size: 260 M Installed size: 995 M Downloading Packages: (1/2): kernel-debuginfo-common-s390x-6.2.0-0.rc 34 MB/s | 3.7 MB 00:00 (2/2): kernel-debuginfo-6.2.0-0.rc6.66a87fff1a8 164 MB/s | 256 MB 00:01 -------------------------------------------------------------------------------- Total 166 MB/s | 260 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : kernel-debuginfo-common-s390x-6.2.0-0.rc6.66a87fff1a 1/2 Installing : kernel-debuginfo-6.2.0-0.rc6.66a87fff1a87.47.test.fc 2/2 Running scriptlet: kernel-debuginfo-6.2.0-0.rc6.66a87fff1a87.47.test.fc 2/2 Verifying : kernel-debuginfo-6.2.0-0.rc6.66a87fff1a87.47.test.fc 1/2 Verifying : kernel-debuginfo-common-s390x-6.2.0-0.rc6.66a87fff1a 2/2 Installed: kernel-debuginfo-6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x kernel-debuginfo-common-s390x-6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x Complete! kernel-debuginfo-6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x [ 08:34:16 ] :: [ LOG ] :: Kernel debug vmlinux is ready at /usr/lib/debug/lib/modules/6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x/vmlinux [ 08:34:16 ] :: [ LOG ] :: Simple crash tests against the vmcore [ 08:34:16 ] :: [ LOG ] :: - Only check the return code of this session. [ 08:34:16 ] :: [ LOG ] :: # crash -i /mnt/testarea/crash-simple.cmd /usr/lib/debug/lib/modules/6.2.0-0.rc6.66a87fff1a87.47.test.fc38.s390x/vmlinux /var/crash/127.0.0.1-2023-02-03-08:31:37/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