# 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_service_state.yml ********************************** 1 plays in /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml PLAY [Test nbde_server_service_state] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:6 Friday 05 January 2024 23:13:17 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] META: ran handlers TASK [Accepting connections without specifying state] ************************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:12 Friday 05 January 2024 23:13:17 +0000 (0:00:00.522) 0:00:00.534 ******** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Friday 05 January 2024 23:13:17 +0000 (0:00:00.014) 0:00:00.548 ******** included: /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Friday 05 January 2024 23:13:17 +0000 (0:00:00.023) 0:00:00.571 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Friday 05 January 2024 23:13:17 +0000 (0:00:00.020) 0:00:00.591 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Friday 05 January 2024 23:13:17 +0000 (0:00:00.199) 0:00:00.790 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Friday 05 January 2024 23:13:17 +0000 (0:00:00.020) 0:00:00.811 ******** 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-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Friday 05 January 2024 23:13:17 +0000 (0:00:00.026) 0:00:00.837 ******** included: /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Friday 05 January 2024 23:13:17 +0000 (0:00:00.024) 0:00:00.862 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Friday 05 January 2024 23:13:18 +0000 (0:00:00.497) 0:00:01.359 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Friday 05 January 2024 23:13:18 +0000 (0:00:00.029) 0:00:01.389 ******** 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-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Friday 05 January 2024 23:13:18 +0000 (0:00:00.218) 0:00:01.608 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Friday 05 January 2024 23:13:18 +0000 (0:00:00.037) 0:00:01.645 ******** included: /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 05 January 2024 23:13:18 +0000 (0:00:00.094) 0:00:01.739 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 05 January 2024 23:13:18 +0000 (0:00:00.011) 0:00:01.751 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 05 January 2024 23:13:18 +0000 (0:00:00.008) 0:00:01.759 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 05 January 2024 23:13:18 +0000 (0:00:00.008) 0:00:01.768 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 05 January 2024 23:13:18 +0000 (0:00:00.009) 0:00:01.777 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 05 January 2024 23:13:18 +0000 (0:00:00.008) 0:00:01.786 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 05 January 2024 23:13:18 +0000 (0:00:00.008) 0:00:01.795 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 05 January 2024 23:13:18 +0000 (0:00:00.008) 0:00:01.803 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 05 January 2024 23:13:18 +0000 (0:00:00.008) 0:00:01.811 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 05 January 2024 23:13:18 +0000 (0:00:00.008) 0:00:01.819 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 05 January 2024 23:13:18 +0000 (0:00:00.008) 0:00:01.827 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 05 January 2024 23:13:18 +0000 (0:00:00.008) 0:00:01.835 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 05 January 2024 23:13:18 +0000 (0:00:00.009) 0:00:01.845 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 05 January 2024 23:13:18 +0000 (0:00:00.009) 0:00:01.855 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 05 January 2024 23:13:18 +0000 (0:00:00.012) 0:00:01.868 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 05 January 2024 23:13:19 +0000 (0:00:00.008) 0:00:01.876 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 05 January 2024 23:13:19 +0000 (0:00:00.021) 0:00:01.898 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 05 January 2024 23:13:19 +0000 (0:00:00.013) 0:00:01.912 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 05 January 2024 23:13:19 +0000 (0:00:00.008) 0:00:01.921 ******** TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Friday 05 January 2024 23:13:19 +0000 (0:00:00.010) 0:00:01.932 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:26 Friday 05 January 2024 23:13:19 +0000 (0:00:00.180) 0:00:02.113 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Friday 05 January 2024 23:13:19 +0000 (0:00:00.010) 0:00:02.123 ******** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 23:13:19 +0000 (0:00:00.009) 0:00:02.132 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 23:13:19 +0000 (0:00:00.008) 0:00:02.140 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 23:13:19 +0000 (0:00:00.008) 0:00:02.148 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 23:13:19 +0000 (0:00:00.014) 0:00:02.163 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 23:13:19 +0000 (0:00:00.008) 0:00:02.171 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 23:13:19 +0000 (0:00:00.011) 0:00:02.183 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 23:13:19 +0000 (0:00:00.010) 0:00:02.193 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 23:13:19 +0000 (0:00:00.009) 0:00:02.203 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 23:13:19 +0000 (0:00:00.009) 0:00:02.212 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 23:13:19 +0000 (0:00:00.018) 0:00:02.231 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 23:13:19 +0000 (0:00:00.015) 0:00:02.246 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 23:13:19 +0000 (0:00:00.043) 0:00:02.289 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 23:13:19 +0000 (0:00:00.026) 0:00:02.316 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 23:13:19 +0000 (0:00:00.035) 0:00:02.352 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 23:13:19 +0000 (0:00:00.019) 0:00:02.371 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 23:13:19 +0000 (0:00:00.009) 0:00:02.381 ******** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Friday 05 January 2024 23:13:19 +0000 (0:00:00.011) 0:00:02.393 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Friday 05 January 2024 23:13:19 +0000 (0:00:00.008) 0:00:02.402 ******** 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": "Fri 2024-01-05 23:12:36 UTC", "ActiveEnterTimestampMonotonic": "414452421", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:12:36 UTC", "AssertTimestampMonotonic": "414451320", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "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": "Fri 2024-01-05 23:12:36 UTC", "ConditionTimestampMonotonic": "414451319", "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": "Fri 2024-01-05 23:12:36 UTC", "InactiveExitTimestampMonotonic": "414452421", "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": "-.slice sysinit.target", "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 state of services] ************************************************ task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:17 Friday 05 January 2024 23:13:19 +0000 (0:00:00.321) 0:00:02.723 ******** 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": "Fri 2024-01-05 23:12:36 UTC", "ActiveEnterTimestampMonotonic": "414452421", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:12:36 UTC", "AssertTimestampMonotonic": "414451320", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "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": "Fri 2024-01-05 23:12:36 UTC", "ConditionTimestampMonotonic": "414451319", "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": "Fri 2024-01-05 23:12:36 UTC", "InactiveExitTimestampMonotonic": "414452421", "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": "-.slice sysinit.target", "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 [Check whether services were enabled and started] ************************* task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:26 Friday 05 January 2024 23:13:20 +0000 (0:00:00.196) 0:00:02.920 ******** ok: [sut] => (item={'status': {'DevicePolicy': 'auto', 'RuntimeDirectoryMode': '0755', 'UnitFileState': 'enabled', 'MaxConnections': '64', 'LimitSIGPENDING': '14311', 'OOMScoreAdjust': '0', 'NConnections': '0', 'LoadState': 'loaded', 'IPTOS': '-1', 'ProtectHome': 'no', 'Broadcast': 'no', 'TTYVTDisallocate': 'no', 'TTYVHangup': 'no', 'ReceiveBuffer': '0', 'LimitSTACK': '18446744073709551615', 'DeferAcceptUSec': '0', 'ActiveEnterTimestampMonotonic': '414452421', 'StandardError': 'inherit', 'AssertTimestamp': 'Fri 2024-01-05 23:12:36 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'LimitFSIZE': '18446744073709551615', 'BlockIOWeight': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'InactiveExitTimestamp': 'Fri 2024-01-05 23:12:36 UTC', 'SendBuffer': '0', 'Nice': '0', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'multi-user.target sockets.target tangd@0.service shutdown.target', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '414452421', 'Mark': '-1', 'Priority': '-1', 'SendSIGHUP': 'no', 'SyslogPriority': '30', 'SameProcessGroup': 'no', 'LimitNPROC': '14311', 'SystemCallErrorNumber': '0', 'UMask': '0022', 'NonBlocking': 'no', 'CPUQuotaPerSecUSec': 'infinity', 'CapabilityBoundingSet': '18446744073709551615', 'TTYReset': 'no', 'RefuseManualStart': 'no', 'KillMode': 'control-group', 'SyslogLevelPrefix': 'yes', 'LimitRSS': '18446744073709551615', 'LimitRTPRIO': '0', 'PassCredentials': 'no', 'Delegate': 'no', 'TasksCurrent': '18446744073709551615', 'LimitCORE': '18446744073709551615', 'JobTimeoutUSec': '0', 'TimerSlackNSec': '50000', 'SubState': 'listening', 'CPUSchedulingResetOnFork': 'no', 'Result': 'success', 'KeepAliveIntervalUSec': '0', 'CPUShares': '18446744073709551615', 'NoDelay': 'no', 'IPTTL': '-1', 'ConditionResult': 'yes', 'ConditionTimestampMonotonic': '414451319', 'StartupBlockIOWeight': '18446744073709551615', 'ActiveEnterTimestamp': 'Fri 2024-01-05 23:12:36 UTC', 'FragmentPath': '/usr/lib/systemd/system/tangd.socket', 'StartupCPUShares': '18446744073709551615', 'ActiveState': 'active', 'KeepAlive': 'no', 'LimitDATA': '18446744073709551615', 'UnitFilePreset': 'disabled', 'MemoryCurrent': '18446744073709551615', 'LimitRTTIME': '18446744073709551615', 'ListenStream': '[::]:80', 'WantedBy': 'multi-user.target', 'PipeSize': '0', 'ConditionTimestamp': 'Fri 2024-01-05 23:12:36 UTC', 'CPUAccounting': 'no', 'CPUSchedulingPolicy': '0', 'PrivateNetwork': 'no', 'Transparent': 'no', 'LimitNOFILE': '4096', 'CanReload': 'no', 'RefuseManualStop': 'no', 'Triggers': 'tangd@0.service', 'SocketMode': '0666', 'TasksAccounting': 'no', 'NeedDaemonReload': 'no', 'SecureBits': '0', 'StandardInput': 'null', 'AssertTimestampMonotonic': '414451320', 'DefaultDependencies': 'yes', 'Requires': '-.slice sysinit.target', 'TasksMax': '18446744073709551615', 'BindIPv6Only': 'default', 'LimitMEMLOCK': '65536', 'StopWhenUnneeded': 'no', 'LimitMSGQUEUE': '819200', 'TimeoutUSec': '1min 30s', 'AmbientCapabilities': '0', 'FreeBind': 'no', 'CollectMode': 'inactive', 'KeepAliveTimeUSec': '0', 'BlockIOAccounting': 'no', 'CanStop': 'yes', 'PrivateTmp': 'no', 'NoNewPrivileges': 'no', 'AssertResult': 'yes', 'LimitLOCKS': '18446744073709551615', 'AllowIsolate': 'no', 'LimitNICE': '0', 'After': '-.slice sysinit.target', 'OnFailureJobMode': 'replace', 'KeepAliveProbes': '0', 'CanIsolate': 'no', 'Conflicts': 'shutdown.target', 'StandardOutput': 'journal', 'MountFlags': '0', 'InactiveEnterTimestampMonotonic': '0', 'SendSIGKILL': 'yes', 'MemoryAccounting': 'no', 'IgnoreSIGPIPE': 'yes', 'Transient': 'no', 'IOScheduling': '0', 'Description': 'Tang Server socket', 'ReusePort': 'no', 'ActiveExitTimestampMonotonic': '0', 'ControlPID': '0', 'Accept': 'yes', 'Names': 'tangd.socket', 'ProtectSystem': 'no', 'PrivateDevices': 'no', 'Id': 'tangd.socket'}, 'name': 'tangd.socket', 'changed': False, 'enabled': True, 'state': 'started', 'invocation': {'module_args': {'no_block': False, 'force': None, 'name': 'tangd.socket', 'daemon_reexec': False, 'enabled': True, 'daemon_reload': False, 'state': 'started', 'masked': None, 'scope': None, 'user': None}}, 'failed': False, 'item': 'tangd.socket', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "enabled": true, "failed": false, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "tangd.socket", "no_block": false, "scope": null, "state": "started", "user": null } }, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Fri 2024-01-05 23:12:36 UTC", "ActiveEnterTimestampMonotonic": "414452421", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:12:36 UTC", "AssertTimestampMonotonic": "414451320", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "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": "Fri 2024-01-05 23:12:36 UTC", "ConditionTimestampMonotonic": "414451319", "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": "Fri 2024-01-05 23:12:36 UTC", "InactiveExitTimestampMonotonic": "414452421", "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": "-.slice sysinit.target", "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" } } } MSG: All assertions passed TASK [Not accepting connections specifying state stopped] ********************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:31 Friday 05 January 2024 23:13:20 +0000 (0:00:00.020) 0:00:02.941 ******** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Friday 05 January 2024 23:13:20 +0000 (0:00:00.015) 0:00:02.956 ******** included: /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Friday 05 January 2024 23:13:20 +0000 (0:00:00.013) 0:00:02.970 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Friday 05 January 2024 23:13:20 +0000 (0:00:00.011) 0:00:02.981 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Friday 05 January 2024 23:13:20 +0000 (0:00:00.013) 0:00:02.995 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Friday 05 January 2024 23:13:20 +0000 (0:00:00.009) 0:00:03.005 ******** 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-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Friday 05 January 2024 23:13:20 +0000 (0:00:00.020) 0:00:03.026 ******** included: /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Friday 05 January 2024 23:13:20 +0000 (0:00:00.015) 0:00:03.041 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Friday 05 January 2024 23:13:20 +0000 (0:00:00.387) 0:00:03.429 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Friday 05 January 2024 23:13:20 +0000 (0:00:00.012) 0:00:03.441 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Friday 05 January 2024 23:13:20 +0000 (0:00:00.126) 0:00:03.567 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Friday 05 January 2024 23:13:20 +0000 (0:00:00.015) 0:00:03.583 ******** included: /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 05 January 2024 23:13:20 +0000 (0:00:00.020) 0:00:03.603 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 05 January 2024 23:13:20 +0000 (0:00:00.009) 0:00:03.613 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 05 January 2024 23:13:20 +0000 (0:00:00.021) 0:00:03.635 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 05 January 2024 23:13:20 +0000 (0:00:00.020) 0:00:03.655 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 05 January 2024 23:13:20 +0000 (0:00:00.010) 0:00:03.665 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 05 January 2024 23:13:20 +0000 (0:00:00.010) 0:00:03.675 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 05 January 2024 23:13:20 +0000 (0:00:00.020) 0:00:03.696 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 05 January 2024 23:13:20 +0000 (0:00:00.038) 0:00:03.734 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 05 January 2024 23:13:20 +0000 (0:00:00.015) 0:00:03.749 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 05 January 2024 23:13:20 +0000 (0:00:00.028) 0:00:03.777 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 05 January 2024 23:13:20 +0000 (0:00:00.010) 0:00:03.788 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 05 January 2024 23:13:20 +0000 (0:00:00.022) 0:00:03.810 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 05 January 2024 23:13:20 +0000 (0:00:00.027) 0:00:03.838 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 05 January 2024 23:13:20 +0000 (0:00:00.008) 0:00:03.847 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 05 January 2024 23:13:20 +0000 (0:00:00.012) 0:00:03.859 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 05 January 2024 23:13:20 +0000 (0:00:00.008) 0:00:03.868 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 05 January 2024 23:13:21 +0000 (0:00:00.008) 0:00:03.876 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 05 January 2024 23:13:21 +0000 (0:00:00.009) 0:00:03.885 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 05 January 2024 23:13:21 +0000 (0:00:00.008) 0:00:03.894 ******** TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Friday 05 January 2024 23:13:21 +0000 (0:00:00.008) 0:00:03.902 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:26 Friday 05 January 2024 23:13:21 +0000 (0:00:00.129) 0:00:04.032 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Friday 05 January 2024 23:13:21 +0000 (0:00:00.009) 0:00:04.041 ******** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 23:13:21 +0000 (0:00:00.011) 0:00:04.053 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 23:13:21 +0000 (0:00:00.008) 0:00:04.062 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 23:13:21 +0000 (0:00:00.008) 0:00:04.070 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 23:13:21 +0000 (0:00:00.032) 0:00:04.102 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 23:13:21 +0000 (0:00:00.011) 0:00:04.114 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 23:13:21 +0000 (0:00:00.009) 0:00:04.124 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 23:13:21 +0000 (0:00:00.017) 0:00:04.141 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 23:13:21 +0000 (0:00:00.011) 0:00:04.153 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 23:13:21 +0000 (0:00:00.010) 0:00:04.163 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 23:13:21 +0000 (0:00:00.014) 0:00:04.178 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 23:13:21 +0000 (0:00:00.018) 0:00:04.196 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 23:13:21 +0000 (0:00:00.012) 0:00:04.209 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 23:13:21 +0000 (0:00:00.009) 0:00:04.219 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 23:13:21 +0000 (0:00:00.008) 0:00:04.227 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 23:13:21 +0000 (0:00:00.016) 0:00:04.244 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 23:13:21 +0000 (0:00:00.012) 0:00:04.256 ******** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Friday 05 January 2024 23:13:21 +0000 (0:00:00.011) 0:00:04.267 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Friday 05 January 2024 23:13:21 +0000 (0:00:00.012) 0:00:04.280 ******** changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "stopped", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Fri 2024-01-05 23:12:36 UTC", "ActiveEnterTimestampMonotonic": "414452421", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:12:36 UTC", "AssertTimestampMonotonic": "414451320", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "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": "Fri 2024-01-05 23:12:36 UTC", "ConditionTimestampMonotonic": "414451319", "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": "Fri 2024-01-05 23:12:36 UTC", "InactiveExitTimestampMonotonic": "414452421", "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": "-.slice sysinit.target", "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 state of services] ************************************************ task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:38 Friday 05 January 2024 23:13:21 +0000 (0:00:00.208) 0:00:04.488 ******** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "stopped", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Fri 2024-01-05 23:12:36 UTC", "ActiveEnterTimestampMonotonic": "414452421", "ActiveExitTimestamp": "Fri 2024-01-05 23:13:21 UTC", "ActiveExitTimestampMonotonic": "459672671", "ActiveState": "inactive", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:12:36 UTC", "AssertTimestampMonotonic": "414451320", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "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": "Fri 2024-01-05 23:12:36 UTC", "ConditionTimestampMonotonic": "414451319", "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", "InactiveEnterTimestamp": "Fri 2024-01-05 23:13:21 UTC", "InactiveEnterTimestampMonotonic": "459672671", "InactiveExitTimestamp": "Fri 2024-01-05 23:12:36 UTC", "InactiveExitTimestampMonotonic": "414452421", "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": "-.slice sysinit.target", "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": "dead", "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 [Check whether services were enabled but stopped] ************************* task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:47 Friday 05 January 2024 23:13:21 +0000 (0:00:00.195) 0:00:04.683 ******** ok: [sut] => (item={'status': {'After': '-.slice sysinit.target', 'DevicePolicy': 'auto', 'RuntimeDirectoryMode': '0755', 'ActiveExitTimestamp': 'Fri 2024-01-05 23:13:21 UTC', 'UnitFileState': 'enabled', 'MaxConnections': '64', 'LimitSIGPENDING': '14311', 'OOMScoreAdjust': '0', 'NConnections': '0', 'LoadState': 'loaded', 'IPTOS': '-1', 'ProtectHome': 'no', 'Broadcast': 'no', 'TTYVTDisallocate': 'no', 'TTYVHangup': 'no', 'ReceiveBuffer': '0', 'LimitSTACK': '18446744073709551615', 'DeferAcceptUSec': '0', 'ActiveEnterTimestampMonotonic': '414452421', 'StandardError': 'inherit', 'AssertTimestamp': 'Fri 2024-01-05 23:12:36 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'LimitFSIZE': '18446744073709551615', 'BlockIOWeight': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'InactiveExitTimestamp': 'Fri 2024-01-05 23:12:36 UTC', 'SendBuffer': '0', 'Nice': '0', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'multi-user.target sockets.target tangd@0.service shutdown.target', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '414452421', 'Mark': '-1', 'Priority': '-1', 'SendSIGHUP': 'no', 'SyslogPriority': '30', 'SameProcessGroup': 'no', 'LimitNPROC': '14311', 'SystemCallErrorNumber': '0', 'UMask': '0022', 'NonBlocking': 'no', 'CPUQuotaPerSecUSec': 'infinity', 'CapabilityBoundingSet': '18446744073709551615', 'TTYReset': 'no', 'RefuseManualStart': 'no', 'KillMode': 'control-group', 'SyslogLevelPrefix': 'yes', 'LimitRSS': '18446744073709551615', 'LimitRTPRIO': '0', 'PassCredentials': 'no', 'Delegate': 'no', 'TasksCurrent': '18446744073709551615', 'LimitCORE': '18446744073709551615', 'JobTimeoutUSec': '0', 'TimerSlackNSec': '50000', 'SubState': 'dead', 'CPUSchedulingResetOnFork': 'no', 'Result': 'success', 'KeepAliveIntervalUSec': '0', 'CPUShares': '18446744073709551615', 'NoDelay': 'no', 'ConditionResult': 'yes', 'ConditionTimestampMonotonic': '414451319', 'StartupBlockIOWeight': '18446744073709551615', 'ActiveEnterTimestamp': 'Fri 2024-01-05 23:12:36 UTC', 'FragmentPath': '/usr/lib/systemd/system/tangd.socket', 'StartupCPUShares': '18446744073709551615', 'ActiveState': 'inactive', 'KeepAlive': 'no', 'LimitDATA': '18446744073709551615', 'UnitFilePreset': 'disabled', 'MemoryCurrent': '18446744073709551615', 'LimitRTTIME': '18446744073709551615', 'ListenStream': '[::]:80', 'WantedBy': 'multi-user.target', 'PipeSize': '0', 'ConditionTimestamp': 'Fri 2024-01-05 23:12:36 UTC', 'CPUAccounting': 'no', 'CPUSchedulingPolicy': '0', 'PrivateNetwork': 'no', 'Transparent': 'no', 'LimitNOFILE': '4096', 'CanReload': 'no', 'RefuseManualStop': 'no', 'IPTTL': '-1', 'SocketMode': '0666', 'TasksAccounting': 'no', 'NeedDaemonReload': 'no', 'SecureBits': '0', 'InactiveEnterTimestamp': 'Fri 2024-01-05 23:13:21 UTC', 'StandardInput': 'null', 'AssertTimestampMonotonic': '414451320', 'DefaultDependencies': 'yes', 'Requires': '-.slice sysinit.target', 'TasksMax': '18446744073709551615', 'BindIPv6Only': 'default', 'LimitMEMLOCK': '65536', 'StopWhenUnneeded': 'no', 'LimitMSGQUEUE': '819200', 'TimeoutUSec': '1min 30s', 'AmbientCapabilities': '0', 'FreeBind': 'no', 'CollectMode': 'inactive', 'KeepAliveTimeUSec': '0', 'BlockIOAccounting': 'no', 'CanStop': 'yes', 'PrivateTmp': 'no', 'NoNewPrivileges': 'no', 'AssertResult': 'yes', 'LimitLOCKS': '18446744073709551615', 'AllowIsolate': 'no', 'LimitNICE': '0', 'Triggers': 'tangd@0.service', 'OnFailureJobMode': 'replace', 'KeepAliveProbes': '0', 'CanIsolate': 'no', 'Conflicts': 'shutdown.target', 'StandardOutput': 'journal', 'MountFlags': '0', 'InactiveEnterTimestampMonotonic': '459672671', 'SendSIGKILL': 'yes', 'MemoryAccounting': 'no', 'IgnoreSIGPIPE': 'yes', 'Transient': 'no', 'IOScheduling': '0', 'Description': 'Tang Server socket', 'ReusePort': 'no', 'ActiveExitTimestampMonotonic': '459672671', 'ControlPID': '0', 'Accept': 'yes', 'Names': 'tangd.socket', 'ProtectSystem': 'no', 'PrivateDevices': 'no', 'Id': 'tangd.socket'}, 'name': 'tangd.socket', 'changed': False, 'enabled': True, 'state': 'stopped', 'invocation': {'module_args': {'no_block': False, 'force': None, 'name': 'tangd.socket', 'daemon_reexec': False, 'enabled': True, 'daemon_reload': False, 'state': 'stopped', 'masked': None, 'scope': None, 'user': None}}, 'failed': False, 'item': 'tangd.socket', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "enabled": true, "failed": false, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "tangd.socket", "no_block": false, "scope": null, "state": "stopped", "user": null } }, "item": "tangd.socket", "name": "tangd.socket", "state": "stopped", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Fri 2024-01-05 23:12:36 UTC", "ActiveEnterTimestampMonotonic": "414452421", "ActiveExitTimestamp": "Fri 2024-01-05 23:13:21 UTC", "ActiveExitTimestampMonotonic": "459672671", "ActiveState": "inactive", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:12:36 UTC", "AssertTimestampMonotonic": "414451320", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "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": "Fri 2024-01-05 23:12:36 UTC", "ConditionTimestampMonotonic": "414451319", "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", "InactiveEnterTimestamp": "Fri 2024-01-05 23:13:21 UTC", "InactiveEnterTimestampMonotonic": "459672671", "InactiveExitTimestamp": "Fri 2024-01-05 23:12:36 UTC", "InactiveExitTimestampMonotonic": "414452421", "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": "-.slice sysinit.target", "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": "dead", "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" } } } MSG: All assertions passed TASK [Accepting connections specifying state started] ************************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:52 Friday 05 January 2024 23:13:21 +0000 (0:00:00.017) 0:00:04.701 ******** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Friday 05 January 2024 23:13:21 +0000 (0:00:00.013) 0:00:04.714 ******** included: /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Friday 05 January 2024 23:13:21 +0000 (0:00:00.011) 0:00:04.725 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Friday 05 January 2024 23:13:21 +0000 (0:00:00.009) 0:00:04.735 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Friday 05 January 2024 23:13:21 +0000 (0:00:00.008) 0:00:04.743 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Friday 05 January 2024 23:13:21 +0000 (0:00:00.008) 0:00:04.752 ******** 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-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Friday 05 January 2024 23:13:21 +0000 (0:00:00.013) 0:00:04.766 ******** included: /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Friday 05 January 2024 23:13:21 +0000 (0:00:00.015) 0:00:04.781 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Friday 05 January 2024 23:13:22 +0000 (0:00:00.383) 0:00:05.164 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Friday 05 January 2024 23:13:22 +0000 (0:00:00.009) 0:00:05.174 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Friday 05 January 2024 23:13:22 +0000 (0:00:00.124) 0:00:05.299 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Friday 05 January 2024 23:13:22 +0000 (0:00:00.009) 0:00:05.309 ******** included: /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 05 January 2024 23:13:22 +0000 (0:00:00.019) 0:00:05.328 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 05 January 2024 23:13:22 +0000 (0:00:00.010) 0:00:05.338 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.347 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 05 January 2024 23:13:22 +0000 (0:00:00.010) 0:00:05.357 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.366 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.375 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 05 January 2024 23:13:22 +0000 (0:00:00.011) 0:00:05.387 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.395 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 05 January 2024 23:13:22 +0000 (0:00:00.009) 0:00:05.405 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.413 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 05 January 2024 23:13:22 +0000 (0:00:00.009) 0:00:05.423 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 05 January 2024 23:13:22 +0000 (0:00:00.009) 0:00:05.432 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 05 January 2024 23:13:22 +0000 (0:00:00.009) 0:00:05.441 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.450 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 05 January 2024 23:13:22 +0000 (0:00:00.013) 0:00:05.464 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 05 January 2024 23:13:22 +0000 (0:00:00.009) 0:00:05.473 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.481 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 05 January 2024 23:13:22 +0000 (0:00:00.010) 0:00:05.492 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 05 January 2024 23:13:22 +0000 (0:00:00.009) 0:00:05.501 ******** TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Friday 05 January 2024 23:13:22 +0000 (0:00:00.010) 0:00:05.512 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:26 Friday 05 January 2024 23:13:22 +0000 (0:00:00.129) 0:00:05.642 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Friday 05 January 2024 23:13:22 +0000 (0:00:00.012) 0:00:05.654 ******** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 23:13:22 +0000 (0:00:00.010) 0:00:05.665 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.673 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.682 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 23:13:22 +0000 (0:00:00.014) 0:00:05.696 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.704 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.713 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.721 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.729 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.738 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 23:13:22 +0000 (0:00:00.015) 0:00:05.753 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 23:13:22 +0000 (0:00:00.014) 0:00:05.768 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.776 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.785 ******** 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-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.793 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 23:13:22 +0000 (0:00:00.010) 0:00:05.803 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.812 ******** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Friday 05 January 2024 23:13:22 +0000 (0:00:00.008) 0:00:05.820 ******** 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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Friday 05 January 2024 23:13:22 +0000 (0:00:00.009) 0:00:05.829 ******** changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Fri 2024-01-05 23:12:36 UTC", "ActiveEnterTimestampMonotonic": "414452421", "ActiveExitTimestamp": "Fri 2024-01-05 23:13:21 UTC", "ActiveExitTimestampMonotonic": "459672671", "ActiveState": "inactive", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:12:36 UTC", "AssertTimestampMonotonic": "414451320", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "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": "Fri 2024-01-05 23:12:36 UTC", "ConditionTimestampMonotonic": "414451319", "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", "InactiveEnterTimestamp": "Fri 2024-01-05 23:13:21 UTC", "InactiveEnterTimestampMonotonic": "459672671", "InactiveExitTimestamp": "Fri 2024-01-05 23:12:36 UTC", "InactiveExitTimestampMonotonic": "414452421", "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": "-.slice sysinit.target", "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": "dead", "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 state of services] ************************************************ task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:59 Friday 05 January 2024 23:13:23 +0000 (0:00:00.210) 0:00:06.039 ******** 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": "Fri 2024-01-05 23:13:23 UTC", "ActiveEnterTimestampMonotonic": "461225592", "ActiveExitTimestamp": "Fri 2024-01-05 23:13:21 UTC", "ActiveExitTimestampMonotonic": "459672671", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:13:23 UTC", "AssertTimestampMonotonic": "461223828", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "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": "Fri 2024-01-05 23:13:23 UTC", "ConditionTimestampMonotonic": "461223827", "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", "InactiveEnterTimestamp": "Fri 2024-01-05 23:13:21 UTC", "InactiveEnterTimestampMonotonic": "459672671", "InactiveExitTimestamp": "Fri 2024-01-05 23:13:23 UTC", "InactiveExitTimestampMonotonic": "461225592", "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": "-.slice sysinit.target", "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 [Check whether services were enabled and started] ************************* task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:68 Friday 05 January 2024 23:13:23 +0000 (0:00:00.200) 0:00:06.240 ******** ok: [sut] => (item={'status': {'After': '-.slice sysinit.target', 'DevicePolicy': 'auto', 'RuntimeDirectoryMode': '0755', 'ActiveExitTimestamp': 'Fri 2024-01-05 23:13:21 UTC', 'UnitFileState': 'enabled', 'MaxConnections': '64', 'LimitSIGPENDING': '14311', 'OOMScoreAdjust': '0', 'NConnections': '0', 'LoadState': 'loaded', 'IPTOS': '-1', 'ProtectHome': 'no', 'Broadcast': 'no', 'TTYVTDisallocate': 'no', 'TTYVHangup': 'no', 'ReceiveBuffer': '0', 'LimitSTACK': '18446744073709551615', 'DeferAcceptUSec': '0', 'ActiveEnterTimestampMonotonic': '461225592', 'StandardError': 'inherit', 'AssertTimestamp': 'Fri 2024-01-05 23:13:23 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'LimitFSIZE': '18446744073709551615', 'BlockIOWeight': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'InactiveExitTimestamp': 'Fri 2024-01-05 23:13:23 UTC', 'SendBuffer': '0', 'Nice': '0', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'multi-user.target sockets.target tangd@0.service shutdown.target', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '461225592', 'Mark': '-1', 'Priority': '-1', 'SendSIGHUP': 'no', 'SyslogPriority': '30', 'SameProcessGroup': 'no', 'LimitNPROC': '14311', 'SystemCallErrorNumber': '0', 'UMask': '0022', 'NonBlocking': 'no', 'CPUQuotaPerSecUSec': 'infinity', 'CapabilityBoundingSet': '18446744073709551615', 'TTYReset': 'no', 'RefuseManualStart': 'no', 'KillMode': 'control-group', 'SyslogLevelPrefix': 'yes', 'LimitRSS': '18446744073709551615', 'LimitRTPRIO': '0', 'PassCredentials': 'no', 'Delegate': 'no', 'TasksCurrent': '18446744073709551615', 'LimitCORE': '18446744073709551615', 'JobTimeoutUSec': '0', 'TimerSlackNSec': '50000', 'SubState': 'listening', 'CPUSchedulingResetOnFork': 'no', 'Result': 'success', 'KeepAliveIntervalUSec': '0', 'CPUShares': '18446744073709551615', 'NoDelay': 'no', 'ConditionResult': 'yes', 'ConditionTimestampMonotonic': '461223827', 'StartupBlockIOWeight': '18446744073709551615', 'ActiveEnterTimestamp': 'Fri 2024-01-05 23:13:23 UTC', 'FragmentPath': '/usr/lib/systemd/system/tangd.socket', 'StartupCPUShares': '18446744073709551615', 'ActiveState': 'active', 'KeepAlive': 'no', 'LimitDATA': '18446744073709551615', 'UnitFilePreset': 'disabled', 'MemoryCurrent': '18446744073709551615', 'LimitRTTIME': '18446744073709551615', 'ListenStream': '[::]:80', 'WantedBy': 'multi-user.target', 'PipeSize': '0', 'ConditionTimestamp': 'Fri 2024-01-05 23:13:23 UTC', 'CPUAccounting': 'no', 'CPUSchedulingPolicy': '0', 'PrivateNetwork': 'no', 'Transparent': 'no', 'LimitNOFILE': '4096', 'CanReload': 'no', 'RefuseManualStop': 'no', 'IPTTL': '-1', 'SocketMode': '0666', 'TasksAccounting': 'no', 'NeedDaemonReload': 'no', 'SecureBits': '0', 'InactiveEnterTimestamp': 'Fri 2024-01-05 23:13:21 UTC', 'StandardInput': 'null', 'AssertTimestampMonotonic': '461223828', 'DefaultDependencies': 'yes', 'Requires': '-.slice sysinit.target', 'TasksMax': '18446744073709551615', 'BindIPv6Only': 'default', 'LimitMEMLOCK': '65536', 'StopWhenUnneeded': 'no', 'LimitMSGQUEUE': '819200', 'TimeoutUSec': '1min 30s', 'AmbientCapabilities': '0', 'FreeBind': 'no', 'CollectMode': 'inactive', 'KeepAliveTimeUSec': '0', 'BlockIOAccounting': 'no', 'CanStop': 'yes', 'PrivateTmp': 'no', 'NoNewPrivileges': 'no', 'AssertResult': 'yes', 'LimitLOCKS': '18446744073709551615', 'AllowIsolate': 'no', 'LimitNICE': '0', 'Triggers': 'tangd@0.service', 'OnFailureJobMode': 'replace', 'KeepAliveProbes': '0', 'CanIsolate': 'no', 'Conflicts': 'shutdown.target', 'StandardOutput': 'journal', 'MountFlags': '0', 'InactiveEnterTimestampMonotonic': '459672671', 'SendSIGKILL': 'yes', 'MemoryAccounting': 'no', 'IgnoreSIGPIPE': 'yes', 'Transient': 'no', 'IOScheduling': '0', 'Description': 'Tang Server socket', 'ReusePort': 'no', 'ActiveExitTimestampMonotonic': '459672671', 'ControlPID': '0', 'Accept': 'yes', 'Names': 'tangd.socket', 'ProtectSystem': 'no', 'PrivateDevices': 'no', 'Id': 'tangd.socket'}, 'name': 'tangd.socket', 'changed': False, 'enabled': True, 'state': 'started', 'invocation': {'module_args': {'no_block': False, 'force': None, 'name': 'tangd.socket', 'daemon_reexec': False, 'enabled': True, 'daemon_reload': False, 'state': 'started', 'masked': None, 'scope': None, 'user': None}}, 'failed': False, 'item': 'tangd.socket', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "enabled": true, "failed": false, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "tangd.socket", "no_block": false, "scope": null, "state": "started", "user": null } }, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Fri 2024-01-05 23:13:23 UTC", "ActiveEnterTimestampMonotonic": "461225592", "ActiveExitTimestamp": "Fri 2024-01-05 23:13:21 UTC", "ActiveExitTimestampMonotonic": "459672671", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 23:13:23 UTC", "AssertTimestampMonotonic": "461223828", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "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": "Fri 2024-01-05 23:13:23 UTC", "ConditionTimestampMonotonic": "461223827", "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", "InactiveEnterTimestamp": "Fri 2024-01-05 23:13:21 UTC", "InactiveEnterTimestampMonotonic": "459672671", "InactiveExitTimestamp": "Fri 2024-01-05 23:13:23 UTC", "InactiveExitTimestampMonotonic": "461225592", "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": "-.slice sysinit.target", "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" } } } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:73 Friday 05 January 2024 23:13:23 +0000 (0:00:00.017) 0:00:06.258 ******** included: /WORKDIR/git-cleanup_8e5ybvo/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tasks/cleanup.yml:2 Friday 05 January 2024 23:13:23 +0000 (0:00:00.012) 0:00:06.270 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-cleanup_8e5ybvo/tests/tasks/cleanup.yml:9 Friday 05 January 2024 23:13:23 +0000 (0:00:00.009) 0:00:06.280 ******** skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.004844", "end": "2024-01-05 23:13:23.590783", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-05 23:13:23.585939" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/LeZtRhTtGPMo5xzZfBXsvrmABW8.jwk /var/db/tang/z7KZ1b3k293qOGl_Qk6zaaMzMwE.jwk /var/db/tang/. /var/db/tang/.. rm: refusing to remove ‘.’ or ‘..’ directory: skipping ‘/var/db/tang/.’ rm: refusing to remove ‘.’ or ‘..’ directory: skipping ‘/var/db/tang/..’ + : changed: [sut] => (item={'path': '/var/cache/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/cache/tang\"\nelse\n rm -rf \"/var/cache/tang\"/* \"/var/cache/tang\"/.* || :\nfi\n", "delta": "0:00:00.004522", "end": "2024-01-05 23:13:23.710536", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-05 23:13:23.706014" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=38 changed=4 unreachable=0 failed=0 skipped=125 rescued=0 ignored=0 Friday 05 January 2024 23:13:23 +0000 (0:00:00.314) 0:00:06.595 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:6 ------ linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.50s /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.39s /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.38s /WORKDIR/git-cleanup_8e5ybvo/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-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Remove managed node files/directories ----------------------------------- 0.31s /WORKDIR/git-cleanup_8e5ybvo/tests/tasks/cleanup.yml:9 ------------------------ linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.22s /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.21s /WORKDIR/git-cleanup_8e5ybvo/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.21s /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Gather state of services ------------------------------------------------ 0.20s /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:59 ----- linux-system-roles.nbde_server : Check if system is ostree -------------- 0.20s /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Gather state of services ------------------------------------------------ 0.20s /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:17 ----- Gather state of services ------------------------------------------------ 0.20s /WORKDIR/git-cleanup_8e5ybvo/tests/tests_nbde_server_service_state.yml:38 ----- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.18s /WORKDIR/git-cleanup_8e5ybvo/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.13s /WORKDIR/git-cleanup_8e5ybvo/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.13s /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.13s /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.12s /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Manage firewall and SELinux for port --- 0.09s /WORKDIR/git-cleanup_8e5ybvo/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 fedora.linux_system_roles.firewall : Update firewalld_config fact ------- 0.06s /WORKDIR/git-cleanup_8e5ybvo/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---