# 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-warnings7266wr68/.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-warnings7266wr68/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-warnings7266wr68/tests/tests_states_nm.yml:6 Wednesday 24 July 2024 22:18:48 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tests_states_nm.yml:9 Wednesday 24 July 2024 22:18:49 +0000 (0:00:00.859) 0:00:00.871 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 22:18:49 +0000 (0:00:00.012) 0:00:00.883 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tasks/el_repo_setup.yml:17 Wednesday 24 July 2024 22:18:49 +0000 (0:00:00.343) 0:00:01.227 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tasks/el_repo_setup.yml:22 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.244) 0:00:01.471 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tasks/el_repo_setup.yml:26 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.015) 0:00:01.486 ******** 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-warnings7266wr68/tests/tasks/el_repo_setup.yml:51 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.009) 0:00:01.496 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.022) 0:00:01.519 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.009) 0:00:01.528 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.009) 0:00:01.538 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.009) 0:00:01.547 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.009) 0:00:01.556 ******** 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-warnings7266wr68/tests/tests_states_nm.yml:11 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.010) 0:00:01.566 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tests_states.yml:3 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.018) 0:00:01.585 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tests_states.yml:11 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.612) 0:00:02.197 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tests_states.yml:22 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.011) 0:00:02.208 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.013) 0:00:02.222 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.010) 0:00:02.232 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.027) 0:00:02.260 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.012) 0:00:02.272 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:18:50 +0000 (0:00:00.010) 0:00:02.283 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003016", "end": "2024-07-24 22:18:51.051803", "rc": 0, "start": "2024-07-24 22:18:51.048787" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.227) 0:00:02.510 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.011) 0:00:02.521 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.010) 0:00:02.532 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.016) 0:00:02.549 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007210", "end": "2024-07-24 22:18:51.262852", "rc": 1, "start": "2024-07-24 22:18:51.255642" } 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-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.170) 0:00:02.720 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.012) 0:00:02.732 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.169) 0:00:02.901 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.011) 0:00:02.913 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.015) 0:00:02.928 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.025) 0:00:02.953 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.020) 0:00:02.974 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.019) 0:00:02.993 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.013) 0:00:03.007 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:18:51 +0000 (0:00:00.013) 0:00:03.020 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:18:53 +0000 (0:00:01.470) 0:00:04.490 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:18:53 +0000 (0:00:00.817) 0:00:05.308 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:18:53 +0000 (0:00:00.022) 0:00:05.331 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:18:53 +0000 (0:00:00.020) 0:00:05.351 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:18:53 +0000 (0:00:00.019) 0:00:05.370 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:18:53 +0000 (0:00:00.027) 0:00:05.398 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:18:53 +0000 (0:00:00.035) 0:00:05.434 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.027) 0:00:05.462 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.039) 0:00:05.501 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.052) 0:00:05.553 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.039) 0:00:05.593 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.020) 0:00:05.614 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.035) 0:00:05.649 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.517) 0:00:06.166 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.034) 0:00:06.201 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.018) 0:00:06.220 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:18:54 +0000 (0:00:00.019) 0:00:06.239 ******** 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, c38b787d-9b52-4c67-ac24-635e27bb068a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.538) 0:00:06.778 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.022) 0:00:06.801 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c38b787d-9b52-4c67-ac24-635e27bb068a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.026) 0:00:06.827 ******** 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, c38b787d-9b52-4c67-ac24-635e27bb068a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c38b787d-9b52-4c67-ac24-635e27bb068a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.023) 0:00:06.851 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.019) 0:00:06.870 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.294) 0:00:07.165 ******** 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, c38b787d-9b52-4c67-ac24-635e27bb068a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c38b787d-9b52-4c67-ac24-635e27bb068a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.021) 0:00:07.186 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.034) 0:00:07.221 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.062) 0:00:07.284 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:18:55 +0000 (0:00:00.020) 0:00:07.304 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.175) 0:00:07.480 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.020) 0:00:07.501 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021807", "end": "2024-07-24 22:18:56.233730", "rc": 0, "start": "2024-07-24 22:18:56.211923" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.200) 0:00:07.701 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.024) 0:00:07.725 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.021) 0:00:07.746 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.020) 0:00:07.767 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.022) 0:00:07.790 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.020) 0:00:07.811 ******** 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-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.024) 0:00:07.835 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.023) 0:00:07.858 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.023) 0:00:07.882 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.045) 0:00:07.928 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.030) 0:00:07.958 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721859535.2587543, "block_size": 4096, "blocks": 0, "ctime": 1721859535.2587543, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29714, "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": 1721859535.2587543, "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-warnings7266wr68/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.175) 0:00:08.134 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.023) 0:00:08.157 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.055) 0:00:08.213 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:18:56 +0000 (0:00:00.036) 0:00:08.250 ******** 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.061984", "end": "2024-07-24 22:18:57.025595", "rc": 1, "start": "2024-07-24 22:18:56.963611" } STDOUT: Connection 'statebr' (c38b787d-9b52-4c67-ac24-635e27bb068a) 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-warnings7266wr68/tests/playbooks/tests_states.yml:45 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.245) 0:00:08.495 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.031) 0:00:08.527 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.022) 0:00:08.549 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.045) 0:00:08.595 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.031) 0:00:08.627 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.031) 0:00:08.659 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003086", "end": "2024-07-24 22:18:57.391595", "rc": 0, "start": "2024-07-24 22:18:57.388509" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.200) 0:00:08.859 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.021) 0:00:08.880 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.020) 0:00:08.901 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.034) 0:00:08.936 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005912", "end": "2024-07-24 22:18:57.654406", "rc": 1, "start": "2024-07-24 22:18:57.648494" } 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-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.188) 0:00:09.124 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.073) 0:00:09.197 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.178) 0:00:09.376 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.022) 0:00:09.399 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 24 July 2024 22:18:57 +0000 (0:00:00.036) 0:00:09.435 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:18:58 +0000 (0:00:00.044) 0:00:09.480 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:18:58 +0000 (0:00:00.047) 0:00:09.527 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:18:58 +0000 (0:00:00.036) 0:00:09.563 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:18:58 +0000 (0:00:00.026) 0:00:09.589 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:18:58 +0000 (0:00:00.023) 0:00:09.613 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:18:59 +0000 (0:00:01.371) 0:00:10.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 : Print network provider] ************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.638) 0:00:11.623 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.063) 0:00:11.687 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.021) 0:00:11.708 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.021) 0:00:11.730 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.029) 0:00:11.760 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.038) 0:00:11.798 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.029) 0:00:11.828 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.035) 0:00:11.864 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.057) 0:00:11.922 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.022) 0:00:11.945 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.021) 0:00:11.966 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.035) 0:00:12.002 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.358) 0:00:12.361 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.043) 0:00:12.404 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:00 +0000 (0:00:00.021) 0:00:12.426 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.023) 0:00:12.449 ******** 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, d0ede9b4-84df-416e-893d-df39c2a31436 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.343) 0:00:12.792 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.020) 0:00:12.813 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0ede9b4-84df-416e-893d-df39c2a31436" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.024) 0:00:12.838 ******** 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, d0ede9b4-84df-416e-893d-df39c2a31436\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0ede9b4-84df-416e-893d-df39c2a31436" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.024) 0:00:12.863 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.070) 0:00:12.934 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.190) 0:00:13.124 ******** 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, d0ede9b4-84df-416e-893d-df39c2a31436\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0ede9b4-84df-416e-893d-df39c2a31436" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.024) 0:00:13.149 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.039) 0:00:13.188 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.033) 0:00:13.221 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.181) 0:00:13.403 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:19:01 +0000 (0:00:00.023) 0:00:13.426 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.036) 0:00:13.463 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.021) 0:00:13.485 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.187) 0:00:13.672 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.020) 0:00:13.693 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019487", "end": "2024-07-24 22:19:02.430338", "rc": 0, "start": "2024-07-24 22:19:02.410851" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.205) 0:00:13.899 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.023) 0:00:13.922 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.021) 0:00:13.944 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.020) 0:00:13.965 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.049) 0:00:14.014 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.021) 0:00:14.036 ******** 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-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.023) 0:00:14.059 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.023) 0:00:14.083 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.021) 0:00:14.104 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.027) 0:00:14.132 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.021) 0:00:14.153 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.037) 0:00:14.190 ******** 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.037840", "end": "2024-07-24 22:19:02.937558", "rc": 1, "start": "2024-07-24 22:19:02.899718" } STDOUT: Connection 'statebr' (d0ede9b4-84df-416e-893d-df39c2a31436) 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-warnings7266wr68/tests/playbooks/tests_states.yml:65 Wednesday 24 July 2024 22:19:02 +0000 (0:00:00.217) 0:00:14.407 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.040) 0:00:14.448 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.028) 0:00:14.476 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.041) 0:00:14.517 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.031) 0:00:14.548 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.030) 0:00:14.579 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002991", "end": "2024-07-24 22:19:03.291376", "rc": 0, "start": "2024-07-24 22:19:03.288385" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.215) 0:00:14.795 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.022) 0:00:14.818 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.036) 0:00:14.854 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.052) 0:00:14.907 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.044) 0:00:14.951 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.042) 0:00:14.994 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.037) 0:00:15.032 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.027) 0:00:15.059 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:03 +0000 (0:00:00.024) 0:00:15.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 : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:05 +0000 (0:00:01.358) 0:00:16.442 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.643) 0:00:17.085 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.023) 0:00:17.109 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.060) 0:00:17.170 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.019) 0:00:17.190 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.029) 0:00:17.219 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.036) 0:00:17.255 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.029) 0:00:17.285 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.037) 0:00:17.322 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.055) 0:00:17.377 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.021) 0:00:17.399 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:05 +0000 (0:00:00.020) 0:00:17.419 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.036) 0:00:17.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.348) 0:00:17.804 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.035) 0:00:17.840 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.020) 0:00:17.860 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.019) 0:00:17.880 ******** 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, efe08337-7a8f-46a9-8ede-912b438507b5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.370) 0:00:18.250 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.020) 0:00:18.270 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efe08337-7a8f-46a9-8ede-912b438507b5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.024) 0:00:18.294 ******** 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, efe08337-7a8f-46a9-8ede-912b438507b5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efe08337-7a8f-46a9-8ede-912b438507b5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.024) 0:00:18.319 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:06 +0000 (0:00:00.022) 0:00:18.341 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:19:07 +0000 (0:00:00.253) 0:00:18.595 ******** 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, efe08337-7a8f-46a9-8ede-912b438507b5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efe08337-7a8f-46a9-8ede-912b438507b5" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:19:07 +0000 (0:00:00.027) 0:00:18.623 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:19:07 +0000 (0:00:00.037) 0:00:18.660 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:07 +0000 (0:00:00.044) 0:00:18.704 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:07 +0000 (0:00:00.042) 0:00:18.747 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:07 +0000 (0:00:00.038) 0:00:18.786 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:07 +0000 (0:00:00.024) 0:00:18.810 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:07 +0000 (0:00:00.024) 0:00:18.835 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:08 +0000 (0:00:01.372) 0:00:20.207 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.635) 0:00:20.843 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.026) 0:00:20.869 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.060) 0:00:20.930 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.020) 0:00:20.950 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.031) 0:00:20.982 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.038) 0:00:21.020 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.031) 0:00:21.051 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.037) 0:00:21.089 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.055) 0:00:21.144 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.021) 0:00:21.166 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.020) 0:00:21.187 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:09 +0000 (0:00:00.039) 0:00:21.226 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.372) 0:00:21.598 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.064) 0:00:21.663 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.028) 0:00:21.692 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.027) 0:00:21.719 ******** 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, efe08337-7a8f-46a9-8ede-912b438507b5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.336) 0:00:22.055 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.021) 0:00:22.077 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, efe08337-7a8f-46a9-8ede-912b438507b5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.026) 0:00:22.104 ******** 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, efe08337-7a8f-46a9-8ede-912b438507b5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, efe08337-7a8f-46a9-8ede-912b438507b5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.025) 0:00:22.129 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.021) 0:00:22.150 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.233) 0:00:22.384 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:19:10 +0000 (0:00:00.039) 0:00:22.423 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.032) 0:00:22.456 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721859546.7358751, "block_size": 4096, "blocks": 0, "ctime": 1721859546.7358751, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29845, "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": 1721859546.7358751, "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-warnings7266wr68/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.182) 0:00:22.639 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.026) 0:00:22.665 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.035) 0:00:22.700 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.023) 0:00:22.724 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.182) 0:00:22.906 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.034) 0:00:22.941 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019157", "end": "2024-07-24 22:19:11.673121", "rc": 0, "start": "2024-07-24 22:19:11.653964" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.202) 0:00:23.143 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.023) 0:00:23.167 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.022) 0:00:23.189 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.020) 0:00:23.210 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.020) 0:00:23.231 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.020) 0:00:23.251 ******** 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-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.061) 0:00:23.312 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.025) 0:00:23.338 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.025) 0:00:23.364 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.032) 0:00:23.396 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:19:11 +0000 (0:00:00.036) 0:00:23.432 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.045) 0:00:23.477 ******** 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.059189", "end": "2024-07-24 22:19:12.246114", "rc": 1, "start": "2024-07-24 22:19:12.186925" } STDOUT: Connection 'statebr' (efe08337-7a8f-46a9-8ede-912b438507b5) 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-warnings7266wr68/tests/playbooks/tests_states.yml:83 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.239) 0:00:23.716 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.046) 0:00:23.762 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.036) 0:00:23.799 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.043) 0:00:23.842 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.032) 0:00:23.875 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.031) 0:00:23.907 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003032", "end": "2024-07-24 22:19:12.620215", "rc": 0, "start": "2024-07-24 22:19:12.617183" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.182) 0:00:24.089 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.022) 0:00:24.112 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.072) 0:00:24.184 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.050) 0:00:24.235 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.049) 0:00:24.284 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.047) 0:00:24.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.037) 0:00:24.369 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.027) 0:00:24.397 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:12 +0000 (0:00:00.025) 0:00:24.423 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:14 +0000 (0:00:01.365) 0:00:25.788 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:14 +0000 (0:00:00.635) 0:00:26.423 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.026) 0:00:26.450 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.021) 0:00:26.471 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.020) 0:00:26.491 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.082) 0:00:26.574 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.052) 0:00:26.626 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.036) 0:00:26.663 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.044) 0:00:26.707 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.055) 0:00:26.763 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.021) 0:00:26.784 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.020) 0:00:26.804 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.035) 0:00:26.840 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.365) 0:00:27.205 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.057) 0:00:27.262 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.024) 0:00:27.287 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:15 +0000 (0:00:00.030) 0:00:27.317 ******** 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, 0f9807fd-c5b6-4473-9390-80d17073d92b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.441) 0:00:27.759 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.023) 0:00:27.783 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0f9807fd-c5b6-4473-9390-80d17073d92b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.030) 0:00:27.813 ******** 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, 0f9807fd-c5b6-4473-9390-80d17073d92b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0f9807fd-c5b6-4473-9390-80d17073d92b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.026) 0:00:27.840 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.023) 0:00:27.864 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.209) 0:00:28.074 ******** 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, 0f9807fd-c5b6-4473-9390-80d17073d92b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0f9807fd-c5b6-4473-9390-80d17073d92b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.072) 0:00:28.146 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.046) 0:00:28.192 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.042) 0:00:28.234 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.035) 0:00:28.270 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.025) 0:00:28.296 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:16 +0000 (0:00:00.024) 0:00:28.320 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:18 +0000 (0:00:01.357) 0:00:29.677 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:18 +0000 (0:00:00.639) 0:00:30.317 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:18 +0000 (0:00:00.026) 0:00:30.343 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:18 +0000 (0:00:00.021) 0:00:30.365 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:18 +0000 (0:00:00.022) 0:00:30.388 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:18 +0000 (0:00:00.032) 0:00:30.420 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.037) 0:00:30.458 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.083) 0:00:30.542 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.054) 0:00:30.596 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.062) 0:00:30.659 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.023) 0:00:30.682 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.022) 0:00:30.704 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.037) 0:00:30.741 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.369) 0:00:31.111 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.037) 0:00:31.149 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.021) 0:00:31.170 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:19 +0000 (0:00:00.021) 0:00:31.192 ******** 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, 0f9807fd-c5b6-4473-9390-80d17073d92b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.324) 0:00:31.516 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.022) 0:00:31.539 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0f9807fd-c5b6-4473-9390-80d17073d92b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.026) 0:00:31.566 ******** 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, 0f9807fd-c5b6-4473-9390-80d17073d92b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0f9807fd-c5b6-4473-9390-80d17073d92b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.025) 0:00:31.591 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.020) 0:00:31.612 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.186) 0:00:31.798 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.035) 0:00:31.834 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.077) 0:00:31.911 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.039) 0:00:31.950 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.036) 0:00:31.987 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.024) 0:00:32.011 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:20 +0000 (0:00:00.024) 0:00:32.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 : Check which packages are installed] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:21 +0000 (0:00:01.373) 0:00:33.408 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:22 +0000 (0:00:00.661) 0:00:34.070 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:22 +0000 (0:00:00.039) 0:00:34.110 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:22 +0000 (0:00:00.027) 0:00:34.138 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:22 +0000 (0:00:00.025) 0:00:34.163 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:22 +0000 (0:00:00.033) 0:00:34.197 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:22 +0000 (0:00:00.039) 0:00:34.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:22 +0000 (0:00:00.031) 0:00:34.268 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:22 +0000 (0:00:00.096) 0:00:34.365 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:22 +0000 (0:00:00.057) 0:00:34.422 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.023) 0:00:34.445 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.022) 0:00:34.468 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.052) 0:00:34.521 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.369) 0:00:34.890 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.037) 0:00:34.928 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.022) 0:00:34.950 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.021) 0:00:34.972 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.352) 0:00:35.325 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.022) 0:00:35.347 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.024) 0:00:35.371 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.026) 0:00:35.398 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:23 +0000 (0:00:00.020) 0:00:35.418 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.191) 0:00:35.610 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.038) 0:00:35.648 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.070) 0:00:35.718 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721859556.2338464, "block_size": 4096, "blocks": 0, "ctime": 1721859556.2338464, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29976, "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": 1721859556.2338464, "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-warnings7266wr68/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.182) 0:00:35.901 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.023) 0:00:35.925 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.035) 0:00:35.960 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.022) 0:00:35.983 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.175) 0:00:36.159 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.020) 0:00:36.180 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021942", "end": "2024-07-24 22:19:24.911603", "rc": 1, "start": "2024-07-24 22:19:24.889661" } 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.199) 0:00:36.379 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.021) 0:00:36.401 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:19:24 +0000 (0:00:00.021) 0:00:36.422 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.021) 0:00:36.444 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.020) 0:00:36.464 ******** 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-warnings7266wr68/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.021) 0:00:36.486 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.022) 0:00:36.508 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.029) 0:00:36.538 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.030) 0:00:36.569 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.095) 0:00:36.665 ******** 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.060765", "end": "2024-07-24 22:19:25.462921", "rc": 1, "start": "2024-07-24 22:19:25.402156" } STDOUT: Connection 'statebr' (0f9807fd-c5b6-4473-9390-80d17073d92b) 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-warnings7266wr68/tests/playbooks/tests_states.yml:102 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.276) 0:00:36.942 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.039) 0:00:36.982 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.025) 0:00:37.007 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.043) 0:00:37.051 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.034) 0:00:37.085 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.032) 0:00:37.117 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003197", "end": "2024-07-24 22:19:25.828979", "rc": 0, "start": "2024-07-24 22:19:25.825782" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.180) 0:00:37.298 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.022) 0:00:37.321 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.023) 0:00:37.344 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.041) 0:00:37.385 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:25 +0000 (0:00:00.046) 0:00:37.431 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:26 +0000 (0:00:00.096) 0:00:37.528 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:26 +0000 (0:00:00.047) 0:00:37.575 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:26 +0000 (0:00:00.026) 0:00:37.602 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:26 +0000 (0:00:00.028) 0:00:37.631 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:27 +0000 (0:00:01.375) 0:00:39.006 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.643) 0:00:39.649 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.028) 0:00:39.678 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.022) 0:00:39.700 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.034) 0:00:39.735 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.032) 0:00:39.768 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.052) 0:00:39.821 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.039) 0:00:39.860 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.041) 0:00:39.901 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.056) 0:00:39.958 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.023) 0:00:39.982 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.023) 0:00:40.005 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:28 +0000 (0:00:00.090) 0:00:40.096 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.349) 0:00:40.445 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.036) 0:00:40.482 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.022) 0:00:40.505 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.020) 0:00:40.525 ******** 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, 24e43ae6-17a6-499c-87a8-296c473fce3e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.366) 0:00:40.891 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.020) 0:00:40.912 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24e43ae6-17a6-499c-87a8-296c473fce3e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.024) 0:00:40.937 ******** 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, 24e43ae6-17a6-499c-87a8-296c473fce3e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24e43ae6-17a6-499c-87a8-296c473fce3e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.025) 0:00:40.963 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.021) 0:00:40.984 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.185) 0:00:41.170 ******** 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, 24e43ae6-17a6-499c-87a8-296c473fce3e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24e43ae6-17a6-499c-87a8-296c473fce3e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.024) 0:00:41.194 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.043) 0:00:41.238 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.041) 0:00:41.279 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.037) 0:00:41.317 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.075) 0:00:41.392 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:29 +0000 (0:00:00.025) 0:00:41.417 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:31 +0000 (0:00:01.370) 0:00:42.788 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:31 +0000 (0:00:00.640) 0:00:43.428 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.031) 0:00:43.459 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.020) 0:00:43.480 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.022) 0:00:43.503 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.031) 0:00:43.534 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.044) 0:00:43.579 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.035) 0:00:43.614 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.051) 0:00:43.666 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.064) 0:00:43.730 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.025) 0:00:43.756 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.024) 0:00:43.780 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.045) 0:00:43.826 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.355) 0:00:44.181 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.089) 0:00:44.271 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.020) 0:00:44.292 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:32 +0000 (0:00:00.020) 0:00:44.312 ******** 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, 24e43ae6-17a6-499c-87a8-296c473fce3e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.328) 0:00:44.641 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.021) 0:00:44.662 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24e43ae6-17a6-499c-87a8-296c473fce3e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.024) 0:00:44.687 ******** 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, 24e43ae6-17a6-499c-87a8-296c473fce3e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24e43ae6-17a6-499c-87a8-296c473fce3e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.023) 0:00:44.711 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.021) 0:00:44.733 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.186) 0:00:44.919 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.043) 0:00:44.963 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.040) 0:00:45.004 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.036) 0:00:45.041 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.025) 0:00:45.066 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:33 +0000 (0:00:00.032) 0:00:45.099 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:35 +0000 (0:00:01.405) 0:00:46.504 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:35 +0000 (0:00:00.647) 0:00:47.152 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:35 +0000 (0:00:00.027) 0:00:47.180 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:35 +0000 (0:00:00.023) 0:00:47.203 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:35 +0000 (0:00:00.026) 0:00:47.229 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:35 +0000 (0:00:00.033) 0:00:47.263 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:35 +0000 (0:00:00.046) 0:00:47.309 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:35 +0000 (0:00:00.032) 0:00:47.342 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:35 +0000 (0:00:00.037) 0:00:47.379 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:35 +0000 (0:00:00.060) 0:00:47.439 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:36 +0000 (0:00:00.025) 0:00:47.465 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:36 +0000 (0:00:00.023) 0:00:47.488 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:36 +0000 (0:00:00.036) 0:00:47.524 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:36 +0000 (0:00:00.345) 0:00:47.870 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:36 +0000 (0:00:00.036) 0:00:47.906 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:36 +0000 (0:00:00.026) 0:00:47.933 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:36 +0000 (0:00:00.021) 0:00:47.955 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:36 +0000 (0:00:00.465) 0:00:48.420 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:36 +0000 (0:00:00.021) 0:00:48.442 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.024) 0:00:48.466 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.025) 0:00:48.491 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.024) 0:00:48.516 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.188) 0:00:48.704 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.037) 0:00:48.741 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.044) 0:00:48.786 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.041) 0:00:48.827 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.035) 0:00:48.862 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.026) 0:00:48.889 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:37 +0000 (0:00:00.023) 0:00:48.913 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:38 +0000 (0:00:01.359) 0:00:50.272 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.752) 0:00:51.025 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.025) 0:00:51.050 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.029) 0:00:51.080 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.021) 0:00:51.101 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.032) 0:00:51.134 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.039) 0:00:51.173 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.031) 0:00:51.204 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.037) 0:00:51.241 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.058) 0:00:51.300 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.021) 0:00:51.322 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.023) 0:00:51.346 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:39 +0000 (0:00:00.040) 0:00:51.386 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:40 +0000 (0:00:00.347) 0:00:51.734 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:40 +0000 (0:00:00.037) 0:00:51.771 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:40 +0000 (0:00:00.023) 0:00:51.795 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:40 +0000 (0:00:00.021) 0:00:51.816 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:40 +0000 (0:00:00.524) 0:00:52.341 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:40 +0000 (0:00:00.021) 0:00:52.363 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:40 +0000 (0:00:00.033) 0:00:52.397 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:40 +0000 (0:00:00.037) 0:00:52.434 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.040) 0:00:52.475 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.189) 0:00:52.664 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.038) 0:00:52.702 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.035) 0:00:52.738 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.022) 0:00:52.761 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.187) 0:00:52.948 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.027) 0:00:52.975 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018121", "end": "2024-07-24 22:19:41.705686", "rc": 1, "start": "2024-07-24 22:19:41.687565" } 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.201) 0:00:53.177 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.022) 0:00:53.199 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.022) 0:00:53.222 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.022) 0:00:53.245 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.025) 0:00:53.270 ******** 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-warnings7266wr68/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.076) 0:00:53.346 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.024) 0:00:53.371 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:19:41 +0000 (0:00:00.067) 0:00:53.438 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.045) 0:00:53.483 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.216) 0:00:53.700 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.027) 0:00:53.728 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.023) 0:00:53.751 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.038) 0:00:53.790 ******** 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.034439", "end": "2024-07-24 22:19:42.537417", "rc": 1, "start": "2024-07-24 22:19:42.502978" } 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-warnings7266wr68/tests/playbooks/tests_states.yml:124 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.217) 0:00:54.008 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.035) 0:00:54.043 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.024) 0:00:54.068 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.042) 0:00:54.111 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.034) 0:00:54.145 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.078) 0:00:54.223 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003108", "end": "2024-07-24 22:19:42.936238", "rc": 0, "start": "2024-07-24 22:19:42.933130" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.184) 0:00:54.408 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:19:42 +0000 (0:00:00.025) 0:00:54.434 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:19:43 +0000 (0:00:00.022) 0:00:54.457 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:19:43 +0000 (0:00:00.040) 0:00:54.497 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:43 +0000 (0:00:00.044) 0:00:54.542 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:43 +0000 (0:00:00.039) 0:00:54.581 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:43 +0000 (0:00:00.034) 0:00:54.616 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:43 +0000 (0:00:00.023) 0:00:54.639 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:43 +0000 (0:00:00.024) 0:00:54.664 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:44 +0000 (0:00:01.393) 0:00:56.057 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.696) 0:00:56.754 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.082) 0:00:56.836 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.026) 0:00:56.863 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.022) 0:00:56.886 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.030) 0:00:56.916 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.037) 0:00:56.953 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.031) 0:00:56.984 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.037) 0:00:57.022 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.058) 0:00:57.080 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.024) 0:00:57.105 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.022) 0:00:57.127 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:45 +0000 (0:00:00.039) 0:00:57.167 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.349) 0:00:57.516 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.035) 0:00:57.552 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.021) 0:00:57.574 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.019) 0:00:57.593 ******** 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, e4cfd618-380b-4f58-a6ec-142fc6aecdb8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.363) 0:00:57.957 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.021) 0:00:57.978 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4cfd618-380b-4f58-a6ec-142fc6aecdb8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.023) 0:00:58.001 ******** 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, e4cfd618-380b-4f58-a6ec-142fc6aecdb8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4cfd618-380b-4f58-a6ec-142fc6aecdb8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.065) 0:00:58.067 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.021) 0:00:58.088 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.188) 0:00:58.277 ******** 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, e4cfd618-380b-4f58-a6ec-142fc6aecdb8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e4cfd618-380b-4f58-a6ec-142fc6aecdb8" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.023) 0:00:58.301 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.043) 0:00:58.344 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.040) 0:00:58.385 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:46 +0000 (0:00:00.035) 0:00:58.420 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:47 +0000 (0:00:00.024) 0:00:58.444 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:47 +0000 (0:00:00.023) 0:00:58.468 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:48 +0000 (0:00:01.371) 0:00:59.840 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.648) 0:01:00.489 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.025) 0:01:00.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.022) 0:01:00.537 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.081) 0:01:00.619 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.034) 0:01:00.654 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.038) 0:01:00.692 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.030) 0:01:00.723 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.038) 0:01:00.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.058) 0:01:00.820 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.022) 0:01:00.843 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.021) 0:01:00.864 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.036) 0:01:00.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.353) 0:01:01.255 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.040) 0:01:01.295 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.021) 0:01:01.317 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:49 +0000 (0:00:00.020) 0:01:01.338 ******** 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, e4cfd618-380b-4f58-a6ec-142fc6aecdb8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.325) 0:01:01.663 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.020) 0:01:01.684 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e4cfd618-380b-4f58-a6ec-142fc6aecdb8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.024) 0:01:01.709 ******** 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, e4cfd618-380b-4f58-a6ec-142fc6aecdb8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e4cfd618-380b-4f58-a6ec-142fc6aecdb8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.024) 0:01:01.733 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.019) 0:01:01.753 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.243) 0:01:01.997 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.044) 0:01:02.042 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.039) 0:01:02.081 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.035) 0:01:02.116 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.023) 0:01:02.140 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:50 +0000 (0:00:00.024) 0:01:02.165 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:52 +0000 (0:00:01.365) 0:01:03.530 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:52 +0000 (0:00:00.659) 0:01:04.189 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:52 +0000 (0:00:00.023) 0:01:04.213 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:52 +0000 (0:00:00.021) 0:01:04.234 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:52 +0000 (0:00:00.020) 0:01:04.255 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:52 +0000 (0:00:00.030) 0:01:04.285 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:52 +0000 (0:00:00.038) 0:01:04.323 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.162) 0:01:04.486 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.038) 0:01:04.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.056) 0:01:04.581 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.021) 0:01:04.603 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.020) 0:01:04.623 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.038) 0:01:04.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.347) 0:01:05.009 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.036) 0:01:05.046 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.021) 0:01:05.067 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:53 +0000 (0:00:00.020) 0:01:05.087 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.395) 0:01:05.483 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.021) 0:01:05.504 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.024) 0:01:05.528 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.025) 0:01:05.553 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.020) 0:01:05.574 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.189) 0:01:05.763 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.098) 0:01:05.861 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.044) 0:01:05.905 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.041) 0:01:05.946 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.038) 0:01:05.985 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.025) 0:01:06.010 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:19:54 +0000 (0:00:00.026) 0:01:06.036 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:19:56 +0000 (0:00:01.433) 0:01:07.470 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:19:56 +0000 (0:00:00.659) 0:01:08.130 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:19:56 +0000 (0:00:00.028) 0:01:08.158 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:19:56 +0000 (0:00:00.032) 0:01:08.190 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:19:56 +0000 (0:00:00.030) 0:01:08.221 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:19:56 +0000 (0:00:00.046) 0:01:08.267 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:19:56 +0000 (0:00:00.077) 0:01:08.344 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.135) 0:01:08.480 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.038) 0:01:08.518 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.062) 0:01:08.581 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.021) 0:01:08.602 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.022) 0:01:08.625 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.036) 0:01:08.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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.353) 0:01:09.015 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.044) 0:01:09.059 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.022) 0:01:09.081 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:19:57 +0000 (0:00:00.022) 0:01:09.104 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.355) 0:01:09.460 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.021) 0:01:09.481 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.025) 0:01:09.507 ******** 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-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.025) 0:01:09.533 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.027) 0:01:09.560 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.201) 0:01:09.761 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.042) 0:01:09.803 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.102) 0:01:09.906 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.022) 0:01:09.928 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.180) 0:01:10.108 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.020) 0:01:10.129 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018591", "end": "2024-07-24 22:19:58.856536", "rc": 1, "start": "2024-07-24 22:19:58.837945" } 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.199) 0:01:10.329 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.022) 0:01:10.351 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.023) 0:01:10.375 ******** 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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.024) 0:01:10.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-warnings7266wr68/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:19:58 +0000 (0:00:00.022) 0:01:10.421 ******** 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-warnings7266wr68/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.022) 0:01:10.444 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.025) 0:01:10.470 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.297027", "end": "2024-07-24 22:19:59.483230", "rc": 0, "start": "2024-07-24 22:19:59.186203" } STDOUT: NetworkManager-1.48.2-2.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.482) 0:01:10.953 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.024) 0:01:10.978 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.023) 0:01:11.001 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.050) 0:01:11.052 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.033) 0:01:11.085 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.246) 0:01:11.332 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.025) 0:01:11.357 ******** 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-warnings7266wr68/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.023) 0:01:11.380 ******** included: /WORKDIR/git-fix-templating-warnings7266wr68/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-fix-templating-warnings7266wr68/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-warnings7266wr68/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:19:59 +0000 (0:00:00.047) 0:01:11.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.035046", "end": "2024-07-24 22:20:00.177918", "rc": 1, "start": "2024-07-24 22:20:00.142872" } 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-warnings7266wr68/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 22:20:00 +0000 (0:00:00.219) 0:01:11.648 ******** 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.008616", "end": "2024-07-24 22:20:00.365062", "rc": 0, "start": "2024-07-24 22:20:00.356446" } 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 02:9a:23:f5:f3:dd brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.44.168/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3201sec preferred_lft 3201sec inet6 fe80::9a:23ff:fef5:f3dd/64 scope link valid_lft forever preferred_lft forever 24: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 5e:52:4a:89:a0:e2 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.168 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.168 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 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-warnings7266wr68/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 22:20:00 +0000 (0:00:00.189) 0:01:11.837 ******** 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.275763", "end": "2024-07-24 22:20:00.832437", "rc": 0, "start": "2024-07-24 22:20:00.556674" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed6 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 2194 0 --:--:-- --:--:-- --:--:-- 2210 % 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 2621 0 --:--:-- --:--:-- --:--:-- 2621 PLAY RECAP ********************************************************************* sut : ok=319 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Wednesday 24 July 2024 22:20:00 +0000 (0:00:00.530) 0:01:12.368 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-fix-templating-warnings7266wr68/.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-warnings7266wr68/.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-warnings7266wr68/.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.39s /WORKDIR/git-fix-templating-warnings7266wr68/.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.38s /WORKDIR/git-fix-templating-warnings7266wr68/.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.37s /WORKDIR/git-fix-templating-warnings7266wr68/.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.37s /WORKDIR/git-fix-templating-warnings7266wr68/.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.37s /WORKDIR/git-fix-templating-warnings7266wr68/.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.37s /WORKDIR/git-fix-templating-warnings7266wr68/.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.37s /WORKDIR/git-fix-templating-warnings7266wr68/.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.37s /WORKDIR/git-fix-templating-warnings7266wr68/.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.37s /WORKDIR/git-fix-templating-warnings7266wr68/.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.36s /WORKDIR/git-fix-templating-warnings7266wr68/.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.36s /WORKDIR/git-fix-templating-warnings7266wr68/.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.36s /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-fix-templating-warnings7266wr68/tests/tests_states_nm.yml:6 ------ fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.75s /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.70s /WORKDIR/git-fix-templating-warnings7266wr68/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.66s /WORKDIR/git-fix-templating-warnings7266wr68/.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. ---^---^---^---^---^---