# 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-route_typez43aqm9a/.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-route_typez43aqm9a/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/tests_states_nm.yml:6 Monday 08 January 2024 14:07:05 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typez43aqm9a/tests/tests_states_nm.yml:9 Monday 08 January 2024 14:07:06 +0000 (0:00:00.942) 0:00:00.955 ******** included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:07:06 +0000 (0:00:00.012) 0:00:00.967 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:17 Monday 08 January 2024 14:07:07 +0000 (0:00:00.376) 0:00:01.343 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:22 Monday 08 January 2024 14:07:07 +0000 (0:00:00.287) 0:00:01.631 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:26 Monday 08 January 2024 14:07:07 +0000 (0:00:00.013) 0:00:01.645 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:51 Monday 08 January 2024 14:07:07 +0000 (0:00:00.008) 0:00:01.653 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:07:07 +0000 (0:00:00.030) 0:00:01.684 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:07:07 +0000 (0:00:00.008) 0:00:01.692 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:07:07 +0000 (0:00:00.007) 0:00:01.699 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:07:07 +0000 (0:00:00.007) 0:00:01.707 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:07:07 +0000 (0:00:00.007) 0:00:01.715 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tests_states_nm.yml:11 Monday 08 January 2024 14:07:07 +0000 (0:00:00.007) 0:00:01.722 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_states.yml:3 Monday 08 January 2024 14:07:07 +0000 (0:00:00.016) 0:00:01.739 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_states.yml:11 Monday 08 January 2024 14:07:08 +0000 (0:00:00.743) 0:00:02.483 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_states.yml:22 Monday 08 January 2024 14:07:08 +0000 (0:00:00.016) 0:00:02.499 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:07:08 +0000 (0:00:00.019) 0:00:02.519 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:07:08 +0000 (0:00:00.021) 0:00:02.541 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:07:08 +0000 (0:00:00.042) 0:00:02.583 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:07:08 +0000 (0:00:00.012) 0:00:02.596 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:07:08 +0000 (0:00:00.011) 0:00:02.607 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003888", "end": "2024-01-08 14:07:08.817275", "rc": 0, "start": "2024-01-08 14:07:08.813387" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:07:08 +0000 (0:00:00.275) 0:00:02.882 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:07:08 +0000 (0:00:00.011) 0:00:02.894 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:07:08 +0000 (0:00:00.010) 0:00:02.904 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:07:08 +0000 (0:00:00.016) 0:00:02.920 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008237", "end": "2024-01-08 14:07:09.075205", "rc": 1, "start": "2024-01-08 14:07:09.066968" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:07:09 +0000 (0:00:00.219) 0:00:03.140 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:07:09 +0000 (0:00:00.012) 0:00:03.152 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:07:09 +0000 (0:00:00.212) 0:00:03.365 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:07:09 +0000 (0:00:00.010) 0:00:03.376 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:07:09 +0000 (0:00:00.014) 0:00:03.391 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:07:09 +0000 (0:00:00.022) 0:00:03.414 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:07:09 +0000 (0:00:00.018) 0:00:03.432 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:07:09 +0000 (0:00:00.018) 0:00:03.451 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:07:09 +0000 (0:00:00.011) 0:00:03.462 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:07:09 +0000 (0:00:00.014) 0:00:03.477 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:07:11 +0000 (0:00:02.431) 0:00:05.908 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:07:12 +0000 (0:00:00.922) 0:00:06.831 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:07:12 +0000 (0:00:00.023) 0:00:06.855 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:07:12 +0000 (0:00:00.023) 0:00:06.878 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:07:12 +0000 (0:00:00.021) 0:00:06.900 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:07:12 +0000 (0:00:00.052) 0:00:06.952 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:07:12 +0000 (0:00:00.022) 0:00:06.975 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:07:12 +0000 (0:00:00.022) 0:00:06.997 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:07:13 +0000 (0:00:00.055) 0:00:07.052 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:07:13 +0000 (0:00:00.609) 0:00:07.662 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:07:13 +0000 (0:00:00.034) 0:00:07.697 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:07:13 +0000 (0:00:00.020) 0:00:07.718 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:07:13 +0000 (0:00:00.019) 0:00:07.738 ******** 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, d95ed40a-89d6-416e-b807-a141566d46fa TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:07:14 +0000 (0:00:00.574) 0:00:08.312 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:07:14 +0000 (0:00:00.024) 0:00:08.336 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d95ed40a-89d6-416e-b807-a141566d46fa" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:07:14 +0000 (0:00:00.024) 0:00:08.361 ******** 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, d95ed40a-89d6-416e-b807-a141566d46fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d95ed40a-89d6-416e-b807-a141566d46fa" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:07:14 +0000 (0:00:00.022) 0:00:08.383 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:07:14 +0000 (0:00:00.021) 0:00:08.405 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:07:14 +0000 (0:00:00.331) 0:00:08.737 ******** 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, d95ed40a-89d6-416e-b807-a141566d46fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d95ed40a-89d6-416e-b807-a141566d46fa" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:07:14 +0000 (0:00:00.022) 0:00:08.760 ******** included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:07:14 +0000 (0:00:00.035) 0:00:08.795 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:07:14 +0000 (0:00:00.071) 0:00:08.867 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:07:14 +0000 (0:00:00.022) 0:00:08.890 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:07:15 +0000 (0:00:00.227) 0:00:09.118 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:07:15 +0000 (0:00:00.019) 0:00:09.137 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023228", "end": "2024-01-08 14:07:15.305198", "rc": 0, "start": "2024-01-08 14:07:15.281970" } 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:07:15 +0000 (0:00:00.247) 0:00:09.384 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:07:15 +0000 (0:00:00.023) 0:00:09.408 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:07:15 +0000 (0:00:00.024) 0:00:09.433 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:07:15 +0000 (0:00:00.021) 0:00:09.455 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:07:15 +0000 (0:00:00.035) 0:00:09.490 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:07:15 +0000 (0:00:00.047) 0:00:09.537 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:07:15 +0000 (0:00:00.024) 0:00:09.562 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:07:15 +0000 (0:00:00.024) 0:00:09.586 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:07:15 +0000 (0:00:00.022) 0:00:09.609 ******** included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:07:15 +0000 (0:00:00.061) 0:00:09.671 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:07:15 +0000 (0:00:00.030) 0:00:09.702 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704722834.1694412, "block_size": 4096, "blocks": 0, "ctime": 1704722834.1694412, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36141, "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": 1704722834.1694412, "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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:07:15 +0000 (0:00:00.248) 0:00:09.950 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:07:15 +0000 (0:00:00.023) 0:00:09.974 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:07:15 +0000 (0:00:00.043) 0:00:10.017 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:07:16 +0000 (0:00:00.039) 0:00:10.057 ******** 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.061612", "end": "2024-01-08 14:07:16.272924", "rc": 1, "start": "2024-01-08 14:07:16.211312" } STDOUT: Connection 'statebr' (d95ed40a-89d6-416e-b807-a141566d46fa) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_states.yml:45 Monday 08 January 2024 14:07:16 +0000 (0:00:00.291) 0:00:10.348 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:07:16 +0000 (0:00:00.033) 0:00:10.382 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:07:16 +0000 (0:00:00.021) 0:00:10.404 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:07:16 +0000 (0:00:00.039) 0:00:10.443 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:07:16 +0000 (0:00:00.032) 0:00:10.475 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:07:16 +0000 (0:00:00.029) 0:00:10.505 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003881", "end": "2024-01-08 14:07:16.654232", "rc": 0, "start": "2024-01-08 14:07:16.650351" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:07:16 +0000 (0:00:00.228) 0:00:10.734 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:07:16 +0000 (0:00:00.021) 0:00:10.756 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:07:16 +0000 (0:00:00.043) 0:00:10.800 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:07:16 +0000 (0:00:00.035) 0:00:10.835 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006827", "end": "2024-01-08 14:07:16.987559", "rc": 1, "start": "2024-01-08 14:07:16.980732" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:07:17 +0000 (0:00:00.226) 0:00:11.062 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:07:17 +0000 (0:00:00.031) 0:00:11.093 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:07:17 +0000 (0:00:00.222) 0:00:11.315 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:07:17 +0000 (0:00:00.022) 0:00:11.338 ******** included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 08 January 2024 14:07:17 +0000 (0:00:00.035) 0:00:11.374 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:07:17 +0000 (0:00:00.042) 0:00:11.416 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:07:17 +0000 (0:00:00.038) 0:00:11.454 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:07:17 +0000 (0:00:00.033) 0:00:11.488 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:07:17 +0000 (0:00:00.021) 0:00:11.509 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:07:17 +0000 (0:00:00.046) 0:00:11.556 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:07:19 +0000 (0:00:02.327) 0:00:13.883 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:07:20 +0000 (0:00:00.794) 0:00:14.678 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:07:20 +0000 (0:00:00.027) 0:00:14.705 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:07:20 +0000 (0:00:00.027) 0:00:14.733 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:07:20 +0000 (0:00:00.026) 0:00:14.759 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:07:20 +0000 (0:00:00.068) 0:00:14.827 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:07:20 +0000 (0:00:00.027) 0:00:14.854 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:07:20 +0000 (0:00:00.041) 0:00:14.896 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:07:20 +0000 (0:00:00.066) 0:00:14.963 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:07:21 +0000 (0:00:00.438) 0:00:15.401 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:07:21 +0000 (0:00:00.036) 0:00:15.437 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:07:21 +0000 (0:00:00.020) 0:00:15.458 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:07:21 +0000 (0:00:00.054) 0:00:15.513 ******** 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, 07d6f488-d921-4cce-b4fd-6817cc3596bf TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:07:21 +0000 (0:00:00.400) 0:00:15.913 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:07:21 +0000 (0:00:00.026) 0:00:15.939 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 07d6f488-d921-4cce-b4fd-6817cc3596bf" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:07:21 +0000 (0:00:00.030) 0:00:15.970 ******** 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, 07d6f488-d921-4cce-b4fd-6817cc3596bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 07d6f488-d921-4cce-b4fd-6817cc3596bf" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:07:21 +0000 (0:00:00.024) 0:00:15.995 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:07:21 +0000 (0:00:00.023) 0:00:16.018 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 08 January 2024 14:07:22 +0000 (0:00:00.234) 0:00:16.253 ******** 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, 07d6f488-d921-4cce-b4fd-6817cc3596bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 07d6f488-d921-4cce-b4fd-6817cc3596bf" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:07:22 +0000 (0:00:00.030) 0:00:16.283 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:07:22 +0000 (0:00:00.039) 0:00:16.323 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:07:22 +0000 (0:00:00.034) 0:00:16.357 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:07:22 +0000 (0:00:00.226) 0:00:16.583 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:07:22 +0000 (0:00:00.025) 0:00:16.609 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:07:22 +0000 (0:00:00.037) 0:00:16.646 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:07:22 +0000 (0:00:00.071) 0:00:16.718 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:07:22 +0000 (0:00:00.227) 0:00:16.946 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:07:22 +0000 (0:00:00.034) 0:00:16.981 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022822", "end": "2024-01-08 14:07:23.170961", "rc": 0, "start": "2024-01-08 14:07:23.148139" } 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:07:23 +0000 (0:00:00.265) 0:00:17.247 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:07:23 +0000 (0:00:00.023) 0:00:17.270 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:07:23 +0000 (0:00:00.022) 0:00:17.293 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:07:23 +0000 (0:00:00.023) 0:00:17.317 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:07:23 +0000 (0:00:00.022) 0:00:17.339 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:07:23 +0000 (0:00:00.036) 0:00:17.376 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:07:23 +0000 (0:00:00.027) 0:00:17.403 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:07:23 +0000 (0:00:00.034) 0:00:17.437 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:07:23 +0000 (0:00:00.031) 0:00:17.469 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:07:23 +0000 (0:00:00.031) 0:00:17.501 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:07:23 +0000 (0:00:00.023) 0:00:17.524 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:07:23 +0000 (0:00:00.040) 0:00:17.565 ******** 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.044144", "end": "2024-01-08 14:07:23.752530", "rc": 1, "start": "2024-01-08 14:07:23.708386" } STDOUT: Connection 'statebr' (07d6f488-d921-4cce-b4fd-6817cc3596bf) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_states.yml:65 Monday 08 January 2024 14:07:23 +0000 (0:00:00.292) 0:00:17.857 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:07:23 +0000 (0:00:00.034) 0:00:17.891 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:07:23 +0000 (0:00:00.021) 0:00:17.913 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:07:23 +0000 (0:00:00.041) 0:00:17.955 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:07:23 +0000 (0:00:00.034) 0:00:17.989 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:07:23 +0000 (0:00:00.031) 0:00:18.021 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003736", "end": "2024-01-08 14:07:24.171057", "rc": 0, "start": "2024-01-08 14:07:24.167321" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:07:24 +0000 (0:00:00.226) 0:00:18.247 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:07:24 +0000 (0:00:00.022) 0:00:18.269 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:07:24 +0000 (0:00:00.023) 0:00:18.293 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:07:24 +0000 (0:00:00.049) 0:00:18.343 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:07:24 +0000 (0:00:00.041) 0:00:18.384 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:07:24 +0000 (0:00:00.069) 0:00:18.454 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:07:24 +0000 (0:00:00.035) 0:00:18.489 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:07:24 +0000 (0:00:00.024) 0:00:18.513 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:07:24 +0000 (0:00:00.023) 0:00:18.537 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:07:26 +0000 (0:00:02.379) 0:00:20.917 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:07:27 +0000 (0:00:00.777) 0:00:21.695 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:07:27 +0000 (0:00:00.022) 0:00:21.718 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:07:27 +0000 (0:00:00.023) 0:00:21.741 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:07:27 +0000 (0:00:00.023) 0:00:21.764 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:07:27 +0000 (0:00:00.053) 0:00:21.817 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:07:27 +0000 (0:00:00.023) 0:00:21.841 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:07:27 +0000 (0:00:00.023) 0:00:21.865 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:07:27 +0000 (0:00:00.037) 0:00:21.902 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:07:28 +0000 (0:00:00.500) 0:00:22.403 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:07:28 +0000 (0:00:00.039) 0:00:22.443 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:07:28 +0000 (0:00:00.019) 0:00:22.462 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:07:28 +0000 (0:00:00.020) 0:00:22.483 ******** 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, 0a0bf352-1c3f-4b35-8329-aa332d3527c4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:07:28 +0000 (0:00:00.446) 0:00:22.930 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:07:28 +0000 (0:00:00.032) 0:00:22.962 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a0bf352-1c3f-4b35-8329-aa332d3527c4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:07:28 +0000 (0:00:00.028) 0:00:22.991 ******** 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, 0a0bf352-1c3f-4b35-8329-aa332d3527c4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a0bf352-1c3f-4b35-8329-aa332d3527c4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:07:28 +0000 (0:00:00.029) 0:00:23.020 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:07:29 +0000 (0:00:00.027) 0:00:23.047 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:07:29 +0000 (0:00:00.233) 0:00:23.281 ******** 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, 0a0bf352-1c3f-4b35-8329-aa332d3527c4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a0bf352-1c3f-4b35-8329-aa332d3527c4" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:07:29 +0000 (0:00:00.021) 0:00:23.302 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:07:29 +0000 (0:00:00.035) 0:00:23.337 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:07:29 +0000 (0:00:00.039) 0:00:23.377 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:07:29 +0000 (0:00:00.068) 0:00:23.446 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:07:29 +0000 (0:00:00.035) 0:00:23.482 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:07:29 +0000 (0:00:00.023) 0:00:23.505 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:07:29 +0000 (0:00:00.023) 0:00:23.528 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:07:31 +0000 (0:00:02.344) 0:00:25.872 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:07:32 +0000 (0:00:00.772) 0:00:26.645 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:07:32 +0000 (0:00:00.022) 0:00:26.668 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:07:32 +0000 (0:00:00.021) 0:00:26.690 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:07:32 +0000 (0:00:00.022) 0:00:26.712 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:07:32 +0000 (0:00:00.056) 0:00:26.768 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:07:32 +0000 (0:00:00.022) 0:00:26.791 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:07:32 +0000 (0:00:00.023) 0:00:26.814 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:07:32 +0000 (0:00:00.034) 0:00:26.848 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:07:33 +0000 (0:00:00.482) 0:00:27.331 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:07:33 +0000 (0:00:00.036) 0:00:27.368 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:07:33 +0000 (0:00:00.019) 0:00:27.387 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:07:33 +0000 (0:00:00.018) 0:00:27.406 ******** 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, 0a0bf352-1c3f-4b35-8329-aa332d3527c4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:07:33 +0000 (0:00:00.386) 0:00:27.792 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:07:33 +0000 (0:00:00.023) 0:00:27.815 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0a0bf352-1c3f-4b35-8329-aa332d3527c4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:07:33 +0000 (0:00:00.022) 0:00:27.838 ******** 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, 0a0bf352-1c3f-4b35-8329-aa332d3527c4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0a0bf352-1c3f-4b35-8329-aa332d3527c4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:07:33 +0000 (0:00:00.023) 0:00:27.862 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:07:33 +0000 (0:00:00.022) 0:00:27.885 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:07:34 +0000 (0:00:00.228) 0:00:28.113 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:07:34 +0000 (0:00:00.038) 0:00:28.151 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:07:34 +0000 (0:00:00.032) 0:00:28.184 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704722848.7960067, "block_size": 4096, "blocks": 0, "ctime": 1704722848.7960067, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36272, "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": 1704722848.7960067, "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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:07:34 +0000 (0:00:00.222) 0:00:28.406 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:07:34 +0000 (0:00:00.053) 0:00:28.459 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:07:34 +0000 (0:00:00.035) 0:00:28.494 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:07:34 +0000 (0:00:00.025) 0:00:28.520 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:07:34 +0000 (0:00:00.244) 0:00:28.764 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:07:34 +0000 (0:00:00.047) 0:00:28.812 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022909", "end": "2024-01-08 14:07:34.983079", "rc": 0, "start": "2024-01-08 14:07:34.960170" } 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:07:35 +0000 (0:00:00.253) 0:00:29.065 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:07:35 +0000 (0:00:00.027) 0:00:29.093 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:07:35 +0000 (0:00:00.021) 0:00:29.115 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:07:35 +0000 (0:00:00.022) 0:00:29.137 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:07:35 +0000 (0:00:00.023) 0:00:29.161 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:07:35 +0000 (0:00:00.022) 0:00:29.184 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:07:35 +0000 (0:00:00.028) 0:00:29.212 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:07:35 +0000 (0:00:00.025) 0:00:29.238 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:07:35 +0000 (0:00:00.022) 0:00:29.261 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:07:35 +0000 (0:00:00.031) 0:00:29.293 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:07:35 +0000 (0:00:00.054) 0:00:29.347 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:07:35 +0000 (0:00:00.040) 0:00:29.387 ******** 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.074571", "end": "2024-01-08 14:07:35.611685", "rc": 1, "start": "2024-01-08 14:07:35.537114" } STDOUT: Connection 'statebr' (0a0bf352-1c3f-4b35-8329-aa332d3527c4) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_states.yml:83 Monday 08 January 2024 14:07:35 +0000 (0:00:00.299) 0:00:29.687 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:07:35 +0000 (0:00:00.033) 0:00:29.721 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:07:35 +0000 (0:00:00.021) 0:00:29.743 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:07:35 +0000 (0:00:00.038) 0:00:29.781 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:07:35 +0000 (0:00:00.031) 0:00:29.812 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:07:35 +0000 (0:00:00.032) 0:00:29.845 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003852", "end": "2024-01-08 14:07:35.996160", "rc": 0, "start": "2024-01-08 14:07:35.992308" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:07:36 +0000 (0:00:00.228) 0:00:30.073 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:07:36 +0000 (0:00:00.023) 0:00:30.097 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:07:36 +0000 (0:00:00.021) 0:00:30.118 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:07:36 +0000 (0:00:00.036) 0:00:30.155 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:07:36 +0000 (0:00:00.070) 0:00:30.225 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:07:36 +0000 (0:00:00.043) 0:00:30.269 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:07:36 +0000 (0:00:00.035) 0:00:30.304 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:07:36 +0000 (0:00:00.023) 0:00:30.327 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:07:36 +0000 (0:00:00.023) 0:00:30.351 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:07:38 +0000 (0:00:02.332) 0:00:32.683 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:07:39 +0000 (0:00:00.777) 0:00:33.461 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:07:39 +0000 (0:00:00.029) 0:00:33.490 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:07:39 +0000 (0:00:00.033) 0:00:33.523 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:07:39 +0000 (0:00:00.027) 0:00:33.551 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:07:39 +0000 (0:00:00.059) 0:00:33.610 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:07:39 +0000 (0:00:00.062) 0:00:33.672 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:07:39 +0000 (0:00:00.024) 0:00:33.697 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:07:39 +0000 (0:00:00.034) 0:00:33.732 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:07:40 +0000 (0:00:00.439) 0:00:34.171 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:07:40 +0000 (0:00:00.047) 0:00:34.218 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:07:40 +0000 (0:00:00.024) 0:00:34.243 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:07:40 +0000 (0:00:00.023) 0:00:34.266 ******** 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, ac385a11-d8ac-457a-98e1-35afbce75113 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:07:40 +0000 (0:00:00.443) 0:00:34.710 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:07:40 +0000 (0:00:00.025) 0:00:34.735 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac385a11-d8ac-457a-98e1-35afbce75113" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:07:40 +0000 (0:00:00.025) 0:00:34.761 ******** 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, ac385a11-d8ac-457a-98e1-35afbce75113\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac385a11-d8ac-457a-98e1-35afbce75113" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:07:40 +0000 (0:00:00.025) 0:00:34.787 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:07:40 +0000 (0:00:00.027) 0:00:34.814 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:07:41 +0000 (0:00:00.265) 0:00:35.079 ******** 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, ac385a11-d8ac-457a-98e1-35afbce75113\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac385a11-d8ac-457a-98e1-35afbce75113" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:07:41 +0000 (0:00:00.025) 0:00:35.105 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:07:41 +0000 (0:00:00.075) 0:00:35.180 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:07:41 +0000 (0:00:00.040) 0:00:35.221 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:07:41 +0000 (0:00:00.055) 0:00:35.277 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:07:41 +0000 (0:00:00.032) 0:00:35.310 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:07:41 +0000 (0:00:00.024) 0:00:35.334 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:07:43 +0000 (0:00:02.378) 0:00:37.713 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:07:44 +0000 (0:00:00.775) 0:00:38.488 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:07:44 +0000 (0:00:00.022) 0:00:38.511 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:07:44 +0000 (0:00:00.023) 0:00:38.534 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:07:44 +0000 (0:00:00.023) 0:00:38.558 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:07:44 +0000 (0:00:00.053) 0:00:38.611 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:07:44 +0000 (0:00:00.024) 0:00:38.635 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:07:44 +0000 (0:00:00.059) 0:00:38.694 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:07:44 +0000 (0:00:00.035) 0:00:38.730 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:07:45 +0000 (0:00:00.432) 0:00:39.162 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:07:45 +0000 (0:00:00.036) 0:00:39.198 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:07:45 +0000 (0:00:00.019) 0:00:39.218 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:07:45 +0000 (0:00:00.028) 0:00:39.247 ******** 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, ac385a11-d8ac-457a-98e1-35afbce75113 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:07:45 +0000 (0:00:00.399) 0:00:39.646 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:07:45 +0000 (0:00:00.026) 0:00:39.672 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac385a11-d8ac-457a-98e1-35afbce75113 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:07:45 +0000 (0:00:00.026) 0:00:39.698 ******** 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, ac385a11-d8ac-457a-98e1-35afbce75113 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac385a11-d8ac-457a-98e1-35afbce75113 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:07:45 +0000 (0:00:00.035) 0:00:39.733 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:07:45 +0000 (0:00:00.025) 0:00:39.759 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:07:45 +0000 (0:00:00.241) 0:00:40.000 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove_profile.yml:3 Monday 08 January 2024 14:07:45 +0000 (0:00:00.041) 0:00:40.042 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:07:46 +0000 (0:00:00.106) 0:00:40.148 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:07:46 +0000 (0:00:00.058) 0:00:40.206 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:07:46 +0000 (0:00:00.041) 0:00:40.248 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:07:46 +0000 (0:00:00.030) 0:00:40.278 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:07:46 +0000 (0:00:00.026) 0:00:40.304 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:07:48 +0000 (0:00:02.414) 0:00:42.719 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:07:49 +0000 (0:00:00.847) 0:00:43.566 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:07:49 +0000 (0:00:00.032) 0:00:43.598 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:07:49 +0000 (0:00:00.041) 0:00:43.640 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:07:49 +0000 (0:00:00.029) 0:00:43.669 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:07:49 +0000 (0:00:00.072) 0:00:43.742 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:07:49 +0000 (0:00:00.025) 0:00:43.767 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:07:49 +0000 (0:00:00.023) 0:00:43.791 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:07:49 +0000 (0:00:00.130) 0:00:43.922 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:07:50 +0000 (0:00:00.431) 0:00:44.353 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:07:50 +0000 (0:00:00.035) 0:00:44.389 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:07:50 +0000 (0:00:00.019) 0:00:44.408 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:07:50 +0000 (0:00:00.019) 0:00:44.427 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:07:50 +0000 (0:00:00.425) 0:00:44.853 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:07:50 +0000 (0:00:00.024) 0:00:44.877 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:07:50 +0000 (0:00:00.025) 0:00:44.902 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:07:50 +0000 (0:00:00.024) 0:00:44.927 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:07:50 +0000 (0:00:00.022) 0:00:44.950 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:07:51 +0000 (0:00:00.234) 0:00:45.184 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:07:51 +0000 (0:00:00.041) 0:00:45.226 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:07:51 +0000 (0:00:00.033) 0:00:45.259 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704722860.581823, "block_size": 4096, "blocks": 0, "ctime": 1704722860.581823, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36403, "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": 1704722860.581823, "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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:07:51 +0000 (0:00:00.260) 0:00:45.519 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:07:51 +0000 (0:00:00.023) 0:00:45.542 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:07:51 +0000 (0:00:00.033) 0:00:45.575 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:07:51 +0000 (0:00:00.020) 0:00:45.596 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:07:51 +0000 (0:00:00.221) 0:00:45.818 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:07:51 +0000 (0:00:00.019) 0:00:45.838 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022605", "end": "2024-01-08 14:07:52.008819", "rc": 1, "start": "2024-01-08 14:07:51.986214" } 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:07:52 +0000 (0:00:00.247) 0:00:46.085 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:07:52 +0000 (0:00:00.019) 0:00:46.105 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:07:52 +0000 (0:00:00.020) 0:00:46.125 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:07:52 +0000 (0:00:00.020) 0:00:46.145 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:07:52 +0000 (0:00:00.019) 0:00:46.165 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:07:52 +0000 (0:00:00.020) 0:00:46.185 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:07:52 +0000 (0:00:00.023) 0:00:46.208 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:07:52 +0000 (0:00:00.028) 0:00:46.236 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:07:52 +0000 (0:00:00.028) 0:00:46.264 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:07:52 +0000 (0:00:00.072) 0:00:46.337 ******** 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.071332", "end": "2024-01-08 14:07:52.570713", "rc": 1, "start": "2024-01-08 14:07:52.499381" } STDOUT: Connection 'statebr' (ac385a11-d8ac-457a-98e1-35afbce75113) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_states.yml:102 Monday 08 January 2024 14:07:52 +0000 (0:00:00.316) 0:00:46.653 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:07:52 +0000 (0:00:00.034) 0:00:46.688 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:07:52 +0000 (0:00:00.029) 0:00:46.718 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:07:52 +0000 (0:00:00.040) 0:00:46.758 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:07:52 +0000 (0:00:00.035) 0:00:46.794 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:07:52 +0000 (0:00:00.031) 0:00:46.825 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003807", "end": "2024-01-08 14:07:52.975471", "rc": 0, "start": "2024-01-08 14:07:52.971664" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:07:53 +0000 (0:00:00.227) 0:00:47.052 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:07:53 +0000 (0:00:00.023) 0:00:47.075 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:07:53 +0000 (0:00:00.026) 0:00:47.102 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:07:53 +0000 (0:00:00.042) 0:00:47.145 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:07:53 +0000 (0:00:00.163) 0:00:47.309 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:07:53 +0000 (0:00:00.068) 0:00:47.378 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:07:53 +0000 (0:00:00.039) 0:00:47.417 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:07:53 +0000 (0:00:00.027) 0:00:47.445 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:07:53 +0000 (0:00:00.047) 0:00:47.493 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:07:55 +0000 (0:00:02.339) 0:00:49.832 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:07:56 +0000 (0:00:00.794) 0:00:50.626 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:07:56 +0000 (0:00:00.044) 0:00:50.670 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:07:56 +0000 (0:00:00.031) 0:00:50.701 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:07:56 +0000 (0:00:00.029) 0:00:50.730 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:07:56 +0000 (0:00:00.058) 0:00:50.789 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:07:56 +0000 (0:00:00.063) 0:00:50.853 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:07:56 +0000 (0:00:00.097) 0:00:50.950 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:07:56 +0000 (0:00:00.065) 0:00:51.016 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:07:57 +0000 (0:00:00.445) 0:00:51.461 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:07:57 +0000 (0:00:00.041) 0:00:51.502 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:07:57 +0000 (0:00:00.024) 0:00:51.527 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:07:57 +0000 (0:00:00.021) 0:00:51.548 ******** 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, 9ac0da96-33d0-4085-8068-720334b02bd5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:07:57 +0000 (0:00:00.444) 0:00:51.993 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:07:57 +0000 (0:00:00.036) 0:00:52.029 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ac0da96-33d0-4085-8068-720334b02bd5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:07:58 +0000 (0:00:00.025) 0:00:52.054 ******** 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, 9ac0da96-33d0-4085-8068-720334b02bd5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ac0da96-33d0-4085-8068-720334b02bd5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:07:58 +0000 (0:00:00.025) 0:00:52.079 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:07:58 +0000 (0:00:00.026) 0:00:52.105 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:07:58 +0000 (0:00:00.233) 0:00:52.339 ******** 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, 9ac0da96-33d0-4085-8068-720334b02bd5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ac0da96-33d0-4085-8068-720334b02bd5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:07:58 +0000 (0:00:00.025) 0:00:52.364 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:07:58 +0000 (0:00:00.044) 0:00:52.409 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:07:58 +0000 (0:00:00.080) 0:00:52.489 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:07:58 +0000 (0:00:00.033) 0:00:52.523 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:07:58 +0000 (0:00:00.024) 0:00:52.548 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:07:58 +0000 (0:00:00.024) 0:00:52.572 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:08:00 +0000 (0:00:02.385) 0:00:54.957 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:08:01 +0000 (0:00:00.812) 0:00:55.770 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:08:01 +0000 (0:00:00.026) 0:00:55.797 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:08:01 +0000 (0:00:00.031) 0:00:55.828 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:08:01 +0000 (0:00:00.026) 0:00:55.855 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:08:01 +0000 (0:00:00.053) 0:00:55.908 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:08:01 +0000 (0:00:00.022) 0:00:55.930 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:08:01 +0000 (0:00:00.023) 0:00:55.953 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:08:01 +0000 (0:00:00.078) 0:00:56.032 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:08:02 +0000 (0:00:00.505) 0:00:56.538 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:08:02 +0000 (0:00:00.042) 0:00:56.580 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:08:02 +0000 (0:00:00.023) 0:00:56.604 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:08:02 +0000 (0:00:00.022) 0:00:56.626 ******** 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, 9ac0da96-33d0-4085-8068-720334b02bd5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:08:02 +0000 (0:00:00.389) 0:00:57.016 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:08:02 +0000 (0:00:00.024) 0:00:57.041 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ac0da96-33d0-4085-8068-720334b02bd5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:08:03 +0000 (0:00:00.023) 0:00:57.065 ******** 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, 9ac0da96-33d0-4085-8068-720334b02bd5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ac0da96-33d0-4085-8068-720334b02bd5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:08:03 +0000 (0:00:00.024) 0:00:57.089 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:08:03 +0000 (0:00:00.024) 0:00:57.113 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove_profile.yml:3 Monday 08 January 2024 14:08:03 +0000 (0:00:00.244) 0:00:57.358 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:08:03 +0000 (0:00:00.053) 0:00:57.411 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:08:03 +0000 (0:00:00.044) 0:00:57.456 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:08:03 +0000 (0:00:00.069) 0:00:57.526 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:08:03 +0000 (0:00:00.025) 0:00:57.552 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:08:03 +0000 (0:00:00.025) 0:00:57.577 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:08:05 +0000 (0:00:02.358) 0:00:59.935 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:08:06 +0000 (0:00:00.782) 0:01:00.718 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:08:06 +0000 (0:00:00.026) 0:01:00.745 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:08:06 +0000 (0:00:00.032) 0:01:00.777 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:08:06 +0000 (0:00:00.026) 0:01:00.803 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:08:06 +0000 (0:00:00.063) 0:01:00.866 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:08:06 +0000 (0:00:00.025) 0:01:00.892 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:08:06 +0000 (0:00:00.024) 0:01:00.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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:08:06 +0000 (0:00:00.047) 0:01:00.964 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:08:07 +0000 (0:00:00.432) 0:01:01.397 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:08:07 +0000 (0:00:00.039) 0:01:01.437 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:08:07 +0000 (0:00:00.077) 0:01:01.515 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:08:07 +0000 (0:00:00.028) 0:01:01.544 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:08:07 +0000 (0:00:00.494) 0:01:02.038 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:08:08 +0000 (0:00:00.026) 0:01:02.065 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:08:08 +0000 (0:00:00.025) 0:01:02.090 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:08:08 +0000 (0:00:00.026) 0:01:02.117 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:08:08 +0000 (0:00:00.025) 0:01:02.143 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:08:08 +0000 (0:00:00.278) 0:01:02.422 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:08:08 +0000 (0:00:00.037) 0:01:02.459 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:08:08 +0000 (0:00:00.041) 0:01:02.501 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:08:08 +0000 (0:00:00.040) 0:01:02.542 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:08:08 +0000 (0:00:00.034) 0:01:02.576 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:08:08 +0000 (0:00:00.060) 0:01:02.636 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:08:08 +0000 (0:00:00.025) 0:01:02.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 : Check which packages are installed] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:08:10 +0000 (0:00:02.348) 0:01:05.010 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:08:11 +0000 (0:00:00.791) 0:01:05.801 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:08:11 +0000 (0:00:00.027) 0:01:05.829 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:08:11 +0000 (0:00:00.027) 0:01:05.856 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:08:11 +0000 (0:00:00.025) 0:01:05.881 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:08:11 +0000 (0:00:00.056) 0:01:05.937 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:08:11 +0000 (0:00:00.025) 0:01:05.962 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:08:11 +0000 (0:00:00.029) 0:01:05.992 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:08:11 +0000 (0:00:00.038) 0:01:06.031 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:08:12 +0000 (0:00:00.430) 0:01:06.461 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:08:12 +0000 (0:00:00.038) 0:01:06.500 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:08:12 +0000 (0:00:00.056) 0:01:06.556 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:08:12 +0000 (0:00:00.019) 0:01:06.576 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:08:13 +0000 (0:00:00.481) 0:01:07.058 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:08:13 +0000 (0:00:00.024) 0:01:07.082 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:08:13 +0000 (0:00:00.023) 0:01:07.106 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:08:13 +0000 (0:00:00.024) 0:01:07.130 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:08:13 +0000 (0:00:00.027) 0:01:07.158 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:08:13 +0000 (0:00:00.236) 0:01:07.394 ******** included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:08:13 +0000 (0:00:00.037) 0:01:07.432 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:08:13 +0000 (0:00:00.045) 0:01:07.478 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:08:13 +0000 (0:00:00.031) 0:01:07.509 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:08:13 +0000 (0:00:00.231) 0:01:07.741 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:08:13 +0000 (0:00:00.019) 0:01:07.761 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022230", "end": "2024-01-08 14:08:13.930214", "rc": 1, "start": "2024-01-08 14:08:13.907984" } 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:08:13 +0000 (0:00:00.262) 0:01:08.024 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:08:14 +0000 (0:00:00.074) 0:01:08.098 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:08:14 +0000 (0:00:00.023) 0:01:08.122 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:08:14 +0000 (0:00:00.021) 0:01:08.143 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:08:14 +0000 (0:00:00.026) 0:01:08.169 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:08:14 +0000 (0:00:00.020) 0:01:08.190 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:08:14 +0000 (0:00:00.022) 0:01:08.213 ******** included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:08:14 +0000 (0:00:00.049) 0:01:08.263 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:08:14 +0000 (0:00:00.033) 0:01:08.296 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:08:14 +0000 (0:00:00.230) 0:01:08.527 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:08:14 +0000 (0:00:00.023) 0:01:08.550 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:08:14 +0000 (0:00:00.020) 0:01:08.571 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:08:14 +0000 (0:00:00.036) 0:01:08.608 ******** 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.043940", "end": "2024-01-08 14:08:14.800800", "rc": 1, "start": "2024-01-08 14:08:14.756860" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_states.yml:124 Monday 08 January 2024 14:08:14 +0000 (0:00:00.271) 0:01:08.879 ******** included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:5 Monday 08 January 2024 14:08:14 +0000 (0:00:00.078) 0:01:08.958 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:9 Monday 08 January 2024 14:08:14 +0000 (0:00:00.023) 0:01:08.982 ******** 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" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:21 Monday 08 January 2024 14:08:15 +0000 (0:00:00.060) 0:01:09.043 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:08:15 +0000 (0:00:00.035) 0:01:09.079 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:08:15 +0000 (0:00:00.044) 0:01:09.123 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003816", "end": "2024-01-08 14:08:15.273252", "rc": 0, "start": "2024-01-08 14:08:15.269436" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:08:15 +0000 (0:00:00.237) 0:01:09.360 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:08:15 +0000 (0:00:00.033) 0:01:09.394 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:24 Monday 08 January 2024 14:08:15 +0000 (0:00:00.026) 0:01:09.420 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 08 January 2024 14:08:15 +0000 (0:00:00.055) 0:01:09.476 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:08:15 +0000 (0:00:00.045) 0:01:09.521 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:08:15 +0000 (0:00:00.085) 0:01:09.607 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:08:15 +0000 (0:00:00.053) 0:01:09.661 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:08:15 +0000 (0:00:00.030) 0:01:09.691 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:08:15 +0000 (0:00:00.035) 0:01:09.726 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:08:18 +0000 (0:00:02.392) 0:01:12.119 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:08:18 +0000 (0:00:00.791) 0:01:12.910 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:08:18 +0000 (0:00:00.029) 0:01:12.939 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:08:18 +0000 (0:00:00.037) 0:01:12.977 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:08:18 +0000 (0:00:00.033) 0:01:13.010 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:08:19 +0000 (0:00:00.062) 0:01:13.073 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:08:19 +0000 (0:00:00.033) 0:01:13.106 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:08:19 +0000 (0:00:00.038) 0:01:13.144 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:08:19 +0000 (0:00:00.054) 0:01:13.199 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:08:19 +0000 (0:00:00.501) 0:01:13.700 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:08:19 +0000 (0:00:00.051) 0:01:13.751 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:08:19 +0000 (0:00:00.033) 0:01:13.785 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:08:19 +0000 (0:00:00.029) 0:01:13.815 ******** 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, 0fef53ae-a41a-4ca6-9987-cf247621f396 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:08:20 +0000 (0:00:00.502) 0:01:14.317 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:08:20 +0000 (0:00:00.039) 0:01:14.357 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0fef53ae-a41a-4ca6-9987-cf247621f396" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:08:20 +0000 (0:00:00.040) 0:01:14.398 ******** 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, 0fef53ae-a41a-4ca6-9987-cf247621f396\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0fef53ae-a41a-4ca6-9987-cf247621f396" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:08:20 +0000 (0:00:00.034) 0:01:14.432 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:08:20 +0000 (0:00:00.042) 0:01:14.475 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 08 January 2024 14:08:20 +0000 (0:00:00.296) 0:01:14.772 ******** 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, 0fef53ae-a41a-4ca6-9987-cf247621f396\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0fef53ae-a41a-4ca6-9987-cf247621f396" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/activate_profile.yml:3 Monday 08 January 2024 14:08:20 +0000 (0:00:00.030) 0:01:14.802 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:08:20 +0000 (0:00:00.048) 0:01:14.851 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:08:20 +0000 (0:00:00.043) 0:01:14.894 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:08:20 +0000 (0:00:00.113) 0:01:15.008 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:08:21 +0000 (0:00:00.047) 0:01:15.056 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:08:21 +0000 (0:00:00.036) 0:01:15.092 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:08:23 +0000 (0:00:02.493) 0:01:17.585 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:08:24 +0000 (0:00:00.809) 0:01:18.395 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:08:24 +0000 (0:00:00.027) 0:01:18.423 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:08:24 +0000 (0:00:00.042) 0:01:18.466 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:08:24 +0000 (0:00:00.038) 0:01:18.505 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:08:24 +0000 (0:00:00.073) 0:01:18.579 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:08:24 +0000 (0:00:00.033) 0:01:18.613 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:08:24 +0000 (0:00:00.031) 0:01:18.644 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:08:24 +0000 (0:00:00.056) 0:01:18.701 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:08:25 +0000 (0:00:00.427) 0:01:19.129 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:08:25 +0000 (0:00:00.036) 0:01:19.165 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:08:25 +0000 (0:00:00.068) 0:01:19.234 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:08:25 +0000 (0:00:00.022) 0:01:19.257 ******** 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, 0fef53ae-a41a-4ca6-9987-cf247621f396 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:08:25 +0000 (0:00:00.401) 0:01:19.658 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:08:25 +0000 (0:00:00.025) 0:01:19.683 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0fef53ae-a41a-4ca6-9987-cf247621f396 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:08:25 +0000 (0:00:00.024) 0:01:19.708 ******** 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, 0fef53ae-a41a-4ca6-9987-cf247621f396 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0fef53ae-a41a-4ca6-9987-cf247621f396 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:08:25 +0000 (0:00:00.023) 0:01:19.731 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:08:25 +0000 (0:00:00.025) 0:01:19.757 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:08:25 +0000 (0:00:00.244) 0:01:20.001 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:08:26 +0000 (0:00:00.052) 0:01:20.054 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:08:26 +0000 (0:00:00.040) 0:01:20.094 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:08:26 +0000 (0:00:00.037) 0:01:20.131 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:08:26 +0000 (0:00:00.026) 0:01:20.158 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:08:26 +0000 (0:00:00.041) 0:01:20.200 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:08:28 +0000 (0:00:02.522) 0:01:22.722 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:08:29 +0000 (0:00:00.785) 0:01:23.508 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:08:29 +0000 (0:00:00.032) 0:01:23.540 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:08:29 +0000 (0:00:00.025) 0:01:23.566 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:08:29 +0000 (0:00:00.029) 0:01:23.595 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:08:29 +0000 (0:00:00.061) 0:01:23.657 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:08:29 +0000 (0:00:00.029) 0:01:23.686 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:08:29 +0000 (0:00:00.035) 0:01:23.722 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:08:29 +0000 (0:00:00.048) 0:01:23.771 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:08:30 +0000 (0:00:00.465) 0:01:24.236 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:08:30 +0000 (0:00:00.053) 0:01:24.290 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:08:30 +0000 (0:00:00.024) 0:01:24.314 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:08:30 +0000 (0:00:00.022) 0:01:24.337 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:08:30 +0000 (0:00:00.627) 0:01:24.964 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:08:31 +0000 (0:00:00.163) 0:01:25.127 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:08:31 +0000 (0:00:00.027) 0:01:25.154 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:08:31 +0000 (0:00:00.026) 0:01:25.181 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:08:31 +0000 (0:00:00.029) 0:01:25.211 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:30 Monday 08 January 2024 14:08:31 +0000 (0:00:00.237) 0:01:25.448 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 08 January 2024 14:08:31 +0000 (0:00:00.057) 0:01:25.505 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:08:31 +0000 (0:00:00.058) 0:01:25.564 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:08:31 +0000 (0:00:00.048) 0:01:25.612 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:08:31 +0000 (0:00:00.060) 0:01:25.673 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:08:31 +0000 (0:00:00.046) 0:01:25.719 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:08:31 +0000 (0:00:00.038) 0:01:25.758 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:08:34 +0000 (0:00:02.448) 0:01:28.206 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:08:34 +0000 (0:00:00.807) 0:01:29.014 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:08:35 +0000 (0:00:00.028) 0:01:29.042 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:08:35 +0000 (0:00:00.028) 0:01:29.071 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:08:35 +0000 (0:00:00.043) 0:01:29.114 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:08:35 +0000 (0:00:00.078) 0:01:29.193 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:08:35 +0000 (0:00:00.034) 0:01:29.227 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:08:35 +0000 (0:00:00.087) 0:01:29.314 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:08:35 +0000 (0:00:00.054) 0:01:29.369 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:08:35 +0000 (0:00:00.464) 0:01:29.834 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:08:35 +0000 (0:00:00.040) 0:01:29.874 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:08:35 +0000 (0:00:00.027) 0:01:29.901 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:08:35 +0000 (0:00:00.041) 0:01:29.943 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:08:36 +0000 (0:00:00.532) 0:01:30.476 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:08:36 +0000 (0:00:00.068) 0:01:30.544 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:08:36 +0000 (0:00:00.026) 0:01:30.570 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:08:36 +0000 (0:00:00.024) 0:01:30.595 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:08:36 +0000 (0:00:00.045) 0:01:30.640 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:36 Monday 08 January 2024 14:08:36 +0000 (0:00:00.308) 0:01:30.948 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 08 January 2024 14:08:36 +0000 (0:00:00.059) 0:01:31.007 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:08:37 +0000 (0:00:00.047) 0:01:31.055 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:08:37 +0000 (0:00:00.030) 0:01:31.086 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:08:37 +0000 (0:00:00.244) 0:01:31.331 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:08:37 +0000 (0:00:00.043) 0:01:31.374 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022668", "end": "2024-01-08 14:08:37.555611", "rc": 1, "start": "2024-01-08 14:08:37.532943" } 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:08:37 +0000 (0:00:00.270) 0:01:31.645 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:08:37 +0000 (0:00:00.029) 0:01:31.675 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:08:37 +0000 (0:00:00.022) 0:01:31.697 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:08:37 +0000 (0:00:00.071) 0:01:31.768 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:08:37 +0000 (0:00:00.020) 0:01:31.789 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 08 January 2024 14:08:37 +0000 (0:00:00.021) 0:01:31.811 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 08 January 2024 14:08:37 +0000 (0:00:00.035) 0:01:31.846 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.366352", "end": "2024-01-08 14:08:38.364214", "rc": 0, "start": "2024-01-08 14:08:37.997862" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 08 January 2024 14:08:38 +0000 (0:00:00.595) 0:01:32.441 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 08 January 2024 14:08:38 +0000 (0:00:00.023) 0:01:32.465 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:42 Monday 08 January 2024 14:08:38 +0000 (0:00:00.040) 0:01:32.505 ******** included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:08:38 +0000 (0:00:00.050) 0:01:32.556 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:08:38 +0000 (0:00:00.033) 0:01:32.590 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:08:38 +0000 (0:00:00.224) 0:01:32.814 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:47 Monday 08 January 2024 14:08:38 +0000 (0:00:00.023) 0:01:32.837 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/run_test.yml:66 Monday 08 January 2024 14:08:38 +0000 (0:00:00.021) 0:01:32.859 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 08 January 2024 14:08:38 +0000 (0:00:00.036) 0:01:32.895 ******** 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.043636", "end": "2024-01-08 14:08:39.088566", "rc": 1, "start": "2024-01-08 14:08:39.044930" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Monday 08 January 2024 14:08:39 +0000 (0:00:00.339) 0:01:33.235 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.52s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.49s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.45s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.43s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.41s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.36s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.35s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.34s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.34s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.94s /WORKDIR/git-route_typez43aqm9a/tests/tests_states_nm.yml:6 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /WORKDIR/git-route_typez43aqm9a/.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.85s /WORKDIR/git-route_typez43aqm9a/.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.81s /WORKDIR/git-route_typez43aqm9a/.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.81s /WORKDIR/git-route_typez43aqm9a/.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. ---^---^---^---^---^---