# 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_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/tests_states_nm.yml:6 Monday 12 February 2024 23:07:57 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/tests_states_nm.yml:9 Monday 12 February 2024 23:07:58 +0000 (0:00:01.067) 0:00:01.079 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/tasks/el_repo_setup.yml:3 Monday 12 February 2024 23:07:58 +0000 (0:00:00.013) 0:00:01.093 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/tasks/el_repo_setup.yml:17 Monday 12 February 2024 23:07:58 +0000 (0:00:00.402) 0:00:01.496 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/tasks/el_repo_setup.yml:22 Monday 12 February 2024 23:07:59 +0000 (0:00:00.290) 0:00:01.786 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/tasks/el_repo_setup.yml:26 Monday 12 February 2024 23:07:59 +0000 (0:00:00.013) 0:00:01.800 ******* 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_rewriteg8h7_hd9/tests/tasks/el_repo_setup.yml:51 Monday 12 February 2024 23:07:59 +0000 (0:00:00.007) 0:00:01.807 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/tasks/enable_epel.yml:8 Monday 12 February 2024 23:07:59 +0000 (0:00:00.020) 0:00:01.828 ******* 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_rewriteg8h7_hd9/tests/tasks/enable_epel.yml:24 Monday 12 February 2024 23:07:59 +0000 (0:00:00.008) 0:00:01.836 ******* 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_rewriteg8h7_hd9/tests/tasks/enable_epel.yml:30 Monday 12 February 2024 23:07:59 +0000 (0:00:00.007) 0:00:01.844 ******* 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_rewriteg8h7_hd9/tests/tasks/enable_epel.yml:35 Monday 12 February 2024 23:07:59 +0000 (0:00:00.007) 0:00:01.851 ******* 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_rewriteg8h7_hd9/tests/tasks/enable_epel.yml:40 Monday 12 February 2024 23:07:59 +0000 (0:00:00.007) 0:00:01.858 ******* 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_rewriteg8h7_hd9/tests/tests_states_nm.yml:11 Monday 12 February 2024 23:07:59 +0000 (0:00:00.007) 0:00:01.865 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tests_states.yml:3 Monday 12 February 2024 23:07:59 +0000 (0:00:00.014) 0:00:01.880 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tests_states.yml:11 Monday 12 February 2024 23:08:00 +0000 (0:00:00.798) 0:00:02.678 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tests_states.yml:22 Monday 12 February 2024 23:08:00 +0000 (0:00:00.009) 0:00:02.688 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:5 Monday 12 February 2024 23:08:00 +0000 (0:00:00.013) 0:00:02.702 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:9 Monday 12 February 2024 23:08:00 +0000 (0:00:00.010) 0:00:02.712 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:21 Monday 12 February 2024 23:08:00 +0000 (0:00:00.027) 0:00:02.739 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:08:00 +0000 (0:00:00.012) 0:00:02.751 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:08:00 +0000 (0:00:00.010) 0:00:02.762 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004138", "end": "2024-02-12 23:08:00.407265", "rc": 0, "start": "2024-02-12 23:08:00.403127" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:08:00 +0000 (0:00:00.288) 0:00:03.050 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:08:00 +0000 (0:00:00.011) 0:00:03.062 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:24 Monday 12 February 2024 23:08:00 +0000 (0:00:00.010) 0:00:03.072 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/delete_interface.yml:3 Monday 12 February 2024 23:08:00 +0000 (0:00:00.015) 0:00:03.088 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009533", "end": "2024-02-12 23:08:00.686501", "rc": 1, "start": "2024-02-12 23:08:00.676968" } 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 12 February 2024 23:08:00 +0000 (0:00:00.240) 0:00:03.328 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:08:00 +0000 (0:00:00.012) 0:00:03.341 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 12 February 2024 23:08:00 +0000 (0:00:00.222) 0:00:03.564 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:30 Monday 12 February 2024 23:08:00 +0000 (0:00:00.010) 0:00:03.575 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 February 2024 23:08:00 +0000 (0:00:00.015) 0:00:03.590 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:00 +0000 (0:00:00.022) 0:00:03.613 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:01 +0000 (0:00:00.020) 0:00:03.633 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:01 +0000 (0:00:00.022) 0:00:03.655 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:01 +0000 (0:00:00.011) 0:00:03.667 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:01 +0000 (0:00:00.014) 0:00:03.682 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:08:03 +0000 (0:00:02.720) 0:00:06.402 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:08:04 +0000 (0:00:00.983) 0:00:07.386 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:08:04 +0000 (0:00:00.021) 0:00:07.407 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:08:04 +0000 (0:00:00.021) 0:00:07.428 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:08:04 +0000 (0:00:00.020) 0:00:07.449 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:08:04 +0000 (0:00:00.053) 0:00:07.502 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:08:04 +0000 (0:00:00.022) 0:00:07.525 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:08:04 +0000 (0:00:00.023) 0:00:07.549 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:08:04 +0000 (0:00:00.054) 0:00:07.603 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:08:05 +0000 (0:00:00.619) 0:00:08.223 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:08:05 +0000 (0:00:00.036) 0:00:08.260 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:08:05 +0000 (0:00:00.019) 0:00:08.280 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:08:05 +0000 (0:00:00.021) 0:00:08.302 ******* 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, 266b0218-793b-4925-9684-4fea40f3ea68 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:08:06 +0000 (0:00:00.648) 0:00:08.950 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:08:06 +0000 (0:00:00.024) 0:00:08.974 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 266b0218-793b-4925-9684-4fea40f3ea68" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:08:06 +0000 (0:00:00.024) 0:00:08.999 ******* 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, 266b0218-793b-4925-9684-4fea40f3ea68\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 266b0218-793b-4925-9684-4fea40f3ea68" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:08:06 +0000 (0:00:00.027) 0:00:09.026 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:08:06 +0000 (0:00:00.024) 0:00:09.050 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 February 2024 23:08:06 +0000 (0:00:00.353) 0:00:09.404 ******* 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, 266b0218-793b-4925-9684-4fea40f3ea68\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 266b0218-793b-4925-9684-4fea40f3ea68" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:36 Monday 12 February 2024 23:08:06 +0000 (0:00:00.039) 0:00:09.444 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 23:08:06 +0000 (0:00:00.064) 0:00:09.508 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 23:08:06 +0000 (0:00:00.068) 0:00:09.577 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 23:08:06 +0000 (0:00:00.026) 0:00:09.603 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 23:08:07 +0000 (0:00:00.287) 0:00:09.890 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 23:08:07 +0000 (0:00:00.024) 0:00:09.915 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024021", "end": "2024-02-12 23:08:07.529660", "rc": 0, "start": "2024-02-12 23:08:07.505639" } 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 23:08:07 +0000 (0:00:00.269) 0:00:10.184 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 23:08:07 +0000 (0:00:00.023) 0:00:10.207 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 23:08:07 +0000 (0:00:00.032) 0:00:10.240 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 23:08:07 +0000 (0:00:00.033) 0:00:10.274 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 23:08:07 +0000 (0:00:00.032) 0:00:10.307 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 23:08:07 +0000 (0:00:00.033) 0:00:10.340 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 23:08:07 +0000 (0:00:00.032) 0:00:10.373 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 23:08:07 +0000 (0:00:00.043) 0:00:10.416 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:42 Monday 12 February 2024 23:08:07 +0000 (0:00:00.026) 0:00:10.443 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 23:08:07 +0000 (0:00:00.050) 0:00:10.493 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:08:07 +0000 (0:00:00.033) 0:00:10.527 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707779286.2396336, "block_size": 4096, "blocks": 0, "ctime": 1707779286.2396336, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31807, "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": 1707779286.2396336, "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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 23:08:08 +0000 (0:00:00.297) 0:00:10.824 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:47 Monday 12 February 2024 23:08:08 +0000 (0:00:00.026) 0:00:10.851 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:66 Monday 12 February 2024 23:08:08 +0000 (0:00:00.025) 0:00:10.876 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 February 2024 23:08:08 +0000 (0:00:00.042) 0:00:10.918 ******* 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.069632", "end": "2024-02-12 23:08:08.586147", "rc": 1, "start": "2024-02-12 23:08:08.516515" } STDOUT: Connection 'statebr' (266b0218-793b-4925-9684-4fea40f3ea68) 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_rewriteg8h7_hd9/tests/playbooks/tests_states.yml:45 Monday 12 February 2024 23:08:08 +0000 (0:00:00.322) 0:00:11.241 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:5 Monday 12 February 2024 23:08:08 +0000 (0:00:00.034) 0:00:11.275 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:9 Monday 12 February 2024 23:08:08 +0000 (0:00:00.024) 0:00:11.300 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:21 Monday 12 February 2024 23:08:08 +0000 (0:00:00.054) 0:00:11.354 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:08:08 +0000 (0:00:00.035) 0:00:11.389 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:08:08 +0000 (0:00:00.030) 0:00:11.420 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004145", "end": "2024-02-12 23:08:09.009989", "rc": 0, "start": "2024-02-12 23:08:09.005844" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:08:09 +0000 (0:00:00.252) 0:00:11.673 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:08:09 +0000 (0:00:00.024) 0:00:11.697 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:24 Monday 12 February 2024 23:08:09 +0000 (0:00:00.054) 0:00:11.751 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/delete_interface.yml:3 Monday 12 February 2024 23:08:09 +0000 (0:00:00.037) 0:00:11.789 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007534", "end": "2024-02-12 23:08:09.382553", "rc": 1, "start": "2024-02-12 23:08:09.375019" } 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 12 February 2024 23:08:09 +0000 (0:00:00.245) 0:00:12.034 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:08:09 +0000 (0:00:00.034) 0:00:12.069 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 12 February 2024 23:08:09 +0000 (0:00:00.255) 0:00:12.324 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:30 Monday 12 February 2024 23:08:09 +0000 (0:00:00.022) 0:00:12.347 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 12 February 2024 23:08:09 +0000 (0:00:00.036) 0:00:12.383 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:09 +0000 (0:00:00.050) 0:00:12.434 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:09 +0000 (0:00:00.046) 0:00:12.480 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:09 +0000 (0:00:00.036) 0:00:12.517 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:09 +0000 (0:00:00.026) 0:00:12.543 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:09 +0000 (0:00:00.057) 0:00:12.600 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:08:13 +0000 (0:00:03.627) 0:00:16.228 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:08:14 +0000 (0:00:00.826) 0:00:17.054 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:08:14 +0000 (0:00:00.025) 0:00:17.080 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:08:14 +0000 (0:00:00.025) 0:00:17.105 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:08:14 +0000 (0:00:00.031) 0:00:17.136 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:08:14 +0000 (0:00:00.055) 0:00:17.192 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:08:14 +0000 (0:00:00.023) 0:00:17.215 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:08:14 +0000 (0:00:00.023) 0:00:17.238 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:08:14 +0000 (0:00:00.034) 0:00:17.273 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:08:15 +0000 (0:00:00.471) 0:00:17.745 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:08:15 +0000 (0:00:00.036) 0:00:17.782 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:08:15 +0000 (0:00:00.020) 0:00:17.802 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:08:15 +0000 (0:00:00.053) 0:00:17.855 ******* 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, 9cfe0abd-5897-486a-8fdf-22d6bf2e3d26 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:08:15 +0000 (0:00:00.419) 0:00:18.275 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:08:15 +0000 (0:00:00.033) 0:00:18.309 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9cfe0abd-5897-486a-8fdf-22d6bf2e3d26" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:08:15 +0000 (0:00:00.033) 0:00:18.342 ******* 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, 9cfe0abd-5897-486a-8fdf-22d6bf2e3d26\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9cfe0abd-5897-486a-8fdf-22d6bf2e3d26" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:08:15 +0000 (0:00:00.026) 0:00:18.369 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:08:15 +0000 (0:00:00.026) 0:00:18.395 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 12 February 2024 23:08:16 +0000 (0:00:00.240) 0:00:18.636 ******* 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, 9cfe0abd-5897-486a-8fdf-22d6bf2e3d26\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9cfe0abd-5897-486a-8fdf-22d6bf2e3d26" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:36 Monday 12 February 2024 23:08:16 +0000 (0:00:00.022) 0:00:18.658 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 12 February 2024 23:08:16 +0000 (0:00:00.038) 0:00:18.696 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:08:16 +0000 (0:00:00.032) 0:00:18.729 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 12 February 2024 23:08:16 +0000 (0:00:00.235) 0:00:18.964 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 23:08:16 +0000 (0:00:00.022) 0:00:18.987 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 23:08:16 +0000 (0:00:00.032) 0:00:19.020 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 23:08:16 +0000 (0:00:00.049) 0:00:19.070 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 23:08:16 +0000 (0:00:00.244) 0:00:19.314 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 23:08:16 +0000 (0:00:00.020) 0:00:19.335 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023385", "end": "2024-02-12 23:08:16.944765", "rc": 0, "start": "2024-02-12 23:08:16.921380" } 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 23:08:16 +0000 (0:00:00.263) 0:00:19.598 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 23:08:17 +0000 (0:00:00.022) 0:00:19.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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 23:08:17 +0000 (0:00:00.019) 0:00:19.639 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 23:08:17 +0000 (0:00:00.019) 0:00:19.659 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 23:08:17 +0000 (0:00:00.019) 0:00:19.678 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 23:08:17 +0000 (0:00:00.018) 0:00:19.697 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 23:08:17 +0000 (0:00:00.021) 0:00:19.719 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 23:08:17 +0000 (0:00:00.021) 0:00:19.740 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:42 Monday 12 February 2024 23:08:17 +0000 (0:00:00.021) 0:00:19.762 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:47 Monday 12 February 2024 23:08:17 +0000 (0:00:00.027) 0:00:19.789 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:66 Monday 12 February 2024 23:08:17 +0000 (0:00:00.022) 0:00:19.812 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 February 2024 23:08:17 +0000 (0:00:00.037) 0:00:19.849 ******* 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.046668", "end": "2024-02-12 23:08:17.479386", "rc": 1, "start": "2024-02-12 23:08:17.432718" } STDOUT: Connection 'statebr' (9cfe0abd-5897-486a-8fdf-22d6bf2e3d26) 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_rewriteg8h7_hd9/tests/playbooks/tests_states.yml:65 Monday 12 February 2024 23:08:17 +0000 (0:00:00.308) 0:00:20.158 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:5 Monday 12 February 2024 23:08:17 +0000 (0:00:00.033) 0:00:20.191 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:9 Monday 12 February 2024 23:08:17 +0000 (0:00:00.021) 0:00:20.212 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:21 Monday 12 February 2024 23:08:17 +0000 (0:00:00.037) 0:00:20.249 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:08:17 +0000 (0:00:00.031) 0:00:20.280 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:08:17 +0000 (0:00:00.029) 0:00:20.309 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004215", "end": "2024-02-12 23:08:17.898363", "rc": 0, "start": "2024-02-12 23:08:17.894148" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:08:17 +0000 (0:00:00.242) 0:00:20.552 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:08:17 +0000 (0:00:00.021) 0:00:20.573 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:24 Monday 12 February 2024 23:08:17 +0000 (0:00:00.021) 0:00:20.595 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 February 2024 23:08:18 +0000 (0:00:00.033) 0:00:20.628 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:18 +0000 (0:00:00.039) 0:00:20.667 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:18 +0000 (0:00:00.062) 0:00:20.729 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:18 +0000 (0:00:00.035) 0:00:20.765 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:18 +0000 (0:00:00.024) 0:00:20.789 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:18 +0000 (0:00:00.024) 0:00:20.814 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:08:20 +0000 (0:00:02.645) 0:00:23.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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:08:21 +0000 (0:00:00.825) 0:00:24.285 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:08:21 +0000 (0:00:00.025) 0:00:24.310 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:08:21 +0000 (0:00:00.034) 0:00:24.345 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:08:21 +0000 (0:00:00.024) 0:00:24.370 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:08:21 +0000 (0:00:00.054) 0:00:24.424 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:08:21 +0000 (0:00:00.023) 0:00:24.448 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:08:21 +0000 (0:00:00.023) 0:00:24.471 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:08:21 +0000 (0:00:00.035) 0:00:24.507 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:08:22 +0000 (0:00:00.532) 0:00:25.039 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:08:22 +0000 (0:00:00.036) 0:00:25.076 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:08:22 +0000 (0:00:00.019) 0:00:25.095 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:08:22 +0000 (0:00:00.019) 0:00:25.115 ******* 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, 97ac17ca-033c-47ff-b988-73e64906426b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:08:22 +0000 (0:00:00.476) 0:00:25.592 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:08:22 +0000 (0:00:00.022) 0:00:25.614 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 97ac17ca-033c-47ff-b988-73e64906426b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:08:23 +0000 (0:00:00.023) 0:00:25.638 ******* 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, 97ac17ca-033c-47ff-b988-73e64906426b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 97ac17ca-033c-47ff-b988-73e64906426b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:08:23 +0000 (0:00:00.023) 0:00:25.661 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:08:23 +0000 (0:00:00.022) 0:00:25.683 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 February 2024 23:08:23 +0000 (0:00:00.244) 0:00:25.928 ******* 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, 97ac17ca-033c-47ff-b988-73e64906426b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 97ac17ca-033c-47ff-b988-73e64906426b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:30 Monday 12 February 2024 23:08:23 +0000 (0:00:00.021) 0:00:25.949 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/activate_profile.yml:3 Monday 12 February 2024 23:08:23 +0000 (0:00:00.034) 0:00:25.984 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:23 +0000 (0:00:00.039) 0:00:26.023 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:23 +0000 (0:00:00.065) 0:00:26.089 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:23 +0000 (0:00:00.033) 0:00:26.122 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:23 +0000 (0:00:00.023) 0:00:26.145 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:23 +0000 (0:00:00.023) 0:00:26.169 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:08:26 +0000 (0:00:02.596) 0:00:28.765 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:08:26 +0000 (0:00:00.828) 0:00:29.594 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:08:26 +0000 (0:00:00.023) 0:00:29.617 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:08:27 +0000 (0:00:00.023) 0:00:29.641 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:08:27 +0000 (0:00:00.026) 0:00:29.667 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:08:27 +0000 (0:00:00.053) 0:00:29.721 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:08:27 +0000 (0:00:00.022) 0:00:29.744 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:08:27 +0000 (0:00:00.022) 0:00:29.767 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:08:27 +0000 (0:00:00.033) 0:00:29.801 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:08:27 +0000 (0:00:00.514) 0:00:30.315 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:08:27 +0000 (0:00:00.036) 0:00:30.351 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:08:27 +0000 (0:00:00.020) 0:00:30.371 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:08:27 +0000 (0:00:00.018) 0:00:30.390 ******* 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, 97ac17ca-033c-47ff-b988-73e64906426b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:08:28 +0000 (0:00:00.407) 0:00:30.797 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:08:28 +0000 (0:00:00.023) 0:00:30.821 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 97ac17ca-033c-47ff-b988-73e64906426b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:08:28 +0000 (0:00:00.022) 0:00:30.843 ******* 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, 97ac17ca-033c-47ff-b988-73e64906426b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 97ac17ca-033c-47ff-b988-73e64906426b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:08:28 +0000 (0:00:00.023) 0:00:30.866 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:08:28 +0000 (0:00:00.023) 0:00:30.889 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:36 Monday 12 February 2024 23:08:28 +0000 (0:00:00.247) 0:00:31.137 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 23:08:28 +0000 (0:00:00.046) 0:00:31.184 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:08:28 +0000 (0:00:00.033) 0:00:31.217 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707779302.876864, "block_size": 4096, "blocks": 0, "ctime": 1707779302.876864, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31938, "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": 1707779302.876864, "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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 23:08:28 +0000 (0:00:00.236) 0:00:31.454 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 23:08:28 +0000 (0:00:00.051) 0:00:31.505 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 23:08:28 +0000 (0:00:00.034) 0:00:31.539 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 23:08:28 +0000 (0:00:00.020) 0:00:31.560 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 23:08:29 +0000 (0:00:00.234) 0:00:31.794 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 23:08:29 +0000 (0:00:00.019) 0:00:31.813 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024303", "end": "2024-02-12 23:08:29.427570", "rc": 0, "start": "2024-02-12 23:08:29.403267" } 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 23:08:29 +0000 (0:00:00.268) 0:00:32.082 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 23:08:29 +0000 (0:00:00.022) 0:00:32.105 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 23:08:29 +0000 (0:00:00.019) 0:00:32.125 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 23:08:29 +0000 (0:00:00.020) 0:00:32.145 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 23:08:29 +0000 (0:00:00.020) 0:00:32.165 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 23:08:29 +0000 (0:00:00.019) 0:00:32.185 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 23:08:29 +0000 (0:00:00.022) 0:00:32.208 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 23:08:29 +0000 (0:00:00.022) 0:00:32.230 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:42 Monday 12 February 2024 23:08:29 +0000 (0:00:00.020) 0:00:32.251 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:47 Monday 12 February 2024 23:08:29 +0000 (0:00:00.026) 0:00:32.277 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:66 Monday 12 February 2024 23:08:29 +0000 (0:00:00.054) 0:00:32.332 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 February 2024 23:08:29 +0000 (0:00:00.037) 0:00:32.369 ******* 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.079083", "end": "2024-02-12 23:08:30.040137", "rc": 1, "start": "2024-02-12 23:08:29.961054" } STDOUT: Connection 'statebr' (97ac17ca-033c-47ff-b988-73e64906426b) 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_rewriteg8h7_hd9/tests/playbooks/tests_states.yml:83 Monday 12 February 2024 23:08:30 +0000 (0:00:00.324) 0:00:32.694 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:5 Monday 12 February 2024 23:08:30 +0000 (0:00:00.034) 0:00:32.728 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:9 Monday 12 February 2024 23:08:30 +0000 (0:00:00.022) 0:00:32.751 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:21 Monday 12 February 2024 23:08:30 +0000 (0:00:00.044) 0:00:32.795 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:08:30 +0000 (0:00:00.033) 0:00:32.829 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:08:30 +0000 (0:00:00.030) 0:00:32.860 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004324", "end": "2024-02-12 23:08:30.449995", "rc": 0, "start": "2024-02-12 23:08:30.445671" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:08:30 +0000 (0:00:00.243) 0:00:33.103 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:08:30 +0000 (0:00:00.021) 0:00:33.124 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:24 Monday 12 February 2024 23:08:30 +0000 (0:00:00.020) 0:00:33.145 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 February 2024 23:08:30 +0000 (0:00:00.036) 0:00:33.182 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:30 +0000 (0:00:00.066) 0:00:33.248 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:30 +0000 (0:00:00.038) 0:00:33.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 : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:30 +0000 (0:00:00.034) 0:00:33.321 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:30 +0000 (0:00:00.023) 0:00:33.345 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:30 +0000 (0:00:00.022) 0:00:33.367 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:08:33 +0000 (0:00:02.633) 0:00:36.001 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:08:34 +0000 (0:00:00.839) 0:00:36.841 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:08:34 +0000 (0:00:00.026) 0:00:36.868 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:08:34 +0000 (0:00:00.026) 0:00:36.894 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:08:34 +0000 (0:00:00.025) 0:00:36.920 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:08:34 +0000 (0:00:00.055) 0:00:36.975 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:08:34 +0000 (0:00:00.054) 0:00:37.029 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:08:34 +0000 (0:00:00.024) 0:00:37.054 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:08:34 +0000 (0:00:00.034) 0:00:37.089 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:08:34 +0000 (0:00:00.452) 0:00:37.541 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:08:34 +0000 (0:00:00.045) 0:00:37.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:08:34 +0000 (0:00:00.022) 0:00:37.609 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:08:35 +0000 (0:00:00.021) 0:00:37.630 ******* 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, 63e4ca6c-18e3-42e3-9421-137448f1347b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:08:35 +0000 (0:00:00.482) 0:00:38.113 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:08:35 +0000 (0:00:00.025) 0:00:38.139 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 63e4ca6c-18e3-42e3-9421-137448f1347b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:08:35 +0000 (0:00:00.024) 0:00:38.163 ******* 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, 63e4ca6c-18e3-42e3-9421-137448f1347b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 63e4ca6c-18e3-42e3-9421-137448f1347b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:08:35 +0000 (0:00:00.026) 0:00:38.189 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:08:35 +0000 (0:00:00.025) 0:00:38.215 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 February 2024 23:08:35 +0000 (0:00:00.242) 0:00:38.457 ******* 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, 63e4ca6c-18e3-42e3-9421-137448f1347b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 63e4ca6c-18e3-42e3-9421-137448f1347b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/activate_profile.yml:3 Monday 12 February 2024 23:08:35 +0000 (0:00:00.021) 0:00:38.478 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:35 +0000 (0:00:00.069) 0:00:38.548 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:35 +0000 (0:00:00.039) 0:00:38.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 : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:36 +0000 (0:00:00.034) 0:00:38.622 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:36 +0000 (0:00:00.024) 0:00:38.646 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:36 +0000 (0:00:00.024) 0:00:38.670 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:08:38 +0000 (0:00:02.606) 0:00:41.277 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:08:39 +0000 (0:00:00.843) 0:00:42.120 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:08:39 +0000 (0:00:00.026) 0:00:42.147 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:08:39 +0000 (0:00:00.024) 0:00:42.172 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:08:39 +0000 (0:00:00.025) 0:00:42.197 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:08:39 +0000 (0:00:00.056) 0:00:42.253 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:08:39 +0000 (0:00:00.023) 0:00:42.277 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:08:39 +0000 (0:00:00.059) 0:00:42.337 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:08:39 +0000 (0:00:00.035) 0:00:42.372 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:08:40 +0000 (0:00:00.448) 0:00:42.821 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:08:40 +0000 (0:00:00.034) 0:00:42.856 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:08:40 +0000 (0:00:00.019) 0:00:42.875 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:08:40 +0000 (0:00:00.019) 0:00:42.895 ******* 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, 63e4ca6c-18e3-42e3-9421-137448f1347b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:08:40 +0000 (0:00:00.417) 0:00:43.312 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:08:40 +0000 (0:00:00.023) 0:00:43.336 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 63e4ca6c-18e3-42e3-9421-137448f1347b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:08:40 +0000 (0:00:00.023) 0:00:43.359 ******* 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, 63e4ca6c-18e3-42e3-9421-137448f1347b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 63e4ca6c-18e3-42e3-9421-137448f1347b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:08:40 +0000 (0:00:00.025) 0:00:43.384 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:08:40 +0000 (0:00:00.023) 0:00:43.407 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:30 Monday 12 February 2024 23:08:41 +0000 (0:00:00.245) 0:00:43.653 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/remove_profile.yml:3 Monday 12 February 2024 23:08:41 +0000 (0:00:00.038) 0:00:43.691 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:41 +0000 (0:00:00.074) 0:00:43.765 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:41 +0000 (0:00:00.040) 0:00:43.805 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:41 +0000 (0:00:00.035) 0:00:43.841 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:41 +0000 (0:00:00.024) 0:00:43.865 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:41 +0000 (0:00:00.027) 0:00:43.892 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:08:43 +0000 (0:00:02.585) 0:00:46.478 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:08:44 +0000 (0:00:00.828) 0:00:47.306 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:08:44 +0000 (0:00:00.023) 0:00:47.329 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:08:44 +0000 (0:00:00.023) 0:00:47.352 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:08:44 +0000 (0:00:00.022) 0:00:47.375 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:08:44 +0000 (0:00:00.052) 0:00:47.427 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:08:44 +0000 (0:00:00.023) 0:00:47.450 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:08:44 +0000 (0:00:00.022) 0:00:47.473 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:08:44 +0000 (0:00:00.106) 0:00:47.579 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:08:45 +0000 (0:00:00.452) 0:00:48.032 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:08:45 +0000 (0:00:00.035) 0:00:48.068 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:08:45 +0000 (0:00:00.020) 0:00:48.088 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:08:45 +0000 (0:00:00.020) 0:00:48.108 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:08:45 +0000 (0:00:00.439) 0:00:48.548 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:08:45 +0000 (0:00:00.023) 0:00:48.571 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:08:45 +0000 (0:00:00.023) 0:00:48.595 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:08:46 +0000 (0:00:00.024) 0:00:48.619 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:08:46 +0000 (0:00:00.023) 0:00:48.643 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:36 Monday 12 February 2024 23:08:46 +0000 (0:00:00.241) 0:00:48.884 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 23:08:46 +0000 (0:00:00.038) 0:00:48.922 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:08:46 +0000 (0:00:00.032) 0:00:48.954 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707779315.3882573, "block_size": 4096, "blocks": 0, "ctime": 1707779315.3882573, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32069, "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": 1707779315.3882573, "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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 23:08:46 +0000 (0:00:00.267) 0:00:49.222 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 February 2024 23:08:46 +0000 (0:00:00.023) 0:00:49.245 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 23:08:46 +0000 (0:00:00.032) 0:00:49.278 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 23:08:46 +0000 (0:00:00.020) 0:00:49.298 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 23:08:46 +0000 (0:00:00.232) 0:00:49.531 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 23:08:46 +0000 (0:00:00.019) 0:00:49.550 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023755", "end": "2024-02-12 23:08:47.159886", "rc": 1, "start": "2024-02-12 23:08:47.136131" } 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 23:08:47 +0000 (0:00:00.262) 0:00:49.812 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 23:08:47 +0000 (0:00:00.019) 0:00:49.832 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 23:08:47 +0000 (0:00:00.019) 0:00:49.851 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 23:08:47 +0000 (0:00:00.020) 0:00:49.871 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 23:08:47 +0000 (0:00:00.019) 0:00:49.891 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 February 2024 23:08:47 +0000 (0:00:00.020) 0:00:49.912 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:42 Monday 12 February 2024 23:08:47 +0000 (0:00:00.023) 0:00:49.935 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:47 Monday 12 February 2024 23:08:47 +0000 (0:00:00.027) 0:00:49.962 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:66 Monday 12 February 2024 23:08:47 +0000 (0:00:00.021) 0:00:49.984 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 February 2024 23:08:47 +0000 (0:00:00.068) 0:00:50.053 ******* 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.077140", "end": "2024-02-12 23:08:47.719876", "rc": 1, "start": "2024-02-12 23:08:47.642736" } STDOUT: Connection 'statebr' (63e4ca6c-18e3-42e3-9421-137448f1347b) 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_rewriteg8h7_hd9/tests/playbooks/tests_states.yml:102 Monday 12 February 2024 23:08:47 +0000 (0:00:00.325) 0:00:50.379 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:5 Monday 12 February 2024 23:08:47 +0000 (0:00:00.033) 0:00:50.412 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:9 Monday 12 February 2024 23:08:47 +0000 (0:00:00.021) 0:00:50.434 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:21 Monday 12 February 2024 23:08:47 +0000 (0:00:00.039) 0:00:50.473 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:08:47 +0000 (0:00:00.031) 0:00:50.504 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:08:47 +0000 (0:00:00.032) 0:00:50.537 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004178", "end": "2024-02-12 23:08:48.126608", "rc": 0, "start": "2024-02-12 23:08:48.122430" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:08:48 +0000 (0:00:00.243) 0:00:50.781 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:08:48 +0000 (0:00:00.022) 0:00:50.803 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:24 Monday 12 February 2024 23:08:48 +0000 (0:00:00.025) 0:00:50.829 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 February 2024 23:08:48 +0000 (0:00:00.039) 0:00:50.869 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:48 +0000 (0:00:00.083) 0:00:50.953 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:48 +0000 (0:00:00.040) 0:00:50.994 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:48 +0000 (0:00:00.034) 0:00:51.028 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:48 +0000 (0:00:00.024) 0:00:51.053 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:48 +0000 (0:00:00.024) 0:00:51.077 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:08:51 +0000 (0:00:02.558) 0:00:53.636 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:08:51 +0000 (0:00:00.832) 0:00:54.468 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:08:51 +0000 (0:00:00.031) 0:00:54.500 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:08:51 +0000 (0:00:00.026) 0:00:54.527 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:08:51 +0000 (0:00:00.024) 0:00:54.552 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:08:51 +0000 (0:00:00.058) 0:00:54.610 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:08:52 +0000 (0:00:00.026) 0:00:54.636 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:08:52 +0000 (0:00:00.061) 0:00:54.697 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:08:52 +0000 (0:00:00.036) 0:00:54.734 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:08:52 +0000 (0:00:00.461) 0:00:55.195 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:08:52 +0000 (0:00:00.037) 0:00:55.232 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:08:52 +0000 (0:00:00.019) 0:00:55.252 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:08:52 +0000 (0:00:00.019) 0:00:55.271 ******* 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, 315292c7-d2ef-4f6e-bea3-8293dfca1275 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:08:53 +0000 (0:00:00.467) 0:00:55.738 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:08:53 +0000 (0:00:00.023) 0:00:55.762 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 315292c7-d2ef-4f6e-bea3-8293dfca1275" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:08:53 +0000 (0:00:00.022) 0:00:55.785 ******* 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, 315292c7-d2ef-4f6e-bea3-8293dfca1275\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 315292c7-d2ef-4f6e-bea3-8293dfca1275" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:08:53 +0000 (0:00:00.022) 0:00:55.807 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:08:53 +0000 (0:00:00.022) 0:00:55.830 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 February 2024 23:08:53 +0000 (0:00:00.243) 0:00:56.074 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 315292c7-d2ef-4f6e-bea3-8293dfca1275\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 315292c7-d2ef-4f6e-bea3-8293dfca1275" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/activate_profile.yml:3 Monday 12 February 2024 23:08:53 +0000 (0:00:00.023) 0:00:56.097 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:53 +0000 (0:00:00.039) 0:00:56.136 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:53 +0000 (0:00:00.073) 0:00:56.209 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:53 +0000 (0:00:00.038) 0:00:56.248 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:53 +0000 (0:00:00.027) 0:00:56.276 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:53 +0000 (0:00:00.024) 0:00:56.300 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:08:56 +0000 (0:00:02.632) 0:00:58.933 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:08:57 +0000 (0:00:00.833) 0:00:59.766 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:08:57 +0000 (0:00:00.024) 0:00:59.791 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:08:57 +0000 (0:00:00.024) 0:00:59.816 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:08:57 +0000 (0:00:00.024) 0:00:59.840 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:08:57 +0000 (0:00:00.053) 0:00:59.893 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:08:57 +0000 (0:00:00.022) 0:00:59.916 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:08:57 +0000 (0:00:00.022) 0:00:59.938 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:08:57 +0000 (0:00:00.065) 0:01:00.004 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:08:57 +0000 (0:00:00.457) 0:01:00.461 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:08:57 +0000 (0:00:00.042) 0:01:00.504 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:08:57 +0000 (0:00:00.020) 0:01:00.525 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:08:57 +0000 (0:00:00.019) 0:01:00.545 ******* 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, 315292c7-d2ef-4f6e-bea3-8293dfca1275 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:08:58 +0000 (0:00:00.412) 0:01:00.957 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:08:58 +0000 (0:00:00.024) 0:01:00.981 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 315292c7-d2ef-4f6e-bea3-8293dfca1275 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:08:58 +0000 (0:00:00.022) 0:01:01.004 ******* 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, 315292c7-d2ef-4f6e-bea3-8293dfca1275 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 315292c7-d2ef-4f6e-bea3-8293dfca1275 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:08:58 +0000 (0:00:00.024) 0:01:01.028 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:08:58 +0000 (0:00:00.024) 0:01:01.053 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/remove_profile.yml:3 Monday 12 February 2024 23:08:58 +0000 (0:00:00.240) 0:01:01.293 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:08:58 +0000 (0:00:00.041) 0:01:01.335 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:08:58 +0000 (0:00:00.037) 0:01:01.372 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:08:58 +0000 (0:00:00.068) 0:01:01.441 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:08:58 +0000 (0:00:00.025) 0:01:01.467 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:08:58 +0000 (0:00:00.024) 0:01:01.492 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:09:01 +0000 (0:00:02.574) 0:01:04.066 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:09:02 +0000 (0:00:00.824) 0:01:04.890 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:09:02 +0000 (0:00:00.023) 0:01:04.914 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:09:02 +0000 (0:00:00.023) 0:01:04.937 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:09:02 +0000 (0:00:00.023) 0:01:04.960 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:09:02 +0000 (0:00:00.055) 0:01:05.016 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:09:02 +0000 (0:00:00.026) 0:01:05.043 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:09:02 +0000 (0:00:00.024) 0:01:05.068 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:09:02 +0000 (0:00:00.037) 0:01:05.105 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:09:02 +0000 (0:00:00.450) 0:01:05.556 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:09:02 +0000 (0:00:00.035) 0:01:05.592 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:09:03 +0000 (0:00:00.056) 0:01:05.649 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:09:03 +0000 (0:00:00.021) 0:01:05.670 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:09:03 +0000 (0:00:00.453) 0:01:06.124 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:09:03 +0000 (0:00:00.023) 0:01:06.148 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:09:03 +0000 (0:00:00.023) 0:01:06.171 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:09:03 +0000 (0:00:00.022) 0:01:06.194 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:09:03 +0000 (0:00:00.023) 0:01:06.217 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:30 Monday 12 February 2024 23:09:03 +0000 (0:00:00.241) 0:01:06.458 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 12 February 2024 23:09:03 +0000 (0:00:00.037) 0:01:06.495 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:09:03 +0000 (0:00:00.041) 0:01:06.537 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:09:03 +0000 (0:00:00.040) 0:01:06.578 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:09:03 +0000 (0:00:00.034) 0:01:06.612 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:09:04 +0000 (0:00:00.056) 0:01:06.669 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:09:04 +0000 (0:00:00.024) 0:01:06.693 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:09:06 +0000 (0:00:02.604) 0:01:09.297 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:09:07 +0000 (0:00:00.833) 0:01:10.131 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:09:07 +0000 (0:00:00.025) 0:01:10.157 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:09:07 +0000 (0:00:00.023) 0:01:10.181 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:09:07 +0000 (0:00:00.023) 0:01:10.205 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:09:07 +0000 (0:00:00.053) 0:01:10.259 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:09:07 +0000 (0:00:00.023) 0:01:10.282 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:09:07 +0000 (0:00:00.024) 0:01:10.307 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:09:07 +0000 (0:00:00.035) 0:01:10.343 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:09:08 +0000 (0:00:00.451) 0:01:10.794 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:09:08 +0000 (0:00:00.037) 0:01:10.832 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:09:08 +0000 (0:00:00.066) 0:01:10.898 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:09:08 +0000 (0:00:00.024) 0:01:10.923 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:09:08 +0000 (0:00:00.508) 0:01:11.431 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:09:08 +0000 (0:00:00.024) 0:01:11.456 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:09:08 +0000 (0:00:00.023) 0:01:11.479 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:09:08 +0000 (0:00:00.024) 0:01:11.503 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:09:08 +0000 (0:00:00.023) 0:01:11.527 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:36 Monday 12 February 2024 23:09:09 +0000 (0:00:00.240) 0:01:11.767 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 February 2024 23:09:09 +0000 (0:00:00.036) 0:01:11.804 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 23:09:09 +0000 (0:00:00.032) 0:01:11.837 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 23:09:09 +0000 (0:00:00.020) 0:01:11.857 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 23:09:09 +0000 (0:00:00.232) 0:01:12.090 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 23:09:09 +0000 (0:00:00.020) 0:01:12.110 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022481", "end": "2024-02-12 23:09:09.717412", "rc": 1, "start": "2024-02-12 23:09:09.694931" } 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 23:09:09 +0000 (0:00:00.261) 0:01:12.371 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 23:09:09 +0000 (0:00:00.054) 0:01:12.426 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 23:09:09 +0000 (0:00:00.021) 0:01:12.447 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 23:09:09 +0000 (0:00:00.019) 0:01:12.467 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 23:09:09 +0000 (0:00:00.019) 0:01:12.487 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 February 2024 23:09:09 +0000 (0:00:00.020) 0:01:12.507 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:42 Monday 12 February 2024 23:09:09 +0000 (0:00:00.021) 0:01:12.528 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 12 February 2024 23:09:09 +0000 (0:00:00.048) 0:01:12.577 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:09:09 +0000 (0:00:00.032) 0:01:12.609 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 12 February 2024 23:09:10 +0000 (0:00:00.241) 0:01:12.850 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:47 Monday 12 February 2024 23:09:10 +0000 (0:00:00.023) 0:01:12.874 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:66 Monday 12 February 2024 23:09:10 +0000 (0:00:00.021) 0:01:12.895 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 February 2024 23:09:10 +0000 (0:00:00.036) 0:01:12.932 ******* 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.045907", "end": "2024-02-12 23:09:10.564382", "rc": 1, "start": "2024-02-12 23:09:10.518475" } 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_rewriteg8h7_hd9/tests/playbooks/tests_states.yml:124 Monday 12 February 2024 23:09:10 +0000 (0:00:00.285) 0:01:13.217 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:5 Monday 12 February 2024 23:09:10 +0000 (0:00:00.068) 0:01:13.285 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:9 Monday 12 February 2024 23:09:10 +0000 (0:00:00.021) 0:01:13.307 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:21 Monday 12 February 2024 23:09:10 +0000 (0:00:00.043) 0:01:13.350 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 23:09:10 +0000 (0:00:00.034) 0:01:13.385 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 23:09:10 +0000 (0:00:00.034) 0:01:13.419 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004209", "end": "2024-02-12 23:09:11.010303", "rc": 0, "start": "2024-02-12 23:09:11.006094" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 23:09:11 +0000 (0:00:00.246) 0:01:13.666 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 23:09:11 +0000 (0:00:00.023) 0:01:13.690 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:24 Monday 12 February 2024 23:09:11 +0000 (0:00:00.029) 0:01:13.719 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 February 2024 23:09:11 +0000 (0:00:00.042) 0:01:13.761 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:09:11 +0000 (0:00:00.042) 0:01:13.804 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:09:11 +0000 (0:00:00.081) 0:01:13.886 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:09:11 +0000 (0:00:00.038) 0:01:13.924 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:09:11 +0000 (0:00:00.024) 0:01:13.949 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:09:11 +0000 (0:00:00.023) 0:01:13.972 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:09:13 +0000 (0:00:02.598) 0:01:16.571 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:09:14 +0000 (0:00:00.832) 0:01:17.403 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:09:14 +0000 (0:00:00.024) 0:01:17.428 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:09:14 +0000 (0:00:00.024) 0:01:17.452 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:09:14 +0000 (0:00:00.023) 0:01:17.476 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:09:14 +0000 (0:00:00.055) 0:01:17.531 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:09:14 +0000 (0:00:00.024) 0:01:17.555 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:09:14 +0000 (0:00:00.022) 0:01:17.578 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:09:14 +0000 (0:00:00.035) 0:01:17.613 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:09:15 +0000 (0:00:00.500) 0:01:18.113 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:09:15 +0000 (0:00:00.038) 0:01:18.152 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:09:15 +0000 (0:00:00.023) 0:01:18.175 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:09:15 +0000 (0:00:00.022) 0:01:18.198 ******* 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, 238c5322-1050-4db6-91d3-484961ffa262 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:09:16 +0000 (0:00:00.473) 0:01:18.671 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:09:16 +0000 (0:00:00.024) 0:01:18.695 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 238c5322-1050-4db6-91d3-484961ffa262" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:09:16 +0000 (0:00:00.023) 0:01:18.718 ******* 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, 238c5322-1050-4db6-91d3-484961ffa262\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 238c5322-1050-4db6-91d3-484961ffa262" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:09:16 +0000 (0:00:00.025) 0:01:18.744 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:09:16 +0000 (0:00:00.032) 0:01:18.776 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 February 2024 23:09:16 +0000 (0:00:00.244) 0:01:19.021 ******* 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, 238c5322-1050-4db6-91d3-484961ffa262\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 238c5322-1050-4db6-91d3-484961ffa262" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/activate_profile.yml:3 Monday 12 February 2024 23:09:16 +0000 (0:00:00.023) 0:01:19.045 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:09:16 +0000 (0:00:00.042) 0:01:19.087 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:09:16 +0000 (0:00:00.040) 0:01:19.128 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:09:16 +0000 (0:00:00.074) 0:01:19.202 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:09:16 +0000 (0:00:00.026) 0:01:19.229 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:09:16 +0000 (0:00:00.025) 0:01:19.255 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:09:19 +0000 (0:00:02.553) 0:01:21.808 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:09:20 +0000 (0:00:00.823) 0:01:22.632 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:09:20 +0000 (0:00:00.023) 0:01:22.655 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:09:20 +0000 (0:00:00.023) 0:01:22.679 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:09:20 +0000 (0:00:00.022) 0:01:22.701 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:09:20 +0000 (0:00:00.053) 0:01:22.754 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:09:20 +0000 (0:00:00.023) 0:01:22.778 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:09:20 +0000 (0:00:00.023) 0:01:22.802 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:09:20 +0000 (0:00:00.034) 0:01:22.837 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:09:20 +0000 (0:00:00.447) 0:01:23.284 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:09:20 +0000 (0:00:00.035) 0:01:23.320 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:09:20 +0000 (0:00:00.067) 0:01:23.387 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:09:20 +0000 (0:00:00.021) 0:01:23.409 ******* 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, 238c5322-1050-4db6-91d3-484961ffa262 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:09:21 +0000 (0:00:00.411) 0:01:23.820 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:09:21 +0000 (0:00:00.024) 0:01:23.845 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 238c5322-1050-4db6-91d3-484961ffa262 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:09:21 +0000 (0:00:00.024) 0:01:23.869 ******* 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, 238c5322-1050-4db6-91d3-484961ffa262 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 238c5322-1050-4db6-91d3-484961ffa262 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:09:21 +0000 (0:00:00.026) 0:01:23.896 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:09:21 +0000 (0:00:00.024) 0:01:23.921 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 12 February 2024 23:09:21 +0000 (0:00:00.239) 0:01:24.161 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:09:21 +0000 (0:00:00.041) 0:01:24.202 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:09:21 +0000 (0:00:00.038) 0:01:24.240 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:09:21 +0000 (0:00:00.034) 0:01:24.274 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:09:21 +0000 (0:00:00.023) 0:01:24.298 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:09:21 +0000 (0:00:00.024) 0:01:24.322 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:09:24 +0000 (0:00:02.640) 0:01:26.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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:09:25 +0000 (0:00:00.829) 0:01:27.793 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:09:25 +0000 (0:00:00.023) 0:01:27.816 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:09:25 +0000 (0:00:00.023) 0:01:27.840 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:09:25 +0000 (0:00:00.022) 0:01:27.862 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:09:25 +0000 (0:00:00.054) 0:01:27.916 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:09:25 +0000 (0:00:00.025) 0:01:27.942 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:09:25 +0000 (0:00:00.024) 0:01:27.967 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:09:25 +0000 (0:00:00.036) 0:01:28.003 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:09:25 +0000 (0:00:00.459) 0:01:28.463 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:09:25 +0000 (0:00:00.035) 0:01:28.498 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:09:25 +0000 (0:00:00.019) 0:01:28.517 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:09:25 +0000 (0:00:00.019) 0:01:28.536 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:09:26 +0000 (0:00:00.553) 0:01:29.090 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:09:26 +0000 (0:00:00.112) 0:01:29.202 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:09:26 +0000 (0:00:00.029) 0:01:29.232 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:09:26 +0000 (0:00:00.024) 0:01:29.257 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:09:26 +0000 (0:00:00.028) 0:01:29.286 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:30 Monday 12 February 2024 23:09:26 +0000 (0:00:00.244) 0:01:29.530 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 12 February 2024 23:09:26 +0000 (0:00:00.036) 0:01:29.567 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:09:26 +0000 (0:00:00.041) 0:01:29.609 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:09:27 +0000 (0:00:00.043) 0:01:29.653 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:09:27 +0000 (0:00:00.034) 0:01:29.687 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:09:27 +0000 (0:00:00.022) 0:01:29.710 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:09:27 +0000 (0:00:00.023) 0:01:29.733 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:09:29 +0000 (0:00:02.615) 0:01:32.348 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:09:30 +0000 (0:00:00.825) 0:01:33.173 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:09:30 +0000 (0:00:00.023) 0:01:33.197 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:09:30 +0000 (0:00:00.024) 0:01:33.222 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:09:30 +0000 (0:00:00.023) 0:01:33.245 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:09:30 +0000 (0:00:00.054) 0:01:33.300 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:09:30 +0000 (0:00:00.024) 0:01:33.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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:09:30 +0000 (0:00:00.024) 0:01:33.349 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:09:30 +0000 (0:00:00.038) 0:01:33.387 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:09:31 +0000 (0:00:00.452) 0:01:33.840 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:09:31 +0000 (0:00:00.034) 0:01:33.875 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:09:31 +0000 (0:00:00.019) 0:01:33.895 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:09:31 +0000 (0:00:00.019) 0:01:33.914 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:09:31 +0000 (0:00:00.465) 0:01:34.380 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:09:31 +0000 (0:00:00.063) 0:01:34.443 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:09:31 +0000 (0:00:00.024) 0:01:34.468 ******* 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_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:09:31 +0000 (0:00:00.024) 0:01:34.492 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:09:31 +0000 (0:00:00.025) 0:01:34.517 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:36 Monday 12 February 2024 23:09:32 +0000 (0:00:00.243) 0:01:34.761 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 February 2024 23:09:32 +0000 (0:00:00.039) 0:01:34.801 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 23:09:32 +0000 (0:00:00.032) 0:01:34.834 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 23:09:32 +0000 (0:00:00.020) 0:01:34.854 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 23:09:32 +0000 (0:00:00.236) 0:01:35.091 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 23:09:32 +0000 (0:00:00.019) 0:01:35.111 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022123", "end": "2024-02-12 23:09:32.719952", "rc": 1, "start": "2024-02-12 23:09:32.697829" } 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 23:09:32 +0000 (0:00:00.261) 0:01:35.373 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 23:09:32 +0000 (0:00:00.023) 0:01:35.396 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 23:09:32 +0000 (0:00:00.022) 0:01:35.418 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 23:09:32 +0000 (0:00:00.070) 0:01:35.489 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 23:09:32 +0000 (0:00:00.022) 0:01:35.512 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 February 2024 23:09:32 +0000 (0:00:00.022) 0:01:35.535 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 12 February 2024 23:09:32 +0000 (0:00:00.023) 0:01:35.558 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.384416", "end": "2024-02-12 23:09:33.526682", "rc": 0, "start": "2024-02-12 23:09:33.142266" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 12 February 2024 23:09:33 +0000 (0:00:00.621) 0:01:36.180 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 12 February 2024 23:09:33 +0000 (0:00:00.021) 0:01:36.202 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:42 Monday 12 February 2024 23:09:33 +0000 (0:00:00.022) 0:01:36.224 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/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_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 12 February 2024 23:09:33 +0000 (0:00:00.050) 0:01:36.274 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:09:33 +0000 (0:00:00.034) 0:01:36.308 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 12 February 2024 23:09:33 +0000 (0:00:00.235) 0:01:36.544 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:47 Monday 12 February 2024 23:09:33 +0000 (0:00:00.024) 0:01:36.568 ******* 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_rewriteg8h7_hd9/tests/playbooks/tasks/run_test.yml:66 Monday 12 February 2024 23:09:33 +0000 (0:00:00.026) 0:01:36.595 ******* included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 February 2024 23:09:34 +0000 (0:00:00.039) 0:01:36.634 ******* 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.043229", "end": "2024-02-12 23:09:34.259036", "rc": 1, "start": "2024-02-12 23:09:34.215807" } 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 [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/playbooks/tasks/check_network_dns.yml:6 Monday 12 February 2024 23:09:34 +0000 (0:00:00.317) 0:01:36.951 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=317 changed=10 unreachable=0 failed=0 skipped=253 rescued=0 ignored=11 Monday 12 February 2024 23:09:34 +0000 (0:00:00.058) 0:01:37.010 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.63s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.72s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.65s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.64s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.63s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.63s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.62s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.61s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.60s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.60s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.60s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.59s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.57s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.56s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.55s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.07s /WORKDIR/git-bond_options_rewriteg8h7_hd9/tests/tests_states_nm.yml:6 --------- fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.84s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.84s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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.83s /WORKDIR/git-bond_options_rewriteg8h7_hd9/.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. ---^---^---^---^---^---