# 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-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tests_states_nm.yml:6 Friday 09 February 2024 19:58:58 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tests_states_nm.yml:9 Friday 09 February 2024 19:58:59 +0000 (0:00:00.809) 0:00:00.821 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 19:58:59 +0000 (0:00:00.012) 0:00:00.834 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 19:59:00 +0000 (0:00:00.384) 0:00:01.219 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/el_repo_setup.yml:22 Friday 09 February 2024 19:59:00 +0000 (0:00:00.242) 0:00:01.462 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/el_repo_setup.yml:26 Friday 09 February 2024 19:59:00 +0000 (0:00:00.013) 0:00:01.475 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/el_repo_setup.yml:51 Friday 09 February 2024 19:59:00 +0000 (0:00:00.007) 0:00:01.483 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 19:59:00 +0000 (0:00:00.020) 0:00:01.504 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 19:59:00 +0000 (0:00:00.007) 0:00:01.511 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 19:59:00 +0000 (0:00:00.007) 0:00:01.519 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 19:59:00 +0000 (0:00:00.007) 0:00:01.527 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 19:59:00 +0000 (0:00:00.007) 0:00:01.534 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/tests_states_nm.yml:11 Friday 09 February 2024 19:59:00 +0000 (0:00:00.007) 0:00:01.542 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tests_states.yml:3 Friday 09 February 2024 19:59:00 +0000 (0:00:00.014) 0:00:01.557 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tests_states.yml:11 Friday 09 February 2024 19:59:00 +0000 (0:00:00.624) 0:00:02.181 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tests_states.yml:22 Friday 09 February 2024 19:59:00 +0000 (0:00:00.011) 0:00:02.193 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:59:00 +0000 (0:00:00.013) 0:00:02.206 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:59:01 +0000 (0:00:00.009) 0:00:02.216 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:59:01 +0000 (0:00:00.027) 0:00:02.243 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:59:01 +0000 (0:00:00.011) 0:00:02.255 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:59:01 +0000 (0:00:00.011) 0:00:02.266 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003191", "end": "2024-02-09 19:59:01.286289", "rc": 0, "start": "2024-02-09 19:59:01.283098" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:59:01 +0000 (0:00:00.248) 0:00:02.515 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:59:01 +0000 (0:00:00.016) 0:00:02.532 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:59:01 +0000 (0:00:00.010) 0:00:02.543 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 19:59:01 +0000 (0:00:00.020) 0:00:02.563 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007275", "end": "2024-02-09 19:59:01.529253", "rc": 1, "start": "2024-02-09 19:59:01.521978" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 19:59:01 +0000 (0:00:00.195) 0:00:02.758 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:59:01 +0000 (0:00:00.016) 0:00:02.775 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 19:59:01 +0000 (0:00:00.191) 0:00:02.966 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:59:01 +0000 (0:00:00.014) 0:00:02.981 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:59:01 +0000 (0:00:00.026) 0:00:03.007 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:01 +0000 (0:00:00.023) 0:00:03.031 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:01 +0000 (0:00:00.019) 0:00:03.050 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:01 +0000 (0:00:00.021) 0:00:03.072 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:01 +0000 (0:00:00.013) 0:00:03.085 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:01 +0000 (0:00:00.011) 0:00:03.097 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:03 +0000 (0:00:01.518) 0:00:04.616 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:04 +0000 (0:00:01.131) 0:00:05.747 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:04 +0000 (0:00:00.023) 0:00:05.770 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:04 +0000 (0:00:00.026) 0:00:05.797 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:04 +0000 (0:00:00.021) 0:00:05.819 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:04 +0000 (0:00:00.069) 0:00:05.888 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:04 +0000 (0:00:00.025) 0:00:05.914 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:04 +0000 (0:00:00.021) 0:00:05.936 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:04 +0000 (0:00:00.032) 0:00:05.968 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:05 +0000 (0:00:00.587) 0:00:06.556 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:05 +0000 (0:00:00.083) 0:00:06.640 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:05 +0000 (0:00:00.018) 0:00:06.659 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:05 +0000 (0:00:00.018) 0:00:06.677 ******* 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, 6bac86e0-6a7c-49d7-95b0-201c97631c08 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:06 +0000 (0:00:00.554) 0:00:07.231 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:06 +0000 (0:00:00.025) 0:00:07.256 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6bac86e0-6a7c-49d7-95b0-201c97631c08" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:06 +0000 (0:00:00.033) 0:00:07.290 ******* 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, 6bac86e0-6a7c-49d7-95b0-201c97631c08\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6bac86e0-6a7c-49d7-95b0-201c97631c08" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:06 +0000 (0:00:00.024) 0:00:07.314 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:06 +0000 (0:00:00.022) 0:00:07.336 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 19:59:06 +0000 (0:00:00.325) 0:00:07.662 ******* 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, 6bac86e0-6a7c-49d7-95b0-201c97631c08\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6bac86e0-6a7c-49d7-95b0-201c97631c08" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:59:06 +0000 (0:00:00.023) 0:00:07.685 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 19:59:06 +0000 (0:00:00.033) 0:00:07.718 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:59:06 +0000 (0:00:00.030) 0:00:07.749 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:59:06 +0000 (0:00:00.018) 0:00:07.767 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:59:06 +0000 (0:00:00.196) 0:00:07.964 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:59:06 +0000 (0:00:00.017) 0:00:07.982 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021501", "end": "2024-02-09 19:59:06.961958", "rc": 0, "start": "2024-02-09 19:59:06.940457" } 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:59:07 +0000 (0:00:00.240) 0:00:08.223 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:59:07 +0000 (0:00:00.020) 0:00:08.243 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:59:07 +0000 (0:00:00.018) 0:00:08.262 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:59:07 +0000 (0:00:00.017) 0:00:08.280 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:59:07 +0000 (0:00:00.018) 0:00:08.298 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 19:59:07 +0000 (0:00:00.018) 0:00:08.316 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 19:59:07 +0000 (0:00:00.021) 0:00:08.337 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 19:59:07 +0000 (0:00:00.022) 0:00:08.360 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:59:07 +0000 (0:00:00.020) 0:00:08.381 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 19:59:07 +0000 (0:00:00.045) 0:00:08.426 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:59:07 +0000 (0:00:00.031) 0:00:08.457 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508745.9283297, "block_size": 4096, "blocks": 0, "ctime": 1707508745.9283297, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29989, "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": 1707508745.9283297, "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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 19:59:07 +0000 (0:00:00.197) 0:00:08.654 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:59:07 +0000 (0:00:00.021) 0:00:08.676 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:59:07 +0000 (0:00:00.019) 0:00:08.695 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:59:07 +0000 (0:00:00.035) 0:00:08.730 ******* 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.061302", "end": "2024-02-09 19:59:07.751985", "rc": 1, "start": "2024-02-09 19:59:07.690683" } STDOUT: Connection 'statebr' (6bac86e0-6a7c-49d7-95b0-201c97631c08) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tests_states.yml:45 Friday 09 February 2024 19:59:07 +0000 (0:00:00.256) 0:00:08.987 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:59:07 +0000 (0:00:00.053) 0:00:09.041 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:59:07 +0000 (0:00:00.021) 0:00:09.063 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:59:07 +0000 (0:00:00.047) 0:00:09.111 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:59:07 +0000 (0:00:00.029) 0:00:09.140 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:59:07 +0000 (0:00:00.028) 0:00:09.168 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003173", "end": "2024-02-09 19:59:08.131374", "rc": 0, "start": "2024-02-09 19:59:08.128201" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:59:08 +0000 (0:00:00.198) 0:00:09.367 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:59:08 +0000 (0:00:00.020) 0:00:09.387 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:59:08 +0000 (0:00:00.019) 0:00:09.406 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 19:59:08 +0000 (0:00:00.033) 0:00:09.440 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005846", "end": "2024-02-09 19:59:08.403596", "rc": 1, "start": "2024-02-09 19:59:08.397750" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 19:59:08 +0000 (0:00:00.197) 0:00:09.638 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:59:08 +0000 (0:00:00.030) 0:00:09.668 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 19:59:08 +0000 (0:00:00.194) 0:00:09.862 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:59:08 +0000 (0:00:00.026) 0:00:09.889 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 09 February 2024 19:59:08 +0000 (0:00:00.076) 0:00:09.966 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:08 +0000 (0:00:00.042) 0:00:10.008 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:08 +0000 (0:00:00.049) 0:00:10.058 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:08 +0000 (0:00:00.083) 0:00:10.142 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:08 +0000 (0:00:00.064) 0:00:10.206 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:09 +0000 (0:00:00.045) 0:00:10.251 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:10 +0000 (0:00:01.469) 0:00:11.721 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:11 +0000 (0:00:00.963) 0:00:12.685 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:11 +0000 (0:00:00.023) 0:00:12.709 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:11 +0000 (0:00:00.030) 0:00:12.739 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:11 +0000 (0:00:00.039) 0:00:12.779 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:11 +0000 (0:00:00.054) 0:00:12.833 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:11 +0000 (0:00:00.021) 0:00:12.855 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:11 +0000 (0:00:00.055) 0:00:12.910 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:11 +0000 (0:00:00.033) 0:00:12.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:12 +0000 (0:00:00.442) 0:00:13.386 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:12 +0000 (0:00:00.038) 0:00:13.425 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:12 +0000 (0:00:00.020) 0:00:13.445 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:12 +0000 (0:00:00.042) 0:00:13.487 ******* 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, 5acadc11-1905-4528-9595-b738bc7ba2f7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:12 +0000 (0:00:00.406) 0:00:13.894 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:12 +0000 (0:00:00.026) 0:00:13.920 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5acadc11-1905-4528-9595-b738bc7ba2f7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:12 +0000 (0:00:00.042) 0:00:13.962 ******* 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, 5acadc11-1905-4528-9595-b738bc7ba2f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5acadc11-1905-4528-9595-b738bc7ba2f7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:12 +0000 (0:00:00.023) 0:00:13.985 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:12 +0000 (0:00:00.023) 0:00:14.008 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 09 February 2024 19:59:13 +0000 (0:00:00.218) 0:00:14.226 ******* 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, 5acadc11-1905-4528-9595-b738bc7ba2f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5acadc11-1905-4528-9595-b738bc7ba2f7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:59:13 +0000 (0:00:00.022) 0:00:14.249 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 19:59:13 +0000 (0:00:00.040) 0:00:14.290 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:59:13 +0000 (0:00:00.032) 0:00:14.322 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 19:59:13 +0000 (0:00:00.251) 0:00:14.574 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 19:59:13 +0000 (0:00:00.021) 0:00:14.595 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:59:13 +0000 (0:00:00.030) 0:00:14.626 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:59:13 +0000 (0:00:00.019) 0:00:14.645 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:59:13 +0000 (0:00:00.192) 0:00:14.838 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:59:13 +0000 (0:00:00.017) 0:00:14.855 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021187", "end": "2024-02-09 19:59:13.833751", "rc": 0, "start": "2024-02-09 19:59:13.812564" } 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:59:13 +0000 (0:00:00.215) 0:00:15.071 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:59:13 +0000 (0:00:00.035) 0:00:15.106 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:59:13 +0000 (0:00:00.019) 0:00:15.126 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:59:13 +0000 (0:00:00.020) 0:00:15.147 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:59:13 +0000 (0:00:00.022) 0:00:15.169 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 19:59:13 +0000 (0:00:00.026) 0:00:15.196 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 19:59:14 +0000 (0:00:00.024) 0:00:15.220 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 19:59:14 +0000 (0:00:00.024) 0:00:15.245 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:59:14 +0000 (0:00:00.021) 0:00:15.266 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:59:14 +0000 (0:00:00.027) 0:00:15.294 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:59:14 +0000 (0:00:00.021) 0:00:15.315 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:59:14 +0000 (0:00:00.061) 0:00:15.377 ******* 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.040365", "end": "2024-02-09 19:59:14.378653", "rc": 1, "start": "2024-02-09 19:59:14.338288" } STDOUT: Connection 'statebr' (5acadc11-1905-4528-9595-b738bc7ba2f7) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tests_states.yml:65 Friday 09 February 2024 19:59:14 +0000 (0:00:00.236) 0:00:15.614 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:59:14 +0000 (0:00:00.032) 0:00:15.647 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:59:14 +0000 (0:00:00.020) 0:00:15.667 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:59:14 +0000 (0:00:00.044) 0:00:15.712 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:59:14 +0000 (0:00:00.033) 0:00:15.745 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:59:14 +0000 (0:00:00.030) 0:00:15.776 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003038", "end": "2024-02-09 19:59:14.737912", "rc": 0, "start": "2024-02-09 19:59:14.734874" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:59:14 +0000 (0:00:00.197) 0:00:15.974 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:59:14 +0000 (0:00:00.027) 0:00:16.002 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:59:14 +0000 (0:00:00.025) 0:00:16.027 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:59:14 +0000 (0:00:00.038) 0:00:16.065 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:14 +0000 (0:00:00.048) 0:00:16.114 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:14 +0000 (0:00:00.067) 0:00:16.181 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:15 +0000 (0:00:00.032) 0:00:16.213 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:15 +0000 (0:00:00.030) 0:00:16.244 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:15 +0000 (0:00:00.022) 0:00:16.266 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:16 +0000 (0:00:01.412) 0:00:17.678 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:17 +0000 (0:00:01.011) 0:00:18.690 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:17 +0000 (0:00:00.035) 0:00:18.726 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:17 +0000 (0:00:00.042) 0:00:18.768 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:17 +0000 (0:00:00.034) 0:00:18.802 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:17 +0000 (0:00:00.081) 0:00:18.883 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:17 +0000 (0:00:00.030) 0:00:18.914 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:17 +0000 (0:00:00.022) 0:00:18.937 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:17 +0000 (0:00:00.041) 0:00:18.979 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:18 +0000 (0:00:00.422) 0:00:19.401 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:18 +0000 (0:00:00.037) 0:00:19.439 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:18 +0000 (0:00:00.028) 0:00:19.467 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:18 +0000 (0:00:00.057) 0:00:19.525 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0905b4d7-1b7c-49fa-a581-b970e835bb91 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:18 +0000 (0:00:00.411) 0:00:19.936 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:18 +0000 (0:00:00.028) 0:00:19.965 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0905b4d7-1b7c-49fa-a581-b970e835bb91" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:18 +0000 (0:00:00.028) 0:00:19.994 ******* 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, 0905b4d7-1b7c-49fa-a581-b970e835bb91\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0905b4d7-1b7c-49fa-a581-b970e835bb91" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:18 +0000 (0:00:00.034) 0:00:20.028 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:18 +0000 (0:00:00.047) 0:00:20.076 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 19:59:19 +0000 (0:00:00.208) 0:00:20.284 ******* 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, 0905b4d7-1b7c-49fa-a581-b970e835bb91\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0905b4d7-1b7c-49fa-a581-b970e835bb91" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:59:19 +0000 (0:00:00.035) 0:00:20.320 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 19:59:19 +0000 (0:00:00.050) 0:00:20.370 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:19 +0000 (0:00:00.042) 0:00:20.413 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:19 +0000 (0:00:00.042) 0:00:20.456 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:19 +0000 (0:00:00.041) 0:00:20.497 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:19 +0000 (0:00:00.031) 0:00:20.528 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:19 +0000 (0:00:00.042) 0:00:20.571 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:20 +0000 (0:00:01.635) 0:00:22.207 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:22 +0000 (0:00:01.015) 0:00:23.223 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:22 +0000 (0:00:00.033) 0:00:23.256 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:22 +0000 (0:00:00.027) 0:00:23.284 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:22 +0000 (0:00:00.035) 0:00:23.319 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:22 +0000 (0:00:00.060) 0:00:23.380 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:22 +0000 (0:00:00.040) 0:00:23.420 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:22 +0000 (0:00:00.023) 0:00:23.444 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:22 +0000 (0:00:00.033) 0:00:23.477 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:22 +0000 (0:00:00.389) 0:00:23.867 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:22 +0000 (0:00:00.043) 0:00:23.910 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:22 +0000 (0:00:00.024) 0:00:23.934 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:22 +0000 (0:00:00.033) 0:00:23.968 ******* 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, 0905b4d7-1b7c-49fa-a581-b970e835bb91 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:23 +0000 (0:00:00.360) 0:00:24.328 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:23 +0000 (0:00:00.023) 0:00:24.352 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0905b4d7-1b7c-49fa-a581-b970e835bb91 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:23 +0000 (0:00:00.021) 0:00:24.373 ******* 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, 0905b4d7-1b7c-49fa-a581-b970e835bb91 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0905b4d7-1b7c-49fa-a581-b970e835bb91 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:23 +0000 (0:00:00.058) 0:00:24.432 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:23 +0000 (0:00:00.023) 0:00:24.455 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:59:23 +0000 (0:00:00.203) 0:00:24.659 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 19:59:23 +0000 (0:00:00.038) 0:00:24.697 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:59:23 +0000 (0:00:00.029) 0:00:24.726 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508758.6379964, "block_size": 4096, "blocks": 0, "ctime": 1707508758.6379964, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30120, "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": 1707508758.6379964, "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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 19:59:23 +0000 (0:00:00.196) 0:00:24.923 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 19:59:23 +0000 (0:00:00.037) 0:00:24.961 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:59:23 +0000 (0:00:00.045) 0:00:25.006 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:59:23 +0000 (0:00:00.021) 0:00:25.027 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:59:24 +0000 (0:00:00.209) 0:00:25.237 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:59:24 +0000 (0:00:00.018) 0:00:25.256 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021112", "end": "2024-02-09 19:59:24.234678", "rc": 0, "start": "2024-02-09 19:59:24.213566" } 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:59:24 +0000 (0:00:00.217) 0:00:25.473 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:59:24 +0000 (0:00:00.027) 0:00:25.501 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:59:24 +0000 (0:00:00.021) 0:00:25.522 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:59:24 +0000 (0:00:00.079) 0:00:25.602 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:59:24 +0000 (0:00:00.034) 0:00:25.636 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 19:59:24 +0000 (0:00:00.033) 0:00:25.670 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 19:59:24 +0000 (0:00:00.023) 0:00:25.693 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 19:59:24 +0000 (0:00:00.023) 0:00:25.717 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:59:24 +0000 (0:00:00.033) 0:00:25.751 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:59:24 +0000 (0:00:00.036) 0:00:25.787 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:59:24 +0000 (0:00:00.025) 0:00:25.813 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:59:24 +0000 (0:00:00.038) 0:00:25.851 ******* 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.064375", "end": "2024-02-09 19:59:24.914422", "rc": 1, "start": "2024-02-09 19:59:24.850047" } STDOUT: Connection 'statebr' (0905b4d7-1b7c-49fa-a581-b970e835bb91) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tests_states.yml:83 Friday 09 February 2024 19:59:24 +0000 (0:00:00.304) 0:00:26.155 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:59:24 +0000 (0:00:00.035) 0:00:26.190 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:59:25 +0000 (0:00:00.021) 0:00:26.212 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:59:25 +0000 (0:00:00.039) 0:00:26.252 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:59:25 +0000 (0:00:00.033) 0:00:26.286 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:59:25 +0000 (0:00:00.032) 0:00:26.318 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003164", "end": "2024-02-09 19:59:25.281156", "rc": 0, "start": "2024-02-09 19:59:25.277992" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:59:25 +0000 (0:00:00.233) 0:00:26.552 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:59:25 +0000 (0:00:00.023) 0:00:26.575 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:59:25 +0000 (0:00:00.025) 0:00:26.601 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:59:25 +0000 (0:00:00.042) 0:00:26.643 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:25 +0000 (0:00:00.044) 0:00:26.688 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:25 +0000 (0:00:00.051) 0:00:26.740 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:25 +0000 (0:00:00.047) 0:00:26.787 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:25 +0000 (0:00:00.023) 0:00:26.810 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:25 +0000 (0:00:00.026) 0:00:26.837 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:27 +0000 (0:00:01.423) 0:00:28.260 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:27 +0000 (0:00:00.945) 0:00:29.206 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:28 +0000 (0:00:00.025) 0:00:29.232 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:28 +0000 (0:00:00.063) 0:00:29.295 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:28 +0000 (0:00:00.023) 0:00:29.319 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:28 +0000 (0:00:00.057) 0:00:29.376 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:28 +0000 (0:00:00.022) 0:00:29.398 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:28 +0000 (0:00:00.024) 0:00:29.423 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:28 +0000 (0:00:00.034) 0:00:29.458 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:28 +0000 (0:00:00.416) 0:00:29.875 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:28 +0000 (0:00:00.058) 0:00:29.933 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:28 +0000 (0:00:00.022) 0:00:29.955 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:28 +0000 (0:00:00.022) 0:00:29.977 ******* 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, 4d09a867-6cab-4769-a962-1937b34b8d25 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:29 +0000 (0:00:00.398) 0:00:30.375 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:29 +0000 (0:00:00.026) 0:00:30.402 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4d09a867-6cab-4769-a962-1937b34b8d25" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:29 +0000 (0:00:00.025) 0:00:30.427 ******* 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, 4d09a867-6cab-4769-a962-1937b34b8d25\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4d09a867-6cab-4769-a962-1937b34b8d25" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:29 +0000 (0:00:00.025) 0:00:30.453 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:29 +0000 (0:00:00.028) 0:00:30.481 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 19:59:29 +0000 (0:00:00.206) 0:00:30.688 ******* 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, 4d09a867-6cab-4769-a962-1937b34b8d25\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4d09a867-6cab-4769-a962-1937b34b8d25" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 19:59:29 +0000 (0:00:00.022) 0:00:30.710 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:29 +0000 (0:00:00.072) 0:00:30.783 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:29 +0000 (0:00:00.037) 0:00:30.821 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:29 +0000 (0:00:00.048) 0:00:30.870 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:29 +0000 (0:00:00.026) 0:00:30.896 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:29 +0000 (0:00:00.030) 0:00:30.926 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:31 +0000 (0:00:01.419) 0:00:32.346 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:32 +0000 (0:00:00.956) 0:00:33.302 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:32 +0000 (0:00:00.023) 0:00:33.326 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:32 +0000 (0:00:00.021) 0:00:33.347 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:32 +0000 (0:00:00.021) 0:00:33.369 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:32 +0000 (0:00:00.050) 0:00:33.419 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:32 +0000 (0:00:00.026) 0:00:33.446 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:32 +0000 (0:00:00.025) 0:00:33.472 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:32 +0000 (0:00:00.035) 0:00:33.508 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:32 +0000 (0:00:00.416) 0:00:33.924 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:32 +0000 (0:00:00.042) 0:00:33.967 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:32 +0000 (0:00:00.022) 0:00:33.990 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:32 +0000 (0:00:00.026) 0:00:34.016 ******* 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, 4d09a867-6cab-4769-a962-1937b34b8d25 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:33 +0000 (0:00:00.387) 0:00:34.404 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:33 +0000 (0:00:00.046) 0:00:34.450 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4d09a867-6cab-4769-a962-1937b34b8d25 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:33 +0000 (0:00:00.029) 0:00:34.480 ******* 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, 4d09a867-6cab-4769-a962-1937b34b8d25 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4d09a867-6cab-4769-a962-1937b34b8d25 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:33 +0000 (0:00:00.029) 0:00:34.509 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:33 +0000 (0:00:00.061) 0:00:34.571 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:59:33 +0000 (0:00:00.237) 0:00:34.808 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 19:59:33 +0000 (0:00:00.044) 0:00:34.853 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:33 +0000 (0:00:00.044) 0:00:34.898 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:33 +0000 (0:00:00.061) 0:00:34.960 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:33 +0000 (0:00:00.068) 0:00:35.028 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:33 +0000 (0:00:00.074) 0:00:35.103 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:33 +0000 (0:00:00.035) 0:00:35.138 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:35 +0000 (0:00:01.460) 0:00:36.599 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:36 +0000 (0:00:00.945) 0:00:37.544 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:36 +0000 (0:00:00.022) 0:00:37.567 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:36 +0000 (0:00:00.024) 0:00:37.591 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:36 +0000 (0:00:00.023) 0:00:37.614 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:36 +0000 (0:00:00.061) 0:00:37.675 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:36 +0000 (0:00:00.050) 0:00:37.726 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:36 +0000 (0:00:00.036) 0:00:37.763 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:36 +0000 (0:00:00.072) 0:00:37.836 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:37 +0000 (0:00:00.387) 0:00:38.223 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:37 +0000 (0:00:00.037) 0:00:38.261 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:37 +0000 (0:00:00.023) 0:00:38.284 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:37 +0000 (0:00:00.024) 0:00:38.308 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:37 +0000 (0:00:00.458) 0:00:38.767 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:37 +0000 (0:00:00.066) 0:00:38.833 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:37 +0000 (0:00:00.034) 0:00:38.868 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:37 +0000 (0:00:00.052) 0:00:38.921 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:37 +0000 (0:00:00.022) 0:00:38.944 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:59:37 +0000 (0:00:00.258) 0:00:39.202 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 19:59:38 +0000 (0:00:00.038) 0:00:39.241 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:59:38 +0000 (0:00:00.031) 0:00:39.272 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707508769.087343, "block_size": 4096, "blocks": 0, "ctime": 1707508769.087343, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30251, "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": 1707508769.087343, "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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 19:59:38 +0000 (0:00:00.209) 0:00:39.481 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 19:59:38 +0000 (0:00:00.032) 0:00:39.513 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:59:38 +0000 (0:00:00.043) 0:00:39.557 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:59:38 +0000 (0:00:00.036) 0:00:39.594 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:59:38 +0000 (0:00:00.208) 0:00:39.802 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:59:38 +0000 (0:00:00.028) 0:00:39.831 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020512", "end": "2024-02-09 19:59:38.811320", "rc": 1, "start": "2024-02-09 19:59:38.790808" } 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:59:38 +0000 (0:00:00.226) 0:00:40.057 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:59:38 +0000 (0:00:00.047) 0:00:40.105 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:59:39 +0000 (0:00:00.149) 0:00:40.254 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:59:39 +0000 (0:00:00.022) 0:00:40.277 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:59:39 +0000 (0:00:00.026) 0:00:40.303 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 19:59:39 +0000 (0:00:00.023) 0:00:40.327 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:59:39 +0000 (0:00:00.025) 0:00:40.353 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:59:39 +0000 (0:00:00.028) 0:00:40.382 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:59:39 +0000 (0:00:00.029) 0:00:40.411 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:59:39 +0000 (0:00:00.042) 0:00:40.454 ******* 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.075132", "end": "2024-02-09 19:59:39.519832", "rc": 1, "start": "2024-02-09 19:59:39.444700" } STDOUT: Connection 'statebr' (4d09a867-6cab-4769-a962-1937b34b8d25) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tests_states.yml:102 Friday 09 February 2024 19:59:39 +0000 (0:00:00.302) 0:00:40.756 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:59:39 +0000 (0:00:00.035) 0:00:40.791 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:59:39 +0000 (0:00:00.038) 0:00:40.830 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:59:39 +0000 (0:00:00.055) 0:00:40.886 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:59:39 +0000 (0:00:00.032) 0:00:40.918 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:59:39 +0000 (0:00:00.031) 0:00:40.949 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003193", "end": "2024-02-09 19:59:39.911476", "rc": 0, "start": "2024-02-09 19:59:39.908283" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:59:39 +0000 (0:00:00.240) 0:00:41.190 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:59:40 +0000 (0:00:00.024) 0:00:41.214 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:59:40 +0000 (0:00:00.022) 0:00:41.237 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:59:40 +0000 (0:00:00.072) 0:00:41.310 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:40 +0000 (0:00:00.100) 0:00:41.410 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:40 +0000 (0:00:00.084) 0:00:41.495 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:40 +0000 (0:00:00.094) 0:00:41.589 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:40 +0000 (0:00:00.037) 0:00:41.626 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:40 +0000 (0:00:00.036) 0:00:41.663 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:41 +0000 (0:00:01.458) 0:00:43.121 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:42 +0000 (0:00:00.953) 0:00:44.075 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:42 +0000 (0:00:00.022) 0:00:44.097 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:42 +0000 (0:00:00.021) 0:00:44.119 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:42 +0000 (0:00:00.055) 0:00:44.175 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:43 +0000 (0:00:00.053) 0:00:44.228 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:43 +0000 (0:00:00.024) 0:00:44.253 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:43 +0000 (0:00:00.047) 0:00:44.300 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:43 +0000 (0:00:00.055) 0:00:44.356 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:43 +0000 (0:00:00.393) 0:00:44.749 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:43 +0000 (0:00:00.035) 0:00:44.785 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:43 +0000 (0:00:00.018) 0:00:44.803 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:43 +0000 (0:00:00.023) 0:00:44.826 ******* 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, ae2959ad-59ba-40f4-b817-efc67ad60a5f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:44 +0000 (0:00:00.407) 0:00:45.234 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:44 +0000 (0:00:00.024) 0:00:45.259 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae2959ad-59ba-40f4-b817-efc67ad60a5f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:44 +0000 (0:00:00.052) 0:00:45.311 ******* 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, ae2959ad-59ba-40f4-b817-efc67ad60a5f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae2959ad-59ba-40f4-b817-efc67ad60a5f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:44 +0000 (0:00:00.030) 0:00:45.342 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:44 +0000 (0:00:00.029) 0:00:45.371 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 19:59:44 +0000 (0:00:00.212) 0:00:45.584 ******* 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, ae2959ad-59ba-40f4-b817-efc67ad60a5f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae2959ad-59ba-40f4-b817-efc67ad60a5f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 19:59:44 +0000 (0:00:00.025) 0:00:45.610 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:44 +0000 (0:00:00.141) 0:00:45.752 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:44 +0000 (0:00:00.045) 0:00:45.797 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:44 +0000 (0:00:00.047) 0:00:45.844 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:44 +0000 (0:00:00.033) 0:00:45.878 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:44 +0000 (0:00:00.025) 0:00:45.903 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:46 +0000 (0:00:01.411) 0:00:47.315 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:47 +0000 (0:00:00.946) 0:00:48.262 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:47 +0000 (0:00:00.024) 0:00:48.286 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:47 +0000 (0:00:00.023) 0:00:48.310 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:47 +0000 (0:00:00.023) 0:00:48.334 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:47 +0000 (0:00:00.053) 0:00:48.387 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:47 +0000 (0:00:00.023) 0:00:48.411 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:47 +0000 (0:00:00.022) 0:00:48.434 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:47 +0000 (0:00:00.036) 0:00:48.470 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:47 +0000 (0:00:00.405) 0:00:48.876 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:47 +0000 (0:00:00.142) 0:00:49.019 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:47 +0000 (0:00:00.034) 0:00:49.053 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:47 +0000 (0:00:00.019) 0:00:49.073 ******* 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, ae2959ad-59ba-40f4-b817-efc67ad60a5f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:48 +0000 (0:00:00.366) 0:00:49.440 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:48 +0000 (0:00:00.031) 0:00:49.471 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ae2959ad-59ba-40f4-b817-efc67ad60a5f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:48 +0000 (0:00:00.041) 0:00:49.513 ******* 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, ae2959ad-59ba-40f4-b817-efc67ad60a5f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ae2959ad-59ba-40f4-b817-efc67ad60a5f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:48 +0000 (0:00:00.030) 0:00:49.543 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:48 +0000 (0:00:00.044) 0:00:49.588 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 19:59:48 +0000 (0:00:00.256) 0:00:49.844 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:48 +0000 (0:00:00.041) 0:00:49.886 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:48 +0000 (0:00:00.037) 0:00:49.924 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:48 +0000 (0:00:00.038) 0:00:49.962 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:48 +0000 (0:00:00.024) 0:00:49.986 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:48 +0000 (0:00:00.033) 0:00:50.020 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:50 +0000 (0:00:01.478) 0:00:51.498 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:51 +0000 (0:00:00.979) 0:00:52.477 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:51 +0000 (0:00:00.041) 0:00:52.519 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:51 +0000 (0:00:00.032) 0:00:52.551 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:51 +0000 (0:00:00.035) 0:00:52.586 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:51 +0000 (0:00:00.063) 0:00:52.650 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:51 +0000 (0:00:00.057) 0:00:52.708 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:51 +0000 (0:00:00.037) 0:00:52.746 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:51 +0000 (0:00:00.056) 0:00:52.802 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:51 +0000 (0:00:00.382) 0:00:53.185 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:52 +0000 (0:00:00.036) 0:00:53.221 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:52 +0000 (0:00:00.024) 0:00:53.246 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:52 +0000 (0:00:00.022) 0:00:53.268 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:52 +0000 (0:00:00.398) 0:00:53.666 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:52 +0000 (0:00:00.022) 0:00:53.689 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:52 +0000 (0:00:00.022) 0:00:53.712 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:52 +0000 (0:00:00.024) 0:00:53.737 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:52 +0000 (0:00:00.120) 0:00:53.857 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 19:59:52 +0000 (0:00:00.203) 0:00:54.061 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 19:59:52 +0000 (0:00:00.036) 0:00:54.098 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:52 +0000 (0:00:00.055) 0:00:54.153 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:52 +0000 (0:00:00.051) 0:00:54.205 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:53 +0000 (0:00:00.036) 0:00:54.242 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:53 +0000 (0:00:00.032) 0:00:54.274 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:53 +0000 (0:00:00.037) 0:00:54.312 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 19:59:54 +0000 (0:00:01.404) 0:00:55.716 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 19:59:55 +0000 (0:00:00.949) 0:00:56.666 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 19:59:55 +0000 (0:00:00.022) 0:00:56.688 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 19:59:55 +0000 (0:00:00.059) 0:00:56.748 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 19:59:55 +0000 (0:00:00.025) 0:00:56.773 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 19:59:55 +0000 (0:00:00.054) 0:00:56.828 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 19:59:55 +0000 (0:00:00.024) 0:00:56.852 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 19:59:55 +0000 (0:00:00.022) 0:00:56.875 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 19:59:55 +0000 (0:00:00.035) 0:00:56.910 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 19:59:56 +0000 (0:00:00.383) 0:00:57.294 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 19:59:56 +0000 (0:00:00.043) 0:00:57.337 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 19:59:56 +0000 (0:00:00.022) 0:00:57.360 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 19:59:56 +0000 (0:00:00.020) 0:00:57.380 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 19:59:56 +0000 (0:00:00.445) 0:00:57.826 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 19:59:56 +0000 (0:00:00.029) 0:00:57.855 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 19:59:56 +0000 (0:00:00.040) 0:00:57.896 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 19:59:56 +0000 (0:00:00.037) 0:00:57.933 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 19:59:56 +0000 (0:00:00.025) 0:00:57.958 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 19:59:57 +0000 (0:00:00.252) 0:00:58.211 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 19:59:57 +0000 (0:00:00.124) 0:00:58.336 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 19:59:57 +0000 (0:00:00.040) 0:00:58.376 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 19:59:57 +0000 (0:00:00.027) 0:00:58.404 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 19:59:57 +0000 (0:00:00.198) 0:00:58.603 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 19:59:57 +0000 (0:00:00.025) 0:00:58.628 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020776", "end": "2024-02-09 19:59:57.611044", "rc": 1, "start": "2024-02-09 19:59:57.590268" } 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 19:59:57 +0000 (0:00:00.218) 0:00:58.846 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 19:59:57 +0000 (0:00:00.019) 0:00:58.866 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 19:59:57 +0000 (0:00:00.019) 0:00:58.885 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 19:59:57 +0000 (0:00:00.020) 0:00:58.906 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 19:59:57 +0000 (0:00:00.019) 0:00:58.926 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 19:59:57 +0000 (0:00:00.028) 0:00:58.954 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 19:59:57 +0000 (0:00:00.023) 0:00:58.977 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 19:59:57 +0000 (0:00:00.046) 0:00:59.024 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 19:59:57 +0000 (0:00:00.032) 0:00:59.056 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 19:59:58 +0000 (0:00:00.195) 0:00:59.252 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 19:59:58 +0000 (0:00:00.022) 0:00:59.274 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 19:59:58 +0000 (0:00:00.075) 0:00:59.350 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 19:59:58 +0000 (0:00:00.039) 0:00:59.389 ******* 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.037945", "end": "2024-02-09 19:59:58.392480", "rc": 1, "start": "2024-02-09 19:59:58.354535" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tests_states.yml:124 Friday 09 February 2024 19:59:58 +0000 (0:00:00.239) 0:00:59.628 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 19:59:58 +0000 (0:00:00.031) 0:00:59.660 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 19:59:58 +0000 (0:00:00.020) 0:00:59.680 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 19:59:58 +0000 (0:00:00.040) 0:00:59.721 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 19:59:58 +0000 (0:00:00.029) 0:00:59.751 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 19:59:58 +0000 (0:00:00.029) 0:00:59.781 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003227", "end": "2024-02-09 19:59:58.758225", "rc": 0, "start": "2024-02-09 19:59:58.754998" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 19:59:58 +0000 (0:00:00.231) 0:01:00.012 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 19:59:58 +0000 (0:00:00.031) 0:01:00.043 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 19:59:58 +0000 (0:00:00.026) 0:01:00.070 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 19:59:58 +0000 (0:00:00.039) 0:01:00.109 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 19:59:58 +0000 (0:00:00.079) 0:01:00.189 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 19:59:59 +0000 (0:00:00.036) 0:01:00.226 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 19:59:59 +0000 (0:00:00.033) 0:01:00.259 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 19:59:59 +0000 (0:00:00.024) 0:01:00.283 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 19:59:59 +0000 (0:00:00.023) 0:01:00.307 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:00:00 +0000 (0:00:01.431) 0:01:01.739 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:00:01 +0000 (0:00:00.985) 0:01:02.724 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:00:01 +0000 (0:00:00.023) 0:01:02.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:00:01 +0000 (0:00:00.024) 0:01:02.772 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:00:01 +0000 (0:00:00.023) 0:01:02.796 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:00:01 +0000 (0:00:00.054) 0:01:02.850 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:00:01 +0000 (0:00:00.026) 0:01:02.877 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:00:01 +0000 (0:00:00.022) 0:01:02.899 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:00:01 +0000 (0:00:00.037) 0:01:02.936 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:00:02 +0000 (0:00:00.414) 0:01:03.351 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:00:02 +0000 (0:00:00.158) 0:01:03.510 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:00:02 +0000 (0:00:00.020) 0:01:03.531 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:00:02 +0000 (0:00:00.020) 0:01:03.551 ******* 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, eaaf4d07-7f16-42ba-984e-1ff2596dab36 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:00:02 +0000 (0:00:00.404) 0:01:03.956 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:00:02 +0000 (0:00:00.023) 0:01:03.980 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eaaf4d07-7f16-42ba-984e-1ff2596dab36" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:00:02 +0000 (0:00:00.024) 0:01:04.005 ******* 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, eaaf4d07-7f16-42ba-984e-1ff2596dab36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eaaf4d07-7f16-42ba-984e-1ff2596dab36" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:00:02 +0000 (0:00:00.023) 0:01:04.028 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:00:02 +0000 (0:00:00.024) 0:01:04.053 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 20:00:03 +0000 (0:00:00.204) 0:01:04.258 ******* 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, eaaf4d07-7f16-42ba-984e-1ff2596dab36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eaaf4d07-7f16-42ba-984e-1ff2596dab36" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 20:00:03 +0000 (0:00:00.024) 0:01:04.283 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:00:03 +0000 (0:00:00.042) 0:01:04.326 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:00:03 +0000 (0:00:00.039) 0:01:04.365 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:00:03 +0000 (0:00:00.033) 0:01:04.399 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:00:03 +0000 (0:00:00.022) 0:01:04.422 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:00:03 +0000 (0:00:00.022) 0:01:04.444 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:00:04 +0000 (0:00:01.548) 0:01:05.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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:00:05 +0000 (0:00:00.952) 0:01:06.945 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:00:05 +0000 (0:00:00.024) 0:01:06.969 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:00:05 +0000 (0:00:00.025) 0:01:06.995 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:00:05 +0000 (0:00:00.034) 0:01:07.030 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:00:05 +0000 (0:00:00.073) 0:01:07.103 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:00:05 +0000 (0:00:00.026) 0:01:07.129 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:00:05 +0000 (0:00:00.028) 0:01:07.157 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:00:05 +0000 (0:00:00.051) 0:01:07.208 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:00:06 +0000 (0:00:00.385) 0:01:07.594 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:00:06 +0000 (0:00:00.036) 0:01:07.630 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:00:06 +0000 (0:00:00.022) 0:01:07.653 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:00:06 +0000 (0:00:00.027) 0:01:07.681 ******* 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, eaaf4d07-7f16-42ba-984e-1ff2596dab36 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:00:06 +0000 (0:00:00.367) 0:01:08.048 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:00:06 +0000 (0:00:00.042) 0:01:08.091 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eaaf4d07-7f16-42ba-984e-1ff2596dab36 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:00:06 +0000 (0:00:00.043) 0:01:08.134 ******* 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, eaaf4d07-7f16-42ba-984e-1ff2596dab36 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eaaf4d07-7f16-42ba-984e-1ff2596dab36 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:00:07 +0000 (0:00:00.132) 0:01:08.266 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:00:07 +0000 (0:00:00.056) 0:01:08.323 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 20:00:07 +0000 (0:00:00.235) 0:01:08.559 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:00:07 +0000 (0:00:00.047) 0:01:08.606 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:00:07 +0000 (0:00:00.058) 0:01:08.664 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:00:07 +0000 (0:00:00.051) 0:01:08.716 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:00:07 +0000 (0:00:00.025) 0:01:08.741 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:00:07 +0000 (0:00:00.031) 0:01:08.773 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:00:09 +0000 (0:00:01.446) 0:01:10.219 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:00:10 +0000 (0:00:01.005) 0:01:11.225 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:00:10 +0000 (0:00:00.064) 0:01:11.289 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:00:10 +0000 (0:00:00.034) 0:01:11.324 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:00:10 +0000 (0:00:00.095) 0:01:11.419 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:00:10 +0000 (0:00:00.065) 0:01:11.484 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:00:10 +0000 (0:00:00.038) 0:01:11.523 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:00:10 +0000 (0:00:00.024) 0:01:11.547 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:00:10 +0000 (0:00:00.051) 0:01:11.599 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:00:10 +0000 (0:00:00.389) 0:01:11.989 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:00:10 +0000 (0:00:00.070) 0:01:12.060 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:00:10 +0000 (0:00:00.042) 0:01:12.102 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:00:10 +0000 (0:00:00.021) 0:01:12.123 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:00:11 +0000 (0:00:00.460) 0:01:12.583 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:00:11 +0000 (0:00:00.035) 0:01:12.619 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:00:11 +0000 (0:00:00.033) 0:01:12.653 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:00:11 +0000 (0:00:00.059) 0:01:12.712 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:00:11 +0000 (0:00:00.024) 0:01:12.737 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 20:00:11 +0000 (0:00:00.222) 0:01:12.960 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 20:00:11 +0000 (0:00:00.039) 0:01:12.999 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:00:11 +0000 (0:00:00.136) 0:01:13.136 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/.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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:00:11 +0000 (0:00:00.039) 0:01:13.176 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:00:12 +0000 (0:00:00.058) 0:01:13.234 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:00:12 +0000 (0:00:00.024) 0:01:13.259 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:00:12 +0000 (0:00:00.025) 0:01:13.284 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:00:13 +0000 (0:00:01.471) 0:01:14.756 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:00:14 +0000 (0:00:00.995) 0:01:15.751 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:00:14 +0000 (0:00:00.030) 0:01:15.781 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:00:14 +0000 (0:00:00.025) 0:01:15.807 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:00:14 +0000 (0:00:00.024) 0:01:15.832 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:00:14 +0000 (0:00:00.051) 0:01:15.883 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:00:14 +0000 (0:00:00.022) 0:01:15.906 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:00:14 +0000 (0:00:00.021) 0:01:15.927 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:00:14 +0000 (0:00:00.037) 0:01:15.964 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:00:15 +0000 (0:00:00.429) 0:01:16.394 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:00:15 +0000 (0:00:00.038) 0:01:16.432 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:00:15 +0000 (0:00:00.042) 0:01:16.474 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:00:15 +0000 (0:00:00.038) 0:01:16.513 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:00:15 +0000 (0:00:00.436) 0:01:16.950 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:00:15 +0000 (0:00:00.032) 0:01:16.982 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:00:15 +0000 (0:00:00.050) 0:01:17.032 ******* 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-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:00:15 +0000 (0:00:00.032) 0:01:17.065 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:00:15 +0000 (0:00:00.044) 0:01:17.109 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 20:00:16 +0000 (0:00:00.230) 0:01:17.340 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 20:00:16 +0000 (0:00:00.095) 0:01:17.435 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:00:16 +0000 (0:00:00.063) 0:01:17.499 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:00:16 +0000 (0:00:00.030) 0:01:17.529 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:00:16 +0000 (0:00:00.256) 0:01:17.786 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:00:16 +0000 (0:00:00.020) 0:01:17.806 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020534", "end": "2024-02-09 20:00:16.789407", "rc": 1, "start": "2024-02-09 20:00:16.768873" } 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:00:16 +0000 (0:00:00.222) 0:01:18.029 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:00:16 +0000 (0:00:00.099) 0:01:18.129 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:00:16 +0000 (0:00:00.030) 0:01:18.160 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:00:16 +0000 (0:00:00.028) 0:01:18.188 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:00:17 +0000 (0:00:00.029) 0:01:18.218 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 20:00:17 +0000 (0:00:00.021) 0:01:18.239 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 09 February 2024 20:00:17 +0000 (0:00:00.022) 0:01:18.261 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.581170", "end": "2024-02-09 20:00:17.802783", "rc": 0, "start": "2024-02-09 20:00:17.221613" } STDOUT: NetworkManager-1.45.10-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 09 February 2024 20:00:17 +0000 (0:00:00.784) 0:01:19.046 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 09 February 2024 20:00:17 +0000 (0:00:00.021) 0:01:19.068 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 20:00:17 +0000 (0:00:00.024) 0:01:19.092 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/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-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:00:17 +0000 (0:00:00.051) 0:01:19.144 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:00:17 +0000 (0:00:00.031) 0:01:19.175 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:00:18 +0000 (0:00:00.207) 0:01:19.382 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 20:00:18 +0000 (0:00:00.054) 0:01:19.437 ******* 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-bond_options_rewritekel1qiae/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 20:00:18 +0000 (0:00:00.029) 0:01:19.467 ******* included: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritekel1qiae/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 20:00:18 +0000 (0:00:00.055) 0:01:19.522 ******* 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.038667", "end": "2024-02-09 20:00:18.569543", "rc": 1, "start": "2024-02-09 20:00:18.530876" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): '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 Friday 09 February 2024 20:00:18 +0000 (0:00:00.399) 0:01:19.922 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.64s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.43s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.42s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.42s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.41s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.41s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.40s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-bond_options_rewritekel1qiae/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-bond_options_rewritekel1qiae/.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. ---^---^---^---^---^---