# 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-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml PLAY [Test nbde_server_service_state] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:6 Friday 05 January 2024 18:07:33 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Accepting connections without specifying state] ************************** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:12 Friday 05 January 2024 18:07:34 +0000 (0:00:00.520) 0:00:00.533 ******** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Friday 05 January 2024 18:07:34 +0000 (0:00:00.013) 0:00:00.546 ******** included: /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Friday 05 January 2024 18:07:34 +0000 (0:00:00.028) 0:00:00.575 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Friday 05 January 2024 18:07:34 +0000 (0:00:00.023) 0:00:00.598 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Friday 05 January 2024 18:07:34 +0000 (0:00:00.301) 0:00:00.900 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Friday 05 January 2024 18:07:34 +0000 (0:00:00.023) 0:00:00.923 ******** 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-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Friday 05 January 2024 18:07:34 +0000 (0:00:00.028) 0:00:00.952 ******** included: /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Friday 05 January 2024 18:07:34 +0000 (0:00:00.030) 0:00:00.983 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Friday 05 January 2024 18:07:35 +0000 (0:00:00.489) 0:00:01.472 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Friday 05 January 2024 18:07:35 +0000 (0:00:00.017) 0:00:01.490 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Friday 05 January 2024 18:07:35 +0000 (0:00:00.217) 0:00:01.707 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Friday 05 January 2024 18:07:35 +0000 (0:00:00.018) 0:00:01.726 ******** included: /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 05 January 2024 18:07:35 +0000 (0:00:00.062) 0:00:01.789 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:01.799 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:01.809 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:01.819 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:01.829 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:01.840 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:01.850 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:01.859 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:01.869 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:01.879 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 05 January 2024 18:07:35 +0000 (0:00:00.015) 0:00:01.895 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:01.904 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:01.914 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:01.925 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 05 January 2024 18:07:35 +0000 (0:00:00.013) 0:00:01.939 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:01.949 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:01.959 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 05 January 2024 18:07:35 +0000 (0:00:00.011) 0:00:01.971 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:01.981 ******** TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Friday 05 January 2024 18:07:35 +0000 (0:00:00.011) 0:00:01.992 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:26 Friday 05 January 2024 18:07:35 +0000 (0:00:00.191) 0:00:02.183 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:02.193 ******** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 18:07:35 +0000 (0:00:00.011) 0:00:02.204 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:02.214 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:02.225 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 18:07:35 +0000 (0:00:00.015) 0:00:02.240 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:02.250 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:02.260 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:02.271 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 18:07:35 +0000 (0:00:00.010) 0:00:02.281 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 18:07:35 +0000 (0:00:00.008) 0:00:02.290 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 18:07:35 +0000 (0:00:00.014) 0:00:02.305 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 18:07:35 +0000 (0:00:00.014) 0:00:02.319 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:02.329 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:02.339 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:02.349 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:02.359 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 18:07:35 +0000 (0:00:00.009) 0:00:02.369 ******** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Friday 05 January 2024 18:07:35 +0000 (0:00:00.013) 0:00:02.382 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Friday 05 January 2024 18:07:35 +0000 (0:00:00.014) 0:00:02.396 ******** 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 18:07:13 UTC", "ActiveEnterTimestampMonotonic": "1207526706", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 18:07:13 UTC", "AssertTimestampMonotonic": "1207525162", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.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 18:07:13 UTC", "ConditionTimestampMonotonic": "1207525160", "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 18:07:13 UTC", "InactiveExitTimestampMonotonic": "1207526706", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather state of services] ************************************************ task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:17 Friday 05 January 2024 18:07:36 +0000 (0:00:00.348) 0:00:02.744 ******** 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 18:07:13 UTC", "ActiveEnterTimestampMonotonic": "1207526706", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 18:07:13 UTC", "AssertTimestampMonotonic": "1207525162", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.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 18:07:13 UTC", "ConditionTimestampMonotonic": "1207525160", "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 18:07:13 UTC", "InactiveExitTimestampMonotonic": "1207526706", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Check whether services were enabled and started] ************************* task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:26 Friday 05 January 2024 18:07:36 +0000 (0:00:00.205) 0:00:02.950 ******** 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': '1207526706', 'StandardError': 'inherit', 'AssertTimestamp': 'Fri 2024-01-05 18:07:13 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'LimitFSIZE': '18446744073709551615', 'BlockIOWeight': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'InactiveExitTimestamp': 'Fri 2024-01-05 18:07:13 UTC', 'SendBuffer': '0', 'Nice': '0', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'tangd@0.service shutdown.target multi-user.target sockets.target', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '1207526706', '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': '1207525160', 'StartupBlockIOWeight': '18446744073709551615', 'ActiveEnterTimestamp': 'Fri 2024-01-05 18:07:13 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 18:07:13 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': '1207525162', 'DefaultDependencies': 'yes', 'Requires': 'sysinit.target -.slice', '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': 'sysinit.target -.slice', '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 18:07:13 UTC", "ActiveEnterTimestampMonotonic": "1207526706", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 18:07:13 UTC", "AssertTimestampMonotonic": "1207525162", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.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 18:07:13 UTC", "ConditionTimestampMonotonic": "1207525160", "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 18:07:13 UTC", "InactiveExitTimestampMonotonic": "1207526706", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } } MSG: All assertions passed TASK [Not accepting connections specifying state stopped] ********************** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:31 Friday 05 January 2024 18:07:36 +0000 (0:00:00.018) 0:00:02.969 ******** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Friday 05 January 2024 18:07:36 +0000 (0:00:00.013) 0:00:02.982 ******** included: /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Friday 05 January 2024 18:07:36 +0000 (0:00:00.011) 0:00:02.994 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Friday 05 January 2024 18:07:36 +0000 (0:00:00.010) 0:00:03.004 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Friday 05 January 2024 18:07:36 +0000 (0:00:00.009) 0:00:03.014 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Friday 05 January 2024 18:07:36 +0000 (0:00:00.009) 0:00:03.023 ******** 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-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Friday 05 January 2024 18:07:36 +0000 (0:00:00.015) 0:00:03.039 ******** included: /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Friday 05 January 2024 18:07:36 +0000 (0:00:00.015) 0:00:03.054 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Friday 05 January 2024 18:07:36 +0000 (0:00:00.381) 0:00:03.436 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Friday 05 January 2024 18:07:36 +0000 (0:00:00.009) 0:00:03.445 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Friday 05 January 2024 18:07:37 +0000 (0:00:00.125) 0:00:03.571 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:03.581 ******** included: /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 05 January 2024 18:07:37 +0000 (0:00:00.020) 0:00:03.601 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:03.611 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 05 January 2024 18:07:37 +0000 (0:00:00.008) 0:00:03.620 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:03.630 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:03.640 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 05 January 2024 18:07:37 +0000 (0:00:00.008) 0:00:03.648 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:03.658 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.668 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.678 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:03.688 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.699 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.709 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.719 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.729 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 05 January 2024 18:07:37 +0000 (0:00:00.013) 0:00:03.743 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 05 January 2024 18:07:37 +0000 (0:00:00.011) 0:00:03.754 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.764 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 05 January 2024 18:07:37 +0000 (0:00:00.011) 0:00:03.776 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 05 January 2024 18:07:37 +0000 (0:00:00.008) 0:00:03.784 ******** TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.795 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:26 Friday 05 January 2024 18:07:37 +0000 (0:00:00.135) 0:00:03.930 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:03.940 ******** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 18:07:37 +0000 (0:00:00.011) 0:00:03.952 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.962 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:03.972 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 18:07:37 +0000 (0:00:00.015) 0:00:03.987 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:03.997 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:04.007 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 18:07:37 +0000 (0:00:00.011) 0:00:04.019 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:04.029 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 18:07:37 +0000 (0:00:00.008) 0:00:04.038 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 18:07:37 +0000 (0:00:00.020) 0:00:04.058 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 18:07:37 +0000 (0:00:00.016) 0:00:04.074 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:04.084 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:04.094 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:04.104 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 18:07:37 +0000 (0:00:00.010) 0:00:04.114 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 18:07:37 +0000 (0:00:00.011) 0:00:04.126 ******** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:04.135 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Friday 05 January 2024 18:07:37 +0000 (0:00:00.009) 0:00:04.145 ******** 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 18:07:13 UTC", "ActiveEnterTimestampMonotonic": "1207526706", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 18:07:13 UTC", "AssertTimestampMonotonic": "1207525162", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.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 18:07:13 UTC", "ConditionTimestampMonotonic": "1207525160", "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 18:07:13 UTC", "InactiveExitTimestampMonotonic": "1207526706", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather state of services] ************************************************ task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:38 Friday 05 January 2024 18:07:37 +0000 (0:00:00.210) 0:00:04.355 ******** 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 18:07:13 UTC", "ActiveEnterTimestampMonotonic": "1207526706", "ActiveExitTimestamp": "Fri 2024-01-05 18:07:37 UTC", "ActiveExitTimestampMonotonic": "1231910425", "ActiveState": "inactive", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 18:07:13 UTC", "AssertTimestampMonotonic": "1207525162", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.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 18:07:13 UTC", "ConditionTimestampMonotonic": "1207525160", "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 18:07:37 UTC", "InactiveEnterTimestampMonotonic": "1231910425", "InactiveExitTimestamp": "Fri 2024-01-05 18:07:13 UTC", "InactiveExitTimestampMonotonic": "1207526706", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "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-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:47 Friday 05 January 2024 18:07:38 +0000 (0:00:00.204) 0:00:04.560 ******** ok: [sut] => (item={'status': {'After': 'sysinit.target -.slice', 'DevicePolicy': 'auto', 'RuntimeDirectoryMode': '0755', 'ActiveExitTimestamp': 'Fri 2024-01-05 18:07:37 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': '1207526706', 'StandardError': 'inherit', 'AssertTimestamp': 'Fri 2024-01-05 18:07:13 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'LimitFSIZE': '18446744073709551615', 'BlockIOWeight': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'InactiveExitTimestamp': 'Fri 2024-01-05 18:07:13 UTC', 'SendBuffer': '0', 'Nice': '0', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'tangd@0.service shutdown.target multi-user.target sockets.target', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '1207526706', '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': '1207525160', 'StartupBlockIOWeight': '18446744073709551615', 'ActiveEnterTimestamp': 'Fri 2024-01-05 18:07:13 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 18:07:13 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 18:07:37 UTC', 'StandardInput': 'null', 'AssertTimestampMonotonic': '1207525162', 'DefaultDependencies': 'yes', 'Requires': 'sysinit.target -.slice', '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': '1231910425', 'SendSIGKILL': 'yes', 'MemoryAccounting': 'no', 'IgnoreSIGPIPE': 'yes', 'Transient': 'no', 'IOScheduling': '0', 'Description': 'Tang Server socket', 'ReusePort': 'no', 'ActiveExitTimestampMonotonic': '1231910425', '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 18:07:13 UTC", "ActiveEnterTimestampMonotonic": "1207526706", "ActiveExitTimestamp": "Fri 2024-01-05 18:07:37 UTC", "ActiveExitTimestampMonotonic": "1231910425", "ActiveState": "inactive", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 18:07:13 UTC", "AssertTimestampMonotonic": "1207525162", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.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 18:07:13 UTC", "ConditionTimestampMonotonic": "1207525160", "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 18:07:37 UTC", "InactiveEnterTimestampMonotonic": "1231910425", "InactiveExitTimestamp": "Fri 2024-01-05 18:07:13 UTC", "InactiveExitTimestampMonotonic": "1207526706", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "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-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:52 Friday 05 January 2024 18:07:38 +0000 (0:00:00.055) 0:00:04.615 ******** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Friday 05 January 2024 18:07:38 +0000 (0:00:00.014) 0:00:04.630 ******** included: /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Friday 05 January 2024 18:07:38 +0000 (0:00:00.011) 0:00:04.642 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Friday 05 January 2024 18:07:38 +0000 (0:00:00.011) 0:00:04.653 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:04.663 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:04.673 ******** 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-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Friday 05 January 2024 18:07:38 +0000 (0:00:00.016) 0:00:04.690 ******** included: /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Friday 05 January 2024 18:07:38 +0000 (0:00:00.015) 0:00:04.705 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Friday 05 January 2024 18:07:38 +0000 (0:00:00.384) 0:00:05.090 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.100 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Friday 05 January 2024 18:07:38 +0000 (0:00:00.128) 0:00:05.228 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.238 ******** included: /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 05 January 2024 18:07:38 +0000 (0:00:00.019) 0:00:05.257 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.268 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.278 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.288 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.298 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.308 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 05 January 2024 18:07:38 +0000 (0:00:00.012) 0:00:05.320 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.330 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 05 January 2024 18:07:38 +0000 (0:00:00.009) 0:00:05.340 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 05 January 2024 18:07:38 +0000 (0:00:00.009) 0:00:05.350 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 05 January 2024 18:07:38 +0000 (0:00:00.008) 0:00:05.359 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.369 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 05 January 2024 18:07:38 +0000 (0:00:00.009) 0:00:05.378 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 05 January 2024 18:07:38 +0000 (0:00:00.008) 0:00:05.387 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 05 January 2024 18:07:38 +0000 (0:00:00.013) 0:00:05.400 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 05 January 2024 18:07:38 +0000 (0:00:00.009) 0:00:05.409 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 05 January 2024 18:07:38 +0000 (0:00:00.010) 0:00:05.419 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 05 January 2024 18:07:38 +0000 (0:00:00.011) 0:00:05.430 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 05 January 2024 18:07:38 +0000 (0:00:00.008) 0:00:05.439 ******** TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:16 Friday 05 January 2024 18:07:38 +0000 (0:00:00.009) 0:00:05.449 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:26 Friday 05 January 2024 18:07:39 +0000 (0:00:00.135) 0:00:05.584 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Friday 05 January 2024 18:07:39 +0000 (0:00:00.011) 0:00:05.595 ******** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 05 January 2024 18:07:39 +0000 (0:00:00.011) 0:00:05.606 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 05 January 2024 18:07:39 +0000 (0:00:00.010) 0:00:05.617 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 05 January 2024 18:07:39 +0000 (0:00:00.009) 0:00:05.627 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 05 January 2024 18:07:39 +0000 (0:00:00.016) 0:00:05.643 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 05 January 2024 18:07:39 +0000 (0:00:00.010) 0:00:05.653 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 05 January 2024 18:07:39 +0000 (0:00:00.009) 0:00:05.663 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 05 January 2024 18:07:39 +0000 (0:00:00.009) 0:00:05.673 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 05 January 2024 18:07:39 +0000 (0:00:00.010) 0:00:05.683 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 05 January 2024 18:07:39 +0000 (0:00:00.009) 0:00:05.693 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 05 January 2024 18:07:39 +0000 (0:00:00.015) 0:00:05.708 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 05 January 2024 18:07:39 +0000 (0:00:00.014) 0:00:05.722 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 05 January 2024 18:07:39 +0000 (0:00:00.010) 0:00:05.732 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 05 January 2024 18:07:39 +0000 (0:00:00.010) 0:00:05.743 ******** 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-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 05 January 2024 18:07:39 +0000 (0:00:00.009) 0:00:05.753 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 05 January 2024 18:07:39 +0000 (0:00:00.010) 0:00:05.763 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-cleanupwr1_nu5o/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 05 January 2024 18:07:39 +0000 (0:00:00.011) 0:00:05.774 ******** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Friday 05 January 2024 18:07:39 +0000 (0:00:00.008) 0:00:05.783 ******** 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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Friday 05 January 2024 18:07:39 +0000 (0:00:00.009) 0:00:05.793 ******** 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 18:07:13 UTC", "ActiveEnterTimestampMonotonic": "1207526706", "ActiveExitTimestamp": "Fri 2024-01-05 18:07:37 UTC", "ActiveExitTimestampMonotonic": "1231910425", "ActiveState": "inactive", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 18:07:13 UTC", "AssertTimestampMonotonic": "1207525162", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.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 18:07:13 UTC", "ConditionTimestampMonotonic": "1207525160", "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 18:07:37 UTC", "InactiveEnterTimestampMonotonic": "1231910425", "InactiveExitTimestamp": "Fri 2024-01-05 18:07:13 UTC", "InactiveExitTimestampMonotonic": "1207526706", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "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-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:59 Friday 05 January 2024 18:07:39 +0000 (0:00:00.212) 0:00:06.005 ******** 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 18:07:39 UTC", "ActiveEnterTimestampMonotonic": "1233559809", "ActiveExitTimestamp": "Fri 2024-01-05 18:07:37 UTC", "ActiveExitTimestampMonotonic": "1231910425", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 18:07:39 UTC", "AssertTimestampMonotonic": "1233557486", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.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 18:07:39 UTC", "ConditionTimestampMonotonic": "1233557485", "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 18:07:37 UTC", "InactiveEnterTimestampMonotonic": "1231910425", "InactiveExitTimestamp": "Fri 2024-01-05 18:07:39 UTC", "InactiveExitTimestampMonotonic": "1233559809", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Check whether services were enabled and started] ************************* task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:68 Friday 05 January 2024 18:07:39 +0000 (0:00:00.206) 0:00:06.212 ******** ok: [sut] => (item={'status': {'After': 'sysinit.target -.slice', 'DevicePolicy': 'auto', 'RuntimeDirectoryMode': '0755', 'ActiveExitTimestamp': 'Fri 2024-01-05 18:07:37 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': '1233559809', 'StandardError': 'inherit', 'AssertTimestamp': 'Fri 2024-01-05 18:07:39 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'LimitFSIZE': '18446744073709551615', 'BlockIOWeight': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'InactiveExitTimestamp': 'Fri 2024-01-05 18:07:39 UTC', 'SendBuffer': '0', 'Nice': '0', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'tangd@0.service shutdown.target multi-user.target sockets.target', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '1233559809', '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': '1233557485', 'StartupBlockIOWeight': '18446744073709551615', 'ActiveEnterTimestamp': 'Fri 2024-01-05 18:07:39 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 18:07:39 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 18:07:37 UTC', 'StandardInput': 'null', 'AssertTimestampMonotonic': '1233557486', 'DefaultDependencies': 'yes', 'Requires': 'sysinit.target -.slice', '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': '1231910425', 'SendSIGKILL': 'yes', 'MemoryAccounting': 'no', 'IgnoreSIGPIPE': 'yes', 'Transient': 'no', 'IOScheduling': '0', 'Description': 'Tang Server socket', 'ReusePort': 'no', 'ActiveExitTimestampMonotonic': '1231910425', '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 18:07:39 UTC", "ActiveEnterTimestampMonotonic": "1233559809", "ActiveExitTimestamp": "Fri 2024-01-05 18:07:37 UTC", "ActiveExitTimestampMonotonic": "1231910425", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-05 18:07:39 UTC", "AssertTimestampMonotonic": "1233557486", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.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 18:07:39 UTC", "ConditionTimestampMonotonic": "1233557485", "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 18:07:37 UTC", "InactiveEnterTimestampMonotonic": "1231910425", "InactiveExitTimestamp": "Fri 2024-01-05 18:07:39 UTC", "InactiveExitTimestampMonotonic": "1233559809", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:73 Friday 05 January 2024 18:07:39 +0000 (0:00:00.017) 0:00:06.230 ******** included: /WORKDIR/git-cleanupwr1_nu5o/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tasks/cleanup.yml:2 Friday 05 January 2024 18:07:39 +0000 (0:00:00.012) 0:00:06.243 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-cleanupwr1_nu5o/tests/tasks/cleanup.yml:9 Friday 05 January 2024 18:07:39 +0000 (0:00:00.011) 0:00:06.254 ******** 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.005277", "end": "2024-01-05 18:07:39.997508", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-05 18:07:39.992231" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/BHmWEWl9xH6T7IFGiLYYgfSeXt4.jwk /var/db/tang/oLOVr76s6f88_KRl3cDL5IyJ1ks.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.004771", "end": "2024-01-05 18:07:40.123234", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-05 18:07:40.118463" } 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 18:07:40 +0000 (0:00:00.340) 0:00:06.595 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:6 ------ linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.49s /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/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-cleanupwr1_nu5o/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.35s /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Remove managed node files/directories ----------------------------------- 0.34s /WORKDIR/git-cleanupwr1_nu5o/tests/tasks/cleanup.yml:9 ------------------------ linux-system-roles.nbde_server : Check if system is ostree -------------- 0.30s /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.22s /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Gather state of services ------------------------------------------------ 0.21s /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:59 ----- Gather state of services ------------------------------------------------ 0.21s /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:17 ----- Gather state of services ------------------------------------------------ 0.20s /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:38 ----- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.19s /WORKDIR/git-cleanupwr1_nu5o/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.14s /WORKDIR/git-cleanupwr1_nu5o/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.14s /WORKDIR/git-cleanupwr1_nu5o/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-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.13s /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Manage firewall and SELinux for port --- 0.06s /WORKDIR/git-cleanupwr1_nu5o/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Check whether services were enabled but stopped ------------------------- 0.06s /WORKDIR/git-cleanupwr1_nu5o/tests/tests_nbde_server_service_state.yml:47 ----- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---