# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cielf9c6gc/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_nbde_server_keys_dir.yml *************************************** 1 plays in /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml PLAY [Test nbde_server_keys_dir is properly set] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:5 Saturday 13 January 2024 13:44:48 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [With nbde_server_fetch_keys] ********************************************* task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:11 Saturday 13 January 2024 13:44:48 +0000 (0:00:00.747) 0:00:00.759 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 13 January 2024 13:44:48 +0000 (0:00:00.014) 0:00:00.774 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 13 January 2024 13:44:48 +0000 (0:00:00.012) 0:00:00.787 ****** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 13 January 2024 13:44:48 +0000 (0:00:00.019) 0:00:00.806 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 13 January 2024 13:44:49 +0000 (0:00:00.244) 0:00:01.050 ****** ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 13 January 2024 13:44:49 +0000 (0:00:00.014) 0:00:01.065 ****** 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-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 13 January 2024 13:44:49 +0000 (0:00:00.015) 0:00:01.081 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 13 January 2024 13:44:49 +0000 (0:00:00.014) 0:00:01.096 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 13 January 2024 13:44:50 +0000 (0:00:00.950) 0:00:02.046 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 13 January 2024 13:44:50 +0000 (0:00:00.016) 0:00:02.062 ****** 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 [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 13 January 2024 13:44:50 +0000 (0:00:00.276) 0:00:02.339 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for sut TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 13 January 2024 13:44:50 +0000 (0:00:00.029) 0:00:02.368 ****** fatal: [sut]: FAILED! => { "changed": false } MSG: You need to specify nbde_server_keys_dir and it must be an absolute path TASK [Check for error with nbde_server_keys_dir not set] *********************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:23 Saturday 13 January 2024 13:44:50 +0000 (0:00:00.016) 0:00:02.385 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:28 Saturday 13 January 2024 13:44:50 +0000 (0:00:00.010) 0:00:02.396 ****** included: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:2 Saturday 13 January 2024 13:44:50 +0000 (0:00:00.011) 0:00:02.407 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_keys_dir | d(\"\") is match(\"^/\")", "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 Saturday 13 January 2024 13:44:50 +0000 (0:00:00.021) 0:00:02.429 ****** skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is match(\"^/\")", "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.004712", "end": "2024-01-13 13:44:50.817431", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:50.812719" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/6E3ilsbnvht5ycbQV4Ag_iuiQR-hbx6Dk7fHYhaNu-U.jwk /var/db/tang/jBIt1wJC7fjYn-QMmay6IHWIlRUNuG2vWWfrnG7kOvQ.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.004359", "end": "2024-01-13 13:44:51.001622", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:50.997263" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' TASK [With nbde_server_deploy_keys] ******************************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:34 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.448) 0:00:02.877 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.011) 0:00:02.889 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.011) 0:00:02.900 ****** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.017) 0:00:02.918 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.012) 0:00:02.930 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.011) 0:00:02.942 ****** 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-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.015) 0:00:02.958 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.014) 0:00:02.972 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.838) 0:00:03.811 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 13 January 2024 13:44:51 +0000 (0:00:00.015) 0:00:03.826 ****** 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 [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.218) 0:00:04.045 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for sut TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.024) 0:00:04.069 ****** fatal: [sut]: FAILED! => { "changed": false } MSG: You need to specify nbde_server_keys_dir and it must be an absolute path TASK [Check for error with nbde_server_keys_dir not set] *********************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:46 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.015) 0:00:04.085 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:51 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.009) 0:00:04.094 ****** included: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:2 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.009) 0:00:04.104 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_keys_dir | d(\"\") is match(\"^/\")", "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.017) 0:00:04.122 ****** skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is match(\"^/\")", "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.004610", "end": "2024-01-13 13:44:52.450681", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:52.446071" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/FH21YwowpJSDpUyUkFw2DgVJhF8KuS_zlkIqv24Wujk.jwk /var/db/tang/YeTNVqAalviCW5-BAv4FkCdDII6YH5KPFQl3tKyZZ94.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.004322", "end": "2024-01-13 13:44:52.632734", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:52.628412" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' TASK [With nbde_server_fetch_keys and deploy keys] ***************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:57 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.382) 0:00:04.505 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.011) 0:00:04.516 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.011) 0:00:04.527 ****** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.017) 0:00:04.545 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.011) 0:00:04.556 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.010) 0:00:04.567 ****** 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-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.015) 0:00:04.582 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 13 January 2024 13:44:52 +0000 (0:00:00.014) 0:00:04.597 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 13 January 2024 13:44:53 +0000 (0:00:00.837) 0:00:05.435 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 13 January 2024 13:44:53 +0000 (0:00:00.017) 0:00:05.453 ****** 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 [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 13 January 2024 13:44:53 +0000 (0:00:00.218) 0:00:05.671 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for sut TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 13 January 2024 13:44:53 +0000 (0:00:00.026) 0:00:05.698 ****** fatal: [sut]: FAILED! => { "changed": false } MSG: You need to specify nbde_server_keys_dir and it must be an absolute path TASK [Check for error with nbde_server_keys_dir not set] *********************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:70 Saturday 13 January 2024 13:44:53 +0000 (0:00:00.014) 0:00:05.713 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:75 Saturday 13 January 2024 13:44:53 +0000 (0:00:00.011) 0:00:05.724 ****** included: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:2 Saturday 13 January 2024 13:44:53 +0000 (0:00:00.009) 0:00:05.734 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_keys_dir | d(\"\") is match(\"^/\")", "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 Saturday 13 January 2024 13:44:53 +0000 (0:00:00.018) 0:00:05.752 ****** skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is match(\"^/\")", "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.004701", "end": "2024-01-13 13:44:54.084967", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:54.080266" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/KaWAm-4oXTC9zKuwWG_ChGk3NyMP-IlXzPYsteOy9PU.jwk /var/db/tang/Z6Zudg72w_3C4V3R1vdXTzr6SsoEsnU08JDJEsxJDLk.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.004392", "end": "2024-01-13 13:44:54.270959", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:54.266567" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' TASK [Directory starting with ./] ********************************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:81 Saturday 13 January 2024 13:44:54 +0000 (0:00:00.394) 0:00:06.146 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 13 January 2024 13:44:54 +0000 (0:00:00.012) 0:00:06.159 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 13 January 2024 13:44:54 +0000 (0:00:00.012) 0:00:06.172 ****** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 13 January 2024 13:44:54 +0000 (0:00:00.021) 0:00:06.193 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 13 January 2024 13:44:54 +0000 (0:00:00.018) 0:00:06.211 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 13 January 2024 13:44:54 +0000 (0:00:00.011) 0:00:06.223 ****** 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-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 13 January 2024 13:44:54 +0000 (0:00:00.018) 0:00:06.242 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 13 January 2024 13:44:54 +0000 (0:00:00.041) 0:00:06.284 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.839) 0:00:07.123 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.016) 0:00:07.140 ****** 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 [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.215) 0:00:07.356 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for sut TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.025) 0:00:07.381 ****** fatal: [sut]: FAILED! => { "changed": false } MSG: You need to specify nbde_server_keys_dir and it must be an absolute path TASK [Check for error with nbde_server_keys_dir not an absolute path] ********** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:94 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.014) 0:00:07.396 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:99 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.008) 0:00:07.404 ****** included: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:2 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.010) 0:00:07.415 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_keys_dir | d(\"\") is match(\"^/\")", "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.018) 0:00:07.434 ****** skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is match(\"^/\")", "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.004919", "end": "2024-01-13 13:44:55.767253", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:55.762334" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/i2i3zmXwBFQkXlQNzSQM0PJhAjpBQQCC98MRHOfq5IQ.jwk /var/db/tang/QDsRyMzX8lE8rd21WtnkNo2rEanj7EWktTk8XVuZtU8.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.004432", "end": "2024-01-13 13:44:55.949957", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:55.945525" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' TASK [Directory without leading ./] ******************************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:105 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.389) 0:00:07.823 ****** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.013) 0:00:07.837 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 13 January 2024 13:44:55 +0000 (0:00:00.012) 0:00:07.850 ****** skipping: [sut] => { "changed": false, "false_condition": "__nbde_server_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 13 January 2024 13:44:56 +0000 (0:00:00.018) 0:00:07.868 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 13 January 2024 13:44:56 +0000 (0:00:00.013) 0:00:07.881 ****** skipping: [sut] => { "changed": false, "false_condition": "not __nbde_server_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 13 January 2024 13:44:56 +0000 (0:00:00.011) 0:00:07.892 ****** 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-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 13 January 2024 13:44:56 +0000 (0:00:00.015) 0:00:07.908 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for sut TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 13 January 2024 13:44:56 +0000 (0:00:00.014) 0:00:07.923 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: tang TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 13 January 2024 13:44:56 +0000 (0:00:00.841) 0:00:08.764 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_rotate_keys | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 13 January 2024 13:44:56 +0000 (0:00:00.015) 0:00:08.780 ****** 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 [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 13 January 2024 13:44:57 +0000 (0:00:00.217) 0:00:08.998 ****** included: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml for sut TASK [fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 13 January 2024 13:44:57 +0000 (0:00:00.026) 0:00:09.024 ****** fatal: [sut]: FAILED! => { "changed": false } MSG: You need to specify nbde_server_keys_dir and it must be an absolute path TASK [Check for error with nbde_server_keys_dir not an absolute path] ********** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:118 Saturday 13 January 2024 13:44:57 +0000 (0:00:00.025) 0:00:09.049 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:123 Saturday 13 January 2024 13:44:57 +0000 (0:00:00.025) 0:00:09.075 ****** included: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:2 Saturday 13 January 2024 13:44:57 +0000 (0:00:00.011) 0:00:09.087 ****** skipping: [sut] => { "changed": false, "false_condition": "nbde_server_keys_dir | d(\"\") is match(\"^/\")", "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 Saturday 13 January 2024 13:44:57 +0000 (0:00:00.021) 0:00:09.108 ****** skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.path is match(\"^/\")", "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.004601", "end": "2024-01-13 13:44:57.440099", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:57.435498" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/BrCXsX6yeSrqUMtoCaor-bIltOUwHunycHjsXH26LCw.jwk /var/db/tang/pWWALUpc23P3oUcmK5qdNMf0CRIr9epvQYQbERIRZs8.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.004440", "end": "2024-01-13 13:44:57.620994", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-01-13 13:44:57.616554" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' PLAY RECAP ********************************************************************* sut : ok=48 changed=10 unreachable=0 failed=0 skipped=23 rescued=5 ignored=0 Saturday 13 January 2024 13:44:57 +0000 (0:00:00.391) 0:00:09.499 ****** =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.95s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.84s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.84s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.84s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.84s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-cielf9c6gc/tests/tests_nbde_server_keys_dir.yml:5 --------- Remove managed node files/directories ----------------------------------- 0.45s /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 ---------------------- Remove managed node files/directories ----------------------------------- 0.39s /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 ---------------------- Remove managed node files/directories ----------------------------------- 0.39s /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 ---------------------- Remove managed node files/directories ----------------------------------- 0.39s /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 ---------------------- Remove managed node files/directories ----------------------------------- 0.38s /WORKDIR/git-weekly-cielf9c6gc/tests/tasks/cleanup.yml:9 ---------------------- fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.28s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Check if system is ostree ------- 0.24s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.22s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.22s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.22s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.22s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks --- 0.04s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.03s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.03s /WORKDIR/git-weekly-cielf9c6gc/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---