# 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-fix-templating-warnings8aan3y38/.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_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tests_states_nm.yml:6 Wednesday 24 July 2024 22:27:38 +0000 (0:00:00.014) 0:00:00.014 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tests_states_nm.yml:9 Wednesday 24 July 2024 22:27:39 +0000 (0:00:01.022) 0:00:01.037 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 22:27:39 +0000 (0:00:00.026) 0:00:01.063 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:17 Wednesday 24 July 2024 22:27:39 +0000 (0:00:00.491) 0:00:01.554 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:22 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.321) 0:00:01.876 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:26 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.039) 0:00:01.916 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:51 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.016) 0:00:01.933 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.039) 0:00:01.972 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.324) 0:00:02.297 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.014) 0:00:02.311 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.012) 0:00:02.323 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.221589", "end": "2024-07-24 22:27:40.868414", "rc": 0, "start": "2024-07-24 22:27:40.646825" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.436) 0:00:02.760 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tests_states_nm.yml:11 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.011) 0:00:02.771 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_states.yml:3 Wednesday 24 July 2024 22:27:40 +0000 (0:00:00.015) 0:00:02.787 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_states.yml:11 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.581) 0:00:03.368 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_states.yml:22 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.011) 0:00:03.380 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.024) 0:00:03.404 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.036) 0:00:03.441 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.059) 0:00:03.501 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.013) 0:00:03.515 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.011) 0:00:03.527 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003027", "end": "2024-07-24 22:27:41.820147", "rc": 0, "start": "2024-07-24 22:27:41.817120" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.198) 0:00:03.725 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.019) 0:00:03.745 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.016) 0:00:03.761 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 22:27:41 +0000 (0:00:00.026) 0:00:03.788 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007510", "end": "2024-07-24 22:27:42.083615", "rc": 1, "start": "2024-07-24 22:27:42.076105" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.186) 0:00:03.975 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.028) 0:00:04.003 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.198) 0:00:04.202 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.014) 0:00:04.216 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.022) 0:00:04.239 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.026) 0:00:04.266 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.036) 0:00:04.302 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.021) 0:00:04.324 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.014) 0:00:04.339 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:27:42 +0000 (0:00:00.015) 0:00:04.354 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:27:44 +0000 (0:00:01.546) 0:00:05.901 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:27:45 +0000 (0:00:01.398) 0:00:07.300 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.024) 0:00:07.324 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.019) 0:00:07.343 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.019) 0:00:07.363 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.027) 0:00:07.391 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.052) 0:00:07.444 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.038) 0:00:07.482 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.042) 0:00:07.525 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.149) 0:00:07.674 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.025) 0:00:07.699 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.035) 0:00:07.735 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:27:45 +0000 (0:00:00.069) 0:00:07.805 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:27:46 +0000 (0:00:00.538) 0:00:08.343 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:27:46 +0000 (0:00:00.053) 0:00:08.397 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:27:46 +0000 (0:00:00.019) 0:00:08.416 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:27:46 +0000 (0:00:00.020) 0:00:08.436 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 684a7c4b-882c-42d9-8249-4da10068dd26 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.590) 0:00:09.027 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.026) 0:00:09.053 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 684a7c4b-882c-42d9-8249-4da10068dd26" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.026) 0:00:09.080 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 684a7c4b-882c-42d9-8249-4da10068dd26\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 684a7c4b-882c-42d9-8249-4da10068dd26" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.025) 0:00:09.105 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.019) 0:00:09.125 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.299) 0:00:09.425 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 684a7c4b-882c-42d9-8249-4da10068dd26\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 684a7c4b-882c-42d9-8249-4da10068dd26" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.024) 0:00:09.450 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.085) 0:00:09.535 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.047) 0:00:09.582 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.041) 0:00:09.624 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860067.122953, "block_size": 4096, "blocks": 8, "ctime": 1721860067.0689523, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4075406, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860067.0689523, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.202) 0:00:09.826 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:27:47 +0000 (0:00:00.027) 0:00:09.853 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019979", "end": "2024-07-24 22:27:48.166063", "rc": 0, "start": "2024-07-24 22:27:48.146084" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.228) 0:00:10.082 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.106) 0:00:10.189 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.055) 0:00:10.244 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.028) 0:00:10.273 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.044) 0:00:10.317 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.037) 0:00:10.354 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.038) 0:00:10.393 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.027) 0:00:10.420 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.024) 0:00:10.445 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml for sut => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.084) 0:00:10.529 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.034) 0:00:10.564 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860067.07092, "block_size": 4096, "blocks": 0, "ctime": 1721860067.07092, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35511, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1721860067.07092, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.240) 0:00:10.804 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.027) 0:00:10.831 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:27:48 +0000 (0:00:00.022) 0:00:10.853 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.043) 0:00:10.896 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050258", "end": "2024-07-24 22:27:49.237100", "rc": 1, "start": "2024-07-24 22:27:49.186842" } STDOUT: Connection 'statebr' (684a7c4b-882c-42d9-8249-4da10068dd26) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_states.yml:45 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.238) 0:00:11.135 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.030) 0:00:11.165 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.022) 0:00:11.188 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.083) 0:00:11.271 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.048) 0:00:11.319 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.056) 0:00:11.376 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002974", "end": "2024-07-24 22:27:49.705937", "rc": 0, "start": "2024-07-24 22:27:49.702963" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.261) 0:00:11.637 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.042) 0:00:11.680 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.023) 0:00:11.703 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 22:27:49 +0000 (0:00:00.036) 0:00:11.740 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005650", "end": "2024-07-24 22:27:50.035069", "rc": 1, "start": "2024-07-24 22:27:50.029419" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.199) 0:00:11.940 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.045) 0:00:11.985 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.227) 0:00:12.213 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.025) 0:00:12.238 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.045) 0:00:12.284 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.089) 0:00:12.373 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.056) 0:00:12.429 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.065) 0:00:12.495 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.058) 0:00:12.553 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:27:50 +0000 (0:00:00.044) 0:00:12.597 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:27:52 +0000 (0:00:01.437) 0:00:14.035 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:27:53 +0000 (0:00:01.340) 0:00:15.376 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:27:53 +0000 (0:00:00.087) 0:00:15.463 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:27:53 +0000 (0:00:00.081) 0:00:15.544 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:27:53 +0000 (0:00:00.043) 0:00:15.588 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:27:53 +0000 (0:00:00.053) 0:00:15.642 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:27:53 +0000 (0:00:00.038) 0:00:15.681 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:27:53 +0000 (0:00:00.038) 0:00:15.719 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:27:53 +0000 (0:00:00.042) 0:00:15.762 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:27:53 +0000 (0:00:00.059) 0:00:15.822 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:27:53 +0000 (0:00:00.025) 0:00:15.847 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.077) 0:00:15.924 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.060) 0:00:15.985 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.363) 0:00:16.348 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.040) 0:00:16.389 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.019) 0:00:16.409 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.020) 0:00:16.429 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d7c8c1b9-dd8f-4d39-9923-7dbbea34c1f3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.333) 0:00:16.763 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.022) 0:00:16.786 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d7c8c1b9-dd8f-4d39-9923-7dbbea34c1f3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.024) 0:00:16.810 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d7c8c1b9-dd8f-4d39-9923-7dbbea34c1f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d7c8c1b9-dd8f-4d39-9923-7dbbea34c1f3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.024) 0:00:16.835 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:27:54 +0000 (0:00:00.024) 0:00:16.859 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.213) 0:00:17.073 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d7c8c1b9-dd8f-4d39-9923-7dbbea34c1f3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d7c8c1b9-dd8f-4d39-9923-7dbbea34c1f3" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.028) 0:00:17.102 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.078) 0:00:17.180 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.064) 0:00:17.245 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.224) 0:00:17.470 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.033) 0:00:17.503 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.047) 0:00:17.551 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.022) 0:00:17.573 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860074.8480136, "block_size": 4096, "blocks": 8, "ctime": 1721860074.8480136, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301246, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860074.8480136, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.216) 0:00:17.789 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:27:55 +0000 (0:00:00.022) 0:00:17.812 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017646", "end": "2024-07-24 22:27:56.131819", "rc": 0, "start": "2024-07-24 22:27:56.114173" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.219) 0:00:18.032 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.025) 0:00:18.058 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.022) 0:00:18.080 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.020) 0:00:18.101 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.020) 0:00:18.121 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.020) 0:00:18.142 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.030) 0:00:18.173 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.022) 0:00:18.195 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.023) 0:00:18.219 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.062) 0:00:18.282 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.021) 0:00:18.303 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.055) 0:00:18.359 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033253", "end": "2024-07-24 22:27:56.697302", "rc": 1, "start": "2024-07-24 22:27:56.664049" } STDOUT: Connection 'statebr' (d7c8c1b9-dd8f-4d39-9923-7dbbea34c1f3) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_states.yml:65 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.237) 0:00:18.597 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.034) 0:00:18.631 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.020) 0:00:18.652 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.041) 0:00:18.693 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.048) 0:00:18.742 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:27:56 +0000 (0:00:00.050) 0:00:18.792 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003243", "end": "2024-07-24 22:27:57.100353", "rc": 0, "start": "2024-07-24 22:27:57.097110" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:27:57 +0000 (0:00:00.226) 0:00:19.018 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:27:57 +0000 (0:00:00.028) 0:00:19.047 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:27:57 +0000 (0:00:00.037) 0:00:19.084 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:27:57 +0000 (0:00:00.133) 0:00:19.217 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:27:57 +0000 (0:00:00.060) 0:00:19.278 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:27:57 +0000 (0:00:00.053) 0:00:19.331 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:27:57 +0000 (0:00:00.147) 0:00:19.479 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:27:57 +0000 (0:00:00.028) 0:00:19.507 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:27:57 +0000 (0:00:00.031) 0:00:19.538 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:27:59 +0000 (0:00:01.426) 0:00:20.965 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:00 +0000 (0:00:01.261) 0:00:22.226 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.034) 0:00:22.260 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.020) 0:00:22.281 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.019) 0:00:22.301 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.026) 0:00:22.328 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.082) 0:00:22.410 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.044) 0:00:22.455 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.040) 0:00:22.496 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.091) 0:00:22.587 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.034) 0:00:22.621 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.029) 0:00:22.650 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:00 +0000 (0:00:00.039) 0:00:22.689 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:01 +0000 (0:00:00.363) 0:00:23.053 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:01 +0000 (0:00:00.053) 0:00:23.106 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:01 +0000 (0:00:00.037) 0:00:23.144 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:01 +0000 (0:00:00.022) 0:00:23.166 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:01 +0000 (0:00:00.384) 0:00:23.551 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:01 +0000 (0:00:00.020) 0:00:23.571 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:01 +0000 (0:00:00.024) 0:00:23.596 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:01 +0000 (0:00:00.024) 0:00:23.620 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:01 +0000 (0:00:00.019) 0:00:23.640 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:28:02 +0000 (0:00:00.268) 0:00:23.908 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:28:02 +0000 (0:00:00.076) 0:00:23.985 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:28:02 +0000 (0:00:00.067) 0:00:24.052 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:02 +0000 (0:00:00.060) 0:00:24.113 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:02 +0000 (0:00:00.085) 0:00:24.199 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:02 +0000 (0:00:00.066) 0:00:24.265 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:02 +0000 (0:00:00.032) 0:00:24.298 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:02 +0000 (0:00:00.031) 0:00:24.329 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:03 +0000 (0:00:01.490) 0:00:25.820 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:05 +0000 (0:00:01.316) 0:00:27.136 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:05 +0000 (0:00:00.052) 0:00:27.189 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:05 +0000 (0:00:00.383) 0:00:27.573 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:05 +0000 (0:00:00.042) 0:00:27.615 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:05 +0000 (0:00:00.057) 0:00:27.672 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:05 +0000 (0:00:00.041) 0:00:27.714 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:05 +0000 (0:00:00.045) 0:00:27.759 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:05 +0000 (0:00:00.048) 0:00:27.807 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:06 +0000 (0:00:00.117) 0:00:27.924 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:06 +0000 (0:00:00.030) 0:00:27.955 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:06 +0000 (0:00:00.030) 0:00:27.986 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:06 +0000 (0:00:00.060) 0:00:28.046 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:06 +0000 (0:00:00.452) 0:00:28.499 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:06 +0000 (0:00:00.046) 0:00:28.545 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:06 +0000 (0:00:00.022) 0:00:28.568 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:06 +0000 (0:00:00.025) 0:00:28.593 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:07 +0000 (0:00:00.342) 0:00:28.936 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:07 +0000 (0:00:00.029) 0:00:28.965 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:07 +0000 (0:00:00.059) 0:00:29.025 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9d1a297c-268c-4ce0-96b5-c719b1c883e8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:07 +0000 (0:00:00.182) 0:00:29.207 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:07 +0000 (0:00:00.019) 0:00:29.227 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:28:07 +0000 (0:00:00.291) 0:00:29.518 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:28:07 +0000 (0:00:00.040) 0:00:29.559 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:28:07 +0000 (0:00:00.056) 0:00:29.616 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860081.6057675, "block_size": 4096, "blocks": 0, "ctime": 1721860081.6057675, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1721860081.6057675, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:28:07 +0000 (0:00:00.220) 0:00:29.836 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:28:08 +0000 (0:00:00.075) 0:00:29.912 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:28:08 +0000 (0:00:00.049) 0:00:29.962 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:28:08 +0000 (0:00:00.050) 0:00:30.012 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860081.645067, "block_size": 4096, "blocks": 8, "ctime": 1721860081.6040668, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301246, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860081.6040668, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:28:08 +0000 (0:00:00.276) 0:00:30.288 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:28:08 +0000 (0:00:00.033) 0:00:30.321 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019211", "end": "2024-07-24 22:28:08.636374", "rc": 0, "start": "2024-07-24 22:28:08.617163" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:28:08 +0000 (0:00:00.219) 0:00:30.541 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:28:08 +0000 (0:00:00.076) 0:00:30.618 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:28:08 +0000 (0:00:00.241) 0:00:30.859 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.051) 0:00:30.911 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.065) 0:00:30.977 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.041) 0:00:31.018 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.086) 0:00:31.105 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.088) 0:00:31.194 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.031) 0:00:31.225 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.076) 0:00:31.302 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.056) 0:00:31.359 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.068) 0:00:31.428 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.052944", "end": "2024-07-24 22:28:09.769898", "rc": 1, "start": "2024-07-24 22:28:09.716954" } STDOUT: Connection 'statebr' (9d1a297c-268c-4ce0-96b5-c719b1c883e8) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_states.yml:83 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.259) 0:00:31.688 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.099) 0:00:31.787 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:28:09 +0000 (0:00:00.034) 0:00:31.822 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.088) 0:00:31.910 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.107) 0:00:32.018 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.073) 0:00:32.092 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002868", "end": "2024-07-24 22:28:10.412531", "rc": 0, "start": "2024-07-24 22:28:10.409663" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.229) 0:00:32.321 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.024) 0:00:32.345 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.024) 0:00:32.370 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.044) 0:00:32.414 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.045) 0:00:32.460 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.048) 0:00:32.509 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.038) 0:00:32.547 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.026) 0:00:32.574 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:10 +0000 (0:00:00.028) 0:00:32.603 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:12 +0000 (0:00:01.459) 0:00:34.062 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:13 +0000 (0:00:01.539) 0:00:35.602 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:13 +0000 (0:00:00.068) 0:00:35.670 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:13 +0000 (0:00:00.086) 0:00:35.756 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:13 +0000 (0:00:00.061) 0:00:35.817 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.059) 0:00:35.877 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.070) 0:00:35.947 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.065) 0:00:36.012 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.044) 0:00:36.057 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.070) 0:00:36.128 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.024) 0:00:36.153 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.043) 0:00:36.196 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.037) 0:00:36.234 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.432) 0:00:36.666 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.059) 0:00:36.725 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:14 +0000 (0:00:00.087) 0:00:36.813 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.061) 0:00:36.875 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.390) 0:00:37.265 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.042) 0:00:37.308 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.025) 0:00:37.334 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.053) 0:00:37.387 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.037) 0:00:37.424 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.236) 0:00:37.661 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.041) 0:00:37.703 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.043) 0:00:37.747 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.043) 0:00:37.790 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.040) 0:00:37.830 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:15 +0000 (0:00:00.028) 0:00:37.859 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:16 +0000 (0:00:00.042) 0:00:37.902 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:17 +0000 (0:00:01.492) 0:00:39.394 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:18 +0000 (0:00:01.275) 0:00:40.669 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:18 +0000 (0:00:00.064) 0:00:40.734 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:18 +0000 (0:00:00.035) 0:00:40.770 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:18 +0000 (0:00:00.030) 0:00:40.800 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:18 +0000 (0:00:00.053) 0:00:40.853 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:19 +0000 (0:00:00.154) 0:00:41.007 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:19 +0000 (0:00:00.059) 0:00:41.067 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:19 +0000 (0:00:00.085) 0:00:41.152 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:19 +0000 (0:00:00.170) 0:00:41.322 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:19 +0000 (0:00:00.025) 0:00:41.347 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:19 +0000 (0:00:00.040) 0:00:41.388 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:19 +0000 (0:00:00.077) 0:00:41.466 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.512) 0:00:41.978 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.108) 0:00:42.087 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.035) 0:00:42.122 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.027) 0:00:42.150 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.400) 0:00:42.550 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.034) 0:00:42.585 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.093) 0:00:42.678 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cecffba2-4d4b-4a3d-acd4-5e7f0fae661b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.059) 0:00:42.738 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:20 +0000 (0:00:00.098) 0:00:42.837 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.420) 0:00:43.257 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.096) 0:00:43.353 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.059) 0:00:43.413 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.124) 0:00:43.538 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.059) 0:00:43.597 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.112) 0:00:43.709 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:21 +0000 (0:00:00.068) 0:00:43.778 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:23 +0000 (0:00:01.464) 0:00:45.243 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:24 +0000 (0:00:01.252) 0:00:46.495 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.039) 0:00:46.534 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.023) 0:00:46.557 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.023) 0:00:46.581 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.037) 0:00:46.619 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.077) 0:00:46.697 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.036) 0:00:46.733 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:24 +0000 (0:00:00.058) 0:00:46.792 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:25 +0000 (0:00:00.083) 0:00:46.875 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:25 +0000 (0:00:00.025) 0:00:46.901 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:25 +0000 (0:00:00.024) 0:00:46.926 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:25 +0000 (0:00:00.142) 0:00:47.068 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:25 +0000 (0:00:00.459) 0:00:47.528 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:25 +0000 (0:00:00.050) 0:00:47.578 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:25 +0000 (0:00:00.035) 0:00:47.614 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:25 +0000 (0:00:00.037) 0:00:47.651 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.433) 0:00:48.085 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.033) 0:00:48.118 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.024) 0:00:48.142 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.024) 0:00:48.167 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.021) 0:00:48.188 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.227) 0:00:48.415 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.062) 0:00:48.478 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.046) 0:00:48.525 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860095.325543, "block_size": 4096, "blocks": 0, "ctime": 1721860095.325543, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35773, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1721860095.325543, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.192) 0:00:48.717 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.066) 0:00:48.784 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.038) 0:00:48.822 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:28:26 +0000 (0:00:00.031) 0:00:48.854 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.221) 0:00:49.076 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.023) 0:00:49.099 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017079", "end": "2024-07-24 22:28:27.411094", "rc": 1, "start": "2024-07-24 22:28:27.394015" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.210) 0:00:49.310 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.038) 0:00:49.348 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.025) 0:00:49.374 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.025) 0:00:49.399 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.044) 0:00:49.443 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.029) 0:00:49.473 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.043) 0:00:49.516 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.036) 0:00:49.553 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.027) 0:00:49.581 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:28:27 +0000 (0:00:00.036) 0:00:49.618 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.062249", "end": "2024-07-24 22:28:27.970204", "rc": 1, "start": "2024-07-24 22:28:27.907955" } STDOUT: Connection 'statebr' (cecffba2-4d4b-4a3d-acd4-5e7f0fae661b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_states.yml:102 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.337) 0:00:49.955 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.039) 0:00:49.994 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.032) 0:00:50.027 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.067) 0:00:50.094 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.060) 0:00:50.155 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.051) 0:00:50.206 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002858", "end": "2024-07-24 22:28:28.499702", "rc": 0, "start": "2024-07-24 22:28:28.496844" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.200) 0:00:50.407 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.032) 0:00:50.439 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.024) 0:00:50.464 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.080) 0:00:50.545 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.090) 0:00:50.636 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.122) 0:00:50.758 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.063) 0:00:50.821 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:28 +0000 (0:00:00.027) 0:00:50.848 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:29 +0000 (0:00:00.029) 0:00:50.878 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:30 +0000 (0:00:01.436) 0:00:52.315 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:31 +0000 (0:00:01.310) 0:00:53.625 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:31 +0000 (0:00:00.044) 0:00:53.670 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:31 +0000 (0:00:00.086) 0:00:53.757 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:31 +0000 (0:00:00.035) 0:00:53.792 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:31 +0000 (0:00:00.048) 0:00:53.841 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.039) 0:00:53.880 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.119) 0:00:54.000 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.058) 0:00:54.059 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.132) 0:00:54.192 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.081) 0:00:54.273 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.054) 0:00:54.327 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:32 +0000 (0:00:00.127) 0:00:54.455 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.463) 0:00:54.918 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.054) 0:00:54.973 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.027) 0:00:55.000 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.024) 0:00:55.025 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.380) 0:00:55.405 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.042) 0:00:55.448 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.084) 0:00:55.532 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.032) 0:00:55.565 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.072) 0:00:55.638 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:28:33 +0000 (0:00:00.214) 0:00:55.852 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:28:34 +0000 (0:00:00.030) 0:00:55.883 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:34 +0000 (0:00:00.075) 0:00:55.958 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:34 +0000 (0:00:00.174) 0:00:56.132 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:34 +0000 (0:00:00.050) 0:00:56.183 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:34 +0000 (0:00:00.050) 0:00:56.233 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:34 +0000 (0:00:00.036) 0:00:56.269 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:35 +0000 (0:00:01.411) 0:00:57.681 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:37 +0000 (0:00:01.309) 0:00:58.991 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.040) 0:00:59.031 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.024) 0:00:59.055 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.043) 0:00:59.099 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.038) 0:00:59.137 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.039) 0:00:59.176 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.046) 0:00:59.222 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.045) 0:00:59.268 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.279) 0:00:59.548 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.030) 0:00:59.579 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.033) 0:00:59.612 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:37 +0000 (0:00:00.048) 0:00:59.661 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.357) 0:01:00.018 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.037) 0:01:00.055 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.028) 0:01:00.084 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.024) 0:01:00.108 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.424) 0:01:00.533 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.046) 0:01:00.579 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.067) 0:01:00.646 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bc401eb-fafa-486d-9846-a91c2eb80e2b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.036) 0:01:00.683 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:38 +0000 (0:00:00.037) 0:01:00.721 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.224) 0:01:00.945 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.123) 0:01:01.069 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.124) 0:01:01.193 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.074) 0:01:01.268 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.057) 0:01:01.325 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:39 +0000 (0:00:00.039) 0:01:01.365 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:41 +0000 (0:00:01.507) 0:01:02.873 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:42 +0000 (0:00:01.326) 0:01:04.199 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:42 +0000 (0:00:00.028) 0:01:04.228 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:42 +0000 (0:00:00.032) 0:01:04.260 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:42 +0000 (0:00:00.034) 0:01:04.294 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:42 +0000 (0:00:00.061) 0:01:04.356 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:42 +0000 (0:00:00.097) 0:01:04.454 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:42 +0000 (0:00:00.115) 0:01:04.569 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:42 +0000 (0:00:00.078) 0:01:04.647 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:42 +0000 (0:00:00.219) 0:01:04.867 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:43 +0000 (0:00:00.064) 0:01:04.931 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:43 +0000 (0:00:00.052) 0:01:04.983 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:43 +0000 (0:00:00.178) 0:01:05.162 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:43 +0000 (0:00:00.467) 0:01:05.629 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:43 +0000 (0:00:00.086) 0:01:05.715 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:43 +0000 (0:00:00.032) 0:01:05.748 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:43 +0000 (0:00:00.023) 0:01:05.772 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.384) 0:01:06.156 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.028) 0:01:06.185 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.049) 0:01:06.234 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.045) 0:01:06.280 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.044) 0:01:06.324 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.232) 0:01:06.557 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.056) 0:01:06.613 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.145) 0:01:06.758 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.065) 0:01:06.823 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:44 +0000 (0:00:00.036) 0:01:06.860 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.026) 0:01:06.886 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:45 +0000 (0:00:00.027) 0:01:06.914 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:46 +0000 (0:00:01.483) 0:01:08.397 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:47 +0000 (0:00:01.262) 0:01:09.659 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:47 +0000 (0:00:00.039) 0:01:09.699 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:47 +0000 (0:00:00.023) 0:01:09.723 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:47 +0000 (0:00:00.029) 0:01:09.752 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:47 +0000 (0:00:00.046) 0:01:09.799 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:47 +0000 (0:00:00.040) 0:01:09.839 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.141) 0:01:09.981 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.053) 0:01:10.034 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.070) 0:01:10.104 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.020) 0:01:10.125 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.021) 0:01:10.146 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.060) 0:01:10.206 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.362) 0:01:10.569 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.082) 0:01:10.652 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.038) 0:01:10.690 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:48 +0000 (0:00:00.020) 0:01:10.711 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.403) 0:01:11.115 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.037) 0:01:11.152 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.045) 0:01:11.198 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.055) 0:01:11.253 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.043) 0:01:11.296 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.230) 0:01:11.527 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:28:49 +0000 (0:00:00.328) 0:01:11.855 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.064) 0:01:11.920 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.064) 0:01:11.985 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.206) 0:01:12.192 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.022) 0:01:12.214 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018071", "end": "2024-07-24 22:28:50.520743", "rc": 1, "start": "2024-07-24 22:28:50.502672" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.219) 0:01:12.434 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.023) 0:01:12.457 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.021) 0:01:12.478 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.021) 0:01:12.499 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.019) 0:01:12.519 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.030) 0:01:12.550 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.034) 0:01:12.585 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.054) 0:01:12.639 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:28:50 +0000 (0:00:00.077) 0:01:12.717 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.208) 0:01:12.925 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.026) 0:01:12.952 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.036) 0:01:12.989 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.066) 0:01:13.055 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.032879", "end": "2024-07-24 22:28:51.380264", "rc": 1, "start": "2024-07-24 22:28:51.347385" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_states.yml:124 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.246) 0:01:13.302 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.076) 0:01:13.378 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.049) 0:01:13.428 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.082) 0:01:13.511 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.172) 0:01:13.683 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:28:51 +0000 (0:00:00.163) 0:01:13.847 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003045", "end": "2024-07-24 22:28:52.178533", "rc": 0, "start": "2024-07-24 22:28:52.175488" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.272) 0:01:14.120 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.064) 0:01:14.184 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.269) 0:01:14.454 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.112) 0:01:14.566 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.115) 0:01:14.682 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.068) 0:01:14.750 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:52 +0000 (0:00:00.100) 0:01:14.851 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.061) 0:01:14.912 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:53 +0000 (0:00:00.049) 0:01:14.961 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:54 +0000 (0:00:01.466) 0:01:16.428 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:28:55 +0000 (0:00:01.321) 0:01:17.749 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:28:55 +0000 (0:00:00.056) 0:01:17.805 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.135) 0:01:17.941 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.030) 0:01:17.971 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.041) 0:01:18.012 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.085) 0:01:18.098 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.041) 0:01:18.140 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.058) 0:01:18.198 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.090) 0:01:18.288 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.035) 0:01:18.324 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.034) 0:01:18.358 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.060) 0:01:18.419 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:28:56 +0000 (0:00:00.376) 0:01:18.795 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.102) 0:01:18.897 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.037) 0:01:18.935 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.067) 0:01:19.002 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.474) 0:01:19.477 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.022) 0:01:19.500 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.036) 0:01:19.536 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.076) 0:01:19.613 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.026) 0:01:19.639 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:28:57 +0000 (0:00:00.214) 0:01:19.854 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.031) 0:01:19.886 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.045) 0:01:19.931 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.043) 0:01:19.975 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.041) 0:01:20.016 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.028) 0:01:20.045 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:28:58 +0000 (0:00:00.030) 0:01:20.076 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:28:59 +0000 (0:00:01.419) 0:01:21.495 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:01 +0000 (0:00:01.388) 0:01:22.883 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.158) 0:01:23.042 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.045) 0:01:23.088 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.023) 0:01:23.111 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.043) 0:01:23.154 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.081) 0:01:23.236 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.060) 0:01:23.297 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.053) 0:01:23.350 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.062) 0:01:23.412 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.039) 0:01:23.452 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.029) 0:01:23.481 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:29:01 +0000 (0:00:00.041) 0:01:23.523 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.507) 0:01:24.030 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.066) 0:01:24.097 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.026) 0:01:24.123 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.026) 0:01:24.150 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.473) 0:01:24.624 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.031) 0:01:24.655 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.156) 0:01:24.811 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 842d513c-d450-4481-84f4-914a3a8404ac skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:29:02 +0000 (0:00:00.036) 0:01:24.848 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.034) 0:01:24.882 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.267) 0:01:25.150 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.085) 0:01:25.235 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.089) 0:01:25.324 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.054) 0:01:25.379 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.049) 0:01:25.429 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:29:03 +0000 (0:00:00.048) 0:01:25.478 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:29:05 +0000 (0:00:01.450) 0:01:26.928 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:06 +0000 (0:00:01.352) 0:01:28.281 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.096) 0:01:28.377 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.022) 0:01:28.400 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.021) 0:01:28.421 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.029) 0:01:28.451 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.079) 0:01:28.530 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.036) 0:01:28.566 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.038) 0:01:28.605 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.070) 0:01:28.676 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.027) 0:01:28.703 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.033) 0:01:28.737 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:29:06 +0000 (0:00:00.062) 0:01:28.799 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.362) 0:01:29.161 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.036) 0:01:29.198 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.019) 0:01:29.218 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.019) 0:01:29.237 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.441) 0:01:29.679 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:29:07 +0000 (0:00:00.033) 0:01:29.712 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.167) 0:01:29.880 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.036) 0:01:29.916 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.041) 0:01:29.957 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.265) 0:01:30.223 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.048) 0:01:30.271 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.055) 0:01:30.327 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.075) 0:01:30.402 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.131) 0:01:30.533 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.032) 0:01:30.566 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:29:08 +0000 (0:00:00.039) 0:01:30.606 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:29:10 +0000 (0:00:01.478) 0:01:32.084 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:29:11 +0000 (0:00:01.377) 0:01:33.461 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.053) 0:01:33.515 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.073) 0:01:33.589 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.058) 0:01:33.647 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.042) 0:01:33.689 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.060) 0:01:33.750 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.033) 0:01:33.783 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:29:11 +0000 (0:00:00.039) 0:01:33.822 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:29:12 +0000 (0:00:00.084) 0:01:33.907 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:29:12 +0000 (0:00:00.033) 0:01:33.940 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:29:12 +0000 (0:00:00.039) 0:01:33.980 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:29:12 +0000 (0:00:00.040) 0:01:34.021 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:29:12 +0000 (0:00:00.373) 0:01:34.394 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:29:12 +0000 (0:00:00.038) 0:01:34.432 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:29:12 +0000 (0:00:00.020) 0:01:34.452 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:29:12 +0000 (0:00:00.020) 0:01:34.473 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.478) 0:01:34.951 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.031) 0:01:34.983 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.029) 0:01:35.013 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.027) 0:01:35.040 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.024) 0:01:35.065 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.218) 0:01:35.283 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.054) 0:01:35.338 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.034) 0:01:35.373 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.041) 0:01:35.414 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.226) 0:01:35.641 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:29:13 +0000 (0:00:00.026) 0:01:35.667 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.015620", "end": "2024-07-24 22:29:13.985566", "rc": 1, "start": "2024-07-24 22:29:13.969946" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.239) 0:01:35.906 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.032) 0:01:35.939 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.035) 0:01:35.975 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.110) 0:01:36.086 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.029) 0:01:36.116 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.032) 0:01:36.149 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 24 July 2024 22:29:14 +0000 (0:00:00.030) 0:01:36.179 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.867231", "end": "2024-07-24 22:29:15.359124", "rc": 0, "start": "2024-07-24 22:29:14.491893" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 24 July 2024 22:29:15 +0000 (0:00:01.079) 0:01:37.258 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.021) 0:01:37.280 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.022) 0:01:37.302 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.066) 0:01:37.369 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.041) 0:01:37.410 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.201) 0:01:37.612 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.033) 0:01:37.645 ******** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.026) 0:01:37.672 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:29:15 +0000 (0:00:00.045) 0:01:37.717 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.033188", "end": "2024-07-24 22:29:16.046021", "rc": 1, "start": "2024-07-24 22:29:16.012833" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 22:29:16 +0000 (0:00:00.232) 0:01:37.950 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007868", "end": "2024-07-24 22:29:16.244912", "rc": 0, "start": "2024-07-24 22:29:16.237044" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:8f:31:76:af:3d brd ff:ff:ff:ff:ff:ff inet 10.31.43.226/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2072sec preferred_lft 2072sec inet6 fe80::c8f:31ff:fe76:af3d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.226 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.226 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 22:29:16 +0000 (0:00:00.265) 0:01:38.215 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.308851", "end": "2024-07-24 22:29:16.853855", "rc": 0, "start": "2024-07-24 22:29:16.545004" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1473 0 --:--:-- --:--:-- --:--:-- 1473 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 3880 0 --:--:-- --:--:-- --:--:-- 3880 PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Wednesday 24 July 2024 22:29:16 +0000 (0:00:00.577) 0:01:38.793 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.55s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.43s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.42s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.41s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.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. ---^---^---^---^---^---