:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Package : selinux-change-test.git :: [ LOG ] :: beakerlib RPM : beakerlib-1.10-2.fc22 :: [ LOG ] :: bl-redhat RPM : not installed :: [ LOG ] :: Test started : 2015-06-17 17:28:20 CEST :: [ LOG ] :: Test finished : 2015-06-17 17:30:44 CEST :: [ LOG ] :: Test name : /CoreOS/selinux-change-test.git/Sanity/tests-covering-SELinuxPolicyStoreMigration-change :: [ LOG ] :: Distro: : Fedora release 23 (Rawhide) :: [ LOG ] :: Hostname : hulk.w.lan :: [ LOG ] :: Architecture : x86_64 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of /CoreOS/selinux-change-test.git/Sanity/tests-covering-SELinuxPolicyStoreMigration-change Description: tests covering SELinuxPolicyStoreMigration change Author: Petr Lautrbach :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Creating tmp directory (Expected 0, got 0) :: [ PASS ] :: Command 'cp -rv rpms /tmp/tmp.L9YJOIr2Bb/' (Expected 0, got 0) :: [ PASS ] :: Command 'pushd /tmp/tmp.L9YJOIr2Bb' (Expected 0, got 0) :: [ LOG ] :: Duration: 0s :: [ LOG ] :: Assertions: 3 good, 0 bad :: [ PASS ] :: RESULT: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: test update packages :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Command 'virsh snapshot-create fedora-cloud' (Expected 0, got 0) :: [ PASS ] :: Command 'virsh start fedora-cloud' (Expected 0, got 0) :: [ INFO ] :: rlWaitForCmd: waiting for `ssh fedora@fedora-cloud date' to return 0 in 30 seconds :: [ INFO ] :: rlWaitForCmd: Wait successful! :: [ PASS ] :: Command 'old_package_version=$(run_remote_command rpm -q selinux-policy)' (Expected 0, got 0) :: [ PASS ] :: Command 'scp -r rpms fedora@fedora-cloud:; run_remote_command sudo dnf -y update rpms/\*' (Expected 0, got 0) :: [ PASS ] :: Command 'new_package_version=$(run_remote_command rpm -q selinux-policy)' (Expected 0, got 0) :: [ PASS ] :: check if selinux-policy has been updated (Assert: "selinux-policy-3.13.1-129.fc23.2.noarch " should not equal "selinux-policy-3.13.1-129.fc23.noarch ") :: [ PASS ] :: Command 'virsh snapshot-revert fedora-cloud --current' (Expected 0, got 0) :: [ PASS ] :: Command 'virsh snapshot-delete fedora-cloud --current' (Expected 0, got 0) :: [ LOG ] :: Duration: 56s :: [ LOG ] :: Assertions: 8 good, 0 bad :: [ PASS ] :: RESULT: test update packages :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: simple update test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Command 'virsh snapshot-create fedora-cloud' (Expected 0, got 0) :: [ PASS ] :: Command 'virsh start fedora-cloud' (Expected 0, got 0) :: [ INFO ] :: rlWaitForCmd: waiting for `ssh fedora@fedora-cloud date' to return 0 in 30 seconds :: [ WARNING ] :: rlWaitForCmd: Timeout reached :: [ PASS ] :: Command 'old_package_version=$(run_remote_command rpm -q selinux-policy)' (Expected 0, got 0) :: [ PASS ] :: Command 'run_remote_command sudo semodule -d zabbix -d zarafa' (Expected 0, got 0) :: [ PASS ] :: Command 'run_remote_command sudo semodule -l | cut -f 1 | sort > selinux-policy-3.13.1-129.fc23.noarch .modules-list' (Expected 0, got 0) :: [ PASS ] :: Command 'run_remote_command sudo setsebool -P xdm_bind_vnc_tcp_port 1' (Expected 0, got 0) :: [ PASS ] :: Command 'run_remote_command sudo getsebool -a | sort > selinux-policy-3.13.1-129.fc23.noarch .boolean-list' (Expected 0, got 0) :: [ PASS ] :: Command 'scp -r rpms fedora@fedora-cloud:; run_remote_command sudo dnf -y update rpms/\*' (Expected 0, got 0) :: [ PASS ] :: Command 'new_package_version=$(run_remote_command rpm -q selinux-policy)' (Expected 0, got 0) :: [ PASS ] :: Command 'run_remote_command sudo semodule -l | cut -f 1 | sort > selinux-policy-3.13.1-129.fc23.2.noarch .modules-list' (Expected 0, got 0) :: [ PASS ] :: Command 'run_remote_command sudo getsebool -a | sort > selinux-policy-3.13.1-129.fc23.2.noarch .boolean-list' (Expected 0, got 0) :: [ FAIL ] :: Command 'diff -u selinux-policy-3.13.1-129.fc23.noarch .modules-list selinux-policy-3.13.1-129.fc23.2.noarch .modules-list' (Expected 0, got 1) :: [ FAIL ] :: Files selinux-policy-3.13.1-129.fc23.noarch .modules-list and selinux-policy-3.13.1-129.fc23.2.noarch .modules-list should not differ :: [ FAIL ] :: Command 'diff -u selinux-policy-3.13.1-129.fc23.noarch .boolean-list selinux-policy-3.13.1-129.fc23.2.noarch .boolean-list' (Expected 0, got 1) :: [ FAIL ] :: Files selinux-policy-3.13.1-129.fc23.noarch .boolean-list and selinux-policy-3.13.1-129.fc23.2.noarch .boolean-list should not differ :: [ PASS ] :: Command 'rm *-list' (Expected 0, got 0) :: [ PASS ] :: Command 'virsh snapshot-revert fedora-cloud --current' (Expected 0, got 0) :: [ PASS ] :: Command 'virsh snapshot-delete fedora-cloud --current' (Expected 0, got 0) :: [ LOG ] :: Duration: 1m 28s :: [ LOG ] :: Assertions: 14 good, 4 bad :: [ FAIL ] :: RESULT: simple update test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Command 'popd' (Expected 0, got 0) :: [ PASS ] :: Removing tmp directory (Expected 0, got 0) :: [ LOG ] :: Duration: 0s :: [ LOG ] :: Assertions: 2 good, 0 bad :: [ PASS ] :: RESULT: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: /CoreOS/selinux-change-test.git/Sanity/tests-covering-SELinuxPolicyStoreMigration-change :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Phases: 3 good, 1 bad :: [ FAIL ] :: RESULT: /CoreOS/selinux-change-test.git/Sanity/tests-covering-SELinuxPolicyStoreMigration-change