# 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_rewriteyg1pmudk/.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_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/tests_states_nm.yml:6 Tuesday 30 January 2024 21:32:58 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tests_states_nm.yml:9 Tuesday 30 January 2024 21:32:59 +0000 (0:00:01.138) 0:00:01.154 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/tasks/el_repo_setup.yml:3 Tuesday 30 January 2024 21:32:59 +0000 (0:00:00.024) 0:00:01.178 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/el_repo_setup.yml:17 Tuesday 30 January 2024 21:32:59 +0000 (0:00:00.452) 0:00:01.630 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/el_repo_setup.yml:22 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.353) 0:00:01.984 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/el_repo_setup.yml:26 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.024) 0:00:02.009 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/el_repo_setup.yml:51 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.016) 0:00:02.026 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/enable_epel.yml:8 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.037) 0:00:02.063 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/enable_epel.yml:24 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.013) 0:00:02.076 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/enable_epel.yml:30 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.011) 0:00:02.088 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/enable_epel.yml:35 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.011) 0:00:02.100 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tasks/enable_epel.yml:40 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.010) 0:00:02.110 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tests_states_nm.yml:11 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.012) 0:00:02.122 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tests_states.yml:3 Tuesday 30 January 2024 21:33:00 +0000 (0:00:00.022) 0:00:02.145 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tests_states.yml:11 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.790) 0:00:02.935 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tests_states.yml:22 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.014) 0:00:02.949 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.019) 0:00:02.969 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.014) 0:00:02.983 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.047) 0:00:03.031 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.018) 0:00:03.050 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.016) 0:00:03.067 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003802", "end": "2024-01-30 21:33:01.490764", "rc": 0, "start": "2024-01-30 21:33:01.486962" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.339) 0:00:03.406 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.023) 0:00:03.429 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.016) 0:00:03.446 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.028) 0:00:03.474 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007885", "end": "2024-01-30 21:33:01.806446", "rc": 1, "start": "2024-01-30 21:33:01.798561" } 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.246) 0:00:03.720 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:33:01 +0000 (0:00:00.021) 0:00:03.742 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:33:02 +0000 (0:00:00.238) 0:00:03.980 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:33:02 +0000 (0:00:00.015) 0:00:03.996 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:33:02 +0000 (0:00:00.024) 0:00:04.020 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:33:02 +0000 (0:00:00.033) 0:00:04.054 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:33:02 +0000 (0:00:00.029) 0:00:04.084 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:33:02 +0000 (0:00:00.027) 0:00:04.111 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:33:02 +0000 (0:00:00.018) 0:00:04.129 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:33:02 +0000 (0:00:00.022) 0:00:04.151 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:33:04 +0000 (0:00:02.385) 0:00:06.537 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:33:05 +0000 (0:00:01.289) 0:00:07.826 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:33:05 +0000 (0:00:00.041) 0:00:07.867 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:33:06 +0000 (0:00:00.052) 0:00:07.920 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:33:06 +0000 (0:00:00.042) 0:00:07.962 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:33:06 +0000 (0:00:00.104) 0:00:08.067 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:33:06 +0000 (0:00:00.078) 0:00:08.145 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:33:06 +0000 (0:00:00.060) 0:00:08.205 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:33:06 +0000 (0:00:00.130) 0:00:08.336 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:33:07 +0000 (0:00:00.949) 0:00:09.286 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:33:07 +0000 (0:00:00.050) 0:00:09.336 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:33:07 +0000 (0:00:00.025) 0:00:09.361 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:33:07 +0000 (0:00:00.029) 0:00:09.390 ******* 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, 28346241-cd51-4a33-b727-e3f20dd61680 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:33:08 +0000 (0:00:00.705) 0:00:10.095 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:33:08 +0000 (0:00:00.044) 0:00:10.140 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28346241-cd51-4a33-b727-e3f20dd61680" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:33:08 +0000 (0:00:00.050) 0:00:10.191 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28346241-cd51-4a33-b727-e3f20dd61680\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28346241-cd51-4a33-b727-e3f20dd61680" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:33:08 +0000 (0:00:00.045) 0:00:10.237 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:33:08 +0000 (0:00:00.048) 0:00:10.286 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:33:08 +0000 (0:00:00.464) 0:00:10.750 ******* 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, 28346241-cd51-4a33-b727-e3f20dd61680\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28346241-cd51-4a33-b727-e3f20dd61680" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:33:08 +0000 (0:00:00.043) 0:00:10.793 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 January 2024 21:33:08 +0000 (0:00:00.079) 0:00:10.873 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.101) 0:00:10.975 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.040) 0:00:11.015 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.255) 0:00:11.270 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.028) 0:00:11.299 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021316", "end": "2024-01-30 21:33:09.640147", "rc": 0, "start": "2024-01-30 21:33:09.618831" } 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.278) 0:00:11.577 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.042) 0:00:11.620 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.036) 0:00:11.657 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.038) 0:00:11.695 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.036) 0:00:11.732 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.027) 0:00:11.760 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.041) 0:00:11.802 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.043) 0:00:11.845 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:33:09 +0000 (0:00:00.042) 0:00:11.888 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 21:33:10 +0000 (0:00:00.067) 0:00:11.956 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:33:10 +0000 (0:00:00.045) 0:00:12.001 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650388.1099539, "block_size": 4096, "blocks": 0, "ctime": 1706650388.1099539, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38485, "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": 1706650388.1099539, "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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 21:33:10 +0000 (0:00:00.294) 0:00:12.296 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:33:10 +0000 (0:00:00.037) 0:00:12.334 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:33:10 +0000 (0:00:00.045) 0:00:12.379 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:33:10 +0000 (0:00:00.092) 0:00:12.471 ******* 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.060592", "end": "2024-01-30 21:33:10.854449", "rc": 1, "start": "2024-01-30 21:33:10.793857" } STDOUT: Connection 'statebr' (28346241-cd51-4a33-b727-e3f20dd61680) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tests_states.yml:45 Tuesday 30 January 2024 21:33:10 +0000 (0:00:00.322) 0:00:12.794 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:33:10 +0000 (0:00:00.052) 0:00:12.846 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:33:10 +0000 (0:00:00.029) 0:00:12.875 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:33:11 +0000 (0:00:00.059) 0:00:12.935 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:33:11 +0000 (0:00:00.050) 0:00:12.986 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:33:11 +0000 (0:00:00.051) 0:00:13.037 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2024-01-30 21:33:11.366330", "rc": 0, "start": "2024-01-30 21:33:11.362851" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:33:11 +0000 (0:00:00.258) 0:00:13.296 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:33:11 +0000 (0:00:00.030) 0:00:13.326 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:33:11 +0000 (0:00:00.079) 0:00:13.406 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 30 January 2024 21:33:11 +0000 (0:00:00.056) 0:00:13.462 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006487", "end": "2024-01-30 21:33:11.787532", "rc": 1, "start": "2024-01-30 21:33:11.781045" } 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:33:11 +0000 (0:00:00.260) 0:00:13.723 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:33:11 +0000 (0:00:00.054) 0:00:13.777 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:33:12 +0000 (0:00:00.263) 0:00:14.041 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:33:12 +0000 (0:00:00.037) 0:00:14.079 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 30 January 2024 21:33:12 +0000 (0:00:00.065) 0:00:14.144 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:33:12 +0000 (0:00:00.066) 0:00:14.210 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:33:12 +0000 (0:00:00.084) 0:00:14.295 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:33:12 +0000 (0:00:00.050) 0:00:14.346 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:33:12 +0000 (0:00:00.031) 0:00:14.378 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:33:12 +0000 (0:00:00.073) 0:00:14.451 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:33:14 +0000 (0:00:02.325) 0:00:16.777 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:33:15 +0000 (0:00:00.905) 0:00:17.682 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:33:15 +0000 (0:00:00.051) 0:00:17.734 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:33:15 +0000 (0:00:00.052) 0:00:17.786 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:33:15 +0000 (0:00:00.038) 0:00:17.824 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:33:16 +0000 (0:00:00.093) 0:00:17.918 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:33:16 +0000 (0:00:00.053) 0:00:17.972 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:33:16 +0000 (0:00:00.089) 0:00:18.061 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:33:16 +0000 (0:00:00.069) 0:00:18.130 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:33:16 +0000 (0:00:00.548) 0:00:18.679 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:33:16 +0000 (0:00:00.059) 0:00:18.738 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:33:16 +0000 (0:00:00.033) 0:00:18.772 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:33:16 +0000 (0:00:00.089) 0:00:18.861 ******* 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, d404480a-06b7-4ebd-8062-b55ff4b36e1d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:33:17 +0000 (0:00:00.481) 0:00:19.343 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:33:17 +0000 (0:00:00.040) 0:00:19.383 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d404480a-06b7-4ebd-8062-b55ff4b36e1d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:33:17 +0000 (0:00:00.041) 0:00:19.424 ******* 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, d404480a-06b7-4ebd-8062-b55ff4b36e1d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d404480a-06b7-4ebd-8062-b55ff4b36e1d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:33:17 +0000 (0:00:00.044) 0:00:19.469 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:33:17 +0000 (0:00:00.045) 0:00:19.514 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 30 January 2024 21:33:17 +0000 (0:00:00.293) 0:00:19.808 ******* 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, d404480a-06b7-4ebd-8062-b55ff4b36e1d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d404480a-06b7-4ebd-8062-b55ff4b36e1d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:33:17 +0000 (0:00:00.046) 0:00:19.854 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:33:18 +0000 (0:00:00.075) 0:00:19.930 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:33:18 +0000 (0:00:00.065) 0:00:19.995 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:33:18 +0000 (0:00:00.271) 0:00:20.267 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 January 2024 21:33:18 +0000 (0:00:00.068) 0:00:20.335 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:33:18 +0000 (0:00:00.071) 0:00:20.406 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:33:18 +0000 (0:00:00.119) 0:00:20.526 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:33:18 +0000 (0:00:00.292) 0:00:20.819 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:33:18 +0000 (0:00:00.055) 0:00:20.875 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021494", "end": "2024-01-30 21:33:19.236931", "rc": 0, "start": "2024-01-30 21:33:19.215437" } 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.324) 0:00:21.200 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.055) 0:00:21.255 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.038) 0:00:21.293 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.041) 0:00:21.335 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.056) 0:00:21.391 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.100) 0:00:21.491 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.056) 0:00:21.548 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.050) 0:00:21.599 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.036) 0:00:21.635 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.048) 0:00:21.684 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.041) 0:00:21.726 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:33:19 +0000 (0:00:00.057) 0:00:21.784 ******* 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.042445", "end": "2024-01-30 21:33:20.164142", "rc": 1, "start": "2024-01-30 21:33:20.121697" } STDOUT: Connection 'statebr' (d404480a-06b7-4ebd-8062-b55ff4b36e1d) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tests_states.yml:65 Tuesday 30 January 2024 21:33:20 +0000 (0:00:00.459) 0:00:22.244 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:33:20 +0000 (0:00:00.065) 0:00:22.309 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:33:20 +0000 (0:00:00.042) 0:00:22.351 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:33:20 +0000 (0:00:00.079) 0:00:22.430 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:33:20 +0000 (0:00:00.067) 0:00:22.498 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:33:20 +0000 (0:00:00.067) 0:00:22.566 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003811", "end": "2024-01-30 21:33:20.899820", "rc": 0, "start": "2024-01-30 21:33:20.896009" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:33:20 +0000 (0:00:00.279) 0:00:22.845 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:33:21 +0000 (0:00:00.045) 0:00:22.891 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:33:21 +0000 (0:00:00.043) 0:00:22.934 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:33:21 +0000 (0:00:00.078) 0:00:23.013 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:33:21 +0000 (0:00:00.081) 0:00:23.094 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:33:21 +0000 (0:00:00.127) 0:00:23.221 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:33:21 +0000 (0:00:00.050) 0:00:23.271 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:33:21 +0000 (0:00:00.048) 0:00:23.320 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:33:21 +0000 (0:00:00.034) 0:00:23.355 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:33:23 +0000 (0:00:02.398) 0:00:25.754 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:33:24 +0000 (0:00:00.895) 0:00:26.649 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:33:24 +0000 (0:00:00.048) 0:00:26.697 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:33:24 +0000 (0:00:00.091) 0:00:26.789 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:33:24 +0000 (0:00:00.066) 0:00:26.855 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:33:25 +0000 (0:00:00.103) 0:00:26.958 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:33:25 +0000 (0:00:00.049) 0:00:27.008 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:33:25 +0000 (0:00:00.060) 0:00:27.069 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:33:25 +0000 (0:00:00.072) 0:00:27.141 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:33:25 +0000 (0:00:00.702) 0:00:27.843 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:33:26 +0000 (0:00:00.070) 0:00:27.914 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:33:26 +0000 (0:00:00.042) 0:00:27.957 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:33:26 +0000 (0:00:00.042) 0:00:27.999 ******* 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, abf7586e-21c2-40c2-b7e5-8e723909c142 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:33:26 +0000 (0:00:00.544) 0:00:28.544 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:33:26 +0000 (0:00:00.042) 0:00:28.586 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abf7586e-21c2-40c2-b7e5-8e723909c142" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:33:26 +0000 (0:00:00.057) 0:00:28.643 ******* 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, abf7586e-21c2-40c2-b7e5-8e723909c142\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abf7586e-21c2-40c2-b7e5-8e723909c142" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:33:26 +0000 (0:00:00.045) 0:00:28.688 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:33:26 +0000 (0:00:00.060) 0:00:28.749 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:33:27 +0000 (0:00:00.293) 0:00:29.042 ******* 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, abf7586e-21c2-40c2-b7e5-8e723909c142\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, abf7586e-21c2-40c2-b7e5-8e723909c142" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:33:27 +0000 (0:00:00.036) 0:00:29.078 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 30 January 2024 21:33:27 +0000 (0:00:00.048) 0:00:29.127 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:33:27 +0000 (0:00:00.059) 0:00:29.186 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:33:27 +0000 (0:00:00.097) 0:00:29.284 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:33:27 +0000 (0:00:00.047) 0:00:29.332 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:33:27 +0000 (0:00:00.030) 0:00:29.362 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:33:27 +0000 (0:00:00.046) 0:00:29.408 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:33:29 +0000 (0:00:02.349) 0:00:31.758 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:33:30 +0000 (0:00:00.894) 0:00:32.653 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:33:30 +0000 (0:00:00.043) 0:00:32.696 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:33:30 +0000 (0:00:00.039) 0:00:32.736 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:33:30 +0000 (0:00:00.047) 0:00:32.784 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:33:31 +0000 (0:00:00.156) 0:00:32.941 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:33:31 +0000 (0:00:00.040) 0:00:32.981 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:33:31 +0000 (0:00:00.046) 0:00:33.027 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:33:31 +0000 (0:00:00.135) 0:00:33.163 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:33:31 +0000 (0:00:00.525) 0:00:33.688 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:33:31 +0000 (0:00:00.083) 0:00:33.771 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:33:31 +0000 (0:00:00.047) 0:00:33.819 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:33:31 +0000 (0:00:00.049) 0:00:33.869 ******* 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, abf7586e-21c2-40c2-b7e5-8e723909c142 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:33:32 +0000 (0:00:00.504) 0:00:34.374 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:33:32 +0000 (0:00:00.057) 0:00:34.432 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, abf7586e-21c2-40c2-b7e5-8e723909c142 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:33:32 +0000 (0:00:00.065) 0:00:34.497 ******* 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, abf7586e-21c2-40c2-b7e5-8e723909c142 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, abf7586e-21c2-40c2-b7e5-8e723909c142 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:33:32 +0000 (0:00:00.057) 0:00:34.555 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:33:32 +0000 (0:00:00.045) 0:00:34.600 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:33:33 +0000 (0:00:00.316) 0:00:34.917 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 21:33:33 +0000 (0:00:00.100) 0:00:35.017 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:33:33 +0000 (0:00:00.070) 0:00:35.087 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650406.5531628, "block_size": 4096, "blocks": 0, "ctime": 1706650406.5531628, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38616, "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": 1706650406.5531628, "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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 21:33:33 +0000 (0:00:00.287) 0:00:35.375 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 January 2024 21:33:33 +0000 (0:00:00.128) 0:00:35.503 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:33:33 +0000 (0:00:00.077) 0:00:35.580 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:33:33 +0000 (0:00:00.043) 0:00:35.624 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:33:33 +0000 (0:00:00.261) 0:00:35.886 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.027) 0:00:35.913 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021558", "end": "2024-01-30 21:33:34.258280", "rc": 0, "start": "2024-01-30 21:33:34.236722" } 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.290) 0:00:36.204 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.047) 0:00:36.251 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.036) 0:00:36.288 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.033) 0:00:36.321 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.032) 0:00:36.354 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.028) 0:00:36.383 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.038) 0:00:36.421 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.041) 0:00:36.462 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.035) 0:00:36.498 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.038) 0:00:36.536 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.068) 0:00:36.605 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:33:34 +0000 (0:00:00.060) 0:00:36.665 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.066736", "end": "2024-01-30 21:33:35.057691", "rc": 1, "start": "2024-01-30 21:33:34.990955" } STDOUT: Connection 'statebr' (abf7586e-21c2-40c2-b7e5-8e723909c142) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tests_states.yml:83 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.331) 0:00:36.997 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.075) 0:00:37.072 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.043) 0:00:37.115 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.078) 0:00:37.194 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.052) 0:00:37.246 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.046) 0:00:37.293 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003995", "end": "2024-01-30 21:33:35.620555", "rc": 0, "start": "2024-01-30 21:33:35.616560" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.256) 0:00:37.550 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.032) 0:00:37.583 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.039) 0:00:37.622 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.125) 0:00:37.748 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:33:35 +0000 (0:00:00.082) 0:00:37.830 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:33:36 +0000 (0:00:00.078) 0:00:37.909 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:33:36 +0000 (0:00:00.061) 0:00:37.970 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:33:36 +0000 (0:00:00.041) 0:00:38.012 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:33:36 +0000 (0:00:00.040) 0:00:38.052 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:33:38 +0000 (0:00:02.345) 0:00:40.398 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:33:39 +0000 (0:00:00.944) 0:00:41.343 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:33:39 +0000 (0:00:00.055) 0:00:41.399 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:33:39 +0000 (0:00:00.042) 0:00:41.441 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:33:39 +0000 (0:00:00.051) 0:00:41.492 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:33:39 +0000 (0:00:00.241) 0:00:41.734 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:33:39 +0000 (0:00:00.053) 0:00:41.787 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:33:39 +0000 (0:00:00.050) 0:00:41.838 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:33:40 +0000 (0:00:00.069) 0:00:41.908 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:33:40 +0000 (0:00:00.598) 0:00:42.507 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:33:40 +0000 (0:00:00.080) 0:00:42.587 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:33:40 +0000 (0:00:00.055) 0:00:42.643 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:33:40 +0000 (0:00:00.037) 0:00:42.680 ******* 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, 18a670de-9536-4f14-8a95-88f6a7802869 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:33:41 +0000 (0:00:00.589) 0:00:43.269 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:33:41 +0000 (0:00:00.057) 0:00:43.327 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18a670de-9536-4f14-8a95-88f6a7802869" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:33:41 +0000 (0:00:00.047) 0:00:43.374 ******* 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, 18a670de-9536-4f14-8a95-88f6a7802869\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18a670de-9536-4f14-8a95-88f6a7802869" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:33:41 +0000 (0:00:00.069) 0:00:43.443 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:33:41 +0000 (0:00:00.078) 0:00:43.522 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:33:41 +0000 (0:00:00.293) 0:00:43.815 ******* 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, 18a670de-9536-4f14-8a95-88f6a7802869\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18a670de-9536-4f14-8a95-88f6a7802869" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 30 January 2024 21:33:41 +0000 (0:00:00.033) 0:00:43.849 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:33:42 +0000 (0:00:00.167) 0:00:44.017 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:33:42 +0000 (0:00:00.092) 0:00:44.110 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:33:42 +0000 (0:00:00.063) 0:00:44.173 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:33:42 +0000 (0:00:00.048) 0:00:44.222 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:33:42 +0000 (0:00:00.049) 0:00:44.271 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:33:44 +0000 (0:00:02.321) 0:00:46.593 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:33:45 +0000 (0:00:00.857) 0:00:47.450 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:33:45 +0000 (0:00:00.045) 0:00:47.496 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:33:45 +0000 (0:00:00.039) 0:00:47.535 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:33:45 +0000 (0:00:00.035) 0:00:47.570 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:33:45 +0000 (0:00:00.085) 0:00:47.656 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:33:45 +0000 (0:00:00.042) 0:00:47.699 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:33:45 +0000 (0:00:00.109) 0:00:47.808 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:33:45 +0000 (0:00:00.060) 0:00:47.869 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:33:46 +0000 (0:00:00.584) 0:00:48.453 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:33:46 +0000 (0:00:00.074) 0:00:48.528 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:33:46 +0000 (0:00:00.036) 0:00:48.565 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:33:46 +0000 (0:00:00.033) 0:00:48.598 ******* 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, 18a670de-9536-4f14-8a95-88f6a7802869 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:33:47 +0000 (0:00:00.486) 0:00:49.084 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:33:47 +0000 (0:00:00.046) 0:00:49.131 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18a670de-9536-4f14-8a95-88f6a7802869 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:33:47 +0000 (0:00:00.053) 0:00:49.185 ******* 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, 18a670de-9536-4f14-8a95-88f6a7802869 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18a670de-9536-4f14-8a95-88f6a7802869 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:33:47 +0000 (0:00:00.044) 0:00:49.230 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:33:47 +0000 (0:00:00.058) 0:00:49.288 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:33:47 +0000 (0:00:00.271) 0:00:49.559 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 30 January 2024 21:33:47 +0000 (0:00:00.065) 0:00:49.625 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:33:47 +0000 (0:00:00.176) 0:00:49.801 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:33:48 +0000 (0:00:00.096) 0:00:49.898 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:33:48 +0000 (0:00:00.066) 0:00:49.965 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:33:48 +0000 (0:00:00.057) 0:00:50.022 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:33:48 +0000 (0:00:00.048) 0:00:50.071 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:33:50 +0000 (0:00:02.285) 0:00:52.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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:33:51 +0000 (0:00:00.889) 0:00:53.246 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:33:51 +0000 (0:00:00.042) 0:00:53.288 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:33:51 +0000 (0:00:00.046) 0:00:53.335 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:33:51 +0000 (0:00:00.053) 0:00:53.389 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:33:51 +0000 (0:00:00.104) 0:00:53.493 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:33:51 +0000 (0:00:00.039) 0:00:53.533 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:33:51 +0000 (0:00:00.103) 0:00:53.636 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:33:51 +0000 (0:00:00.071) 0:00:53.707 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:33:52 +0000 (0:00:00.512) 0:00:54.220 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:33:52 +0000 (0:00:00.067) 0:00:54.287 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:33:52 +0000 (0:00:00.040) 0:00:54.328 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:33:52 +0000 (0:00:00.039) 0:00:54.367 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:33:52 +0000 (0:00:00.478) 0:00:54.846 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:33:52 +0000 (0:00:00.033) 0:00:54.880 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.033) 0:00:54.913 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.031) 0:00:54.945 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.030) 0:00:54.975 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.268) 0:00:55.244 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.078) 0:00:55.323 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.046) 0:00:55.369 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706650421.2661211, "block_size": 4096, "blocks": 0, "ctime": 1706650421.2661211, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38747, "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": 1706650421.2661211, "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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.315) 0:00:55.684 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.032) 0:00:55.716 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.049) 0:00:55.766 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:33:53 +0000 (0:00:00.030) 0:00:55.797 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.265) 0:00:56.063 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.047) 0:00:56.111 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021513", "end": "2024-01-30 21:33:54.458959", "rc": 1, "start": "2024-01-30 21:33:54.437446" } 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.289) 0:00:56.400 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.056) 0:00:56.456 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.042) 0:00:56.498 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.062) 0:00:56.561 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.042) 0:00:56.604 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.053) 0:00:56.658 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.062) 0:00:56.720 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.066) 0:00:56.787 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:33:54 +0000 (0:00:00.042) 0:00:56.829 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:33:55 +0000 (0:00:00.165) 0:00:56.994 ******* 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.152812", "end": "2024-01-30 21:33:55.471779", "rc": 1, "start": "2024-01-30 21:33:55.318967" } STDOUT: Connection 'statebr' (18a670de-9536-4f14-8a95-88f6a7802869) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tests_states.yml:102 Tuesday 30 January 2024 21:33:55 +0000 (0:00:00.432) 0:00:57.427 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:33:55 +0000 (0:00:00.116) 0:00:57.544 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:33:55 +0000 (0:00:00.059) 0:00:57.603 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:33:55 +0000 (0:00:00.084) 0:00:57.688 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:33:55 +0000 (0:00:00.059) 0:00:57.748 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:33:55 +0000 (0:00:00.063) 0:00:57.811 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003749", "end": "2024-01-30 21:33:56.142633", "rc": 0, "start": "2024-01-30 21:33:56.138884" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:33:56 +0000 (0:00:00.271) 0:00:58.083 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:33:56 +0000 (0:00:00.044) 0:00:58.128 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:33:56 +0000 (0:00:00.040) 0:00:58.168 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:33:56 +0000 (0:00:00.122) 0:00:58.290 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:33:56 +0000 (0:00:00.174) 0:00:58.464 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:33:56 +0000 (0:00:00.088) 0:00:58.553 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:33:56 +0000 (0:00:00.076) 0:00:58.629 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:33:56 +0000 (0:00:00.103) 0:00:58.732 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:33:56 +0000 (0:00:00.059) 0:00:58.792 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:34:00 +0000 (0:00:03.277) 0:01:02.069 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:34:01 +0000 (0:00:00.841) 0:01:02.911 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:34:01 +0000 (0:00:00.044) 0:01:02.955 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:34:01 +0000 (0:00:00.044) 0:01:03.000 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:34:01 +0000 (0:00:00.044) 0:01:03.045 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:34:01 +0000 (0:00:00.084) 0:01:03.129 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:34:01 +0000 (0:00:00.110) 0:01:03.239 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:34:01 +0000 (0:00:00.065) 0:01:03.305 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:34:01 +0000 (0:00:00.072) 0:01:03.378 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:34:02 +0000 (0:00:00.566) 0:01:03.944 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:34:02 +0000 (0:00:00.061) 0:01:04.006 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:34:02 +0000 (0:00:00.032) 0:01:04.038 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:34:02 +0000 (0:00:00.032) 0:01:04.070 ******* 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, 4e414398-738e-4bba-be61-bc4c8e8b6721 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:34:02 +0000 (0:00:00.519) 0:01:04.589 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:34:02 +0000 (0:00:00.050) 0:01:04.640 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e414398-738e-4bba-be61-bc4c8e8b6721" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:34:02 +0000 (0:00:00.046) 0:01:04.686 ******* 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, 4e414398-738e-4bba-be61-bc4c8e8b6721\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e414398-738e-4bba-be61-bc4c8e8b6721" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:34:02 +0000 (0:00:00.045) 0:01:04.732 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:34:02 +0000 (0:00:00.051) 0:01:04.783 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:34:03 +0000 (0:00:00.282) 0:01:05.066 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e414398-738e-4bba-be61-bc4c8e8b6721\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e414398-738e-4bba-be61-bc4c8e8b6721" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 30 January 2024 21:34:03 +0000 (0:00:00.051) 0:01:05.117 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:34:03 +0000 (0:00:00.129) 0:01:05.247 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:34:03 +0000 (0:00:00.058) 0:01:05.305 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:34:03 +0000 (0:00:00.064) 0:01:05.370 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:34:03 +0000 (0:00:00.058) 0:01:05.428 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:34:03 +0000 (0:00:00.041) 0:01:05.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 : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:34:06 +0000 (0:00:03.302) 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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:34:07 +0000 (0:00:00.860) 0:01:09.633 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:34:07 +0000 (0:00:00.042) 0:01:09.676 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:34:07 +0000 (0:00:00.045) 0:01:09.722 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:34:07 +0000 (0:00:00.039) 0:01:09.761 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:34:07 +0000 (0:00:00.115) 0:01:09.877 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:34:08 +0000 (0:00:00.067) 0:01:09.944 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:34:08 +0000 (0:00:00.057) 0:01:10.001 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:34:08 +0000 (0:00:00.133) 0:01:10.135 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:34:08 +0000 (0:00:00.514) 0:01:10.650 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:34:08 +0000 (0:00:00.084) 0:01:10.734 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:34:08 +0000 (0:00:00.045) 0:01:10.780 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:34:08 +0000 (0:00:00.044) 0:01:10.824 ******* 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, 4e414398-738e-4bba-be61-bc4c8e8b6721 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:34:09 +0000 (0:00:00.501) 0:01:11.326 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:34:09 +0000 (0:00:00.043) 0:01:11.370 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4e414398-738e-4bba-be61-bc4c8e8b6721 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:34:09 +0000 (0:00:00.042) 0:01:11.413 ******* 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, 4e414398-738e-4bba-be61-bc4c8e8b6721 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4e414398-738e-4bba-be61-bc4c8e8b6721 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:34:09 +0000 (0:00:00.046) 0:01:11.459 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:34:09 +0000 (0:00:00.042) 0:01:11.501 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 30 January 2024 21:34:09 +0000 (0:00:00.287) 0:01:11.789 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:34:09 +0000 (0:00:00.091) 0:01:11.880 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:34:10 +0000 (0:00:00.082) 0:01:11.963 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:34:10 +0000 (0:00:00.243) 0:01:12.207 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:34:10 +0000 (0:00:00.076) 0:01:12.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:34:10 +0000 (0:00:00.053) 0:01:12.336 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:34:12 +0000 (0:00:02.302) 0:01:14.639 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:34:13 +0000 (0:00:00.894) 0:01:15.534 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:34:13 +0000 (0:00:00.060) 0:01:15.594 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:34:13 +0000 (0:00:00.055) 0:01:15.650 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:34:13 +0000 (0:00:00.045) 0:01:15.696 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:34:13 +0000 (0:00:00.104) 0:01:15.800 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:34:13 +0000 (0:00:00.046) 0:01:15.847 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:34:14 +0000 (0:00:00.054) 0:01:15.901 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:34:14 +0000 (0:00:00.095) 0:01:15.997 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:34:14 +0000 (0:00:00.512) 0:01:16.509 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:34:14 +0000 (0:00:00.146) 0:01:16.656 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:34:14 +0000 (0:00:00.037) 0:01:16.693 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:34:14 +0000 (0:00:00.036) 0:01:16.729 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:34:15 +0000 (0:00:00.493) 0:01:17.223 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:34:15 +0000 (0:00:00.037) 0:01:17.260 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:34:15 +0000 (0:00:00.032) 0:01:17.293 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:34:15 +0000 (0:00:00.033) 0:01:17.327 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:34:15 +0000 (0:00:00.035) 0:01:17.362 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:34:15 +0000 (0:00:00.269) 0:01:17.632 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 January 2024 21:34:15 +0000 (0:00:00.070) 0:01:17.703 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:34:15 +0000 (0:00:00.074) 0:01:17.777 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:34:15 +0000 (0:00:00.070) 0:01:17.847 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:34:16 +0000 (0:00:00.117) 0:01:17.965 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:34:16 +0000 (0:00:00.033) 0:01:17.999 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:34:16 +0000 (0:00:00.036) 0:01:18.035 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:34:18 +0000 (0:00:02.256) 0:01:20.291 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:34:19 +0000 (0:00:00.843) 0:01:21.135 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:34:19 +0000 (0:00:00.032) 0:01:21.167 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:34:19 +0000 (0:00:00.034) 0:01:21.201 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:34:19 +0000 (0:00:00.032) 0:01:21.234 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:34:19 +0000 (0:00:00.088) 0:01:21.323 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:34:19 +0000 (0:00:00.033) 0:01:21.357 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:34:19 +0000 (0:00:00.036) 0:01:21.394 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:34:19 +0000 (0:00:00.046) 0:01:21.440 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:34:20 +0000 (0:00:00.488) 0:01:21.929 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:34:20 +0000 (0:00:00.053) 0:01:21.983 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:34:20 +0000 (0:00:00.081) 0:01:22.064 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:34:20 +0000 (0:00:00.028) 0:01:22.093 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:34:20 +0000 (0:00:00.527) 0:01:22.621 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:34:20 +0000 (0:00:00.031) 0:01:22.652 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:34:20 +0000 (0:00:00.031) 0:01:22.684 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:34:20 +0000 (0:00:00.036) 0:01:22.721 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:34:20 +0000 (0:00:00.036) 0:01:22.757 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.269) 0:01:23.026 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.055) 0:01:23.082 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.043) 0:01:23.125 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.026) 0:01:23.152 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.245) 0:01:23.397 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.037) 0:01:23.434 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020456", "end": "2024-01-30 21:34:21.776579", "rc": 1, "start": "2024-01-30 21:34:21.756123" } 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.320) 0:01:23.755 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.026) 0:01:23.781 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.027) 0:01:23.809 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.028) 0:01:23.838 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:34:21 +0000 (0:00:00.029) 0:01:23.867 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 January 2024 21:34:22 +0000 (0:00:00.030) 0:01:23.898 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:34:22 +0000 (0:00:00.032) 0:01:23.930 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:34:22 +0000 (0:00:00.075) 0:01:24.006 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:34:22 +0000 (0:00:00.048) 0:01:24.054 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:34:22 +0000 (0:00:00.254) 0:01:24.309 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:34:22 +0000 (0:00:00.047) 0:01:24.356 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:34:22 +0000 (0:00:00.049) 0:01:24.406 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:34:22 +0000 (0:00:00.085) 0:01:24.491 ******* 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.039430", "end": "2024-01-30 21:34:22.850604", "rc": 1, "start": "2024-01-30 21:34:22.811174" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tests_states.yml:124 Tuesday 30 January 2024 21:34:22 +0000 (0:00:00.299) 0:01:24.790 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:5 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.142) 0:01:24.933 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:9 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.055) 0:01:24.988 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:21 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.078) 0:01:25.067 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.053) 0:01:25.120 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.068) 0:01:25.188 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003565", "end": "2024-01-30 21:34:23.516439", "rc": 0, "start": "2024-01-30 21:34:23.512874" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.264) 0:01:25.452 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.034) 0:01:25.487 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:24 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.045) 0:01:25.533 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.082) 0:01:25.616 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.065) 0:01:25.682 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.134) 0:01:25.816 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:34:23 +0000 (0:00:00.063) 0:01:25.880 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:34:24 +0000 (0:00:00.047) 0:01:25.928 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:34:24 +0000 (0:00:00.035) 0:01:25.963 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:34:26 +0000 (0:00:02.258) 0:01:28.221 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:34:27 +0000 (0:00:00.884) 0:01:29.106 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:34:27 +0000 (0:00:00.052) 0:01:29.158 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:34:27 +0000 (0:00:00.042) 0:01:29.200 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:34:27 +0000 (0:00:00.035) 0:01:29.236 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:34:27 +0000 (0:00:00.083) 0:01:29.319 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:34:27 +0000 (0:00:00.045) 0:01:29.364 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:34:27 +0000 (0:00:00.035) 0:01:29.400 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:34:27 +0000 (0:00:00.059) 0:01:29.460 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:34:28 +0000 (0:00:00.641) 0:01:30.101 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:34:28 +0000 (0:00:00.049) 0:01:30.151 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:34:28 +0000 (0:00:00.032) 0:01:30.183 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:34:28 +0000 (0:00:00.028) 0:01:30.212 ******* 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, 3ca9d72b-baed-4bf4-ac58-a788362b18dc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:34:28 +0000 (0:00:00.502) 0:01:30.714 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:34:28 +0000 (0:00:00.034) 0:01:30.749 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ca9d72b-baed-4bf4-ac58-a788362b18dc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:34:28 +0000 (0:00:00.035) 0:01:30.784 ******* 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, 3ca9d72b-baed-4bf4-ac58-a788362b18dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ca9d72b-baed-4bf4-ac58-a788362b18dc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:34:28 +0000 (0:00:00.048) 0:01:30.832 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:34:28 +0000 (0:00:00.036) 0:01:30.869 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 30 January 2024 21:34:29 +0000 (0:00:00.272) 0:01:31.141 ******* 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, 3ca9d72b-baed-4bf4-ac58-a788362b18dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ca9d72b-baed-4bf4-ac58-a788362b18dc" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 30 January 2024 21:34:29 +0000 (0:00:00.041) 0:01:31.183 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:34:29 +0000 (0:00:00.091) 0:01:31.275 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:34:29 +0000 (0:00:00.078) 0:01:31.353 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:34:29 +0000 (0:00:00.140) 0:01:31.494 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:34:29 +0000 (0:00:00.057) 0:01:31.552 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:34:29 +0000 (0:00:00.059) 0:01:31.611 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:34:31 +0000 (0:00:02.266) 0:01:33.877 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:34:32 +0000 (0:00:00.864) 0:01:34.742 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:34:32 +0000 (0:00:00.033) 0:01:34.775 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:34:32 +0000 (0:00:00.036) 0:01:34.811 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:34:32 +0000 (0:00:00.035) 0:01:34.847 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:34:33 +0000 (0:00:00.084) 0:01:34.931 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:34:33 +0000 (0:00:00.041) 0:01:34.973 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:34:33 +0000 (0:00:00.041) 0:01:35.014 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:34:33 +0000 (0:00:00.053) 0:01:35.068 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:34:33 +0000 (0:00:00.503) 0:01:35.571 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:34:33 +0000 (0:00:00.105) 0:01:35.677 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:34:33 +0000 (0:00:00.027) 0:01:35.705 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:34:33 +0000 (0:00:00.032) 0:01:35.737 ******* 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, 3ca9d72b-baed-4bf4-ac58-a788362b18dc skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.448) 0:01:36.185 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.033) 0:01:36.218 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3ca9d72b-baed-4bf4-ac58-a788362b18dc skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.037) 0:01:36.255 ******* 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, 3ca9d72b-baed-4bf4-ac58-a788362b18dc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3ca9d72b-baed-4bf4-ac58-a788362b18dc skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.039) 0:01:36.294 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.042) 0:01:36.337 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.270) 0:01:36.607 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.073) 0:01:36.681 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.063) 0:01:36.744 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.046) 0:01:36.790 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.034) 0:01:36.825 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:34:34 +0000 (0:00:00.034) 0:01:36.859 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:34:37 +0000 (0:00:02.385) 0:01:39.245 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:34:38 +0000 (0:00:00.842) 0:01:40.088 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:34:38 +0000 (0:00:00.031) 0:01:40.119 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:34:38 +0000 (0:00:00.042) 0:01:40.162 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:34:38 +0000 (0:00:00.037) 0:01:40.199 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:34:38 +0000 (0:00:00.085) 0:01:40.285 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:34:38 +0000 (0:00:00.039) 0:01:40.325 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:34:38 +0000 (0:00:00.031) 0:01:40.356 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:34:38 +0000 (0:00:00.053) 0:01:40.410 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:34:39 +0000 (0:00:00.506) 0:01:40.917 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:34:39 +0000 (0:00:00.050) 0:01:40.968 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:34:39 +0000 (0:00:00.028) 0:01:40.996 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:34:39 +0000 (0:00:00.027) 0:01:41.024 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:34:39 +0000 (0:00:00.687) 0:01:41.711 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:34:39 +0000 (0:00:00.039) 0:01:41.750 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:34:39 +0000 (0:00:00.038) 0:01:41.789 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:34:39 +0000 (0:00:00.035) 0:01:41.825 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:34:39 +0000 (0:00:00.040) 0:01:41.865 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:30 Tuesday 30 January 2024 21:34:40 +0000 (0:00:00.281) 0:01:42.146 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 30 January 2024 21:34:40 +0000 (0:00:00.060) 0:01:42.207 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 21:34:40 +0000 (0:00:00.058) 0:01:42.266 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/.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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 21:34:40 +0000 (0:00:00.056) 0:01:42.322 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 21:34:40 +0000 (0:00:00.045) 0:01:42.368 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 21:34:40 +0000 (0:00:00.033) 0:01:42.401 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 21:34:40 +0000 (0:00:00.030) 0:01:42.432 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 21:34:42 +0000 (0:00:02.420) 0:01:44.852 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 21:34:43 +0000 (0:00:00.848) 0:01:45.701 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 21:34:43 +0000 (0:00:00.042) 0:01:45.743 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 21:34:43 +0000 (0:00:00.042) 0:01:45.785 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 21:34:43 +0000 (0:00:00.047) 0:01:45.833 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 21:34:44 +0000 (0:00:00.106) 0:01:45.939 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 21:34:44 +0000 (0:00:00.046) 0:01:45.985 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 21:34:44 +0000 (0:00:00.037) 0:01:46.023 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 21:34:44 +0000 (0:00:00.058) 0:01:46.082 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 21:34:44 +0000 (0:00:00.487) 0:01:46.569 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 21:34:44 +0000 (0:00:00.047) 0:01:46.617 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 21:34:44 +0000 (0:00:00.027) 0:01:46.645 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 21:34:44 +0000 (0:00:00.029) 0:01:46.674 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 21:34:45 +0000 (0:00:00.532) 0:01:47.206 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 21:34:45 +0000 (0:00:00.192) 0:01:47.398 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 21:34:45 +0000 (0:00:00.047) 0:01:47.445 ******* 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_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 21:34:45 +0000 (0:00:00.036) 0:01:47.482 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 21:34:45 +0000 (0:00:00.036) 0:01:47.519 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:36 Tuesday 30 January 2024 21:34:45 +0000 (0:00:00.267) 0:01:47.787 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 30 January 2024 21:34:45 +0000 (0:00:00.067) 0:01:47.855 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.072) 0:01:47.927 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.043) 0:01:47.971 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.251) 0:01:48.222 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.040) 0:01:48.262 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019959", "end": "2024-01-30 21:34:46.603888", "rc": 1, "start": "2024-01-30 21:34:46.583929" } 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.271) 0:01:48.534 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.037) 0:01:48.571 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.031) 0:01:48.603 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.103) 0:01:48.707 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.043) 0:01:48.750 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.043) 0:01:48.794 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 30 January 2024 21:34:46 +0000 (0:00:00.039) 0:01:48.833 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.360580", "end": "2024-01-30 21:34:47.517829", "rc": 0, "start": "2024-01-30 21:34:47.157249" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 30 January 2024 21:34:47 +0000 (0:00:00.622) 0:01:49.456 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 30 January 2024 21:34:47 +0000 (0:00:00.034) 0:01:49.491 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:42 Tuesday 30 January 2024 21:34:47 +0000 (0:00:00.030) 0:01:49.521 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 January 2024 21:34:47 +0000 (0:00:00.101) 0:01:49.623 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 21:34:47 +0000 (0:00:00.076) 0:01:49.699 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 January 2024 21:34:48 +0000 (0:00:00.253) 0:01:49.952 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:47 Tuesday 30 January 2024 21:34:48 +0000 (0:00:00.041) 0:01:49.994 ******* 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_rewriteyg1pmudk/tests/playbooks/tasks/run_test.yml:66 Tuesday 30 January 2024 21:34:48 +0000 (0:00:00.036) 0:01:50.030 ******* included: /WORKDIR/git-bond_options_rewriteyg1pmudk/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_rewriteyg1pmudk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 30 January 2024 21:34:48 +0000 (0:00:00.064) 0:01:50.095 ******* 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.038920", "end": "2024-01-30 21:34:48.453725", "rc": 1, "start": "2024-01-30 21:34:48.414805" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Tuesday 30 January 2024 21:34:48 +0000 (0:00:00.435) 0:01:50.531 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.30s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 3.28s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.42s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.40s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.35s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.35s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.32s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.30s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.29s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.27s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.26s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.26s /WORKDIR/git-bond_options_rewriteyg1pmudk/.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.29s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewriteyg1pmudk/tests/tests_states_nm.yml:6 --------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.95s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-bond_options_rewriteyg1pmudk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.91s /WORKDIR/git-bond_options_rewriteyg1pmudk/.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. ---^---^---^---^---^---