# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_nbde_server_rotate_keys.yml ************************************ 1 plays in /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:6 Saturday 30 December 2023 14:08:23 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 30 December 2023 14:08:24 +0000 (0:00:00.482) 0:00:00.494 ***** included: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 30 December 2023 14:08:24 +0000 (0:00:00.014) 0:00:00.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 30 December 2023 14:08:24 +0000 (0:00:00.018) 0:00:00.527 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 30 December 2023 14:08:24 +0000 (0:00:00.187) 0:00:00.715 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 30 December 2023 14:08:24 +0000 (0:00:00.019) 0:00:00.734 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 30 December 2023 14:08:24 +0000 (0:00:00.023) 0:00:00.757 ***** included: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 30 December 2023 14:08:24 +0000 (0:00:00.022) 0:00:00.780 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 30 December 2023 14:08:24 +0000 (0:00:00.456) 0:00:01.236 ***** changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.211) 0:00:01.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.018) 0:00:01.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.016) 0:00:01.483 ***** included: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.060) 0:00:01.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.009) 0:00:01.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.570 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.587 ***** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.595 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.619 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.628 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.636 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.644 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.652 ***** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.013) 0:00:01.666 ***** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.009) 0:00:01.692 ***** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.700 ***** TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.007) 0:00:01.708 ***** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:26 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.176) 0:00:01.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.009) 0:00:01.894 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.009) 0:00:01.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.920 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.014) 0:00:01.935 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:01.977 ***** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.014) 0:00:01.991 ***** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.014) 0:00:02.006 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.011) 0:00:02.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.009) 0:00:02.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.009) 0:00:02.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:02.046 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.010) 0:00:02.057 ***** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.009) 0:00:02.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 30 December 2023 14:08:25 +0000 (0:00:00.008) 0:00:02.075 ***** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2023-12-30 14:07:51 UTC", "ActiveEnterTimestampMonotonic": "1186227910", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 14:07:51 UTC", "AssertTimestampMonotonic": "1186226074", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 14:07:51 UTC", "ConditionTimestampMonotonic": "1186226073", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 14:07:51 UTC", "InactiveExitTimestampMonotonic": "1186227910", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys] ************************************************************* task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:14 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.316) 0:00:02.391 ***** ok: [sut] => { "changed": false, "examined": 4, "files": [ { "atime": 1703945305.123711, "ctime": 1703945305.1297114, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263420, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1703945305.123711, "nlink": 1, "path": "/var/db/tang/YtNZMcw1BXBx70bU3_6bVFXBY90.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1703945305.1297114, "ctime": 1703945305.1297114, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1703945305.1297114, "nlink": 1, "path": "/var/db/tang/bMvwuT72vw4tRgXzCHfK4KeHGG8.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.189) 0:00:02.580 ***** included: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.011) 0:00:02.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.010) 0:00:02.602 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.008) 0:00:02.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.009) 0:00:02.620 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.015) 0:00:02.636 ***** included: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.013) 0:00:02.649 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.369) 0:00:03.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.009) 0:00:03.028 ***** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.119) 0:00:03.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.009) 0:00:03.158 ***** included: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.018) 0:00:03.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.008) 0:00:03.184 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.008) 0:00:03.192 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.008) 0:00:03.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.009) 0:00:03.210 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.008) 0:00:03.218 ***** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.010) 0:00:03.229 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.008) 0:00:03.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.009) 0:00:03.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.009) 0:00:03.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.010) 0:00:03.267 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.010) 0:00:03.277 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.009) 0:00:03.287 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 30 December 2023 14:08:26 +0000 (0:00:00.008) 0:00:03.296 ***** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.013) 0:00:03.309 ***** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.318 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.326 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.009) 0:00:03.336 ***** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.344 ***** TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.352 ***** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:26 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.126) 0:00:03.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.009) 0:00:03.488 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.009) 0:00:03.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.514 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.014) 0:00:03.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.537 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.545 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.570 ***** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.013) 0:00:03.583 ***** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.012) 0:00:03.596 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.621 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.637 ***** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.009) 0:00:03.647 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:03.655 ***** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2023-12-30 14:07:51 UTC", "ActiveEnterTimestampMonotonic": "1186227910", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 14:07:51 UTC", "AssertTimestampMonotonic": "1186226074", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 14:07:51 UTC", "ConditionTimestampMonotonic": "1186226073", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 14:07:51 UTC", "InactiveExitTimestampMonotonic": "1186227910", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:31 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.194) 0:00:03.850 ***** ok: [sut] => { "changed": false, "examined": 4, "files": [ { "atime": 1703945305.123711, "ctime": 1703945305.1297114, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263420, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1703945305.123711, "nlink": 1, "path": "/var/db/tang/YtNZMcw1BXBx70bU3_6bVFXBY90.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1703945305.1297114, "ctime": 1703945305.1297114, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1703945305.1297114, "nlink": 1, "path": "/var/db/tang/bMvwuT72vw4tRgXzCHfK4KeHGG8.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Check whether keys changed - nbde_server_rotate_keys not set] ************ task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:42 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.121) 0:00:03.972 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.010) 0:00:03.983 ***** included: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.010) 0:00:03.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.009) 0:00:04.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:04.011 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.008) 0:00:04.019 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.013) 0:00:04.033 ***** included: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 30 December 2023 14:08:27 +0000 (0:00:00.013) 0:00:04.047 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.365) 0:00:04.412 ***** changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.135) 0:00:04.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.557 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.565 ***** included: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.018) 0:00:04.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.609 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.617 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.626 ***** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.636 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.644 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.661 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.010) 0:00:04.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.681 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.010) 0:00:04.691 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.700 ***** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.012) 0:00:04.713 ***** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.721 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.731 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.740 ***** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.750 ***** TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.758 ***** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:26 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.124) 0:00:04.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.892 ***** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.011) 0:00:04.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.913 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.923 ***** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.016) 0:00:04.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:04.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.966 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:04.983 ***** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.014) 0:00:04.997 ***** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.014) 0:00:05.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:05.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:05.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:05.040 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:05.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:05.056 ***** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.008) 0:00:05.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.009) 0:00:05.074 ***** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2023-12-30 14:07:51 UTC", "ActiveEnterTimestampMonotonic": "1186227910", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-12-30 14:07:51 UTC", "AssertTimestampMonotonic": "1186226074", "Backlog": "128", "Before": "sockets.target shutdown.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2023-12-30 14:07:51 UTC", "ConditionTimestampMonotonic": "1186226073", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2023-12-30 14:07:51 UTC", "InactiveExitTimestampMonotonic": "1186227910", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:52 Saturday 30 December 2023 14:08:28 +0000 (0:00:00.198) 0:00:05.272 ***** ok: [sut] => { "changed": false, "examined": 6, "files": [ { "atime": 1703945308.228787, "ctime": 1703945308.229787, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263423, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1703945308.228787, "nlink": 1, "path": "/var/db/tang/hJQ_KjWCE2I1g1W8hCS040Z9KX4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1703945308.222787, "ctime": 1703945308.229787, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1703945308.222787, "nlink": 1, "path": "/var/db/tang/KLQV77l8WqKXAk_ZPJdxo3pk-bs.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Check whether keys changed - nbde_server_rotate_keys set] **************** task path: /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:63 Saturday 30 December 2023 14:08:29 +0000 (0:00:00.121) 0:00:05.394 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=35 changed=2 unreachable=0 failed=0 skipped=124 rescued=0 ignored=0 Saturday 30 December 2023 14:08:29 +0000 (0:00:00.009) 0:00:05.403 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:6 ------ linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.46s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.37s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.37s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.32s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.21s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.20s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.19s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Gather keys ------------------------------------------------------------- 0.19s /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:14 ----- linux-system-roles.nbde_server : Check if system is ostree -------------- 0.19s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.18s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.14s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.13s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.12s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Gather keys after running with nbde_server_rotate_keys not set ---------- 0.12s /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:31 ----- Gather keys after running with nbde_server_rotate_keys set -------------- 0.12s /WORKDIR/git-weekly-cixsmi6wvb/tests/tests_nbde_server_rotate_keys.yml:52 ----- linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.12s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Manage firewall and SELinux for port --- 0.06s /WORKDIR/git-weekly-cixsmi6wvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services --- 0.05s /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 fedora.linux_system_roles.firewall : Gather firewall config information --- 0.04s /WORKDIR/git-weekly-cixsmi6wvb/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---