# 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_deploy_keys.yml ************************************************ 1 plays in /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:7 Saturday 25 May 2024 15:16:06 +0000 (0:00:00.011) 0:00:00.011 ********** ok: [sut] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:12 Saturday 25 May 2024 15:16:07 +0000 (0:00:00.859) 0:00:00.871 ********** changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_deploy_keysilf8qrfd", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:19 Saturday 25 May 2024 15:16:07 +0000 (0:00:00.157) 0:00:01.029 ********** ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysilf8qrfd" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:23 Saturday 25 May 2024 15:16:07 +0000 (0:00:00.017) 0:00:01.046 ********** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 25 May 2024 15:16:07 +0000 (0:00:00.012) 0:00:01.058 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 25 May 2024 15:16:08 +0000 (0:00:00.021) 0:00:01.079 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 25 May 2024 15:16:08 +0000 (0:00:00.017) 0:00:01.097 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 25 May 2024 15:16:08 +0000 (0:00:00.194) 0:00:01.292 ********** ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 25 May 2024 15:16:08 +0000 (0:00:00.019) 0:00:01.311 ********** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 25 May 2024 15:16:08 +0000 (0:00:00.022) 0:00:01.334 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 25 May 2024 15:16:08 +0000 (0:00:00.032) 0:00:01.366 ********** changed: [sut] => { "changed": true, "changes": { "installed": [ "tang" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package tang.x86_64 0:6-2.el7 will be installed\n--> Processing Dependency: jose >= 8 for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0(LIBJOSE_1.0)(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0()(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libhttp_parser.so.2()(64bit) for package: tang-6-2.el7.x86_64\n--> Running transaction check\n---> Package http-parser.x86_64 0:2.7.1-9.el7 will be installed\n---> Package jose.x86_64 0:10-1.el7 will be installed\n---> Package libjose.x86_64 0:10-1.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tang x86_64 6-2.el7 base 37 k\nInstalling for dependencies:\n http-parser x86_64 2.7.1-9.el7 base 29 k\n jose x86_64 10-1.el7 base 47 k\n libjose x86_64 10-1.el7 base 56 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+3 Dependent packages)\n\nTotal download size: 169 k\nInstalled size: 381 k\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 529 kB/s | 169 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libjose-10-1.el7.x86_64 1/4 \n Installing : jose-10-1.el7.x86_64 2/4 \n Installing : http-parser-2.7.1-9.el7.x86_64 3/4 \n Installing : tang-6-2.el7.x86_64 4/4 \n Verifying : tang-6-2.el7.x86_64 1/4 \n Verifying : libjose-10-1.el7.x86_64 2/4 \n Verifying : http-parser-2.7.1-9.el7.x86_64 3/4 \n Verifying : jose-10-1.el7.x86_64 4/4 \n\nInstalled:\n tang.x86_64 0:6-2.el7 \n\nDependency Installed:\n http-parser.x86_64 0:2.7.1-9.el7 jose.x86_64 0:10-1.el7 \n libjose.x86_64 0:10-1.el7 \n\nComplete!\n" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 25 May 2024 15:16:14 +0000 (0:00:05.708) 0:00:07.075 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.017) 0:00:07.093 ********** 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-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.218) 0:00:07.311 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.018) 0:00:07.329 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.060) 0:00:07.390 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.399 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.407 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.415 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.424 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.432 ********** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.009) 0:00:07.442 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.450 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.458 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.466 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.009) 0:00:07.476 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.484 ********** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.492 ********** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.501 ********** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.011) 0:00:07.512 ********** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.521 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.529 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.009) 0:00:07.538 ********** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.546 ********** TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.007) 0:00:07.554 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.123) 0:00:07.678 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.687 ********** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.205) 0:00:07.892 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.009) 0:00:07.902 ********** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.010) 0:00:07.912 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.921 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.929 ********** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.014) 0:00:07.944 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.952 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.960 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.969 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.977 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:07.985 ********** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.012) 0:00:07.998 ********** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.013) 0:00:08.012 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:08.020 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:08.028 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:08.037 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:08.045 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:08.053 ********** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 25 May 2024 15:16:14 +0000 (0:00:00.008) 0:00:08.061 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.008) 0:00:08.069 ********** changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "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", "InactiveExitTimestampMonotonic": "0", "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", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled" } } TASK [Fetch the keys from every host] ****************************************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:27 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.416) 0:00:08.486 ********** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.012) 0:00:08.498 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.010) 0:00:08.509 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.009) 0:00:08.519 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.008) 0:00:08.527 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.008) 0:00:08.535 ********** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.013) 0:00:08.549 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.013) 0:00:08.562 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.383) 0:00:08.945 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 25 May 2024 15:16:15 +0000 (0:00:00.009) 0:00:08.955 ********** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.123) 0:00:09.078 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml for sut TASK [linux-system-roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.018) 0:00:09.097 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather keys to be fetched] ************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.009) 0:00:09.106 ********** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1716650174.227709, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.227709, "nlink": 1, "path": "/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716650174.2337089, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.2337089, "nlink": 1, "path": "/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Ensure we fetch the host keys] ********** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.191) 0:00:09.298 ********** changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1716650174.227709, 'inode': 263397, 'isgid': False, 'size': 354, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk', 'xusr': False, 'atime': 1716650174.227709, 'isdir': False, 'ctime': 1716650174.2337089, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e1d227139e02d45ee0ea67a326c67e8cccdccb28", "dest": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "item": { "atime": 1716650174.227709, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.227709, "nlink": 1, "path": "/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "ac5b49836d3f7e08e001a3b5b9dd6175", "remote_checksum": "e1d227139e02d45ee0ea67a326c67e8cccdccb28", "remote_md5sum": null } changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1716650174.2337089, 'inode': 263398, 'isgid': False, 'size': 349, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk', 'xusr': False, 'atime': 1716650174.2337089, 'isdir': False, 'ctime': 1716650174.2337089, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1c4dbf83e79c3222896ee58504cdcb2adee07342", "dest": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "item": { "atime": 1716650174.2337089, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.2337089, "nlink": 1, "path": "/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "e3c6c2e8c29b06bf32ef9581f0501820", "remote_checksum": "1c4dbf83e79c3222896ee58504cdcb2adee07342", "remote_md5sum": null } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.349) 0:00:09.647 ********** skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1716650174.227709, 'inode': 263397, 'isgid': False, 'size': 354, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk', 'xusr': False, 'atime': 1716650174.227709, 'isdir': False, 'ctime': 1716650174.2337089, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1716650174.227709, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.227709, "nlink": 1, "path": "/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1716650174.2337089, 'inode': 263398, 'isgid': False, 'size': 349, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk', 'xusr': False, 'atime': 1716650174.2337089, 'isdir': False, 'ctime': 1716650174.2337089, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1716650174.2337089, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.2337089, "nlink": 1, "path": "/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.016) 0:00:09.664 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather common keys to be deployed] ****** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.009) 0:00:09.674 ********** ok: [sut -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.100) 0:00:09.775 ********** TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.009) 0:00:09.784 ********** ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1716650176.4116383, "ctime": 1716650176.4086382, "dev": 55, "gid": 1001, "gr_name": "jenkins", "inode": 335552193, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716650176.4086382, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716650176.578639, "ctime": 1716650176.575639, "dev": 55, "gid": 1001, "gr_name": "jenkins", "inode": 335552194, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716650176.575639, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.102) 0:00:09.886 ********** skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysilf8qrfd/sut/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 335552193, 'dev': 55, 'nlink': 1, 'atime': 1716650176.4116383, 'mtime': 1716650176.4086382, 'ctime': 1716650176.4086382, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1716650176.4116383, "ctime": 1716650176.4086382, "dev": 55, "gid": 1001, "gr_name": "jenkins", "inode": 335552193, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716650176.4086382, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysilf8qrfd/sut/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 335552194, 'dev': 55, 'nlink': 1, 'atime': 1716650176.578639, 'mtime': 1716650176.575639, 'ctime': 1716650176.575639, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1716650176.578639, "ctime": 1716650176.575639, "dev": 55, "gid": 1001, "gr_name": "jenkins", "inode": 335552194, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716650176.575639, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.014) 0:00:09.901 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Clean up host deployment directory] ***** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:09.909 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:09.918 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.034) 0:00:09.952 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.009) 0:00:09.962 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:09.971 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:09.979 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:09.987 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:09.996 ********** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:10.004 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:10.012 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:10.020 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:10.029 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:10.037 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:10.045 ********** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:10.053 ********** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 25 May 2024 15:16:16 +0000 (0:00:00.008) 0:00:10.062 ********** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.011) 0:00:10.074 ********** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.082 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.010) 0:00:10.092 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.009) 0:00:10.101 ********** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.110 ********** TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.118 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.122) 0:00:10.241 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.009) 0:00:10.251 ********** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.137) 0:00:10.388 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.009) 0:00:10.398 ********** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.010) 0:00:10.408 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.417 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.425 ********** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.014) 0:00:10.439 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.448 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.456 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.464 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.473 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.481 ********** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.012) 0:00:10.494 ********** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.013) 0:00:10.508 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.516 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.524 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.532 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.541 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.549 ********** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.557 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.010) 0:00:10.567 ********** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-05-25 15:16:15 UTC", "ActiveEnterTimestampMonotonic": "2294466468", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-05-25 15:16:15 UTC", "AssertTimestampMonotonic": "2294465089", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-05-25 15:16:15 UTC", "ConditionTimestampMonotonic": "2294465087", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-05-25 15:16:15 UTC", "InactiveExitTimestampMonotonic": "2294466468", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys before redeploy] ********************************************* task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:35 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.205) 0:00:10.772 ********** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1716650176.3517144, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.227709, "nlink": 1, "path": "/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716650176.527715, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.2337089, "nlink": 1, "path": "/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Redeploy these same keys] ************************************************ task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:44 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.127) 0:00:10.899 ********** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.013) 0:00:10.913 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.011) 0:00:10.924 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.010) 0:00:10.935 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.943 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.008) 0:00:10.951 ********** ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.013) 0:00:10.965 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 25 May 2024 15:16:17 +0000 (0:00:00.013) 0:00:10.978 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.376) 0:00:11.354 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.009) 0:00:11.364 ********** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.124) 0:00:11.489 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml for sut TASK [linux-system-roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.017) 0:00:11.506 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather keys to be fetched] ************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.009) 0:00:11.516 ********** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1716650176.3517144, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.227709, "nlink": 1, "path": "/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716650176.527715, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.2337089, "nlink": 1, "path": "/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Ensure we fetch the host keys] ********** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.125) 0:00:11.642 ********** skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1716650174.227709, 'inode': 263397, 'isgid': False, 'size': 354, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk', 'xusr': False, 'atime': 1716650176.3517144, 'isdir': False, 'ctime': 1716650174.2337089, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1716650176.3517144, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.227709, "nlink": 1, "path": "/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1716650174.2337089, 'inode': 263398, 'isgid': False, 'size': 349, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk', 'xusr': False, 'atime': 1716650176.527715, 'isdir': False, 'ctime': 1716650174.2337089, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1716650176.527715, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.2337089, "nlink": 1, "path": "/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.016) 0:00:11.658 ********** skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1716650174.227709, 'inode': 263397, 'isgid': False, 'size': 354, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk', 'xusr': False, 'atime': 1716650176.3517144, 'isdir': False, 'ctime': 1716650174.2337089, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1716650176.3517144, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.227709, "nlink": 1, "path": "/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1716650174.2337089, 'inode': 263398, 'isgid': False, 'size': 349, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk', 'xusr': False, 'atime': 1716650176.527715, 'isdir': False, 'ctime': 1716650174.2337089, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1716650176.527715, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.2337089, "nlink": 1, "path": "/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.014) 0:00:11.673 ********** changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.815I1qnbde_server_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_server : Gather common keys to be deployed] ****** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.120) 0:00:11.794 ********** ok: [sut -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.101) 0:00:11.895 ********** TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.009) 0:00:11.904 ********** ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1716650176.4116383, "ctime": 1716650176.4086382, "dev": 55, "gid": 1001, "gr_name": "jenkins", "inode": 335552193, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716650176.4086382, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716650176.578639, "ctime": 1716650176.575639, "dev": 55, "gid": 1001, "gr_name": "jenkins", "inode": 335552194, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716650176.575639, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Saturday 25 May 2024 15:16:18 +0000 (0:00:00.105) 0:00:12.009 ********** changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysilf8qrfd/sut/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 335552193, 'dev': 55, 'nlink': 1, 'atime': 1716650176.4116383, 'mtime': 1716650176.4086382, 'ctime': 1716650176.4086382, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e1d227139e02d45ee0ea67a326c67e8cccdccb28", "dest": "/tmp/ansible.815I1qnbde_server_keys/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "gid": 994, "group": "tang", "item": { "atime": 1716650176.4116383, "ctime": 1716650176.4086382, "dev": 55, "gid": 1001, "gr_name": "jenkins", "inode": 335552193, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716650176.4086382, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "ac5b49836d3f7e08e001a3b5b9dd6175", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1716650178.9854062-5570-256612478847673/source", "state": "file", "uid": 997 } changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysilf8qrfd/sut/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 335552194, 'dev': 55, 'nlink': 1, 'atime': 1716650176.578639, 'mtime': 1716650176.575639, 'ctime': 1716650176.575639, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1c4dbf83e79c3222896ee58504cdcb2adee07342", "dest": "/tmp/ansible.815I1qnbde_server_keys/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "gid": 994, "group": "tang", "item": { "atime": 1716650176.578639, "ctime": 1716650176.575639, "dev": 55, "gid": 1001, "gr_name": "jenkins", "inode": 335552194, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1716650176.575639, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysilf8qrfd/sut/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "e3c6c2e8c29b06bf32ef9581f0501820", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1716650179.437513-5570-119392133688606/source", "state": "file", "uid": 997 } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Saturday 25 May 2024 15:16:19 +0000 (0:00:00.823) 0:00:12.833 ********** ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.815I1qnbde_server_keys", "state": "keys-deployed", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-deployed" } TASK [linux-system-roles.nbde_server : Clean up host deployment directory] ***** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Saturday 25 May 2024 15:16:19 +0000 (0:00:00.122) 0:00:12.955 ********** changed: [sut] => { "changed": true, "path": "/tmp/ansible.815I1qnbde_server_keys/", "state": "absent" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.133) 0:00:13.089 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.022) 0:00:13.111 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.009) 0:00:13.121 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.130 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.009) 0:00:13.139 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.148 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.156 ********** skipping: [sut] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.165 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.173 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.010) 0:00:13.183 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.191 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.200 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.208 ********** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.216 ********** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.225 ********** skipping: [sut] => (item={'ports': 80, 'proto': 'tcp', 'setype': 'tangd_port_t', 'state': 'present', 'local': True}) => { "__selinux_item": { "local": true, "ports": 80, "proto": "tcp", "setype": "tangd_port_t", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.011) 0:00:13.237 ********** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.245 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.254 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.009) 0:00:13.263 ********** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.271 ********** TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.280 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.118) 0:00:13.399 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.407 ********** ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.129) 0:00:13.536 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.009) 0:00:13.546 ********** ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.010) 0:00:13.557 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.565 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.574 ********** skipping: [sut] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.014) 0:00:13.589 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.597 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.605 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.614 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.622 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.631 ********** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.013) 0:00:13.644 ********** skipping: [sut] => (item={'port': '80/tcp', 'zone': 'public', 'state': 'enabled', 'immediate': True, 'permanent': True}) => { "ansible_loop_var": "item", "changed": false, "item": { "immediate": true, "permanent": true, "port": "80/tcp", "state": "enabled", "zone": "public" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.014) 0:00:13.658 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.009) 0:00:13.668 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.676 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.685 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.693 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /WORKDIR/git-weekly-cipptj8qxh/.collection/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.702 ********** skipping: [sut] => {} TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.710 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.008) 0:00:13.718 ********** ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-05-25 15:16:15 UTC", "ActiveEnterTimestampMonotonic": "2294466468", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-05-25 15:16:15 UTC", "AssertTimestampMonotonic": "2294465089", "Backlog": "128", "Before": "multi-user.target sockets.target tangd@0.service shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-05-25 15:16:15 UTC", "ConditionTimestampMonotonic": "2294465087", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-05-25 15:16:15 UTC", "InactiveExitTimestampMonotonic": "2294466468", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after redeploy] ********************************************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:52 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.199) 0:00:13.917 ********** ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1716650176.3517144, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.227709, "nlink": 1, "path": "/var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716650176.527715, "ctime": 1716650174.2337089, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263398, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1716650174.2337089, "nlink": 1, "path": "/var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Verify the keys are the same] ******************************************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:61 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.130) 0:00:14.048 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:67 Saturday 25 May 2024 15:16:20 +0000 (0:00:00.011) 0:00:14.059 ********** included: /WORKDIR/git-weekly-cipptj8qxh/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tasks/cleanup.yml:2 Saturday 25 May 2024 15:16:21 +0000 (0:00:00.012) 0:00:14.072 ********** changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysilf8qrfd", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cipptj8qxh/tests/tasks/cleanup.yml:9 Saturday 25 May 2024 15:16:21 +0000 (0:00:00.106) 0:00:14.178 ********** changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysilf8qrfd', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysilf8qrfd\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysilf8qrfd\"/* \"/tmp/nbde_server_deploy_keysilf8qrfd\"/.* || :\nfi\n", "delta": "0:00:00.004483", "end": "2024-05-25 15:16:21.296659", "item": { "path": "/tmp/nbde_server_deploy_keysilf8qrfd", "remove_dir": "true" }, "rc": 0, "start": "2024-05-25 15:16:21.292176" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysilf8qrfd 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.004811", "end": "2024-05-25 15:16:21.420151", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-05-25 15:16:21.415340" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/d_Y4O-PThT1PuhHD3LMtJotLLpA.jwk /var/db/tang/tRFEhdPSEx525Q6b_GhNeiYQ4IU.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.004544", "end": "2024-05-25 15:16:21.539991", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-05-25 15:16:21.535447" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=54 changed=10 unreachable=0 failed=0 skipped=136 rescued=0 ignored=0 Saturday 25 May 2024 15:16:21 +0000 (0:00:00.437) 0:00:14.616 ********** =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 5.71s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:7 ------------------ linux-system-roles.nbde_server : Prepare for deploying keys - host keys --- 0.82s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Remove managed node files/directories ----------------------------------- 0.44s /WORKDIR/git-weekly-cipptj8qxh/tests/tasks/cleanup.yml:9 ---------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.42s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.38s /WORKDIR/git-weekly-cipptj8qxh/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-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure we fetch the host keys ---------- 0.35s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.22s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.21s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.21s /WORKDIR/git-weekly-cipptj8qxh/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.20s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Check if system is ostree -------------- 0.19s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.19s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Create tmpdir for server keys ------------------------------------------- 0.16s /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:12 ----------------- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.14s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Clean up host deployment directory ----- 0.13s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Gather keys after redeploy ---------------------------------------------- 0.13s /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:52 ----------------- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.13s /WORKDIR/git-weekly-cipptj8qxh/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Gather keys before redeploy --------------------------------------------- 0.13s /WORKDIR/git-weekly-cipptj8qxh/tests/tests_deploy_keys.yml:35 ----------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---