use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:19:20 ] :: [ BEGIN ] :: Running 'fips-mode-setup --enable' Kernel initramdisks are being regenerated. This might take some time. Using config file '/etc/zipl.conf' Using BLS config file '/boot/loader/entries/5372b70e87044b7d873fe83823b42101-5.14.0-246.1897_759824987.el9.s390x.conf' Using BLS config file '/boot/loader/entries/5372b70e87044b7d873fe83823b42101-5.14.0-239.el9.s390x.conf' Using BLS config file '/boot/loader/entries/5372b70e87044b7d873fe83823b42101-0-rescue.conf' Building bootmap in '/boot' Building menu 'zipl-automatic-menu' Adding #1: IPL section '(5.14.0-246.1897_759824987.el9.s390x)' (default) Adding #2: IPL section '(5.14.0-239.el9.s390x)' Adding #3: IPL section '(0-rescue-5372b70e87044b7d873fe83823b42101)' Preparing boot device: vda (0000). Done. Setting system policy to FIPS Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. FIPS mode will be enabled. Using config file '/etc/zipl.conf' Using BLS config file '/boot/loader/entries/5372b70e87044b7d873fe83823b42101-5.14.0-246.1897_759824987.el9.s390x.conf' Using BLS config file '/boot/loader/entries/5372b70e87044b7d873fe83823b42101-5.14.0-239.el9.s390x.conf' Using BLS config file '/boot/loader/entries/5372b70e87044b7d873fe83823b42101-0-rescue.conf' Building bootmap in '/boot' Building menu 'zipl-automatic-menu' Adding #1: IPL section '(5.14.0-246.1897_759824987.el9.s390x)' (default) Adding #2: IPL section '(5.14.0-239.el9.s390x)' Adding #3: IPL section '(0-rescue-5372b70e87044b7d873fe83823b42101)' Preparing boot device: vda (0000). Done. Please reboot the system for the setting to take effect. :: [ 12:20:01 ] :: [ PASS ] :: Command 'fips-mode-setup --enable' (Expected 0, got 0) :: [ 12:20:01 ] :: [ BEGIN ] :: Running 'touch /var/tmp/fips-enabled' :: [ 12:20:01 ] :: [ PASS ] :: Command 'touch /var/tmp/fips-enabled' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:21:03 ] :: [ BEGIN ] :: Running 'fips-mode-setup --check' FIPS mode is enabled. :: [ 12:21:04 ] :: [ PASS ] :: Command 'fips-mode-setup --check' (Expected 0, got 0) :: [ 12:21:04 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.N2RTb8aS' should contain 'enabled' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:21:05 ] :: [ BEGIN ] :: Running 'rm -f /var/tmp/fips-enabled' :: [ 12:21:05 ] :: [ PASS ] :: Command 'rm -f /var/tmp/fips-enabled' (Expected 0, got 0) :: [ 12:21:05 ] :: [ BEGIN ] :: Running 'fips-mode-setup --disable' Setting system policy to DEFAULT Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. FIPS mode will be disabled. Using config file '/etc/zipl.conf' Using BLS config file '/boot/loader/entries/5372b70e87044b7d873fe83823b42101-5.14.0-246.1897_759824987.el9.s390x.conf' Using BLS config file '/boot/loader/entries/5372b70e87044b7d873fe83823b42101-5.14.0-239.el9.s390x.conf' Using BLS config file '/boot/loader/entries/5372b70e87044b7d873fe83823b42101-0-rescue.conf' Building bootmap in '/boot' Building menu 'zipl-automatic-menu' Adding #1: IPL section '(5.14.0-246.1897_759824987.el9.s390x)' (default) Adding #2: IPL section '(5.14.0-239.el9.s390x)' Adding #3: IPL section '(0-rescue-5372b70e87044b7d873fe83823b42101)' Preparing boot device: vda (0000). Done. Please reboot the system for the setting to take effect. :: [ 12:21:05 ] :: [ PASS ] :: Command 'fips-mode-setup --disable' (Expected 0, got 0) :: [ 12:21:06 ] :: [ BEGIN ] :: Running 'rm -f /etc/system-fips' :: [ 12:21:06 ] :: [ PASS ] :: Command 'rm -f /etc/system-fips' (Expected 0, got 0) :: [ 12:21:06 ] :: [ BEGIN ] :: Running 'touch /var/tmp/fips-disabled' :: [ 12:21:06 ] :: [ PASS ] :: Command 'touch /var/tmp/fips-disabled' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:22:08 ] :: [ BEGIN ] :: Running 'fips-mode-setup --check' Installation of FIPS modules is not completed. FIPS mode is disabled. :: [ 12:22:08 ] :: [ PASS ] :: Command 'fips-mode-setup --check' (Expected 0, got 0) :: [ 12:22:08 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.TMf2jnKE' should contain 'disabled' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:22:08 ] :: [ BEGIN ] :: Running 'touch /var/tmp/fips-disabled' :: [ 12:22:08 ] :: [ PASS ] :: Command 'touch /var/tmp/fips-disabled' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 6 Package : unknown beakerlib RPM : beakerlib-1.27-3.el9.noarch Test name : unknown Test started : 2023-01-27 12:19:20 EST Test finished : 2023-01-27 12:22:09 EST (still running) Test duration : 169 seconds Distro : CentOS Stream release 9 Hostname : s390x-kvm-064.lab.eng.rdu2.redhat.com Architecture : s390x CPUs : 0 x RAM size : 7773 MB HDD size : 111.96 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of kernel-fips-mode Description: Test kernel FIPS 140 mode Author: Ondrej Moris :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:20:01 ] :: [ PASS ] :: Command 'fips-mode-setup --enable' (Expected 0, got 0) :: [ 12:20:01 ] :: [ PASS ] :: Command 'touch /var/tmp/fips-enabled' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:21:04 ] :: [ PASS ] :: Command 'fips-mode-setup --check' (Expected 0, got 0) :: [ 12:21:04 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.N2RTb8aS' should contain 'enabled' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:21:05 ] :: [ PASS ] :: Command 'rm -f /var/tmp/fips-enabled' (Expected 0, got 0) :: [ 12:21:05 ] :: [ PASS ] :: Command 'fips-mode-setup --disable' (Expected 0, got 0) :: [ 12:21:06 ] :: [ PASS ] :: Command 'rm -f /etc/system-fips' (Expected 0, got 0) :: [ 12:21:06 ] :: [ PASS ] :: Command 'touch /var/tmp/fips-disabled' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:22:08 ] :: [ PASS ] :: Command 'fips-mode-setup --check' (Expected 0, got 0) :: [ 12:22:08 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.TMf2jnKE' should contain 'disabled' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Test) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:22:08 ] :: [ PASS ] :: Command 'touch /var/tmp/fips-disabled' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 169s :: Phases: 5 good, 0 bad :: OVERALL RESULT: PASS (unknown)