# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.17.2] 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.17/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ci2mn2tlhi/.collection executable location = /opt/ansible-2.17/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.17/bin/python) jinja version = 3.1.4 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_default.yml **************************************************** 1 plays in /WORKDIR/git-weekly-ci2mn2tlhi/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Run role with no settings] *********************************************** task path: /WORKDIR/git-weekly-ci2mn2tlhi/tests/tests_default.yml:8 Saturday 10 August 2024 09:03:38 +0000 (0:00:00.027) 0:00:00.027 ******* included: fedora.linux_system_roles.kernel_settings for sut TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.033) 0:00:00.061 ******* skipping: [sut] => { "changed": false, "false_condition": "(kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", false) | list | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.014) 0:00:00.075 ******* included: /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.011) 0:00:00.086 ******* fatal: [sut]: FAILED! => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "changed": false, "rc": 127 } MSG: The module failed to execute correctly, you probably need to set the interpreter. See stdout/stderr for the exact error MODULE_STDERR: OpenSSH_8.7p1, OpenSSL 3.0.7 1 Nov 2022 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.42.106 originally 10.31.42.106 debug2: match not found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: /etc/ssh/ssh_config line 56: Applying options for * debug1: configuration requests final Match pass debug2: resolve_canonicalize: hostname 10.31.42.106 is address debug1: re-parsing configuration debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.42.106 originally 10.31.42.106 debug2: match found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: /etc/ssh/ssh_config line 56: Applying options for * debug1: auto-mux: Trying existing master debug2: fd 3 setting O_NONBLOCK debug2: mux_client_hello_exchange: master version 4 debug1: mux_client_request_session: master session id: 2 /bin/sh: /usr/bin/python3: No such file or directory debug2: Received exit status from master 127 TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ci2mn2tlhi/tests/tests_default.yml:14 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.241) 0:00:00.328 ******* included: /WORKDIR/git-weekly-ci2mn2tlhi/tests/tasks/cleanup.yml for sut TASK [Show current tuned profile settings] ************************************* task path: /WORKDIR/git-weekly-ci2mn2tlhi/tests/tasks/cleanup.yml:2 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.013) 0:00:00.342 ******* fatal: [sut]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: {{ __kernel_settings_profile_dir }}/tuned.conf: {{ __kernel_settings_profile_parent }}/{{ __kernel_settings_tuned_profile }}: '__kernel_settings_profile_parent' is undefined The error appears to be in '/WORKDIR/git-weekly-ci2mn2tlhi/tests/tasks/cleanup.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Show current tuned profile settings ^ here ...ignoring TASK [Run role with purge to remove everything] ******************************** task path: /WORKDIR/git-weekly-ci2mn2tlhi/tests/tasks/cleanup.yml:9 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.007) 0:00:00.349 ******* included: fedora.linux_system_roles.kernel_settings for sut TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.022) 0:00:00.371 ******* skipping: [sut] => { "changed": false, "false_condition": "(kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (kernel_settings_sysctl | selectattr(\"value\", \"defined\") | selectattr(\"value\", \"sameas\", false) | list | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.013) 0:00:00.385 ******* included: /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.010) 0:00:00.395 ******* fatal: [sut]: FAILED! => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "changed": false, "rc": 127 } MSG: The module failed to execute correctly, you probably need to set the interpreter. See stdout/stderr for the exact error MODULE_STDERR: OpenSSH_8.7p1, OpenSSL 3.0.7 1 Nov 2022 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.42.106 originally 10.31.42.106 debug2: match not found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: /etc/ssh/ssh_config line 56: Applying options for * debug1: configuration requests final Match pass debug2: resolve_canonicalize: hostname 10.31.42.106 is address debug1: re-parsing configuration debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf debug2: checking match for 'final all' host 10.31.42.106 originally 10.31.42.106 debug2: match found debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config debug1: /etc/ssh/ssh_config line 56: Applying options for * debug1: auto-mux: Trying existing master debug2: fd 3 setting O_NONBLOCK debug2: mux_client_hello_exchange: master version 4 debug1: mux_client_request_session: master session id: 2 /bin/sh: /usr/bin/python3: No such file or directory debug2: Received exit status from master 127 TASK [Remove kernel_settings tuned profile] ************************************ task path: /WORKDIR/git-weekly-ci2mn2tlhi/tests/tasks/cleanup.yml:36 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.062) 0:00:00.458 ******* fatal: [sut]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: {{ __kernel_settings_profile_parent }}/{{ __kernel_settings_tuned_profile }}: '__kernel_settings_profile_parent' is undefined The error appears to be in '/WORKDIR/git-weekly-ci2mn2tlhi/tests/tasks/cleanup.yml': line 36, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: always: - name: Remove kernel_settings tuned profile ^ here to retry, use: --limit @/tmp/tests_default.retry PLAY RECAP ********************************************************************* sut : ok=6 changed=0 unreachable=0 failed=3 skipped=2 rescued=0 ignored=1 Saturday 10 August 2024 09:03:39 +0000 (0:00:00.007) 0:00:00.465 ******* =============================================================================== fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.24s /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role --- 0.06s /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Run role with no settings ----------------------------------------------- 0.03s /WORKDIR/git-weekly-ci2mn2tlhi/tests/tests_default.yml:8 ---------------------- Run role with purge to remove everything -------------------------------- 0.02s /WORKDIR/git-weekly-ci2mn2tlhi/tests/tasks/cleanup.yml:9 ---------------------- fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values --- 0.01s /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Cleanup ----------------------------------------------------------------- 0.01s /WORKDIR/git-weekly-ci2mn2tlhi/tests/tests_default.yml:14 --------------------- fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values --- 0.01s /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 fedora.linux_system_roles.kernel_settings : Set version specific variables --- 0.01s /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 fedora.linux_system_roles.kernel_settings : Set version specific variables --- 0.01s /WORKDIR/git-weekly-ci2mn2tlhi/.collection/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Show current tuned profile settings ------------------------------------- 0.01s /WORKDIR/git-weekly-ci2mn2tlhi/tests/tasks/cleanup.yml:2 ---------------------- Remove kernel_settings tuned profile ------------------------------------ 0.01s /WORKDIR/git-weekly-ci2mn2tlhi/tests/tasks/cleanup.yml:36 --------------------- ---^---^---^---^---^--- # 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. [WARNING]: No python interpreters found for host sut (tried ['python3.12', 'python3.11', 'python3.10', 'python3.9', 'python3.8', 'python3.7', '/usr/bin/python3', 'python3']) ---^---^---^---^---^---