use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Last metadata expiration check: 0:15:42 ago on Fri 23 Sep 2022 02:51:52 PM EDT. Package dnf-plugins-core-4.1.0-3.el9.noarch is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 15:07:35 ] :: [ BEGIN ] :: states we are goting to handle. :: actually running 'cat TEST_STATE' before_r_kaslr_snapshot after_r_kaslr_compare after_r_nokaslr_snapshot after_r_nokaslr_compare after_r_nokaslr_cleanup :: [ 15:07:35 ] :: [ LOG ] :: Output of 'cat TEST_STATE': :: [ 15:07:35 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 15:07:35 ] :: [ LOG ] :: before_r_kaslr_snapshot :: [ 15:07:35 ] :: [ LOG ] :: after_r_kaslr_compare :: [ 15:07:35 ] :: [ LOG ] :: after_r_nokaslr_snapshot :: [ 15:07:35 ] :: [ LOG ] :: after_r_nokaslr_compare :: [ 15:07:35 ] :: [ LOG ] :: after_r_nokaslr_cleanup :: [ 15:07:35 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 15:07:35 ] :: [ PASS ] :: states we are goting to handle. (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done debug: current_state=before_r_kaslr_snapshot debug: phase=kaslr-snapshot Detected 5lvl config CONFIG_RANDOMIZE_MEMORY=y :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: kaslr-snapshot :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:07:35 ] :: [ BEGIN ] :: to next state after_r_kaslr_compare :: actually running 'sed -i '1d' TEST_STATE' :: [ 15:07:35 ] :: [ PASS ] :: to next state after_r_kaslr_compare (Expected 0, got 0) _text: ffffffff86400000 page_offset_base: ffffffff87814280 vmemmap_base: ffffffff87814270 Kernel_code: a4200000 Kernel_data: a5c00000 Kernel_bss: a6882000 :: [ 15:07:36 ] :: [ PASS ] :: _text should be non-default (Assert: "ffffffff81000000" should not equal "ffffffff86400000") :: [ 15:07:36 ] :: [ PASS ] :: File '/proc/cmdline' should not contain 'nokaslr' Skip slub_freelist_random :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 3 good, 0 bad :: RESULT: PASS (kaslr-snapshot) ** kaslr-snapshot PASS Score:0 Uploading resultoutputfile.log .done use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh debug: current_state=after_r_kaslr_compare debug: phase=kaslr-compare Detected 5lvl config CONFIG_RANDOMIZE_MEMORY=y :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: kaslr-compare :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:08:38 ] :: [ BEGIN ] :: to next state after_r_nokaslr_snapshot :: actually running 'sed -i '1d' TEST_STATE' :: [ 15:08:38 ] :: [ PASS ] :: to next state after_r_nokaslr_snapshot (Expected 0, got 0) _text: ffffffffa8000000 _text.old: ffffffff86400000 page_offset_base: ffffffffa9414280 page_offset_base.old: ffffffff87814280 vmemmap_base: ffffffffa9414270 vmemmap_base.old: ffffffff87814270 Kernel_code: 0e400000 Kernel_code.old: a4200000 Kernel_data: 0fe00000 Kernel_data.old: a5c00000 Kernel_bss: 10a82000 Kernel_bss.old: a6882000 :: [ 15:08:38 ] :: [ PASS ] :: _text should be non-default (Assert: "ffffffff81000000" should not equal "ffffffffa8000000") ** reboot PASS Score: Uploading resultoutputfile.log .done :: [ 15:08:38 ] :: [ PASS ] :: File '/proc/cmdline' should not contain 'nokaslr' :: [ 15:08:38 ] :: [ PASS ] :: _text should be changed (Assert: "ffffffff86400000" should not equal "ffffffffa8000000") :: [ 15:08:38 ] :: [ PASS ] :: page_offset_base should be changed (Assert: "ffffffff87814280" should not equal "ffffffffa9414280") :: [ 15:08:38 ] :: [ PASS ] :: vmemmap_base should be changed (Assert: "ffffffff87814270" should not equal "ffffffffa9414270") :: [ 15:08:38 ] :: [ PASS ] :: Kernel_code should be changed (Assert: "a4200000" should not equal "0e400000") :: [ 15:08:38 ] :: [ PASS ] :: Kernel_data should be changed (Assert: "a5c00000" should not equal "0fe00000") :: [ 15:08:38 ] :: [ PASS ] :: Kernel_bss should be changed (Assert: "a6882000" should not equal "10a82000") Skip slub_freelist_random :: [ 15:08:38 ] :: [ BEGIN ] :: Running 'grubby --args nokaslr --update-kernel ALL' :: [ 15:08:39 ] :: [ PASS ] :: Command 'grubby --args nokaslr --update-kernel ALL' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 10 good, 0 bad :: RESULT: PASS (kaslr-compare) ** kaslr-compare PASS Score:0 Uploading resultoutputfile.log .done use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh debug: current_state=after_r_nokaslr_snapshot debug: phase=nokaslr-snapshot Detected 5lvl config CONFIG_RANDOMIZE_MEMORY=y :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: nokaslr-snapshot :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:09:41 ] :: [ BEGIN ] :: to next state after_r_nokaslr_compare :: actually running 'sed -i '1d' TEST_STATE' :: [ 15:09:41 ] :: [ PASS ] :: to next state after_r_nokaslr_compare (Expected 0, got 0) ** reboot PASS Score: Uploading resultoutputfile.log .done _text: ffffffff81000000 _text.old: ffffffffa8000000 page_offset_base: ffffffff82414280 page_offset_base.old: ffffffffa9414280 vmemmap_base: ffffffff82414270 vmemmap_base.old: ffffffffa9414270 Kernel_code: 01000000 Kernel_code.old: 0e400000 Kernel_data: 02a00000 Kernel_data.old: 0fe00000 Kernel_bss: 03682000 Kernel_bss.old: 10a82000 :: [ 15:09:41 ] :: [ PASS ] :: _text should be default (Assert: 'ffffffff81000000' should equal 'ffffffff81000000') :: [ 15:09:41 ] :: [ PASS ] :: File '/proc/cmdline' should contain 'nokaslr' Skip slub_freelist_random :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 3 good, 0 bad :: RESULT: PASS (nokaslr-snapshot) ** nokaslr-snapshot PASS Score:0 Uploading resultoutputfile.log .done use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh debug: current_state=after_r_nokaslr_compare debug: phase=nokaslr-compare Detected 5lvl config CONFIG_RANDOMIZE_MEMORY=y :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: nokaslr-compare :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:10:44 ] :: [ BEGIN ] :: to next state after_r_nokaslr_cleanup :: actually running 'sed -i '1d' TEST_STATE' :: [ 15:10:44 ] :: [ PASS ] :: to next state after_r_nokaslr_cleanup (Expected 0, got 0) _text: ffffffff81000000 _text.old: ffffffff81000000 page_offset_base: ffffffff82414280 page_offset_base.old: ffffffff82414280 vmemmap_base: ffffffff82414270 vmemmap_base.old: ffffffff82414270 Kernel_code: 01000000 Kernel_code.old: 01000000 Kernel_data: 02a00000 Kernel_data.old: 02a00000 Kernel_bss: 03682000 Kernel_bss.old: 03682000 :: [ 15:10:44 ] :: [ PASS ] :: _text should be default (Assert: 'ffffffff81000000' should equal 'ffffffff81000000') ** reboot PASS Score: Uploading resultoutputfile.log .done :: [ 15:10:44 ] :: [ PASS ] :: File '/proc/cmdline' should contain 'nokaslr' :: [ 15:10:44 ] :: [ PASS ] :: _text should be same (Assert: 'ffffffff81000000' should equal 'ffffffff81000000') :: [ 15:10:44 ] :: [ PASS ] :: page_offset_base should be same (Assert: 'ffffffff82414280' should equal 'ffffffff82414280') :: [ 15:10:44 ] :: [ PASS ] :: vmemmap_base should be same (Assert: 'ffffffff82414270' should equal 'ffffffff82414270') :: [ 15:10:44 ] :: [ PASS ] :: Kernel_code should be same (Assert: '01000000' should equal '01000000') :: [ 15:10:44 ] :: [ PASS ] :: Kernel_data should be same (Assert: '02a00000' should equal '02a00000') :: [ 15:10:44 ] :: [ PASS ] :: Kernel_bss should be same (Assert: '03682000' should equal '03682000') Skip slub_freelist_random :: [ 15:10:44 ] :: [ BEGIN ] :: Running 'grubby --remove-args nokaslr --update-kernel ALL' :: [ 15:10:45 ] :: [ PASS ] :: Command 'grubby --remove-args nokaslr --update-kernel ALL' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 10 good, 0 bad :: RESULT: PASS (nokaslr-compare) ** nokaslr-compare PASS Score:0 Uploading resultoutputfile.log .done use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh debug: current_state=after_r_nokaslr_cleanup debug: phase=nokaslr-cleanup Detected 5lvl config CONFIG_RANDOMIZE_MEMORY=y :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: nokaslr-cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:11:47 ] :: [ BEGIN ] :: to next state :: actually running 'sed -i '1d' TEST_STATE' :: [ 15:11:47 ] :: [ PASS ] :: to next state (Expected 0, got 0) ** reboot PASS Score: Uploading resultoutputfile.log .done :: [ 15:11:47 ] :: [ PASS ] :: File '/proc/cmdline' should not contain 'nokaslr' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (nokaslr-cleanup) ** nokaslr-cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:11:47 ] :: [ BEGIN ] :: Running 'rm TEST_STATE SETUP_FINISH -f' :: [ 15:11:47 ] :: [ PASS ] :: Command 'rm TEST_STATE SETUP_FINISH -f' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 255s :: Phases: 7 good, 0 bad :: OVERALL RESULT: PASS (unknown) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 13 Package : unknown beakerlib RPM : beakerlib-1.27-3.el9.noarch bl-redhat RPM : beakerlib-redhat-1-33.el9.noarch Test name : unknown Test started : 2022-09-23 15:07:33 EDT Test finished : 2022-09-23 15:11:48 EDT Test duration : 255 seconds Distro : CentOS Stream release 9 Hostname : kvm-07-guest09.hv2.lab.eng.bos.redhat.com Architecture : x86_64 CPUs : 2 x Intel Xeon Processor (Skylake, IBRS) RAM size : 3401 MB HDD size : 47.01 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of kaslr kaslr sanity checking Description: Author: Chunyu Hu :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:07:35 ] :: [ LOG ] :: Output of 'cat TEST_STATE': :: [ 15:07:35 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 15:07:35 ] :: [ LOG ] :: before_r_kaslr_snapshot :: [ 15:07:35 ] :: [ LOG ] :: after_r_kaslr_compare :: [ 15:07:35 ] :: [ LOG ] :: after_r_nokaslr_snapshot :: [ 15:07:35 ] :: [ LOG ] :: after_r_nokaslr_compare :: [ 15:07:35 ] :: [ LOG ] :: after_r_nokaslr_cleanup :: [ 15:07:35 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 15:07:35 ] :: [ PASS ] :: states we are goting to handle. (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: kaslr-snapshot :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:07:35 ] :: [ PASS ] :: to next state after_r_kaslr_compare (Expected 0, got 0) :: [ 15:07:36 ] :: [ PASS ] :: _text should be non-default (Assert: "ffffffff81000000" should not equal "ffffffff86400000") :: [ 15:07:36 ] :: [ PASS ] :: File '/proc/cmdline' should not contain 'nokaslr' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 3 good, 0 bad :: RESULT: PASS (kaslr-snapshot) :: [ 15:07:36 ] :: [ ERROR ] :: rlFileRestore: Cannot find backup in /var/tmp/beakerlib-13/backup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: kaslr-compare :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:08:38 ] :: [ PASS ] :: to next state after_r_nokaslr_snapshot (Expected 0, got 0) :: [ 15:08:38 ] :: [ PASS ] :: _text should be non-default (Assert: "ffffffff81000000" should not equal "ffffffffa8000000") :: [ 15:08:38 ] :: [ PASS ] :: File '/proc/cmdline' should not contain 'nokaslr' :: [ 15:08:38 ] :: [ PASS ] :: _text should be changed (Assert: "ffffffff86400000" should not equal "ffffffffa8000000") :: [ 15:08:38 ] :: [ PASS ] :: page_offset_base should be changed (Assert: "ffffffff87814280" should not equal "ffffffffa9414280") :: [ 15:08:38 ] :: [ PASS ] :: vmemmap_base should be changed (Assert: "ffffffff87814270" should not equal "ffffffffa9414270") :: [ 15:08:38 ] :: [ PASS ] :: Kernel_code should be changed (Assert: "a4200000" should not equal "0e400000") :: [ 15:08:38 ] :: [ PASS ] :: Kernel_data should be changed (Assert: "a5c00000" should not equal "0fe00000") :: [ 15:08:38 ] :: [ PASS ] :: Kernel_bss should be changed (Assert: "a6882000" should not equal "10a82000") :: [ 15:08:39 ] :: [ PASS ] :: Command 'grubby --args nokaslr --update-kernel ALL' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 10 good, 0 bad :: RESULT: PASS (kaslr-compare) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: nokaslr-snapshot :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:09:41 ] :: [ PASS ] :: to next state after_r_nokaslr_compare (Expected 0, got 0) :: [ 15:09:41 ] :: [ PASS ] :: _text should be default (Assert: 'ffffffff81000000' should equal 'ffffffff81000000') :: [ 15:09:41 ] :: [ PASS ] :: File '/proc/cmdline' should contain 'nokaslr' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 3 good, 0 bad :: RESULT: PASS (nokaslr-snapshot) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: nokaslr-compare :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:10:44 ] :: [ PASS ] :: to next state after_r_nokaslr_cleanup (Expected 0, got 0) :: [ 15:10:44 ] :: [ PASS ] :: _text should be default (Assert: 'ffffffff81000000' should equal 'ffffffff81000000') :: [ 15:10:44 ] :: [ PASS ] :: File '/proc/cmdline' should contain 'nokaslr' :: [ 15:10:44 ] :: [ PASS ] :: _text should be same (Assert: 'ffffffff81000000' should equal 'ffffffff81000000') :: [ 15:10:44 ] :: [ PASS ] :: page_offset_base should be same (Assert: 'ffffffff82414280' should equal 'ffffffff82414280') :: [ 15:10:44 ] :: [ PASS ] :: vmemmap_base should be same (Assert: 'ffffffff82414270' should equal 'ffffffff82414270') :: [ 15:10:44 ] :: [ PASS ] :: Kernel_code should be same (Assert: '01000000' should equal '01000000') :: [ 15:10:44 ] :: [ PASS ] :: Kernel_data should be same (Assert: '02a00000' should equal '02a00000') :: [ 15:10:44 ] :: [ PASS ] :: Kernel_bss should be same (Assert: '03682000' should equal '03682000') :: [ 15:10:45 ] :: [ PASS ] :: Command 'grubby --remove-args nokaslr --update-kernel ALL' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 10 good, 0 bad :: RESULT: PASS (nokaslr-compare) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: nokaslr-cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:11:47 ] :: [ PASS ] :: to next state (Expected 0, got 0) :: [ 15:11:47 ] :: [ PASS ] :: File '/proc/cmdline' should not contain 'nokaslr' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS (nokaslr-cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:11:47 ] :: [ PASS ] :: Command 'rm TEST_STATE SETUP_FINISH -f' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 255s :: Phases: 7 good, 0 bad :: OVERALL RESULT: PASS (unknown)