# 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_rewritea_oa302f/.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_rewritea_oa302f/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_rewritea_oa302f/tests/tests_states_nm.yml:6 Friday 09 February 2024 20:47:27 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tests_states_nm.yml:9 Friday 09 February 2024 20:47:28 +0000 (0:00:00.975) 0:00:00.988 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 20:47:28 +0000 (0:00:00.014) 0:00:01.002 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 20:47:28 +0000 (0:00:00.413) 0:00:01.415 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/el_repo_setup.yml:22 Friday 09 February 2024 20:47:29 +0000 (0:00:00.289) 0:00:01.705 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/el_repo_setup.yml:26 Friday 09 February 2024 20:47:29 +0000 (0:00:00.016) 0:00:01.722 ******* 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_rewritea_oa302f/tests/tasks/el_repo_setup.yml:51 Friday 09 February 2024 20:47:29 +0000 (0:00:00.011) 0:00:01.733 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 20:47:29 +0000 (0:00:00.038) 0:00:01.772 ******* 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_rewritea_oa302f/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 20:47:29 +0000 (0:00:00.032) 0:00:01.804 ******* 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_rewritea_oa302f/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 20:47:29 +0000 (0:00:00.011) 0:00:01.816 ******* 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_rewritea_oa302f/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 20:47:29 +0000 (0:00:00.028) 0:00:01.844 ******* 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_rewritea_oa302f/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 20:47:29 +0000 (0:00:00.010) 0:00:01.854 ******* 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_rewritea_oa302f/tests/tests_states_nm.yml:11 Friday 09 February 2024 20:47:29 +0000 (0:00:00.014) 0:00:01.869 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_states.yml:3 Friday 09 February 2024 20:47:29 +0000 (0:00:00.023) 0:00:01.892 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_states.yml:11 Friday 09 February 2024 20:47:30 +0000 (0:00:00.800) 0:00:02.692 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_states.yml:22 Friday 09 February 2024 20:47:30 +0000 (0:00:00.024) 0:00:02.717 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 20:47:30 +0000 (0:00:00.033) 0:00:02.751 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 20:47:30 +0000 (0:00:00.052) 0:00:02.804 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 20:47:30 +0000 (0:00:00.070) 0:00:02.874 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:47:30 +0000 (0:00:00.032) 0:00:02.907 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:47:30 +0000 (0:00:00.012) 0:00:02.919 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003681", "end": "2024-02-09 20:47:30.734333", "rc": 0, "start": "2024-02-09 20:47:30.730652" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:47:30 +0000 (0:00:00.311) 0:00:03.230 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:47:30 +0000 (0:00:00.013) 0:00:03.244 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 20:47:30 +0000 (0:00:00.011) 0:00:03.255 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 20:47:30 +0000 (0:00:00.017) 0:00:03.273 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007868", "end": "2024-02-09 20:47:31.017720", "rc": 1, "start": "2024-02-09 20:47:31.009852" } 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_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:47:31 +0000 (0:00:00.239) 0:00:03.512 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:47:31 +0000 (0:00:00.012) 0:00:03.525 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:47:31 +0000 (0:00:00.241) 0:00:03.766 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 20:47:31 +0000 (0:00:00.015) 0:00:03.782 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 20:47:31 +0000 (0:00:00.018) 0:00:03.801 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:47:31 +0000 (0:00:00.072) 0:00:03.873 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:47:31 +0000 (0:00:00.024) 0:00:03.898 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:47:31 +0000 (0:00:00.028) 0:00:03.926 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:47:31 +0000 (0:00:00.019) 0:00:03.946 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:47:31 +0000 (0:00:00.015) 0:00:03.961 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:47:33 +0000 (0:00:02.343) 0:00:06.305 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:47:34 +0000 (0:00:01.017) 0:00:07.323 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:47:34 +0000 (0:00:00.034) 0:00:07.357 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:47:34 +0000 (0:00:00.026) 0:00:07.383 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:47:34 +0000 (0:00:00.024) 0:00:07.407 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:47:34 +0000 (0:00:00.052) 0:00:07.460 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:47:35 +0000 (0:00:00.023) 0:00:07.484 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:47:35 +0000 (0:00:00.025) 0:00:07.509 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:47:35 +0000 (0:00:00.090) 0:00:07.599 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:47:35 +0000 (0:00:00.645) 0:00:08.245 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:47:35 +0000 (0:00:00.039) 0:00:08.284 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:47:35 +0000 (0:00:00.035) 0:00:08.319 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:47:35 +0000 (0:00:00.030) 0:00:08.349 ******* 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, 8ca5f36a-3e5e-4b06-b2df-4b28e8de72f9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:47:36 +0000 (0:00:00.662) 0:00:09.012 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:47:36 +0000 (0:00:00.039) 0:00:09.052 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ca5f36a-3e5e-4b06-b2df-4b28e8de72f9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:47:36 +0000 (0:00:00.024) 0:00:09.077 ******* 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, 8ca5f36a-3e5e-4b06-b2df-4b28e8de72f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ca5f36a-3e5e-4b06-b2df-4b28e8de72f9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:47:36 +0000 (0:00:00.033) 0:00:09.110 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:47:36 +0000 (0:00:00.032) 0:00:09.143 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 20:47:37 +0000 (0:00:00.415) 0:00:09.559 ******* 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, 8ca5f36a-3e5e-4b06-b2df-4b28e8de72f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ca5f36a-3e5e-4b06-b2df-4b28e8de72f9" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 20:47:37 +0000 (0:00:00.023) 0:00:09.582 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 20:47:37 +0000 (0:00:00.038) 0:00:09.621 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:47:37 +0000 (0:00:00.074) 0:00:09.695 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:47:37 +0000 (0:00:00.023) 0:00:09.718 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:47:37 +0000 (0:00:00.250) 0:00:09.969 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:47:37 +0000 (0:00:00.019) 0:00:09.989 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023163", "end": "2024-02-09 20:47:37.744779", "rc": 0, "start": "2024-02-09 20:47:37.721616" } 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:47:37 +0000 (0:00:00.272) 0:00:10.261 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:47:37 +0000 (0:00:00.023) 0:00:10.284 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:47:37 +0000 (0:00:00.021) 0:00:10.306 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:47:37 +0000 (0:00:00.021) 0:00:10.328 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:47:37 +0000 (0:00:00.023) 0:00:10.351 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 20:47:37 +0000 (0:00:00.020) 0:00:10.372 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 20:47:37 +0000 (0:00:00.023) 0:00:10.395 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 20:47:37 +0000 (0:00:00.022) 0:00:10.417 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 20:47:37 +0000 (0:00:00.022) 0:00:10.440 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:47:38 +0000 (0:00:00.048) 0:00:10.489 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:47:38 +0000 (0:00:00.060) 0:00:10.549 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707511656.4527836, "block_size": 4096, "blocks": 0, "ctime": 1707511656.4527836, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38406, "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": 1707511656.4527836, "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_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:47:38 +0000 (0:00:00.245) 0:00:10.795 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 20:47:38 +0000 (0:00:00.023) 0:00:10.819 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 20:47:38 +0000 (0:00:00.022) 0:00:10.841 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 20:47:38 +0000 (0:00:00.039) 0:00:10.880 ******* 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.065240", "end": "2024-02-09 20:47:38.678423", "rc": 1, "start": "2024-02-09 20:47:38.613183" } STDOUT: Connection 'statebr' (8ca5f36a-3e5e-4b06-b2df-4b28e8de72f9) 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_rewritea_oa302f/tests/playbooks/tests_states.yml:45 Friday 09 February 2024 20:47:38 +0000 (0:00:00.305) 0:00:11.186 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 20:47:38 +0000 (0:00:00.034) 0:00:11.220 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 20:47:38 +0000 (0:00:00.022) 0:00:11.243 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 20:47:38 +0000 (0:00:00.044) 0:00:11.287 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:47:38 +0000 (0:00:00.034) 0:00:11.322 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:47:38 +0000 (0:00:00.035) 0:00:11.357 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003729", "end": "2024-02-09 20:47:39.109208", "rc": 0, "start": "2024-02-09 20:47:39.105479" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:47:39 +0000 (0:00:00.259) 0:00:11.617 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:47:39 +0000 (0:00:00.058) 0:00:11.675 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 20:47:39 +0000 (0:00:00.022) 0:00:11.698 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 20:47:39 +0000 (0:00:00.038) 0:00:11.737 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006654", "end": "2024-02-09 20:47:39.477459", "rc": 1, "start": "2024-02-09 20:47:39.470805" } 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_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:47:39 +0000 (0:00:00.246) 0:00:11.983 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:47:39 +0000 (0:00:00.034) 0:00:12.017 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:47:39 +0000 (0:00:00.237) 0:00:12.255 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 20:47:39 +0000 (0:00:00.025) 0:00:12.280 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 09 February 2024 20:47:39 +0000 (0:00:00.038) 0:00:12.318 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:47:39 +0000 (0:00:00.045) 0:00:12.363 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:47:39 +0000 (0:00:00.042) 0:00:12.406 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:47:39 +0000 (0:00:00.037) 0:00:12.443 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:47:40 +0000 (0:00:00.052) 0:00:12.495 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:47:40 +0000 (0:00:00.024) 0:00:12.519 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:47:42 +0000 (0:00:02.235) 0:00:14.755 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:47:43 +0000 (0:00:00.817) 0:00:15.573 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:47:43 +0000 (0:00:00.027) 0:00:15.600 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:47:43 +0000 (0:00:00.030) 0:00:15.631 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:47:43 +0000 (0:00:00.026) 0:00:15.657 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:47:43 +0000 (0:00:00.064) 0:00:15.722 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:47:43 +0000 (0:00:00.025) 0:00:15.748 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:47:43 +0000 (0:00:00.028) 0:00:15.776 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:47:43 +0000 (0:00:00.039) 0:00:15.816 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:47:43 +0000 (0:00:00.501) 0:00:16.317 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:47:43 +0000 (0:00:00.051) 0:00:16.369 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:47:43 +0000 (0:00:00.023) 0:00:16.393 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:47:43 +0000 (0:00:00.062) 0:00:16.455 ******* 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, ddd47fba-257c-4ed6-b578-e1a08868f996 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:47:44 +0000 (0:00:00.437) 0:00:16.893 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:47:44 +0000 (0:00:00.031) 0:00:16.924 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddd47fba-257c-4ed6-b578-e1a08868f996" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:47:44 +0000 (0:00:00.027) 0:00:16.951 ******* 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, ddd47fba-257c-4ed6-b578-e1a08868f996\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddd47fba-257c-4ed6-b578-e1a08868f996" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:47:44 +0000 (0:00:00.026) 0:00:16.978 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:47:44 +0000 (0:00:00.031) 0:00:17.010 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 09 February 2024 20:47:44 +0000 (0:00:00.282) 0:00:17.293 ******* 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, ddd47fba-257c-4ed6-b578-e1a08868f996\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddd47fba-257c-4ed6-b578-e1a08868f996" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 20:47:44 +0000 (0:00:00.027) 0:00:17.320 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:47:44 +0000 (0:00:00.043) 0:00:17.364 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:47:44 +0000 (0:00:00.035) 0:00:17.400 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:47:45 +0000 (0:00:00.284) 0:00:17.684 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 20:47:45 +0000 (0:00:00.026) 0:00:17.710 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:47:45 +0000 (0:00:00.089) 0:00:17.800 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:47:45 +0000 (0:00:00.024) 0:00:17.824 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:47:45 +0000 (0:00:00.252) 0:00:18.077 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:47:45 +0000 (0:00:00.031) 0:00:18.108 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022813", "end": "2024-02-09 20:47:45.873819", "rc": 0, "start": "2024-02-09 20:47:45.851006" } 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:47:45 +0000 (0:00:00.272) 0:00:18.381 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:47:45 +0000 (0:00:00.023) 0:00:18.405 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:47:45 +0000 (0:00:00.021) 0:00:18.427 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:47:45 +0000 (0:00:00.020) 0:00:18.447 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:47:45 +0000 (0:00:00.021) 0:00:18.469 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 20:47:46 +0000 (0:00:00.021) 0:00:18.491 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 20:47:46 +0000 (0:00:00.024) 0:00:18.515 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 20:47:46 +0000 (0:00:00.024) 0:00:18.539 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 20:47:46 +0000 (0:00:00.023) 0:00:18.563 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 20:47:46 +0000 (0:00:00.027) 0:00:18.590 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 20:47:46 +0000 (0:00:00.022) 0:00:18.613 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 20:47:46 +0000 (0:00:00.039) 0:00:18.652 ******* 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.044833", "end": "2024-02-09 20:47:46.431436", "rc": 1, "start": "2024-02-09 20:47:46.386603" } STDOUT: Connection 'statebr' (ddd47fba-257c-4ed6-b578-e1a08868f996) 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_rewritea_oa302f/tests/playbooks/tests_states.yml:65 Friday 09 February 2024 20:47:46 +0000 (0:00:00.320) 0:00:18.973 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 20:47:46 +0000 (0:00:00.037) 0:00:19.010 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 20:47:46 +0000 (0:00:00.023) 0:00:19.033 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 20:47:46 +0000 (0:00:00.040) 0:00:19.074 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:47:46 +0000 (0:00:00.033) 0:00:19.108 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:47:46 +0000 (0:00:00.032) 0:00:19.140 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004826", "end": "2024-02-09 20:47:47.880730", "rc": 0, "start": "2024-02-09 20:47:46.875904" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:47:47 +0000 (0:00:01.256) 0:00:20.397 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:47:47 +0000 (0:00:00.024) 0:00:20.421 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 20:47:47 +0000 (0:00:00.030) 0:00:20.451 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 20:47:48 +0000 (0:00:00.056) 0:00:20.508 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:47:48 +0000 (0:00:00.045) 0:00:20.553 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:47:48 +0000 (0:00:00.079) 0:00:20.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:47:48 +0000 (0:00:00.036) 0:00:20.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:47:48 +0000 (0:00:00.028) 0:00:20.697 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:47:48 +0000 (0:00:00.026) 0:00:20.724 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:47:50 +0000 (0:00:02.227) 0:00:22.951 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:47:51 +0000 (0:00:00.846) 0:00:23.798 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:47:51 +0000 (0:00:00.029) 0:00:23.828 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:47:51 +0000 (0:00:00.031) 0:00:23.859 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:47:51 +0000 (0:00:00.043) 0:00:23.902 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:47:51 +0000 (0:00:00.095) 0:00:23.998 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:47:51 +0000 (0:00:00.051) 0:00:24.049 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:47:51 +0000 (0:00:00.027) 0:00:24.077 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:47:51 +0000 (0:00:00.115) 0:00:24.192 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:47:52 +0000 (0:00:00.476) 0:00:24.668 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:47:52 +0000 (0:00:00.040) 0:00:24.709 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:47:52 +0000 (0:00:00.028) 0:00:24.737 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:47:52 +0000 (0:00:00.027) 0:00:24.764 ******* 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, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:47:52 +0000 (0:00:00.520) 0:00:25.285 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:47:52 +0000 (0:00:00.025) 0:00:25.311 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:47:52 +0000 (0:00:00.024) 0:00:25.335 ******* 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, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:47:52 +0000 (0:00:00.023) 0:00:25.359 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:47:52 +0000 (0:00:00.024) 0:00:25.384 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 20:47:53 +0000 (0:00:00.249) 0:00:25.633 ******* 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, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 20:47:53 +0000 (0:00:00.024) 0:00:25.657 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 20:47:53 +0000 (0:00:00.037) 0:00:25.695 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:47:53 +0000 (0:00:00.082) 0:00:25.777 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:47:53 +0000 (0:00:00.041) 0:00:25.819 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:47:53 +0000 (0:00:00.035) 0:00:25.855 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:47:53 +0000 (0:00:00.028) 0:00:25.883 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:47:53 +0000 (0:00:00.025) 0:00:25.909 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:47:55 +0000 (0:00:02.262) 0:00:28.171 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:47:56 +0000 (0:00:00.850) 0:00:29.021 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:47:56 +0000 (0:00:00.036) 0:00:29.057 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:47:56 +0000 (0:00:00.033) 0:00:29.091 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:47:56 +0000 (0:00:00.026) 0:00:29.118 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:47:56 +0000 (0:00:00.054) 0:00:29.172 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:47:56 +0000 (0:00:00.027) 0:00:29.199 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:47:56 +0000 (0:00:00.024) 0:00:29.224 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:47:56 +0000 (0:00:00.130) 0:00:29.354 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:47:57 +0000 (0:00:00.474) 0:00:29.829 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:47:57 +0000 (0:00:00.041) 0:00:29.870 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:47:57 +0000 (0:00:00.024) 0:00:29.894 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:47:57 +0000 (0:00:00.023) 0:00:29.917 ******* 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, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:47:57 +0000 (0:00:00.461) 0:00:30.379 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:47:57 +0000 (0:00:00.052) 0:00:30.432 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:47:57 +0000 (0:00:00.038) 0:00:30.470 ******* 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, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d09a4c62-8a94-4e34-a8e0-d7badc27c6e5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:47:58 +0000 (0:00:00.046) 0:00:30.517 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:47:58 +0000 (0:00:00.024) 0:00:30.541 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 20:47:58 +0000 (0:00:00.286) 0:00:30.828 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:47:58 +0000 (0:00:00.043) 0:00:30.872 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:47:58 +0000 (0:00:00.062) 0:00:30.934 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707511672.72386, "block_size": 4096, "blocks": 0, "ctime": 1707511672.72386, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38537, "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": 1707511672.72386, "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_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:47:58 +0000 (0:00:00.315) 0:00:31.250 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 20:47:58 +0000 (0:00:00.027) 0:00:31.278 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:47:58 +0000 (0:00:00.044) 0:00:31.322 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:47:58 +0000 (0:00:00.038) 0:00:31.361 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:47:59 +0000 (0:00:00.267) 0:00:31.628 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:47:59 +0000 (0:00:00.029) 0:00:31.658 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023093", "end": "2024-02-09 20:47:59.420847", "rc": 0, "start": "2024-02-09 20:47:59.397754" } 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:47:59 +0000 (0:00:00.271) 0:00:31.930 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:47:59 +0000 (0:00:00.024) 0:00:31.954 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:47:59 +0000 (0:00:00.021) 0:00:31.975 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:47:59 +0000 (0:00:00.022) 0:00:31.998 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:47:59 +0000 (0:00:00.021) 0:00:32.019 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 20:47:59 +0000 (0:00:00.021) 0:00:32.041 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 20:47:59 +0000 (0:00:00.026) 0:00:32.067 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 20:47:59 +0000 (0:00:00.024) 0:00:32.091 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 20:47:59 +0000 (0:00:00.024) 0:00:32.116 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 20:47:59 +0000 (0:00:00.064) 0:00:32.180 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 20:47:59 +0000 (0:00:00.023) 0:00:32.203 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 20:47:59 +0000 (0:00:00.039) 0:00:32.243 ******* 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.076062", "end": "2024-02-09 20:48:00.055944", "rc": 1, "start": "2024-02-09 20:47:59.979882" } STDOUT: Connection 'statebr' (d09a4c62-8a94-4e34-a8e0-d7badc27c6e5) 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_rewritea_oa302f/tests/playbooks/tests_states.yml:83 Friday 09 February 2024 20:48:00 +0000 (0:00:00.321) 0:00:32.564 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 20:48:00 +0000 (0:00:00.037) 0:00:32.602 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 20:48:00 +0000 (0:00:00.023) 0:00:32.625 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 20:48:00 +0000 (0:00:00.042) 0:00:32.668 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:48:00 +0000 (0:00:00.035) 0:00:32.704 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:48:00 +0000 (0:00:00.038) 0:00:32.742 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003801", "end": "2024-02-09 20:48:00.481623", "rc": 0, "start": "2024-02-09 20:48:00.477822" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:48:00 +0000 (0:00:00.248) 0:00:32.991 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:48:00 +0000 (0:00:00.025) 0:00:33.016 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 20:48:00 +0000 (0:00:00.024) 0:00:33.040 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 20:48:00 +0000 (0:00:00.082) 0:00:33.122 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:00 +0000 (0:00:00.052) 0:00:33.174 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:00 +0000 (0:00:00.045) 0:00:33.220 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:00 +0000 (0:00:00.079) 0:00:33.299 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:00 +0000 (0:00:00.058) 0:00:33.358 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:00 +0000 (0:00:00.048) 0:00:33.407 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:03 +0000 (0:00:02.292) 0:00:35.699 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:04 +0000 (0:00:00.829) 0:00:36.529 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:04 +0000 (0:00:00.027) 0:00:36.556 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:04 +0000 (0:00:00.032) 0:00:36.589 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:04 +0000 (0:00:00.026) 0:00:36.616 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:04 +0000 (0:00:00.156) 0:00:36.772 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:04 +0000 (0:00:00.025) 0:00:36.797 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:04 +0000 (0:00:00.026) 0:00:36.824 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:04 +0000 (0:00:00.040) 0:00:36.865 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:04 +0000 (0:00:00.486) 0:00:37.352 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:04 +0000 (0:00:00.038) 0:00:37.390 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:04 +0000 (0:00:00.022) 0:00:37.413 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:04 +0000 (0:00:00.021) 0:00:37.434 ******* 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, 6f6eb7c9-0939-496b-b3ee-0334ffb21905 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:05 +0000 (0:00:00.472) 0:00:37.907 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:05 +0000 (0:00:00.032) 0:00:37.939 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6f6eb7c9-0939-496b-b3ee-0334ffb21905" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:05 +0000 (0:00:00.025) 0:00:37.964 ******* 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, 6f6eb7c9-0939-496b-b3ee-0334ffb21905\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6f6eb7c9-0939-496b-b3ee-0334ffb21905" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:05 +0000 (0:00:00.025) 0:00:37.990 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:05 +0000 (0:00:00.024) 0:00:38.015 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 20:48:05 +0000 (0:00:00.255) 0:00:38.270 ******* 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, 6f6eb7c9-0939-496b-b3ee-0334ffb21905\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6f6eb7c9-0939-496b-b3ee-0334ffb21905" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 20:48:05 +0000 (0:00:00.023) 0:00:38.294 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:05 +0000 (0:00:00.088) 0:00:38.382 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:05 +0000 (0:00:00.049) 0:00:38.432 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:06 +0000 (0:00:00.053) 0:00:38.485 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:06 +0000 (0:00:00.034) 0:00:38.519 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:06 +0000 (0:00:00.046) 0:00:38.566 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:08 +0000 (0:00:02.223) 0:00:40.789 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:09 +0000 (0:00:00.818) 0:00:41.608 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:09 +0000 (0:00:00.024) 0:00:41.633 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:09 +0000 (0:00:00.024) 0:00:41.657 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:09 +0000 (0:00:00.024) 0:00:41.682 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:09 +0000 (0:00:00.054) 0:00:41.737 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:09 +0000 (0:00:00.065) 0:00:41.802 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:09 +0000 (0:00:00.025) 0:00:41.827 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:09 +0000 (0:00:00.037) 0:00:41.865 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:09 +0000 (0:00:00.468) 0:00:42.333 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:09 +0000 (0:00:00.053) 0:00:42.387 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:09 +0000 (0:00:00.024) 0:00:42.411 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:09 +0000 (0:00:00.026) 0:00:42.438 ******* 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, 6f6eb7c9-0939-496b-b3ee-0334ffb21905 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:10 +0000 (0:00:00.422) 0:00:42.860 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:10 +0000 (0:00:00.025) 0:00:42.885 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6f6eb7c9-0939-496b-b3ee-0334ffb21905 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:10 +0000 (0:00:00.026) 0:00:42.912 ******* 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, 6f6eb7c9-0939-496b-b3ee-0334ffb21905 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6f6eb7c9-0939-496b-b3ee-0334ffb21905 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:10 +0000 (0:00:00.026) 0:00:42.938 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:10 +0000 (0:00:00.024) 0:00:42.963 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 20:48:10 +0000 (0:00:00.248) 0:00:43.212 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 20:48:10 +0000 (0:00:00.036) 0:00:43.248 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:10 +0000 (0:00:00.086) 0:00:43.334 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:10 +0000 (0:00:00.040) 0:00:43.375 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:10 +0000 (0:00:00.036) 0:00:43.411 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:10 +0000 (0:00:00.024) 0:00:43.435 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:10 +0000 (0:00:00.024) 0:00:43.459 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:13 +0000 (0:00:02.228) 0:00:45.688 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:14 +0000 (0:00:00.817) 0:00:46.505 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:14 +0000 (0:00:00.029) 0:00:46.535 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:14 +0000 (0:00:00.029) 0:00:46.564 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:14 +0000 (0:00:00.039) 0:00:46.604 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:14 +0000 (0:00:00.077) 0:00:46.682 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:14 +0000 (0:00:00.087) 0:00:46.769 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:14 +0000 (0:00:00.029) 0:00:46.798 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:14 +0000 (0:00:00.051) 0:00:46.850 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:14 +0000 (0:00:00.504) 0:00:47.355 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:14 +0000 (0:00:00.063) 0:00:47.418 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:14 +0000 (0:00:00.028) 0:00:47.446 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:15 +0000 (0:00:00.029) 0:00:47.475 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:15 +0000 (0:00:00.498) 0:00:47.974 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:15 +0000 (0:00:00.027) 0:00:48.001 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:15 +0000 (0:00:00.041) 0:00:48.042 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:15 +0000 (0:00:00.025) 0:00:48.068 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:15 +0000 (0:00:00.039) 0:00:48.107 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 20:48:15 +0000 (0:00:00.330) 0:00:48.438 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:48:16 +0000 (0:00:00.061) 0:00:48.499 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:48:16 +0000 (0:00:00.085) 0:00:48.585 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707511685.3463187, "block_size": 4096, "blocks": 0, "ctime": 1707511685.3463187, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38668, "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": 1707511685.3463187, "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_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:48:16 +0000 (0:00:00.267) 0:00:48.853 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 20:48:16 +0000 (0:00:00.034) 0:00:48.887 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:48:16 +0000 (0:00:00.057) 0:00:48.944 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:48:16 +0000 (0:00:00.034) 0:00:48.979 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:48:16 +0000 (0:00:00.298) 0:00:49.278 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:48:16 +0000 (0:00:00.046) 0:00:49.325 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023164", "end": "2024-02-09 20:48:17.132694", "rc": 1, "start": "2024-02-09 20:48:17.109530" } 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:48:17 +0000 (0:00:00.340) 0:00:49.665 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:48:17 +0000 (0:00:00.025) 0:00:49.691 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:48:17 +0000 (0:00:00.031) 0:00:49.723 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:48:17 +0000 (0:00:00.047) 0:00:49.771 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:48:17 +0000 (0:00:00.032) 0:00:49.803 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 20:48:17 +0000 (0:00:00.031) 0:00:49.835 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 20:48:17 +0000 (0:00:00.032) 0:00:49.868 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 20:48:17 +0000 (0:00:00.029) 0:00:49.897 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 20:48:17 +0000 (0:00:00.077) 0:00:49.974 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 20:48:17 +0000 (0:00:00.041) 0:00:50.016 ******* ok: [sut] => { "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.065413", "end": "2024-02-09 20:48:17.827204", "rc": 0, "start": "2024-02-09 20:48:17.761791" } STDOUT: Connection 'statebr' (6f6eb7c9-0939-496b-b3ee-0334ffb21905) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_states.yml:102 Friday 09 February 2024 20:48:17 +0000 (0:00:00.334) 0:00:50.351 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 20:48:17 +0000 (0:00:00.041) 0:00:50.392 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 20:48:17 +0000 (0:00:00.025) 0:00:50.418 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 20:48:17 +0000 (0:00:00.046) 0:00:50.464 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:48:18 +0000 (0:00:00.035) 0:00:50.500 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:48:18 +0000 (0:00:00.034) 0:00:50.534 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003695", "end": "2024-02-09 20:48:18.276580", "rc": 0, "start": "2024-02-09 20:48:18.272885" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:48:18 +0000 (0:00:00.249) 0:00:50.784 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:48:18 +0000 (0:00:00.024) 0:00:50.808 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 20:48:18 +0000 (0:00:00.022) 0:00:50.831 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 20:48:18 +0000 (0:00:00.080) 0:00:50.911 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:18 +0000 (0:00:00.045) 0:00:50.956 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:18 +0000 (0:00:00.051) 0:00:51.007 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:18 +0000 (0:00:00.038) 0:00:51.046 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:18 +0000 (0:00:00.026) 0:00:51.073 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:18 +0000 (0:00:00.025) 0:00:51.099 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:20 +0000 (0:00:02.233) 0:00:53.332 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:21 +0000 (0:00:00.829) 0:00:54.162 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:21 +0000 (0:00:00.027) 0:00:54.189 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:21 +0000 (0:00:00.024) 0:00:54.213 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:21 +0000 (0:00:00.025) 0:00:54.239 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:21 +0000 (0:00:00.094) 0:00:54.334 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:21 +0000 (0:00:00.028) 0:00:54.363 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:21 +0000 (0:00:00.034) 0:00:54.397 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:21 +0000 (0:00:00.042) 0:00:54.439 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:22 +0000 (0:00:00.468) 0:00:54.907 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:22 +0000 (0:00:00.041) 0:00:54.949 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:22 +0000 (0:00:00.024) 0:00:54.973 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:22 +0000 (0:00:00.023) 0:00:54.996 ******* 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, f8c113f5-fb32-4ab0-8697-58c9cbc059ea TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:23 +0000 (0:00:00.483) 0:00:55.480 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:23 +0000 (0:00:00.026) 0:00:55.506 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f8c113f5-fb32-4ab0-8697-58c9cbc059ea" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:23 +0000 (0:00:00.026) 0:00:55.532 ******* 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, f8c113f5-fb32-4ab0-8697-58c9cbc059ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f8c113f5-fb32-4ab0-8697-58c9cbc059ea" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:23 +0000 (0:00:00.028) 0:00:55.561 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:23 +0000 (0:00:00.026) 0:00:55.588 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 20:48:23 +0000 (0:00:00.305) 0:00:55.894 ******* 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, f8c113f5-fb32-4ab0-8697-58c9cbc059ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f8c113f5-fb32-4ab0-8697-58c9cbc059ea" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 20:48:23 +0000 (0:00:00.038) 0:00:55.932 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:23 +0000 (0:00:00.096) 0:00:56.029 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:23 +0000 (0:00:00.044) 0:00:56.073 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:23 +0000 (0:00:00.044) 0:00:56.118 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:23 +0000 (0:00:00.061) 0:00:56.179 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:23 +0000 (0:00:00.029) 0:00:56.208 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:25 +0000 (0:00:02.227) 0:00:58.435 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:26 +0000 (0:00:00.848) 0:00:59.283 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:26 +0000 (0:00:00.030) 0:00:59.314 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:26 +0000 (0:00:00.048) 0:00:59.362 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:26 +0000 (0:00:00.027) 0:00:59.390 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:27 +0000 (0:00:00.091) 0:00:59.482 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:27 +0000 (0:00:00.032) 0:00:59.514 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:27 +0000 (0:00:00.138) 0:00:59.653 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:27 +0000 (0:00:00.048) 0:00:59.702 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:27 +0000 (0:00:00.532) 0:01:00.235 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:27 +0000 (0:00:00.045) 0:01:00.280 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:27 +0000 (0:00:00.047) 0:01:00.327 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:27 +0000 (0:00:00.022) 0:01:00.350 ******* 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, f8c113f5-fb32-4ab0-8697-58c9cbc059ea skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:28 +0000 (0:00:00.471) 0:01:00.822 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:28 +0000 (0:00:00.034) 0:01:00.856 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f8c113f5-fb32-4ab0-8697-58c9cbc059ea skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:28 +0000 (0:00:00.038) 0:01:00.894 ******* 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, f8c113f5-fb32-4ab0-8697-58c9cbc059ea skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f8c113f5-fb32-4ab0-8697-58c9cbc059ea skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:28 +0000 (0:00:00.033) 0:01:00.928 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:28 +0000 (0:00:00.026) 0:01:00.955 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 20:48:28 +0000 (0:00:00.253) 0:01:01.208 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:28 +0000 (0:00:00.067) 0:01:01.275 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:28 +0000 (0:00:00.089) 0:01:01.365 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:28 +0000 (0:00:00.046) 0:01:01.411 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:28 +0000 (0:00:00.026) 0:01:01.438 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:28 +0000 (0:00:00.026) 0:01:01.464 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:31 +0000 (0:00:02.225) 0:01:03.690 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:32 +0000 (0:00:00.834) 0:01:04.525 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:32 +0000 (0:00:00.025) 0:01:04.550 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:32 +0000 (0:00:00.032) 0:01:04.582 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:32 +0000 (0:00:00.026) 0:01:04.608 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:32 +0000 (0:00:00.061) 0:01:04.669 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:32 +0000 (0:00:00.031) 0:01:04.701 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:32 +0000 (0:00:00.026) 0:01:04.727 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:32 +0000 (0:00:00.068) 0:01:04.796 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:32 +0000 (0:00:00.501) 0:01:05.297 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:32 +0000 (0:00:00.037) 0:01:05.335 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:32 +0000 (0:00:00.024) 0:01:05.360 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:32 +0000 (0:00:00.024) 0:01:05.384 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:33 +0000 (0:00:00.486) 0:01:05.870 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:33 +0000 (0:00:00.035) 0:01:05.906 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:33 +0000 (0:00:00.032) 0:01:05.939 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:33 +0000 (0:00:00.027) 0:01:05.967 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:33 +0000 (0:00:00.029) 0:01:05.996 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 20:48:33 +0000 (0:00:00.251) 0:01:06.248 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 20:48:33 +0000 (0:00:00.040) 0:01:06.289 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:33 +0000 (0:00:00.044) 0:01:06.333 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:33 +0000 (0:00:00.087) 0:01:06.420 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:33 +0000 (0:00:00.043) 0:01:06.464 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:34 +0000 (0:00:00.036) 0:01:06.500 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:34 +0000 (0:00:00.026) 0:01:06.526 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:36 +0000 (0:00:02.241) 0:01:08.767 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:37 +0000 (0:00:00.839) 0:01:09.607 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:37 +0000 (0:00:00.040) 0:01:09.648 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:37 +0000 (0:00:00.031) 0:01:09.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:37 +0000 (0:00:00.030) 0:01:09.710 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:37 +0000 (0:00:00.069) 0:01:09.779 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:37 +0000 (0:00:00.026) 0:01:09.806 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:37 +0000 (0:00:00.027) 0:01:09.834 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:37 +0000 (0:00:00.088) 0:01:09.922 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:37 +0000 (0:00:00.484) 0:01:10.407 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:38 +0000 (0:00:00.155) 0:01:10.562 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:38 +0000 (0:00:00.028) 0:01:10.591 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:38 +0000 (0:00:00.024) 0:01:10.616 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:38 +0000 (0:00:00.556) 0:01:11.172 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:38 +0000 (0:00:00.029) 0:01:11.201 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:38 +0000 (0:00:00.026) 0:01:11.228 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:38 +0000 (0:00:00.034) 0:01:11.262 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:38 +0000 (0:00:00.051) 0:01:11.313 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 20:48:39 +0000 (0:00:00.294) 0:01:11.607 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 20:48:39 +0000 (0:00:00.055) 0:01:11.663 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:48:39 +0000 (0:00:00.053) 0:01:11.716 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:48:39 +0000 (0:00:00.025) 0:01:11.742 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:48:39 +0000 (0:00:00.249) 0:01:11.992 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:48:39 +0000 (0:00:00.079) 0:01:12.071 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022082", "end": "2024-02-09 20:48:39.829938", "rc": 1, "start": "2024-02-09 20:48:39.807856" } 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:48:39 +0000 (0:00:00.267) 0:01:12.339 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:48:39 +0000 (0:00:00.024) 0:01:12.363 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:48:39 +0000 (0:00:00.023) 0:01:12.387 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:48:39 +0000 (0:00:00.023) 0:01:12.410 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:48:39 +0000 (0:00:00.033) 0:01:12.443 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 20:48:39 +0000 (0:00:00.023) 0:01:12.467 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 20:48:40 +0000 (0:00:00.031) 0:01:12.499 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:48:40 +0000 (0:00:00.058) 0:01:12.558 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:48:40 +0000 (0:00:00.039) 0:01:12.597 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:48:40 +0000 (0:00:00.268) 0:01:12.865 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 20:48:40 +0000 (0:00:00.024) 0:01:12.890 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 20:48:40 +0000 (0:00:00.022) 0:01:12.913 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 20:48:40 +0000 (0:00:00.096) 0:01:13.009 ******* 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.043572", "end": "2024-02-09 20:48:40.790240", "rc": 1, "start": "2024-02-09 20:48:40.746668" } 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_rewritea_oa302f/tests/playbooks/tests_states.yml:124 Friday 09 February 2024 20:48:40 +0000 (0:00:00.294) 0:01:13.303 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 20:48:40 +0000 (0:00:00.042) 0:01:13.346 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 20:48:40 +0000 (0:00:00.026) 0:01:13.373 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 20:48:40 +0000 (0:00:00.061) 0:01:13.435 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:48:40 +0000 (0:00:00.037) 0:01:13.472 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:48:41 +0000 (0:00:00.046) 0:01:13.518 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003684", "end": "2024-02-09 20:48:41.268042", "rc": 0, "start": "2024-02-09 20:48:41.264358" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:48:41 +0000 (0:00:00.261) 0:01:13.779 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:48:41 +0000 (0:00:00.024) 0:01:13.804 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 20:48:41 +0000 (0:00:00.035) 0:01:13.839 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 20:48:41 +0000 (0:00:00.050) 0:01:13.889 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:41 +0000 (0:00:00.093) 0:01:13.983 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:41 +0000 (0:00:00.042) 0:01:14.025 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:41 +0000 (0:00:00.039) 0:01:14.065 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:41 +0000 (0:00:00.025) 0:01:14.090 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:41 +0000 (0:00:00.027) 0:01:14.118 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:43 +0000 (0:00:02.269) 0:01:16.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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:44 +0000 (0:00:00.851) 0:01:17.239 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:44 +0000 (0:00:00.025) 0:01:17.265 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:44 +0000 (0:00:00.026) 0:01:17.292 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:44 +0000 (0:00:00.026) 0:01:17.318 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:44 +0000 (0:00:00.060) 0:01:17.378 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:44 +0000 (0:00:00.026) 0:01:17.404 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:44 +0000 (0:00:00.025) 0:01:17.430 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:45 +0000 (0:00:00.196) 0:01:17.627 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:45 +0000 (0:00:00.468) 0:01:18.096 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:45 +0000 (0:00:00.038) 0:01:18.134 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:45 +0000 (0:00:00.021) 0:01:18.155 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:45 +0000 (0:00:00.022) 0:01:18.178 ******* 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, 0f37b231-c296-4582-ba4e-e6afcc68c640 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:46 +0000 (0:00:00.474) 0:01:18.652 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:46 +0000 (0:00:00.026) 0:01:18.678 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0f37b231-c296-4582-ba4e-e6afcc68c640" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:46 +0000 (0:00:00.028) 0:01:18.706 ******* 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, 0f37b231-c296-4582-ba4e-e6afcc68c640\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0f37b231-c296-4582-ba4e-e6afcc68c640" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:46 +0000 (0:00:00.028) 0:01:18.735 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:46 +0000 (0:00:00.029) 0:01:18.764 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 20:48:46 +0000 (0:00:00.265) 0:01:19.030 ******* 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, 0f37b231-c296-4582-ba4e-e6afcc68c640\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0f37b231-c296-4582-ba4e-e6afcc68c640" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 20:48:46 +0000 (0:00:00.041) 0:01:19.071 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:46 +0000 (0:00:00.049) 0:01:19.121 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:46 +0000 (0:00:00.110) 0:01:19.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 : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:46 +0000 (0:00:00.039) 0:01:19.271 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:46 +0000 (0:00:00.026) 0:01:19.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:46 +0000 (0:00:00.029) 0:01:19.327 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:49 +0000 (0:00:02.256) 0:01:21.584 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:49 +0000 (0:00:00.832) 0:01:22.416 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:49 +0000 (0:00:00.050) 0:01:22.467 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:50 +0000 (0:00:00.041) 0:01:22.508 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:50 +0000 (0:00:00.028) 0:01:22.536 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:50 +0000 (0:00:00.068) 0:01:22.605 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:50 +0000 (0:00:00.029) 0:01:22.634 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:50 +0000 (0:00:00.027) 0:01:22.662 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:50 +0000 (0:00:00.044) 0:01:22.707 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:50 +0000 (0:00:00.570) 0:01:23.277 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:50 +0000 (0:00:00.040) 0:01:23.317 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:50 +0000 (0:00:00.022) 0:01:23.340 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:50 +0000 (0:00:00.022) 0:01:23.363 ******* 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, 0f37b231-c296-4582-ba4e-e6afcc68c640 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:51 +0000 (0:00:00.438) 0:01:23.802 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:51 +0000 (0:00:00.041) 0:01:23.844 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0f37b231-c296-4582-ba4e-e6afcc68c640 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:51 +0000 (0:00:00.029) 0:01:23.873 ******* 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, 0f37b231-c296-4582-ba4e-e6afcc68c640 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0f37b231-c296-4582-ba4e-e6afcc68c640 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:51 +0000 (0:00:00.028) 0:01:23.902 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:51 +0000 (0:00:00.028) 0:01:23.931 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 20:48:51 +0000 (0:00:00.253) 0:01:24.185 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:51 +0000 (0:00:00.046) 0:01:24.231 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:51 +0000 (0:00:00.043) 0:01:24.275 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:51 +0000 (0:00:00.038) 0:01:24.313 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:51 +0000 (0:00:00.110) 0:01:24.424 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:51 +0000 (0:00:00.031) 0:01:24.456 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:54 +0000 (0:00:02.283) 0:01:26.739 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:48:55 +0000 (0:00:00.832) 0:01:27.571 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:48:55 +0000 (0:00:00.025) 0:01:27.597 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:48:55 +0000 (0:00:00.027) 0:01:27.624 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:48:55 +0000 (0:00:00.027) 0:01:27.652 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:48:55 +0000 (0:00:00.056) 0:01:27.709 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:48:55 +0000 (0:00:00.026) 0:01:27.735 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:48:55 +0000 (0:00:00.026) 0:01:27.762 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:48:55 +0000 (0:00:00.051) 0:01:27.813 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:48:55 +0000 (0:00:00.485) 0:01:28.299 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:48:55 +0000 (0:00:00.085) 0:01:28.384 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:48:55 +0000 (0:00:00.037) 0:01:28.421 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:48:56 +0000 (0:00:00.089) 0:01:28.511 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:48:56 +0000 (0:00:00.557) 0:01:29.068 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:48:56 +0000 (0:00:00.035) 0:01:29.104 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:48:56 +0000 (0:00:00.032) 0:01:29.136 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:48:56 +0000 (0:00:00.038) 0:01:29.174 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:48:56 +0000 (0:00:00.032) 0:01:29.207 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 20:48:57 +0000 (0:00:00.280) 0:01:29.487 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 20:48:57 +0000 (0:00:00.045) 0:01:29.533 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:48:57 +0000 (0:00:00.061) 0:01:29.595 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:48:57 +0000 (0:00:00.064) 0:01:29.659 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:48:57 +0000 (0:00:00.094) 0:01:29.753 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:48:57 +0000 (0:00:00.032) 0:01:29.785 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:48:57 +0000 (0:00:00.175) 0:01:29.961 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:48:59 +0000 (0:00:02.257) 0:01:32.218 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:49:00 +0000 (0:00:00.826) 0:01:33.045 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:49:00 +0000 (0:00:00.026) 0:01:33.072 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:49:00 +0000 (0:00:00.030) 0:01:33.102 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:49:00 +0000 (0:00:00.028) 0:01:33.130 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:49:00 +0000 (0:00:00.071) 0:01:33.202 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:49:00 +0000 (0:00:00.026) 0:01:33.228 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:49:00 +0000 (0:00:00.025) 0:01:33.254 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:49:00 +0000 (0:00:00.047) 0:01:33.302 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:49:01 +0000 (0:00:00.459) 0:01:33.761 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:49:01 +0000 (0:00:00.042) 0:01:33.804 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:49:01 +0000 (0:00:00.025) 0:01:33.829 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:49:01 +0000 (0:00:00.092) 0:01:33.922 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:49:01 +0000 (0:00:00.465) 0:01:34.387 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:49:01 +0000 (0:00:00.028) 0:01:34.416 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:49:01 +0000 (0:00:00.043) 0:01:34.460 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:49:02 +0000 (0:00:00.035) 0:01:34.495 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:49:02 +0000 (0:00:00.030) 0:01:34.525 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 20:49:02 +0000 (0:00:00.270) 0:01:34.795 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 20:49:02 +0000 (0:00:00.048) 0:01:34.844 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:49:02 +0000 (0:00:00.053) 0:01:34.898 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:49:02 +0000 (0:00:00.032) 0:01:34.931 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:49:02 +0000 (0:00:00.248) 0:01:35.179 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:49:02 +0000 (0:00:00.023) 0:01:35.202 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022268", "end": "2024-02-09 20:49:02.974179", "rc": 1, "start": "2024-02-09 20:49:02.951911" } 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:49:03 +0000 (0:00:00.282) 0:01:35.485 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:49:03 +0000 (0:00:00.025) 0:01:35.510 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:49:03 +0000 (0:00:00.087) 0:01:35.597 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:49:03 +0000 (0:00:00.024) 0:01:35.621 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:49:03 +0000 (0:00:00.024) 0:01:35.645 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 20:49:03 +0000 (0:00:00.024) 0:01:35.670 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 09 February 2024 20:49:03 +0000 (0:00:00.026) 0:01:35.697 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.364411", "end": "2024-02-09 20:49:03.799362", "rc": 0, "start": "2024-02-09 20:49:03.434951" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 09 February 2024 20:49:03 +0000 (0:00:00.613) 0:01:36.310 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 09 February 2024 20:49:03 +0000 (0:00:00.024) 0:01:36.334 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 20:49:03 +0000 (0:00:00.025) 0:01:36.360 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:49:03 +0000 (0:00:00.059) 0:01:36.419 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:49:03 +0000 (0:00:00.038) 0:01:36.458 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:49:04 +0000 (0:00:00.252) 0:01:36.710 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 20:49:04 +0000 (0:00:00.026) 0:01:36.737 ******* 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_rewritea_oa302f/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 20:49:04 +0000 (0:00:00.025) 0:01:36.762 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 20:49:04 +0000 (0:00:00.109) 0:01:36.871 ******* 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.043141", "end": "2024-02-09 20:49:04.651762", "rc": 1, "start": "2024-02-09 20:49:04.608621" } 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_rewritea_oa302f/tests/playbooks/tests_states.yml:145 Friday 09 February 2024 20:49:04 +0000 (0:00:00.288) 0:01:37.160 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=253 rescued=0 ignored=10 Friday 09 February 2024 20:49:04 +0000 (0:00:00.064) 0:01:37.225 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.34s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.29s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.28s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.27s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.26s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.26s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.26s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.24s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.24s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-bond_options_rewritea_oa302f/.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.22s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gather current interface info ------------------------------------------- 1.26s /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-bond_options_rewritea_oa302f/tests/tests_states_nm.yml:6 --------- fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /WORKDIR/git-bond_options_rewritea_oa302f/.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. ---^---^---^---^---^---