# 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_typewcur7fxl/.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_typewcur7fxl/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 23:56:18 +0000 (0:00:00.026) 0:00:00.026 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typewcur7fxl/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 23:56:19 +0000 (0:00:00.943) 0:00:00.969 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 23:56:19 +0000 (0:00:00.011) 0:00:00.981 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/tasks/el_repo_setup.yml:17 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.358) 0:00:01.339 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/tasks/el_repo_setup.yml:22 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.259) 0:00:01.598 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/tasks/el_repo_setup.yml:26 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.014) 0:00:01.613 ***** 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_typewcur7fxl/tests/tasks/el_repo_setup.yml:51 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.008) 0:00:01.621 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.022) 0:00:01.644 ***** 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_typewcur7fxl/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.013) 0:00:01.657 ***** 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_typewcur7fxl/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.010) 0:00:01.668 ***** 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_typewcur7fxl/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.018) 0:00:01.686 ***** 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_typewcur7fxl/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.016) 0:00:01.703 ***** 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_typewcur7fxl/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.008) 0:00:01.711 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 23:56:20 +0000 (0:00:00.014) 0:00:01.726 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.740) 0:00:02.466 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.011) 0:00:02.477 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.015) 0:00:02.493 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.011) 0:00:02.504 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.032) 0:00:02.537 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.012) 0:00:02.549 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.014) 0:00:02.563 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2024-01-10 23:56:21.655879", "rc": 0, "start": "2024-01-10 23:56:21.652236" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.269) 0:00:02.832 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.010) 0:00:02.843 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.010) 0:00:02.854 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.016) 0:00:02.871 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008002", "end": "2024-01-10 23:56:21.906258", "rc": 1, "start": "2024-01-10 23:56:21.898256" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.215) 0:00:03.086 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:56:21 +0000 (0:00:00.014) 0:00:03.101 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:56:22 +0000 (0:00:00.219) 0:00:03.320 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:56:22 +0000 (0:00:00.022) 0:00:03.343 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:56:22 +0000 (0:00:00.023) 0:00:03.367 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:56:22 +0000 (0:00:00.025) 0:00:03.392 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:56:22 +0000 (0:00:00.041) 0:00:03.433 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:56:22 +0000 (0:00:00.038) 0:00:03.471 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:56:22 +0000 (0:00:00.022) 0:00:03.494 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:56:22 +0000 (0:00:00.021) 0:00:03.516 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:56:24 +0000 (0:00:02.403) 0:00:05.919 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:56:25 +0000 (0:00:00.909) 0:00:06.829 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:56:25 +0000 (0:00:00.028) 0:00:06.857 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:56:25 +0000 (0:00:00.027) 0:00:06.885 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:56:25 +0000 (0:00:00.022) 0:00:06.907 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:56:25 +0000 (0:00:00.060) 0:00:06.968 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:56:25 +0000 (0:00:00.036) 0:00:07.005 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:56:25 +0000 (0:00:00.022) 0:00:07.027 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:56:25 +0000 (0:00:00.053) 0:00:07.080 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:56:26 +0000 (0:00:00.568) 0:00:07.649 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:56:26 +0000 (0:00:00.033) 0:00:07.683 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:56:26 +0000 (0:00:00.019) 0:00:07.703 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:56:26 +0000 (0:00:00.019) 0:00:07.722 ***** 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, 1a848c11-762a-49e6-b72a-231dfe586a6d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.580) 0:00:08.303 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.025) 0:00:08.328 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a848c11-762a-49e6-b72a-231dfe586a6d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.027) 0:00:08.356 ***** 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, 1a848c11-762a-49e6-b72a-231dfe586a6d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a848c11-762a-49e6-b72a-231dfe586a6d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.024) 0:00:08.381 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.035) 0:00:08.417 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.336) 0:00:08.753 ***** 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, 1a848c11-762a-49e6-b72a-231dfe586a6d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1a848c11-762a-49e6-b72a-231dfe586a6d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.022) 0:00:08.775 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.041) 0:00:08.816 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.063) 0:00:08.880 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.023) 0:00:08.903 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:56:27 +0000 (0:00:00.236) 0:00:09.140 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.023) 0:00:09.163 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022685", "end": "2024-01-10 23:56:28.219482", "rc": 0, "start": "2024-01-10 23:56:28.196797" } 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.251) 0:00:09.414 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.027) 0:00:09.441 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.021) 0:00:09.462 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.019) 0:00:09.482 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.020) 0:00:09.503 ***** 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_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.020) 0:00:09.523 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.022) 0:00:09.545 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.023) 0:00:09.569 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.025) 0:00:09.594 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.049) 0:00:09.644 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.035) 0:00:09.680 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704930987.0543175, "block_size": 4096, "blocks": 0, "ctime": 1704930987.0543175, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33590, "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": 1704930987.0543175, "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_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.275) 0:00:09.955 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.026) 0:00:09.982 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.040) 0:00:10.022 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:56:28 +0000 (0:00:00.046) 0:00:10.068 ***** 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.066002", "end": "2024-01-10 23:56:29.163776", "rc": 1, "start": "2024-01-10 23:56:29.097774" } STDOUT: Connection 'statebr' (1a848c11-762a-49e6-b72a-231dfe586a6d) 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_typewcur7fxl/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.282) 0:00:10.350 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.031) 0:00:10.382 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.023) 0:00:10.406 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.040) 0:00:10.446 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.031) 0:00:10.477 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.031) 0:00:10.509 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003656", "end": "2024-01-10 23:56:29.542009", "rc": 0, "start": "2024-01-10 23:56:29.538353" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.222) 0:00:10.731 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.034) 0:00:10.766 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.061) 0:00:10.827 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.039) 0:00:10.867 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006605", "end": "2024-01-10 23:56:29.902536", "rc": 1, "start": "2024-01-10 23:56:29.895931" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.225) 0:00:11.092 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:56:29 +0000 (0:00:00.033) 0:00:11.125 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:56:30 +0000 (0:00:00.216) 0:00:11.342 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:56:30 +0000 (0:00:00.037) 0:00:11.379 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 23:56:30 +0000 (0:00:00.038) 0:00:11.417 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:56:30 +0000 (0:00:00.052) 0:00:11.470 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:56:30 +0000 (0:00:00.036) 0:00:11.507 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:56:30 +0000 (0:00:00.033) 0:00:11.540 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:56:30 +0000 (0:00:00.022) 0:00:11.562 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:56:30 +0000 (0:00:00.051) 0:00:11.614 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:56:32 +0000 (0:00:02.313) 0:00:13.928 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:56:33 +0000 (0:00:00.793) 0:00:14.722 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:56:33 +0000 (0:00:00.026) 0:00:14.748 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:56:33 +0000 (0:00:00.034) 0:00:14.782 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:56:33 +0000 (0:00:00.025) 0:00:14.808 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:56:33 +0000 (0:00:00.055) 0:00:14.863 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:56:33 +0000 (0:00:00.024) 0:00:14.887 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:56:33 +0000 (0:00:00.023) 0:00:14.911 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:56:33 +0000 (0:00:00.033) 0:00:14.944 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:56:34 +0000 (0:00:00.442) 0:00:15.387 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:56:34 +0000 (0:00:00.046) 0:00:15.434 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:56:34 +0000 (0:00:00.021) 0:00:15.456 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:56:34 +0000 (0:00:00.061) 0:00:15.517 ***** 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, 33baa0e3-7c2e-4cd8-bc38-30d9076242d5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:56:34 +0000 (0:00:00.394) 0:00:15.911 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:56:34 +0000 (0:00:00.034) 0:00:15.945 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33baa0e3-7c2e-4cd8-bc38-30d9076242d5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:56:34 +0000 (0:00:00.022) 0:00:15.968 ***** 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, 33baa0e3-7c2e-4cd8-bc38-30d9076242d5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33baa0e3-7c2e-4cd8-bc38-30d9076242d5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:56:34 +0000 (0:00:00.022) 0:00:15.991 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:56:34 +0000 (0:00:00.027) 0:00:16.019 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.236) 0:00:16.255 ***** 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, 33baa0e3-7c2e-4cd8-bc38-30d9076242d5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33baa0e3-7c2e-4cd8-bc38-30d9076242d5" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.026) 0:00:16.281 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.041) 0:00:16.322 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.041) 0:00:16.364 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.238) 0:00:16.603 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.025) 0:00:16.628 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.034) 0:00:16.663 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.046) 0:00:16.710 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.223) 0:00:16.933 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:56:35 +0000 (0:00:00.021) 0:00:16.955 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022115", "end": "2024-01-10 23:56:36.008093", "rc": 0, "start": "2024-01-10 23:56:35.985978" } 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.240) 0:00:17.196 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.021) 0:00:17.218 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.019) 0:00:17.237 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.019) 0:00:17.257 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.022) 0:00:17.279 ***** 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_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.020) 0:00:17.300 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.023) 0:00:17.324 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.024) 0:00:17.348 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.024) 0:00:17.372 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.029) 0:00:17.401 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.022) 0:00:17.424 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.041) 0:00:17.466 ***** 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.042721", "end": "2024-01-10 23:56:36.552490", "rc": 1, "start": "2024-01-10 23:56:36.509769" } STDOUT: Connection 'statebr' (33baa0e3-7c2e-4cd8-bc38-30d9076242d5) 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_typewcur7fxl/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.302) 0:00:17.769 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.033) 0:00:17.802 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.021) 0:00:17.824 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.039) 0:00:17.864 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.031) 0:00:17.896 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.029) 0:00:17.925 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003657", "end": "2024-01-10 23:56:36.956266", "rc": 0, "start": "2024-01-10 23:56:36.952609" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:56:36 +0000 (0:00:00.229) 0:00:18.155 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:56:37 +0000 (0:00:00.020) 0:00:18.176 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:56:37 +0000 (0:00:00.026) 0:00:18.202 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:56:37 +0000 (0:00:00.035) 0:00:18.238 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:56:37 +0000 (0:00:00.042) 0:00:18.280 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:56:37 +0000 (0:00:00.065) 0:00:18.346 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:56:37 +0000 (0:00:00.034) 0:00:18.381 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:56:37 +0000 (0:00:00.024) 0:00:18.405 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:56:37 +0000 (0:00:00.022) 0:00:18.427 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:56:39 +0000 (0:00:02.237) 0:00:20.664 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:56:40 +0000 (0:00:00.762) 0:00:21.427 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:56:40 +0000 (0:00:00.022) 0:00:21.449 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:56:40 +0000 (0:00:00.022) 0:00:21.472 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:56:40 +0000 (0:00:00.023) 0:00:21.496 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:56:40 +0000 (0:00:00.052) 0:00:21.548 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:56:40 +0000 (0:00:00.028) 0:00:21.577 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:56:40 +0000 (0:00:00.023) 0:00:21.600 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:56:40 +0000 (0:00:00.036) 0:00:21.636 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:56:40 +0000 (0:00:00.497) 0:00:22.133 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.045) 0:00:22.178 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.020) 0:00:22.199 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.024) 0:00:22.224 ***** 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, 29620091-f361-41f2-a87f-130dd7fd2249 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.459) 0:00:22.683 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.047) 0:00:22.730 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 29620091-f361-41f2-a87f-130dd7fd2249" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.035) 0:00:22.766 ***** 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, 29620091-f361-41f2-a87f-130dd7fd2249\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 29620091-f361-41f2-a87f-130dd7fd2249" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.039) 0:00:22.806 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.028) 0:00:22.834 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.232) 0:00:23.066 ***** 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, 29620091-f361-41f2-a87f-130dd7fd2249\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 29620091-f361-41f2-a87f-130dd7fd2249" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.025) 0:00:23.091 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 23:56:41 +0000 (0:00:00.039) 0:00:23.130 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:56:42 +0000 (0:00:00.043) 0:00:23.174 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:56:42 +0000 (0:00:00.090) 0:00:23.264 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:56:42 +0000 (0:00:00.038) 0:00:23.302 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:56:42 +0000 (0:00:00.024) 0:00:23.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:56:42 +0000 (0:00:00.023) 0:00:23.350 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:56:44 +0000 (0:00:02.254) 0:00:25.605 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.760) 0:00:26.365 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.023) 0:00:26.388 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.021) 0:00:26.410 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.022) 0:00:26.433 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.053) 0:00:26.486 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.024) 0:00:26.511 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.025) 0:00:26.536 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.042) 0:00:26.579 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.463) 0:00:27.042 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.034) 0:00:27.077 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.019) 0:00:27.096 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.019) 0:00:27.116 ***** 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, 29620091-f361-41f2-a87f-130dd7fd2249 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.382) 0:00:27.499 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.023) 0:00:27.523 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 29620091-f361-41f2-a87f-130dd7fd2249 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.024) 0:00:27.547 ***** 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, 29620091-f361-41f2-a87f-130dd7fd2249 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 29620091-f361-41f2-a87f-130dd7fd2249 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.028) 0:00:27.575 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.032) 0:00:27.608 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.226) 0:00:27.835 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.038) 0:00:27.873 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.032) 0:00:27.905 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704931001.4449446, "block_size": 4096, "blocks": 0, "ctime": 1704931001.4449446, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33721, "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": 1704931001.4449446, "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_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.213) 0:00:28.119 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.051) 0:00:28.170 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.035) 0:00:28.206 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.020) 0:00:28.227 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.217) 0:00:28.444 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.019) 0:00:28.464 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022033", "end": "2024-01-10 23:56:47.515651", "rc": 0, "start": "2024-01-10 23:56:47.493618" } 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.240) 0:00:28.704 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.023) 0:00:28.727 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.022) 0:00:28.750 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.021) 0:00:28.772 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.021) 0:00:28.793 ***** 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_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.020) 0:00:28.814 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.023) 0:00:28.838 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.023) 0:00:28.861 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.021) 0:00:28.882 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.026) 0:00:28.909 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.051) 0:00:28.960 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.036) 0:00:28.997 ***** 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.071851", "end": "2024-01-10 23:56:48.096650", "rc": 1, "start": "2024-01-10 23:56:48.024799" } STDOUT: Connection 'statebr' (29620091-f361-41f2-a87f-130dd7fd2249) 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_typewcur7fxl/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.286) 0:00:29.284 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.032) 0:00:29.316 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.021) 0:00:29.338 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.038) 0:00:29.377 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.031) 0:00:29.409 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.030) 0:00:29.439 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003635", "end": "2024-01-10 23:56:48.469252", "rc": 0, "start": "2024-01-10 23:56:48.465617" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.217) 0:00:29.656 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.021) 0:00:29.678 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.028) 0:00:29.706 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.040) 0:00:29.746 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.066) 0:00:29.813 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.038) 0:00:29.851 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.034) 0:00:29.885 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.023) 0:00:29.909 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.023) 0:00:29.932 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:56:51 +0000 (0:00:02.244) 0:00:32.177 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:56:51 +0000 (0:00:00.782) 0:00:32.959 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:56:51 +0000 (0:00:00.042) 0:00:33.002 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:56:51 +0000 (0:00:00.024) 0:00:33.026 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:56:51 +0000 (0:00:00.024) 0:00:33.050 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:56:51 +0000 (0:00:00.051) 0:00:33.102 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:56:51 +0000 (0:00:00.052) 0:00:33.155 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.023) 0:00:33.178 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.037) 0:00:33.215 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.418) 0:00:33.634 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.036) 0:00:33.670 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.019) 0:00:33.689 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.020) 0:00:33.710 ***** 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, 4a8912c5-725b-4b13-8598-8d8eefc41b4d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.437) 0:00:34.147 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.022) 0:00:34.169 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a8912c5-725b-4b13-8598-8d8eefc41b4d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.021) 0:00:34.191 ***** 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, 4a8912c5-725b-4b13-8598-8d8eefc41b4d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a8912c5-725b-4b13-8598-8d8eefc41b4d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.022) 0:00:34.214 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.021) 0:00:34.235 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.226) 0:00:34.462 ***** 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, 4a8912c5-725b-4b13-8598-8d8eefc41b4d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a8912c5-725b-4b13-8598-8d8eefc41b4d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.022) 0:00:34.484 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.089) 0:00:34.574 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.043) 0:00:34.617 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.039) 0:00:34.656 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.047) 0:00:34.704 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.039) 0:00:34.744 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:56:55 +0000 (0:00:02.314) 0:00:37.059 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.778) 0:00:37.838 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.025) 0:00:37.863 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.025) 0:00:37.889 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.025) 0:00:37.914 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.054) 0:00:37.968 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.023) 0:00:37.991 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.056) 0:00:38.048 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.035) 0:00:38.084 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.420) 0:00:38.504 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.036) 0:00:38.541 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.020) 0:00:38.561 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.028) 0:00:38.590 ***** 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, 4a8912c5-725b-4b13-8598-8d8eefc41b4d skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.400) 0:00:38.990 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.023) 0:00:39.014 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a8912c5-725b-4b13-8598-8d8eefc41b4d skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.025) 0:00:39.040 ***** 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, 4a8912c5-725b-4b13-8598-8d8eefc41b4d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a8912c5-725b-4b13-8598-8d8eefc41b4d skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.026) 0:00:39.066 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.023) 0:00:39.090 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.220) 0:00:39.310 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.035) 0:00:39.346 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.074) 0:00:39.420 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.040) 0:00:39.461 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.034) 0:00:39.495 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.022) 0:00:39.518 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.025) 0:00:39.544 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:57:00 +0000 (0:00:02.284) 0:00:41.828 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.764) 0:00:42.593 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.022) 0:00:42.616 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.022) 0:00:42.639 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.021) 0:00:42.660 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.053) 0:00:42.714 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.023) 0:00:42.737 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.023) 0:00:42.761 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.104) 0:00:42.866 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.426) 0:00:43.293 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.036) 0:00:43.329 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.027) 0:00:43.356 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.020) 0:00:43.377 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.414) 0:00:43.791 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.024) 0:00:43.816 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.023) 0:00:43.839 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.023) 0:00:43.863 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.023) 0:00:43.886 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.230) 0:00:44.117 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.041) 0:00:44.158 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.032) 0:00:44.191 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704931012.909463, "block_size": 4096, "blocks": 0, "ctime": 1704931012.909463, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33852, "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": 1704931012.909463, "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_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.249) 0:00:44.441 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.023) 0:00:44.464 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.033) 0:00:44.498 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.022) 0:00:44.520 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.212) 0:00:44.733 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.019) 0:00:44.753 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022718", "end": "2024-01-10 23:57:03.807369", "rc": 1, "start": "2024-01-10 23:57:03.784651" } 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.247) 0:00:45.001 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.021) 0:00:45.023 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.030) 0:00:45.053 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.022) 0:00:45.076 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.023) 0:00:45.099 ***** 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_typewcur7fxl/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.020) 0:00:45.120 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.022) 0:00:45.142 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.030) 0:00:45.173 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.027) 0:00:45.201 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.070) 0:00:45.271 ***** 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.068970", "end": "2024-01-10 23:57:04.378488", "rc": 1, "start": "2024-01-10 23:57:04.309518" } STDOUT: Connection 'statebr' (4a8912c5-725b-4b13-8598-8d8eefc41b4d) 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_typewcur7fxl/tests/playbooks/tests_states.yml:102 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.323) 0:00:45.594 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.062) 0:00:45.657 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.033) 0:00:45.691 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.057) 0:00:45.748 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.041) 0:00:45.789 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.035) 0:00:45.825 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003810", "end": "2024-01-10 23:57:04.894750", "rc": 0, "start": "2024-01-10 23:57:04.890940" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.262) 0:00:46.087 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.022) 0:00:46.110 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.021) 0:00:46.132 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.044) 0:00:46.176 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.069) 0:00:46.246 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.038) 0:00:46.284 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.033) 0:00:46.318 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.023) 0:00:46.341 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.023) 0:00:46.365 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:57:07 +0000 (0:00:02.253) 0:00:48.618 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.762) 0:00:49.380 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.032) 0:00:49.413 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.023) 0:00:49.437 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.023) 0:00:49.460 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.052) 0:00:49.513 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.021) 0:00:49.534 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.052) 0:00:49.587 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.034) 0:00:49.621 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.409) 0:00:50.031 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.037) 0:00:50.069 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.019) 0:00:50.089 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.018) 0:00:50.108 ***** 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, 10d98b2e-08e0-46c0-befc-8b9cc88387b2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.421) 0:00:50.529 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.025) 0:00:50.554 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 10d98b2e-08e0-46c0-befc-8b9cc88387b2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.022) 0:00:50.577 ***** 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, 10d98b2e-08e0-46c0-befc-8b9cc88387b2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 10d98b2e-08e0-46c0-befc-8b9cc88387b2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.026) 0:00:50.603 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.026) 0:00:50.630 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.227) 0:00:50.857 ***** 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, 10d98b2e-08e0-46c0-befc-8b9cc88387b2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 10d98b2e-08e0-46c0-befc-8b9cc88387b2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.022) 0:00:50.879 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.038) 0:00:50.918 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.068) 0:00:50.987 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.035) 0:00:51.022 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.024) 0:00:51.046 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.023) 0:00:51.069 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:57:12 +0000 (0:00:02.289) 0:00:53.359 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:12 +0000 (0:00:00.758) 0:00:54.117 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:12 +0000 (0:00:00.026) 0:00:54.143 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.023) 0:00:54.166 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.024) 0:00:54.191 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.064) 0:00:54.256 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.023) 0:00:54.279 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.024) 0:00:54.304 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.071) 0:00:54.376 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.410) 0:00:54.786 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.041) 0:00:54.828 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.023) 0:00:54.851 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.021) 0:00:54.872 ***** 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, 10d98b2e-08e0-46c0-befc-8b9cc88387b2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.387) 0:00:55.260 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.024) 0:00:55.284 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 10d98b2e-08e0-46c0-befc-8b9cc88387b2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.027) 0:00:55.312 ***** 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, 10d98b2e-08e0-46c0-befc-8b9cc88387b2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 10d98b2e-08e0-46c0-befc-8b9cc88387b2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.039) 0:00:55.351 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.027) 0:00:55.379 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.225) 0:00:55.605 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.044) 0:00:55.649 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.038) 0:00:55.688 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.069) 0:00:55.757 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.026) 0:00:55.784 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.026) 0:00:55.810 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:57:16 +0000 (0:00:02.293) 0:00:58.103 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:17 +0000 (0:00:00.757) 0:00:58.861 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:17 +0000 (0:00:00.022) 0:00:58.884 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:57:17 +0000 (0:00:00.022) 0:00:58.907 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:57:17 +0000 (0:00:00.022) 0:00:58.929 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:57:17 +0000 (0:00:00.053) 0:00:58.982 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:57:17 +0000 (0:00:00.029) 0:00:59.012 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:57:17 +0000 (0:00:00.026) 0:00:59.038 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:57:17 +0000 (0:00:00.038) 0:00:59.077 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.406) 0:00:59.483 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.046) 0:00:59.530 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.061) 0:00:59.592 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.024) 0:00:59.617 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.435) 0:01:00.052 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.031) 0:01:00.084 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.024) 0:01:00.108 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.030) 0:01:00.138 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:57:19 +0000 (0:00:00.028) 0:01:00.167 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:57:19 +0000 (0:00:00.248) 0:01:00.415 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 23:57:19 +0000 (0:00:00.036) 0:01:00.451 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:19 +0000 (0:00:00.044) 0:01:00.496 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:19 +0000 (0:00:00.047) 0:01:00.543 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:57:19 +0000 (0:00:00.033) 0:01:00.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:57:19 +0000 (0:00:00.054) 0:01:00.631 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:57:19 +0000 (0:00:00.023) 0:01:00.655 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:57:21 +0000 (0:00:02.358) 0:01:03.013 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.766) 0:01:03.780 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.031) 0:01:03.811 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.026) 0:01:03.837 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.024) 0:01:03.862 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.052) 0:01:03.914 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.022) 0:01:03.936 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.022) 0:01:03.959 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.033) 0:01:03.993 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.411) 0:01:04.404 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.046) 0:01:04.451 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.068) 0:01:04.520 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.020) 0:01:04.540 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.473) 0:01:05.013 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.023) 0:01:05.037 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.022) 0:01:05.059 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.022) 0:01:05.082 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.022) 0:01:05.105 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.219) 0:01:05.325 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.037) 0:01:05.362 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.033) 0:01:05.396 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.021) 0:01:05.418 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.212) 0:01:05.630 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.019) 0:01:05.650 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021171", "end": "2024-01-10 23:57:24.697377", "rc": 1, "start": "2024-01-10 23:57:24.676206" } 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.234) 0:01:05.884 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.053) 0:01:05.938 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.021) 0:01:05.959 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.019) 0:01:05.979 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.020) 0:01:05.999 ***** 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_typewcur7fxl/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.020) 0:01:06.020 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.021) 0:01:06.041 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.047) 0:01:06.088 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:57:24 +0000 (0:00:00.031) 0:01:06.120 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.214) 0:01:06.334 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.024) 0:01:06.359 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.021) 0:01:06.380 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.038) 0:01:06.419 ***** 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.040194", "end": "2024-01-10 23:57:25.485939", "rc": 1, "start": "2024-01-10 23:57:25.445745" } 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_typewcur7fxl/tests/playbooks/tests_states.yml:124 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.254) 0:01:06.673 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.067) 0:01:06.740 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.022) 0:01:06.762 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.039) 0:01:06.802 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.032) 0:01:06.834 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.030) 0:01:06.865 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003810", "end": "2024-01-10 23:57:25.898805", "rc": 0, "start": "2024-01-10 23:57:25.894995" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.222) 0:01:07.087 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.022) 0:01:07.109 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:57:25 +0000 (0:00:00.022) 0:01:07.131 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.038) 0:01:07.170 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.043) 0:01:07.214 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.065) 0:01:07.280 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.035) 0:01:07.315 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.025) 0:01:07.340 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.023) 0:01:07.364 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:57:28 +0000 (0:00:02.284) 0:01:09.648 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.766) 0:01:10.415 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.024) 0:01:10.439 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.024) 0:01:10.463 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.022) 0:01:10.486 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.053) 0:01:10.539 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.023) 0:01:10.562 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.022) 0:01:10.584 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.033) 0:01:10.617 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.438) 0:01:11.056 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.036) 0:01:11.092 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.019) 0:01:11.112 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:57:29 +0000 (0:00:00.019) 0:01:11.131 ***** 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, f307ce06-7dab-4ece-b38e-c41909ec3777 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.423) 0:01:11.555 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.025) 0:01:11.581 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f307ce06-7dab-4ece-b38e-c41909ec3777" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.025) 0:01:11.607 ***** 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, f307ce06-7dab-4ece-b38e-c41909ec3777\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f307ce06-7dab-4ece-b38e-c41909ec3777" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.024) 0:01:11.631 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.023) 0:01:11.655 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.222) 0:01:11.877 ***** 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, f307ce06-7dab-4ece-b38e-c41909ec3777\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f307ce06-7dab-4ece-b38e-c41909ec3777" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.022) 0:01:11.900 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.042) 0:01:11.942 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.039) 0:01:11.981 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.076) 0:01:12.057 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.026) 0:01:12.084 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:57:30 +0000 (0:00:00.024) 0:01:12.109 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:57:33 +0000 (0:00:02.228) 0:01:14.338 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.760) 0:01:15.098 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.023) 0:01:15.122 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.024) 0:01:15.146 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.023) 0:01:15.170 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.055) 0:01:15.225 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.025) 0:01:15.250 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.023) 0:01:15.274 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.036) 0:01:15.310 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.408) 0:01:15.719 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.037) 0:01:15.757 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.066) 0:01:15.823 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.022) 0:01:15.846 ***** 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, f307ce06-7dab-4ece-b38e-c41909ec3777 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.373) 0:01:16.219 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.024) 0:01:16.244 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f307ce06-7dab-4ece-b38e-c41909ec3777 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.024) 0:01:16.268 ***** 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, f307ce06-7dab-4ece-b38e-c41909ec3777 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f307ce06-7dab-4ece-b38e-c41909ec3777 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.025) 0:01:16.294 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.024) 0:01:16.318 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.223) 0:01:16.542 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.041) 0:01:16.583 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.040) 0:01:16.624 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.034) 0:01:16.659 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.024) 0:01:16.683 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.021) 0:01:16.705 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:57:37 +0000 (0:00:02.337) 0:01:19.042 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.763) 0:01:19.806 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.024) 0:01:19.831 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.026) 0:01:19.858 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.026) 0:01:19.884 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.053) 0:01:19.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.025) 0:01:19.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.022) 0:01:19.985 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.036) 0:01:20.021 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.416) 0:01:20.438 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.038) 0:01:20.477 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.021) 0:01:20.498 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.022) 0:01:20.520 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.501) 0:01:21.022 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.107) 0:01:21.129 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.027) 0:01:21.157 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.025) 0:01:21.183 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.028) 0:01:21.211 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.235) 0:01:21.447 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.035) 0:01:21.482 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.039) 0:01:21.522 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.038) 0:01:21.561 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.033) 0:01:21.595 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.022) 0:01:21.617 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.023) 0:01:21.641 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:57:42 +0000 (0:00:02.310) 0:01:23.951 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.764) 0:01:24.715 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.024) 0:01:24.740 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.023) 0:01:24.764 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.023) 0:01:24.787 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.054) 0:01:24.842 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.023) 0:01:24.865 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.022) 0:01:24.888 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.036) 0:01:24.924 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.409) 0:01:25.333 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.035) 0:01:25.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.019) 0:01:25.388 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.018) 0:01:25.407 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.433) 0:01:25.841 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.067) 0:01:25.908 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.023) 0:01:25.932 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.023) 0:01:25.956 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.026) 0:01:25.982 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.233) 0:01:26.216 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.042) 0:01:26.258 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.036) 0:01:26.294 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.024) 0:01:26.319 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.217) 0:01:26.536 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.019) 0:01:26.556 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021398", "end": "2024-01-10 23:57:45.610271", "rc": 1, "start": "2024-01-10 23:57:45.588873" } 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.243) 0:01:26.799 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.020) 0:01:26.819 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.025) 0:01:26.845 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.051) 0:01:26.897 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.019) 0:01:26.917 ***** 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_typewcur7fxl/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.019) 0:01:26.937 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.021) 0:01:26.958 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.361953", "end": "2024-01-10 23:57:46.348741", "rc": 0, "start": "2024-01-10 23:57:45.986788" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 23:57:46 +0000 (0:00:00.578) 0:01:27.536 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 23:57:46 +0000 (0:00:00.021) 0:01:27.558 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:57:46 +0000 (0:00:00.021) 0:01:27.579 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:57:46 +0000 (0:00:00.045) 0:01:27.625 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:57:46 +0000 (0:00:00.033) 0:01:27.659 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:57:46 +0000 (0:00:00.211) 0:01:27.870 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:57:46 +0000 (0:00:00.022) 0:01:27.892 ***** 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_typewcur7fxl/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:57:46 +0000 (0:00:00.020) 0:01:27.913 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:57:46 +0000 (0:00:00.036) 0:01:27.950 ***** 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.040245", "end": "2024-01-10 23:57:47.018568", "rc": 1, "start": "2024-01-10 23:57:46.978323" } 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 Wednesday 10 January 2024 23:57:47 +0000 (0:00:00.325) 0:01:28.276 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.40s /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.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_typewcur7fxl/.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.31s /WORKDIR/git-route_typewcur7fxl/.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.31s /WORKDIR/git-route_typewcur7fxl/.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.31s /WORKDIR/git-route_typewcur7fxl/.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.29s /WORKDIR/git-route_typewcur7fxl/.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.29s /WORKDIR/git-route_typewcur7fxl/.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.28s /WORKDIR/git-route_typewcur7fxl/.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.28s /WORKDIR/git-route_typewcur7fxl/.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.25s /WORKDIR/git-route_typewcur7fxl/.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.25s /WORKDIR/git-route_typewcur7fxl/.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.24s /WORKDIR/git-route_typewcur7fxl/.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.24s /WORKDIR/git-route_typewcur7fxl/.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.23s /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.94s /WORKDIR/git-route_typewcur7fxl/tests/tests_states_nm.yml:6 ------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.91s /WORKDIR/git-route_typewcur7fxl/.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.79s /WORKDIR/git-route_typewcur7fxl/.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.78s /WORKDIR/git-route_typewcur7fxl/.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.78s /WORKDIR/git-route_typewcur7fxl/.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. ---^---^---^---^---^---