# 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-cisw_46z4y/.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-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml PLAY [Test nbde_server_keys_dir is properly set] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:5 Saturday 06 July 2024 18:17:58 +0000 (0:00:00.011) 0:00:00.011 ********* ok: [sut] TASK [With nbde_server_fetch_keys] ********************************************* task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:11 Saturday 06 July 2024 18:17:59 +0000 (0:00:00.832) 0:00:00.843 ********* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 06 July 2024 18:17:59 +0000 (0:00:00.013) 0:00:00.856 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 06 July 2024 18:17:59 +0000 (0:00:00.012) 0:00:00.869 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 06 July 2024 18:17:59 +0000 (0:00:00.017) 0:00:00.886 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 06 July 2024 18:17:59 +0000 (0:00:00.236) 0:00:01.122 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 06 July 2024 18:17:59 +0000 (0:00:00.014) 0:00:01.137 ********* 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-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 06 July 2024 18:17:59 +0000 (0:00:00.015) 0:00:01.153 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 06 July 2024 18:17:59 +0000 (0:00:00.014) 0:00:01.168 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 06 July 2024 18:18:02 +0000 (0:00:02.439) 0:00:03.608 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 06 July 2024 18:18:02 +0000 (0:00:00.017) 0:00:03.625 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 06 July 2024 18:18:02 +0000 (0:00:00.261) 0:00:03.886 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 06 July 2024 18:18:02 +0000 (0:00:00.026) 0:00:03.913 ********* 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-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:23 Saturday 06 July 2024 18:18:02 +0000 (0:00:00.015) 0:00:03.928 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:28 Saturday 06 July 2024 18:18:02 +0000 (0:00:00.009) 0:00:03.938 ********* included: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:2 Saturday 06 July 2024 18:18:02 +0000 (0:00:00.009) 0:00:03.947 ********* 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-cisw_46z4y/tests/tasks/cleanup.yml:9 Saturday 06 July 2024 18:18:02 +0000 (0:00:00.016) 0:00:03.964 ********* 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.004166", "end": "2024-07-06 18:18:02.826811", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:02.822645" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/8eC4Pn96oWaWg_A8_1HJkj--MYY.jwk /var/db/tang/_Z6Yg95LfMa3OeZSqf3Eqc5oAtk.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.003562", "end": "2024-07-06 18:18:02.996617", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:02.993055" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' TASK [With nbde_server_deploy_keys] ******************************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:34 Saturday 06 July 2024 18:18:03 +0000 (0:00:00.416) 0:00:04.381 ********* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 06 July 2024 18:18:03 +0000 (0:00:00.011) 0:00:04.392 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 06 July 2024 18:18:03 +0000 (0:00:00.011) 0:00:04.403 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 06 July 2024 18:18:03 +0000 (0:00:00.017) 0:00:04.420 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 06 July 2024 18:18:03 +0000 (0:00:00.010) 0:00:04.431 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 06 July 2024 18:18:03 +0000 (0:00:00.010) 0:00:04.442 ********* 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-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 06 July 2024 18:18:03 +0000 (0:00:00.018) 0:00:04.461 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 06 July 2024 18:18:03 +0000 (0:00:00.014) 0:00:04.475 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 06 July 2024 18:18:05 +0000 (0:00:02.337) 0:00:06.812 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 06 July 2024 18:18:05 +0000 (0:00:00.016) 0:00:06.829 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 06 July 2024 18:18:05 +0000 (0:00:00.200) 0:00:07.029 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 06 July 2024 18:18:05 +0000 (0:00:00.025) 0:00:07.055 ********* 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-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:46 Saturday 06 July 2024 18:18:05 +0000 (0:00:00.016) 0:00:07.071 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:51 Saturday 06 July 2024 18:18:05 +0000 (0:00:00.009) 0:00:07.080 ********* included: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:2 Saturday 06 July 2024 18:18:05 +0000 (0:00:00.009) 0:00:07.090 ********* 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-cisw_46z4y/tests/tasks/cleanup.yml:9 Saturday 06 July 2024 18:18:05 +0000 (0:00:00.017) 0:00:07.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.006471", "end": "2024-07-06 18:18:05.920385", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:05.913914" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/L01gNqi4DCSFIE5mMzTGOojAmFQ.jwk /var/db/tang/r3BrHGGfJlFIG7M5jXrJnbkp35E.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.003849", "end": "2024-07-06 18:18:06.086365", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:06.082516" } 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-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:57 Saturday 06 July 2024 18:18:06 +0000 (0:00:00.362) 0:00:07.470 ********* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 06 July 2024 18:18:06 +0000 (0:00:00.011) 0:00:07.482 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 06 July 2024 18:18:06 +0000 (0:00:00.010) 0:00:07.493 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 06 July 2024 18:18:06 +0000 (0:00:00.017) 0:00:07.510 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 06 July 2024 18:18:06 +0000 (0:00:00.010) 0:00:07.521 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 06 July 2024 18:18:06 +0000 (0:00:00.009) 0:00:07.531 ********* 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-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 06 July 2024 18:18:06 +0000 (0:00:00.015) 0:00:07.546 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 06 July 2024 18:18:06 +0000 (0:00:00.013) 0:00:07.560 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 06 July 2024 18:18:08 +0000 (0:00:02.332) 0:00:09.892 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 06 July 2024 18:18:08 +0000 (0:00:00.018) 0:00:09.911 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 06 July 2024 18:18:08 +0000 (0:00:00.202) 0:00:10.113 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 06 July 2024 18:18:08 +0000 (0:00:00.030) 0:00:10.144 ********* 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-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:70 Saturday 06 July 2024 18:18:08 +0000 (0:00:00.028) 0:00:10.172 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:75 Saturday 06 July 2024 18:18:08 +0000 (0:00:00.012) 0:00:10.184 ********* included: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:2 Saturday 06 July 2024 18:18:08 +0000 (0:00:00.009) 0:00:10.194 ********* 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-cisw_46z4y/tests/tasks/cleanup.yml:9 Saturday 06 July 2024 18:18:08 +0000 (0:00:00.019) 0:00:10.214 ********* 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.004082", "end": "2024-07-06 18:18:09.022775", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:09.018693" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/NmXK1Tuo_M83Qz7ohciRiFli18s.jwk /var/db/tang/QFhaXpooY_K6lpd-Gr55afMpmDs.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.003855", "end": "2024-07-06 18:18:09.192145", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:09.188290" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' TASK [Directory starting with ./] ********************************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:81 Saturday 06 July 2024 18:18:09 +0000 (0:00:00.361) 0:00:10.575 ********* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 06 July 2024 18:18:09 +0000 (0:00:00.012) 0:00:10.588 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 06 July 2024 18:18:09 +0000 (0:00:00.011) 0:00:10.599 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 06 July 2024 18:18:09 +0000 (0:00:00.017) 0:00:10.617 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 06 July 2024 18:18:09 +0000 (0:00:00.010) 0:00:10.628 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 06 July 2024 18:18:09 +0000 (0:00:00.010) 0:00:10.638 ********* 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-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 06 July 2024 18:18:09 +0000 (0:00:00.015) 0:00:10.654 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 06 July 2024 18:18:09 +0000 (0:00:00.013) 0:00:10.667 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 06 July 2024 18:18:11 +0000 (0:00:02.313) 0:00:12.980 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 06 July 2024 18:18:11 +0000 (0:00:00.015) 0:00:12.996 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 06 July 2024 18:18:11 +0000 (0:00:00.198) 0:00:13.194 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 06 July 2024 18:18:11 +0000 (0:00:00.025) 0:00:13.220 ********* 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-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:94 Saturday 06 July 2024 18:18:11 +0000 (0:00:00.014) 0:00:13.234 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:99 Saturday 06 July 2024 18:18:11 +0000 (0:00:00.008) 0:00:13.243 ********* included: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:2 Saturday 06 July 2024 18:18:11 +0000 (0:00:00.011) 0:00:13.254 ********* 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-cisw_46z4y/tests/tasks/cleanup.yml:9 Saturday 06 July 2024 18:18:11 +0000 (0:00:00.018) 0:00:13.272 ********* 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.003959", "end": "2024-07-06 18:18:12.077961", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:12.074002" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/K5sT6HjDJmPn-cZc0AvAggClvVU.jwk /var/db/tang/U07e9ougywy_LWOHVVaVi4ldDtM.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.003619", "end": "2024-07-06 18:18:12.247288", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:12.243669" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' TASK [Directory without leading ./] ******************************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:105 Saturday 06 July 2024 18:18:12 +0000 (0:00:00.357) 0:00:13.630 ********* TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /WORKDIR/git-weekly-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Saturday 06 July 2024 18:18:12 +0000 (0:00:00.014) 0:00:13.644 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Saturday 06 July 2024 18:18:12 +0000 (0:00:00.012) 0:00:13.657 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:10 Saturday 06 July 2024 18:18:12 +0000 (0:00:00.020) 0:00:13.677 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:15 Saturday 06 July 2024 18:18:12 +0000 (0:00:00.012) 0:00:13.689 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:19 Saturday 06 July 2024 18:18:12 +0000 (0:00:00.011) 0:00:13.700 ********* 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-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Saturday 06 July 2024 18:18:12 +0000 (0:00:00.017) 0:00:13.718 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Saturday 06 July 2024 18:18:12 +0000 (0:00:00.016) 0:00:13.734 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:8 Saturday 06 July 2024 18:18:14 +0000 (0:00:02.341) 0:00:16.075 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 Saturday 06 July 2024 18:18:14 +0000 (0:00:00.018) 0:00:16.094 ********* 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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 Saturday 06 July 2024 18:18:14 +0000 (0:00:00.208) 0:00:16.303 ********* included: /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 Saturday 06 July 2024 18:18:14 +0000 (0:00:00.026) 0:00:16.329 ********* 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-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:118 Saturday 06 July 2024 18:18:14 +0000 (0:00:00.013) 0:00:16.343 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:123 Saturday 06 July 2024 18:18:14 +0000 (0:00:00.009) 0:00:16.352 ********* included: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:2 Saturday 06 July 2024 18:18:14 +0000 (0:00:00.010) 0:00:16.363 ********* 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-cisw_46z4y/tests/tasks/cleanup.yml:9 Saturday 06 July 2024 18:18:15 +0000 (0:00:00.018) 0:00:16.382 ********* 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.004016", "end": "2024-07-06 18:18:15.189288", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:15.185272" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/wk627CRX3w95qRHi7swOcBisE3A.jwk /var/db/tang/ZGpWQawQqJwfSqRIQMuaSPS-hRg.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.003674", "end": "2024-07-06 18:18:15.357730", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-06 18:18:15.354056" } 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 06 July 2024 18:18:15 +0000 (0:00:00.364) 0:00:16.746 ********* =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 2.44s /WORKDIR/git-weekly-cisw_46z4y/.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 -------- 2.34s /WORKDIR/git-weekly-cisw_46z4y/.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 -------- 2.34s /WORKDIR/git-weekly-cisw_46z4y/.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 -------- 2.33s /WORKDIR/git-weekly-cisw_46z4y/.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 -------- 2.31s /WORKDIR/git-weekly-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-weekly-cisw_46z4y/tests/tests_nbde_server_keys_dir.yml:5 --------- Remove managed node files/directories ----------------------------------- 0.42s /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:9 ---------------------- Remove managed node files/directories ----------------------------------- 0.36s /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:9 ---------------------- Remove managed node files/directories ----------------------------------- 0.36s /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:9 ---------------------- Remove managed node files/directories ----------------------------------- 0.36s /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:9 ---------------------- Remove managed node files/directories ----------------------------------- 0.36s /WORKDIR/git-weekly-cisw_46z4y/tests/tasks/cleanup.yml:9 ---------------------- fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.26s /WORKDIR/git-weekly-cisw_46z4y/.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-cisw_46z4y/.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.21s /WORKDIR/git-weekly-cisw_46z4y/.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.20s /WORKDIR/git-weekly-cisw_46z4y/.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.20s /WORKDIR/git-weekly-cisw_46z4y/.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.20s /WORKDIR/git-weekly-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:17 fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.03s /WORKDIR/git-weekly-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:26 fedora.linux_system_roles.nbde_server : Make sure nbde_server_keys_dir is set --- 0.03s /WORKDIR/git-weekly-cisw_46z4y/.collection/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/tang-key-management.yml:6 fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.03s /WORKDIR/git-weekly-cisw_46z4y/.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. ---^---^---^---^---^---