# 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_rewrite5dv7r09h/.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_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/tests_states_nm.yml:6 Friday 09 February 2024 15:54:34 +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_rewrite5dv7r09h/tests/tests_states_nm.yml:9 Friday 09 February 2024 15:54:35 +0000 (0:00:00.975) 0:00:00.988 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tasks/el_repo_setup.yml for sut TASK [Verify DNS and ping still work before el repo setup] ********************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 15:54:35 +0000 (0:00:00.031) 0:00:01.019 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 15:54:35 +0000 (0:00:00.011) 0:00:01.031 ******* skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tasks/el_repo_setup.yml:31 Friday 09 February 2024 15:54:35 +0000 (0:00:00.018) 0:00:01.050 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tasks/el_repo_setup.yml:36 Friday 09 February 2024 15:54:35 +0000 (0:00:00.295) 0:00:01.345 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tasks/el_repo_setup.yml:40 Friday 09 February 2024 15:54:35 +0000 (0:00:00.014) 0:00:01.360 ******* 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_rewrite5dv7r09h/tests/tasks/el_repo_setup.yml:65 Friday 09 February 2024 15:54:35 +0000 (0:00:00.010) 0:00:01.371 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 15:54:36 +0000 (0:00:00.022) 0:00:01.394 ******* 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_rewrite5dv7r09h/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 15:54:36 +0000 (0:00:00.008) 0:00:01.402 ******* 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_rewrite5dv7r09h/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 15:54:36 +0000 (0:00:00.007) 0:00:01.410 ******* 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_rewrite5dv7r09h/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 15:54:36 +0000 (0:00:00.007) 0:00:01.417 ******* 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_rewrite5dv7r09h/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 15:54:36 +0000 (0:00:00.008) 0:00:01.425 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work after el repo setup] ********************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tasks/el_repo_setup.yml:69 Friday 09 February 2024 15:54:36 +0000 (0:00:00.008) 0:00:01.434 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tests_states_nm.yml:11 Friday 09 February 2024 15:54:36 +0000 (0:00:00.008) 0:00:01.442 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tests_states.yml:3 Friday 09 February 2024 15:54:36 +0000 (0:00:00.017) 0:00:01.459 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tests_states.yml:11 Friday 09 February 2024 15:54:36 +0000 (0:00:00.813) 0:00:02.273 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tests_states.yml:22 Friday 09 February 2024 15:54:36 +0000 (0:00:00.011) 0:00:02.284 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 15:54:36 +0000 (0:00:00.014) 0:00:02.298 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 15:54:36 +0000 (0:00:00.011) 0:00:02.309 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 15:54:36 +0000 (0:00:00.032) 0:00:02.341 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:54:36 +0000 (0:00:00.017) 0:00:02.359 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:54:36 +0000 (0:00:00.017) 0:00:02.376 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003749", "end": "2024-02-09 15:54:37.269915", "rc": 0, "start": "2024-02-09 15:54:37.266166" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:54:37 +0000 (0:00:00.307) 0:00:02.684 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:54:37 +0000 (0:00:00.012) 0:00:02.696 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 15:54:37 +0000 (0:00:00.013) 0:00:02.710 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 15:54:37 +0000 (0:00:00.027) 0:00:02.738 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008128", "end": "2024-02-09 15:54:37.600865", "rc": 1, "start": "2024-02-09 15:54:37.592737" } 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 15:54:37 +0000 (0:00:00.279) 0:00:03.017 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:54:37 +0000 (0:00:00.015) 0:00:03.033 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 15:54:37 +0000 (0:00:00.241) 0:00:03.274 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 15:54:37 +0000 (0:00:00.013) 0:00:03.287 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 15:54:37 +0000 (0:00:00.016) 0:00:03.304 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:54:37 +0000 (0:00:00.025) 0:00:03.329 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:54:37 +0000 (0:00:00.021) 0:00:03.350 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:54:37 +0000 (0:00:00.022) 0:00:03.373 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:54:38 +0000 (0:00:00.019) 0:00:03.393 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:54:38 +0000 (0:00:00.013) 0:00:03.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:54:40 +0000 (0:00:02.577) 0:00:05.984 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:54:41 +0000 (0:00:01.134) 0:00:07.119 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:54:41 +0000 (0:00:00.024) 0:00:07.144 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:54:41 +0000 (0:00:00.026) 0:00:07.170 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:54:41 +0000 (0:00:00.023) 0:00:07.194 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:54:41 +0000 (0:00:00.056) 0:00:07.251 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:54:41 +0000 (0:00:00.027) 0:00:07.278 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:54:41 +0000 (0:00:00.026) 0:00:07.304 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:54:42 +0000 (0:00:00.099) 0:00:07.404 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:54:42 +0000 (0:00:00.675) 0:00:08.080 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:54:42 +0000 (0:00:00.051) 0:00:08.132 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:54:42 +0000 (0:00:00.034) 0:00:08.166 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:54:42 +0000 (0:00:00.035) 0:00:08.201 ******* 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, 9c5b6835-34d6-4a27-a5e5-0fd7938f5a32 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:54:43 +0000 (0:00:00.763) 0:00:08.965 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:54:43 +0000 (0:00:00.046) 0:00:09.011 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c5b6835-34d6-4a27-a5e5-0fd7938f5a32" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:54:43 +0000 (0:00:00.025) 0:00:09.037 ******* 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, 9c5b6835-34d6-4a27-a5e5-0fd7938f5a32\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c5b6835-34d6-4a27-a5e5-0fd7938f5a32" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:54:43 +0000 (0:00:00.023) 0:00:09.061 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:54:43 +0000 (0:00:00.028) 0:00:09.089 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 15:54:44 +0000 (0:00:00.402) 0:00:09.492 ******* 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, 9c5b6835-34d6-4a27-a5e5-0fd7938f5a32\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c5b6835-34d6-4a27-a5e5-0fd7938f5a32" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 15:54:44 +0000 (0:00:00.055) 0:00:09.547 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 15:54:44 +0000 (0:00:00.082) 0:00:09.630 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 15:54:44 +0000 (0:00:00.080) 0:00:09.711 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 15:54:44 +0000 (0:00:00.037) 0:00:09.748 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 15:54:44 +0000 (0:00:00.312) 0:00:10.061 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 15:54:44 +0000 (0:00:00.029) 0:00:10.090 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024191", "end": "2024-02-09 15:54:44.970739", "rc": 0, "start": "2024-02-09 15:54:44.946548" } 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 15:54:45 +0000 (0:00:00.333) 0:00:10.423 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 15:54:45 +0000 (0:00:00.030) 0:00:10.453 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 15:54:45 +0000 (0:00:00.027) 0:00:10.480 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 15:54:45 +0000 (0:00:00.022) 0:00:10.503 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 15:54:45 +0000 (0:00:00.028) 0:00:10.531 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 15:54:45 +0000 (0:00:00.024) 0:00:10.555 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 15:54:45 +0000 (0:00:00.025) 0:00:10.581 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 15:54:45 +0000 (0:00:00.028) 0:00:10.610 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 15:54:45 +0000 (0:00:00.025) 0:00:10.635 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 15:54:45 +0000 (0:00:00.050) 0:00:10.686 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:54:45 +0000 (0:00:00.102) 0:00:10.789 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494083.4774845, "block_size": 4096, "blocks": 0, "ctime": 1707494083.4774845, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34189, "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": 1707494083.4774845, "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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 15:54:45 +0000 (0:00:00.273) 0:00:11.062 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 15:54:45 +0000 (0:00:00.032) 0:00:11.095 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 15:54:45 +0000 (0:00:00.057) 0:00:11.152 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 15:54:45 +0000 (0:00:00.040) 0:00:11.193 ******* 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.068597", "end": "2024-02-09 15:54:46.088903", "rc": 1, "start": "2024-02-09 15:54:46.020306" } STDOUT: Connection 'statebr' (9c5b6835-34d6-4a27-a5e5-0fd7938f5a32) 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_rewrite5dv7r09h/tests/playbooks/tests_states.yml:45 Friday 09 February 2024 15:54:46 +0000 (0:00:00.319) 0:00:11.513 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 15:54:46 +0000 (0:00:00.035) 0:00:11.549 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 15:54:46 +0000 (0:00:00.022) 0:00:11.571 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 15:54:46 +0000 (0:00:00.040) 0:00:11.612 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:54:46 +0000 (0:00:00.048) 0:00:11.660 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:54:46 +0000 (0:00:00.033) 0:00:11.694 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003965", "end": "2024-02-09 15:54:46.525258", "rc": 0, "start": "2024-02-09 15:54:46.521293" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:54:46 +0000 (0:00:00.256) 0:00:11.951 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:54:46 +0000 (0:00:00.060) 0:00:12.011 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 15:54:46 +0000 (0:00:00.029) 0:00:12.040 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 15:54:46 +0000 (0:00:00.049) 0:00:12.089 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007057", "end": "2024-02-09 15:54:46.947099", "rc": 1, "start": "2024-02-09 15:54:46.940042" } 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 15:54:46 +0000 (0:00:00.285) 0:00:12.375 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:54:47 +0000 (0:00:00.035) 0:00:12.411 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 15:54:47 +0000 (0:00:00.282) 0:00:12.693 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 15:54:47 +0000 (0:00:00.032) 0:00:12.725 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 09 February 2024 15:54:47 +0000 (0:00:00.043) 0:00:12.769 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:54:47 +0000 (0:00:00.051) 0:00:12.820 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:54:47 +0000 (0:00:00.047) 0:00:12.868 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:54:47 +0000 (0:00:00.049) 0:00:12.917 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:54:47 +0000 (0:00:00.128) 0:00:13.046 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:54:47 +0000 (0:00:00.027) 0:00:13.073 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:54:50 +0000 (0:00:02.478) 0:00:15.552 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:54:51 +0000 (0:00:00.853) 0:00:16.406 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:54:51 +0000 (0:00:00.027) 0:00:16.433 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:54:51 +0000 (0:00:00.027) 0:00:16.461 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:54:51 +0000 (0:00:00.025) 0:00:16.487 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:54:51 +0000 (0:00:00.071) 0:00:16.559 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:54:51 +0000 (0:00:00.029) 0:00:16.588 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:54:51 +0000 (0:00:00.030) 0:00:16.618 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:54:51 +0000 (0:00:00.068) 0:00:16.687 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:54:51 +0000 (0:00:00.476) 0:00:17.163 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:54:51 +0000 (0:00:00.049) 0:00:17.213 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:54:51 +0000 (0:00:00.032) 0:00:17.245 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:54:51 +0000 (0:00:00.057) 0:00:17.302 ******* 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, 7d1646be-5e6d-4a7d-9f8c-edad0ebfa357 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:54:52 +0000 (0:00:00.437) 0:00:17.740 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:54:52 +0000 (0:00:00.030) 0:00:17.770 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d1646be-5e6d-4a7d-9f8c-edad0ebfa357" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:54:52 +0000 (0:00:00.028) 0:00:17.799 ******* 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, 7d1646be-5e6d-4a7d-9f8c-edad0ebfa357\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d1646be-5e6d-4a7d-9f8c-edad0ebfa357" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:54:52 +0000 (0:00:00.029) 0:00:17.828 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:54:52 +0000 (0:00:00.030) 0:00:17.858 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 09 February 2024 15:54:52 +0000 (0:00:00.258) 0:00:18.116 ******* 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, 7d1646be-5e6d-4a7d-9f8c-edad0ebfa357\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d1646be-5e6d-4a7d-9f8c-edad0ebfa357" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 15:54:52 +0000 (0:00:00.023) 0:00:18.140 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 15:54:52 +0000 (0:00:00.041) 0:00:18.181 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:54:52 +0000 (0:00:00.035) 0:00:18.217 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 15:54:53 +0000 (0:00:00.248) 0:00:18.465 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 15:54:53 +0000 (0:00:00.029) 0:00:18.495 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 15:54:53 +0000 (0:00:00.082) 0:00:18.578 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 15:54:53 +0000 (0:00:00.025) 0:00:18.603 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 15:54:53 +0000 (0:00:00.243) 0:00:18.846 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 15:54:53 +0000 (0:00:00.022) 0:00:18.868 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022718", "end": "2024-02-09 15:54:53.711734", "rc": 0, "start": "2024-02-09 15:54:53.689016" } 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 15:54:53 +0000 (0:00:00.268) 0:00:19.137 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 15:54:53 +0000 (0:00:00.037) 0:00:19.174 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 15:54:53 +0000 (0:00:00.035) 0:00:19.209 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 15:54:53 +0000 (0:00:00.033) 0:00:19.243 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 15:54:53 +0000 (0:00:00.028) 0:00:19.271 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 15:54:53 +0000 (0:00:00.025) 0:00:19.297 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 15:54:53 +0000 (0:00:00.028) 0:00:19.325 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 15:54:53 +0000 (0:00:00.029) 0:00:19.355 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 15:54:53 +0000 (0:00:00.028) 0:00:19.383 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 15:54:54 +0000 (0:00:00.030) 0:00:19.414 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 15:54:54 +0000 (0:00:00.027) 0:00:19.441 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 15:54:54 +0000 (0:00:00.057) 0:00:19.498 ******* 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.044751", "end": "2024-02-09 15:54:54.370221", "rc": 1, "start": "2024-02-09 15:54:54.325470" } STDOUT: Connection 'statebr' (7d1646be-5e6d-4a7d-9f8c-edad0ebfa357) 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_rewrite5dv7r09h/tests/playbooks/tests_states.yml:65 Friday 09 February 2024 15:54:54 +0000 (0:00:00.373) 0:00:19.872 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 15:54:54 +0000 (0:00:00.037) 0:00:19.909 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 15:54:54 +0000 (0:00:00.025) 0:00:19.935 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 15:54:54 +0000 (0:00:00.051) 0:00:19.987 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:54:54 +0000 (0:00:00.036) 0:00:20.023 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:54:54 +0000 (0:00:00.035) 0:00:20.058 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003820", "end": "2024-02-09 15:54:54.884227", "rc": 0, "start": "2024-02-09 15:54:54.880407" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:54:54 +0000 (0:00:00.249) 0:00:20.308 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:54:54 +0000 (0:00:00.024) 0:00:20.332 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 15:54:54 +0000 (0:00:00.024) 0:00:20.357 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 15:54:55 +0000 (0:00:00.037) 0:00:20.395 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:54:55 +0000 (0:00:00.045) 0:00:20.440 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:54:55 +0000 (0:00:00.086) 0:00:20.526 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:54:55 +0000 (0:00:00.037) 0:00:20.563 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:54:55 +0000 (0:00:00.025) 0:00:20.589 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:54:55 +0000 (0:00:00.025) 0:00:20.614 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:54:57 +0000 (0:00:02.376) 0:00:22.991 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:54:58 +0000 (0:00:00.864) 0:00:23.856 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:54:58 +0000 (0:00:00.027) 0:00:23.883 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:54:58 +0000 (0:00:00.033) 0:00:23.917 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:54:58 +0000 (0:00:00.027) 0:00:23.944 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:54:58 +0000 (0:00:00.059) 0:00:24.004 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:54:58 +0000 (0:00:00.028) 0:00:24.033 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:54:58 +0000 (0:00:00.028) 0:00:24.061 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:54:58 +0000 (0:00:00.099) 0:00:24.160 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:54:59 +0000 (0:00:00.550) 0:00:24.710 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:54:59 +0000 (0:00:00.049) 0:00:24.760 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:54:59 +0000 (0:00:00.031) 0:00:24.792 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:54:59 +0000 (0:00:00.024) 0:00:24.816 ******* 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, 59ad6125-03db-480d-87ac-880952154f02 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:54:59 +0000 (0:00:00.491) 0:00:25.308 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:54:59 +0000 (0:00:00.052) 0:00:25.360 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59ad6125-03db-480d-87ac-880952154f02" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:00 +0000 (0:00:00.031) 0:00:25.391 ******* 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, 59ad6125-03db-480d-87ac-880952154f02\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59ad6125-03db-480d-87ac-880952154f02" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:00 +0000 (0:00:00.026) 0:00:25.418 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:00 +0000 (0:00:00.026) 0:00:25.444 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 15:55:00 +0000 (0:00:00.302) 0:00:25.747 ******* 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, 59ad6125-03db-480d-87ac-880952154f02\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59ad6125-03db-480d-87ac-880952154f02" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 15:55:00 +0000 (0:00:00.029) 0:00:25.776 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 15:55:00 +0000 (0:00:00.052) 0:00:25.828 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:00 +0000 (0:00:00.195) 0:00:26.024 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:00 +0000 (0:00:00.070) 0:00:26.094 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:00 +0000 (0:00:00.076) 0:00:26.170 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:00 +0000 (0:00:00.027) 0:00:26.198 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:00 +0000 (0:00:00.026) 0:00:26.224 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:03 +0000 (0:00:02.419) 0:00:28.644 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:55:04 +0000 (0:00:00.841) 0:00:29.485 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:55:04 +0000 (0:00:00.048) 0:00:29.534 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:55:04 +0000 (0:00:00.033) 0:00:29.567 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:55:04 +0000 (0:00:00.036) 0:00:29.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:55:04 +0000 (0:00:00.068) 0:00:29.672 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:55:04 +0000 (0:00:00.025) 0:00:29.697 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:55:04 +0000 (0:00:00.081) 0:00:29.779 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:55:04 +0000 (0:00:00.036) 0:00:29.815 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:55:04 +0000 (0:00:00.494) 0:00:30.309 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:55:04 +0000 (0:00:00.058) 0:00:30.368 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:55:05 +0000 (0:00:00.024) 0:00:30.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:55:05 +0000 (0:00:00.022) 0:00:30.415 ******* 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, 59ad6125-03db-480d-87ac-880952154f02 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:55:05 +0000 (0:00:00.444) 0:00:30.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:55:05 +0000 (0:00:00.024) 0:00:30.885 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59ad6125-03db-480d-87ac-880952154f02 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:05 +0000 (0:00:00.025) 0:00:30.910 ******* 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, 59ad6125-03db-480d-87ac-880952154f02 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59ad6125-03db-480d-87ac-880952154f02 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:05 +0000 (0:00:00.027) 0:00:30.938 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:05 +0000 (0:00:00.025) 0:00:30.963 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 15:55:05 +0000 (0:00:00.252) 0:00:31.216 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 15:55:05 +0000 (0:00:00.046) 0:00:31.262 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:55:05 +0000 (0:00:00.037) 0:00:31.300 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494099.8339677, "block_size": 4096, "blocks": 0, "ctime": 1707494099.8339677, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34320, "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": 1707494099.8339677, "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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 15:55:06 +0000 (0:00:00.373) 0:00:31.674 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 15:55:06 +0000 (0:00:00.045) 0:00:31.720 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 15:55:06 +0000 (0:00:00.065) 0:00:31.785 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 15:55:06 +0000 (0:00:00.029) 0:00:31.815 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 15:55:06 +0000 (0:00:00.302) 0:00:32.117 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 15:55:06 +0000 (0:00:00.022) 0:00:32.139 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023029", "end": "2024-02-09 15:55:06.992774", "rc": 0, "start": "2024-02-09 15:55:06.969745" } 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 15:55:07 +0000 (0:00:00.281) 0:00:32.420 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 15:55:07 +0000 (0:00:00.054) 0:00:32.475 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 15:55:07 +0000 (0:00:00.023) 0:00:32.499 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 15:55:07 +0000 (0:00:00.026) 0:00:32.525 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 15:55:07 +0000 (0:00:00.032) 0:00:32.558 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 15:55:07 +0000 (0:00:00.025) 0:00:32.583 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 15:55:07 +0000 (0:00:00.026) 0:00:32.610 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 15:55:07 +0000 (0:00:00.036) 0:00:32.647 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 15:55:07 +0000 (0:00:00.028) 0:00:32.675 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 15:55:07 +0000 (0:00:00.085) 0:00:32.761 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 15:55:07 +0000 (0:00:00.024) 0:00:32.786 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 15:55:07 +0000 (0:00:00.043) 0:00:32.829 ******* 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.072052", "end": "2024-02-09 15:55:07.724425", "rc": 1, "start": "2024-02-09 15:55:07.652373" } STDOUT: Connection 'statebr' (59ad6125-03db-480d-87ac-880952154f02) 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_rewrite5dv7r09h/tests/playbooks/tests_states.yml:83 Friday 09 February 2024 15:55:07 +0000 (0:00:00.318) 0:00:33.148 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 15:55:07 +0000 (0:00:00.037) 0:00:33.186 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 15:55:07 +0000 (0:00:00.023) 0:00:33.209 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 15:55:07 +0000 (0:00:00.042) 0:00:33.251 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:55:07 +0000 (0:00:00.036) 0:00:33.288 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:55:07 +0000 (0:00:00.034) 0:00:33.323 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005171", "end": "2024-02-09 15:55:09.163136", "rc": 0, "start": "2024-02-09 15:55:08.157965" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:55:09 +0000 (0:00:01.264) 0:00:34.588 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:55:09 +0000 (0:00:00.022) 0:00:34.610 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 15:55:09 +0000 (0:00:00.023) 0:00:34.634 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 15:55:09 +0000 (0:00:00.081) 0:00:34.715 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:09 +0000 (0:00:00.046) 0:00:34.761 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:09 +0000 (0:00:00.041) 0:00:34.803 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:09 +0000 (0:00:00.037) 0:00:34.840 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:09 +0000 (0:00:00.026) 0:00:34.867 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:09 +0000 (0:00:00.027) 0:00:34.895 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:11 +0000 (0:00:02.354) 0:00:37.249 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:55:12 +0000 (0:00:00.828) 0:00:38.077 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:55:12 +0000 (0:00:00.024) 0:00:38.102 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:55:12 +0000 (0:00:00.034) 0:00:38.137 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:55:12 +0000 (0:00:00.077) 0:00:38.214 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:55:12 +0000 (0:00:00.062) 0:00:38.277 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:55:12 +0000 (0:00:00.029) 0:00:38.306 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:55:12 +0000 (0:00:00.039) 0:00:38.346 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:55:13 +0000 (0:00:00.051) 0:00:38.397 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:55:13 +0000 (0:00:00.472) 0:00:38.870 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:55:13 +0000 (0:00:00.042) 0:00:38.912 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:55:13 +0000 (0:00:00.027) 0:00:38.940 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:55:13 +0000 (0:00:00.022) 0:00:38.962 ******* 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, 8c756ee0-0603-423a-bb39-154aeb86077a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:55:14 +0000 (0:00:00.489) 0:00:39.451 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:55:14 +0000 (0:00:00.024) 0:00:39.475 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c756ee0-0603-423a-bb39-154aeb86077a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:14 +0000 (0:00:00.023) 0:00:39.499 ******* 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, 8c756ee0-0603-423a-bb39-154aeb86077a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c756ee0-0603-423a-bb39-154aeb86077a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:14 +0000 (0:00:00.025) 0:00:39.524 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:14 +0000 (0:00:00.025) 0:00:39.550 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 15:55:14 +0000 (0:00:00.265) 0:00:39.815 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c756ee0-0603-423a-bb39-154aeb86077a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c756ee0-0603-423a-bb39-154aeb86077a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 15:55:14 +0000 (0:00:00.038) 0:00:39.854 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:14 +0000 (0:00:00.092) 0:00:39.947 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:14 +0000 (0:00:00.044) 0:00:39.991 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:14 +0000 (0:00:00.042) 0:00:40.034 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:14 +0000 (0:00:00.026) 0:00:40.061 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:14 +0000 (0:00:00.024) 0:00:40.085 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:17 +0000 (0:00:02.364) 0:00:42.450 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:55:17 +0000 (0:00:00.827) 0:00:43.278 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:55:17 +0000 (0:00:00.026) 0:00:43.304 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:55:17 +0000 (0:00:00.035) 0:00:43.339 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:55:17 +0000 (0:00:00.036) 0:00:43.376 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:55:18 +0000 (0:00:00.063) 0:00:43.439 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:55:18 +0000 (0:00:00.163) 0:00:43.603 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:55:18 +0000 (0:00:00.037) 0:00:43.640 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:55:18 +0000 (0:00:00.043) 0:00:43.684 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:55:18 +0000 (0:00:00.575) 0:00:44.260 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:55:18 +0000 (0:00:00.067) 0:00:44.328 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:55:18 +0000 (0:00:00.035) 0:00:44.364 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:55:19 +0000 (0:00:00.043) 0:00:44.407 ******* 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, 8c756ee0-0603-423a-bb39-154aeb86077a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:55:19 +0000 (0:00:00.441) 0:00:44.849 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:55:19 +0000 (0:00:00.026) 0:00:44.875 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8c756ee0-0603-423a-bb39-154aeb86077a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:19 +0000 (0:00:00.025) 0:00:44.901 ******* 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, 8c756ee0-0603-423a-bb39-154aeb86077a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8c756ee0-0603-423a-bb39-154aeb86077a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:19 +0000 (0:00:00.028) 0:00:44.930 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:19 +0000 (0:00:00.027) 0:00:44.957 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 15:55:19 +0000 (0:00:00.268) 0:00:45.226 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 15:55:19 +0000 (0:00:00.051) 0:00:45.277 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:19 +0000 (0:00:00.093) 0:00:45.370 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:20 +0000 (0:00:00.043) 0:00:45.414 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:20 +0000 (0:00:00.038) 0:00:45.452 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:20 +0000 (0:00:00.027) 0:00:45.480 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:20 +0000 (0:00:00.029) 0:00:45.509 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:22 +0000 (0:00:02.343) 0:00:47.853 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:55:23 +0000 (0:00:00.830) 0:00:48.683 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:55:23 +0000 (0:00:00.023) 0:00:48.707 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:55:23 +0000 (0:00:00.025) 0:00:48.733 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:55:23 +0000 (0:00:00.026) 0:00:48.759 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:55:23 +0000 (0:00:00.055) 0:00:48.814 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:55:23 +0000 (0:00:00.078) 0:00:48.893 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:55:23 +0000 (0:00:00.025) 0:00:48.918 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:55:23 +0000 (0:00:00.040) 0:00:48.959 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:55:24 +0000 (0:00:00.468) 0:00:49.427 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:55:24 +0000 (0:00:00.041) 0:00:49.468 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:55:24 +0000 (0:00:00.028) 0:00:49.496 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:55:24 +0000 (0:00:00.024) 0:00:49.521 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:55:24 +0000 (0:00:00.461) 0:00:49.983 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:55:24 +0000 (0:00:00.025) 0:00:50.008 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:24 +0000 (0:00:00.025) 0:00:50.033 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:24 +0000 (0:00:00.026) 0:00:50.059 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:24 +0000 (0:00:00.025) 0:00:50.085 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 15:55:24 +0000 (0:00:00.268) 0:00:50.354 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 15:55:25 +0000 (0:00:00.046) 0:00:50.401 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:55:25 +0000 (0:00:00.118) 0:00:50.519 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494113.9730806, "block_size": 4096, "blocks": 0, "ctime": 1707494113.9730806, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34451, "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": 1707494113.9730806, "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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 15:55:25 +0000 (0:00:00.245) 0:00:50.765 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 15:55:25 +0000 (0:00:00.027) 0:00:50.792 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 15:55:25 +0000 (0:00:00.039) 0:00:50.832 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 15:55:25 +0000 (0:00:00.025) 0:00:50.858 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 15:55:25 +0000 (0:00:00.250) 0:00:51.108 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 15:55:25 +0000 (0:00:00.026) 0:00:51.134 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022964", "end": "2024-02-09 15:55:25.984476", "rc": 1, "start": "2024-02-09 15:55:25.961512" } 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 15:55:26 +0000 (0:00:00.272) 0:00:51.407 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 15:55:26 +0000 (0:00:00.021) 0:00:51.428 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 15:55:26 +0000 (0:00:00.023) 0:00:51.451 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 15:55:26 +0000 (0:00:00.027) 0:00:51.479 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 15:55:26 +0000 (0:00:00.022) 0:00:51.501 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 15:55:26 +0000 (0:00:00.022) 0:00:51.524 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 15:55:26 +0000 (0:00:00.026) 0:00:51.550 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 15:55:26 +0000 (0:00:00.029) 0:00:51.579 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 15:55:26 +0000 (0:00:00.082) 0:00:51.662 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 15:55:26 +0000 (0:00:00.040) 0:00:51.703 ******* 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.070284", "end": "2024-02-09 15:55:26.594132", "rc": 1, "start": "2024-02-09 15:55:26.523848" } STDOUT: Connection 'statebr' (8c756ee0-0603-423a-bb39-154aeb86077a) 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_rewrite5dv7r09h/tests/playbooks/tests_states.yml:102 Friday 09 February 2024 15:55:26 +0000 (0:00:00.322) 0:00:52.025 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 15:55:26 +0000 (0:00:00.039) 0:00:52.064 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 15:55:26 +0000 (0:00:00.022) 0:00:52.087 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 15:55:26 +0000 (0:00:00.086) 0:00:52.173 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:55:26 +0000 (0:00:00.038) 0:00:52.211 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:55:26 +0000 (0:00:00.038) 0:00:52.250 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003963", "end": "2024-02-09 15:55:27.076063", "rc": 0, "start": "2024-02-09 15:55:27.072100" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:55:27 +0000 (0:00:00.254) 0:00:52.505 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:55:27 +0000 (0:00:00.028) 0:00:52.534 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 15:55:27 +0000 (0:00:00.041) 0:00:52.575 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 15:55:27 +0000 (0:00:00.094) 0:00:52.670 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:27 +0000 (0:00:00.043) 0:00:52.713 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:27 +0000 (0:00:00.042) 0:00:52.756 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:27 +0000 (0:00:00.036) 0:00:52.793 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:27 +0000 (0:00:00.024) 0:00:52.817 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:27 +0000 (0:00:00.026) 0:00:52.844 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:29 +0000 (0:00:02.315) 0:00:55.160 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:55:30 +0000 (0:00:00.868) 0:00:56.028 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:55:30 +0000 (0:00:00.050) 0:00:56.078 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:55:30 +0000 (0:00:00.037) 0:00:56.116 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:55:30 +0000 (0:00:00.038) 0:00:56.154 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:55:30 +0000 (0:00:00.157) 0:00:56.312 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:55:30 +0000 (0:00:00.031) 0:00:56.343 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:55:30 +0000 (0:00:00.034) 0:00:56.377 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:55:31 +0000 (0:00:00.058) 0:00:56.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:55:31 +0000 (0:00:00.501) 0:00:56.936 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:55:31 +0000 (0:00:00.041) 0:00:56.978 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:55:31 +0000 (0:00:00.098) 0:00:57.077 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:55:31 +0000 (0:00:00.063) 0:00:57.140 ******* 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, 1bdf0e7b-4981-4315-8d2e-5656e91e2199 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:55:32 +0000 (0:00:00.514) 0:00:57.655 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:55:32 +0000 (0:00:00.027) 0:00:57.682 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bdf0e7b-4981-4315-8d2e-5656e91e2199" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:32 +0000 (0:00:00.027) 0:00:57.710 ******* 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, 1bdf0e7b-4981-4315-8d2e-5656e91e2199\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bdf0e7b-4981-4315-8d2e-5656e91e2199" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:32 +0000 (0:00:00.030) 0:00:57.741 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:32 +0000 (0:00:00.030) 0:00:57.771 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 15:55:32 +0000 (0:00:00.259) 0:00:58.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, 1bdf0e7b-4981-4315-8d2e-5656e91e2199\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bdf0e7b-4981-4315-8d2e-5656e91e2199" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 15:55:32 +0000 (0:00:00.025) 0:00:58.055 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:32 +0000 (0:00:00.085) 0:00:58.141 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:32 +0000 (0:00:00.043) 0:00:58.185 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:32 +0000 (0:00:00.038) 0:00:58.223 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:32 +0000 (0:00:00.025) 0:00:58.248 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:32 +0000 (0:00:00.024) 0:00:58.273 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:35 +0000 (0:00:02.315) 0:01:00.589 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:55:36 +0000 (0:00:00.826) 0:01:01.415 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:55:36 +0000 (0:00:00.035) 0:01:01.450 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:55:36 +0000 (0:00:00.033) 0:01:01.483 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:55:36 +0000 (0:00:00.024) 0:01:01.508 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:55:36 +0000 (0:00:00.066) 0:01:01.575 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:55:36 +0000 (0:00:00.027) 0:01:01.602 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:55:36 +0000 (0:00:00.106) 0:01:01.709 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:55:36 +0000 (0:00:00.076) 0:01:01.785 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:55:36 +0000 (0:00:00.532) 0:01:02.318 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:55:36 +0000 (0:00:00.038) 0:01:02.356 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:55:36 +0000 (0:00:00.027) 0:01:02.384 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:55:37 +0000 (0:00:00.021) 0:01:02.405 ******* 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, 1bdf0e7b-4981-4315-8d2e-5656e91e2199 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:55:37 +0000 (0:00:00.431) 0:01:02.837 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:55:37 +0000 (0:00:00.033) 0:01:02.870 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1bdf0e7b-4981-4315-8d2e-5656e91e2199 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:37 +0000 (0:00:00.025) 0:01:02.896 ******* 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, 1bdf0e7b-4981-4315-8d2e-5656e91e2199 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1bdf0e7b-4981-4315-8d2e-5656e91e2199 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:37 +0000 (0:00:00.025) 0:01:02.922 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:37 +0000 (0:00:00.027) 0:01:02.949 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 15:55:37 +0000 (0:00:00.266) 0:01:03.216 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:37 +0000 (0:00:00.072) 0:01:03.289 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:38 +0000 (0:00:00.124) 0:01:03.413 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:38 +0000 (0:00:00.052) 0:01:03.465 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:38 +0000 (0:00:00.040) 0:01:03.506 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:38 +0000 (0:00:00.026) 0:01:03.533 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:40 +0000 (0:00:02.293) 0:01:05.826 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:55:41 +0000 (0:00:00.834) 0:01:06.660 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:55:41 +0000 (0:00:00.040) 0:01:06.701 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:55:41 +0000 (0:00:00.027) 0:01:06.728 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:55:41 +0000 (0:00:00.038) 0:01:06.766 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:55:41 +0000 (0:00:00.078) 0:01:06.844 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:55:41 +0000 (0:00:00.026) 0:01:06.871 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:55:41 +0000 (0:00:00.026) 0:01:06.897 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:55:41 +0000 (0:00:00.038) 0:01:06.936 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:55:42 +0000 (0:00:00.591) 0:01:07.527 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:55:42 +0000 (0:00:00.047) 0:01:07.574 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:55:42 +0000 (0:00:00.021) 0:01:07.596 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:55:42 +0000 (0:00:00.023) 0:01:07.619 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:55:42 +0000 (0:00:00.497) 0:01:08.117 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:55:42 +0000 (0:00:00.046) 0:01:08.163 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:42 +0000 (0:00:00.030) 0:01:08.194 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:42 +0000 (0:00:00.034) 0:01:08.229 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:42 +0000 (0:00:00.035) 0:01:08.264 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 15:55:43 +0000 (0:00:00.269) 0:01:08.534 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 15:55:43 +0000 (0:00:00.041) 0:01:08.575 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:43 +0000 (0:00:00.045) 0:01:08.621 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:43 +0000 (0:00:00.213) 0:01:08.834 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:43 +0000 (0:00:00.097) 0:01:08.931 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:43 +0000 (0:00:00.062) 0:01:08.994 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:43 +0000 (0:00:00.047) 0:01:09.041 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:46 +0000 (0:00:02.379) 0:01:11.421 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:55:46 +0000 (0:00:00.839) 0:01:12.261 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:55:46 +0000 (0:00:00.026) 0:01:12.287 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:55:46 +0000 (0:00:00.027) 0:01:12.315 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:55:46 +0000 (0:00:00.027) 0:01:12.342 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:55:47 +0000 (0:00:00.065) 0:01:12.408 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:55:47 +0000 (0:00:00.033) 0:01:12.442 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:55:47 +0000 (0:00:00.027) 0:01:12.469 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:55:47 +0000 (0:00:00.038) 0:01:12.507 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:55:47 +0000 (0:00:00.534) 0:01:13.042 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:55:47 +0000 (0:00:00.038) 0:01:13.081 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:55:47 +0000 (0:00:00.023) 0:01:13.105 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:55:47 +0000 (0:00:00.023) 0:01:13.128 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:55:48 +0000 (0:00:00.544) 0:01:13.673 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:55:48 +0000 (0:00:00.037) 0:01:13.711 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:48 +0000 (0:00:00.026) 0:01:13.737 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:48 +0000 (0:00:00.025) 0:01:13.763 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:48 +0000 (0:00:00.026) 0:01:13.789 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 15:55:48 +0000 (0:00:00.256) 0:01:14.045 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 15:55:48 +0000 (0:00:00.043) 0:01:14.089 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 15:55:48 +0000 (0:00:00.038) 0:01:14.127 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 15:55:48 +0000 (0:00:00.024) 0:01:14.151 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 15:55:49 +0000 (0:00:00.241) 0:01:14.393 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 15:55:49 +0000 (0:00:00.078) 0:01:14.472 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021544", "end": "2024-02-09 15:55:49.317493", "rc": 1, "start": "2024-02-09 15:55:49.295949" } 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 15:55:49 +0000 (0:00:00.275) 0:01:14.747 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 15:55:49 +0000 (0:00:00.041) 0:01:14.789 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 15:55:49 +0000 (0:00:00.042) 0:01:14.831 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 15:55:49 +0000 (0:00:00.030) 0:01:14.862 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 15:55:49 +0000 (0:00:00.042) 0:01:14.905 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 15:55:49 +0000 (0:00:00.024) 0:01:14.929 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 15:55:49 +0000 (0:00:00.026) 0:01:14.955 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 15:55:49 +0000 (0:00:00.050) 0:01:15.006 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:55:49 +0000 (0:00:00.037) 0:01:15.043 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 15:55:49 +0000 (0:00:00.243) 0:01:15.287 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 15:55:49 +0000 (0:00:00.026) 0:01:15.313 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 15:55:49 +0000 (0:00:00.025) 0:01:15.339 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 15:55:50 +0000 (0:00:00.105) 0:01:15.444 ******* 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.044081", "end": "2024-02-09 15:55:50.313134", "rc": 1, "start": "2024-02-09 15:55:50.269053" } 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_rewrite5dv7r09h/tests/playbooks/tests_states.yml:124 Friday 09 February 2024 15:55:50 +0000 (0:00:00.295) 0:01:15.740 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 15:55:50 +0000 (0:00:00.047) 0:01:15.787 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 15:55:50 +0000 (0:00:00.053) 0:01:15.841 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 15:55:50 +0000 (0:00:00.077) 0:01:15.918 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 15:55:50 +0000 (0:00:00.041) 0:01:15.960 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 15:55:50 +0000 (0:00:00.036) 0:01:15.997 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003702", "end": "2024-02-09 15:55:50.821600", "rc": 0, "start": "2024-02-09 15:55:50.817898" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 15:55:50 +0000 (0:00:00.264) 0:01:16.261 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 15:55:50 +0000 (0:00:00.045) 0:01:16.307 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 15:55:50 +0000 (0:00:00.033) 0:01:16.340 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 15:55:51 +0000 (0:00:00.059) 0:01:16.400 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:51 +0000 (0:00:00.115) 0:01:16.515 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:51 +0000 (0:00:00.066) 0:01:16.582 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:51 +0000 (0:00:00.052) 0:01:16.634 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:51 +0000 (0:00:00.034) 0:01:16.668 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:51 +0000 (0:00:00.026) 0:01:16.695 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:53 +0000 (0:00:02.388) 0:01:19.084 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:55:54 +0000 (0:00:00.898) 0:01:19.982 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:55:54 +0000 (0:00:00.047) 0:01:20.029 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:55:54 +0000 (0:00:00.099) 0:01:20.129 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:55:54 +0000 (0:00:00.045) 0:01:20.174 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:55:54 +0000 (0:00:00.094) 0:01:20.269 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:55:54 +0000 (0:00:00.038) 0:01:20.307 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:55:55 +0000 (0:00:00.114) 0:01:20.422 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:55:55 +0000 (0:00:00.061) 0:01:20.483 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:55:55 +0000 (0:00:00.649) 0:01:21.133 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:55:55 +0000 (0:00:00.052) 0:01:21.185 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:55:55 +0000 (0:00:00.047) 0:01:21.233 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:55:55 +0000 (0:00:00.040) 0:01:21.274 ******* 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, 57ecf1b9-ba33-4469-bde2-1997becd3a1a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:55:56 +0000 (0:00:00.534) 0:01:21.809 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:55:56 +0000 (0:00:00.044) 0:01:21.853 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57ecf1b9-ba33-4469-bde2-1997becd3a1a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:55:56 +0000 (0:00:00.039) 0:01:21.892 ******* 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, 57ecf1b9-ba33-4469-bde2-1997becd3a1a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57ecf1b9-ba33-4469-bde2-1997becd3a1a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:55:56 +0000 (0:00:00.051) 0:01:21.943 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:55:56 +0000 (0:00:00.061) 0:01:22.005 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 15:55:56 +0000 (0:00:00.290) 0:01:22.296 ******* 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, 57ecf1b9-ba33-4469-bde2-1997becd3a1a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 57ecf1b9-ba33-4469-bde2-1997becd3a1a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 15:55:56 +0000 (0:00:00.025) 0:01:22.321 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:55:56 +0000 (0:00:00.046) 0:01:22.367 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:55:57 +0000 (0:00:00.122) 0:01:22.489 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:55:57 +0000 (0:00:00.043) 0:01:22.533 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:55:57 +0000 (0:00:00.031) 0:01:22.564 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:55:57 +0000 (0:00:00.045) 0:01:22.610 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:55:59 +0000 (0:00:02.428) 0:01:25.038 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:56:00 +0000 (0:00:00.837) 0:01:25.876 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:56:00 +0000 (0:00:00.024) 0:01:25.901 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:56:00 +0000 (0:00:00.026) 0:01:25.928 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:56:00 +0000 (0:00:00.028) 0:01:25.956 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:56:00 +0000 (0:00:00.056) 0:01:26.012 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:56:00 +0000 (0:00:00.027) 0:01:26.039 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:56:00 +0000 (0:00:00.026) 0:01:26.066 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:56:00 +0000 (0:00:00.038) 0:01:26.104 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:56:01 +0000 (0:00:00.597) 0:01:26.702 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:56:01 +0000 (0:00:00.061) 0:01:26.763 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:56:01 +0000 (0:00:00.025) 0:01:26.789 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:56:01 +0000 (0:00:00.023) 0:01:26.812 ******* 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, 57ecf1b9-ba33-4469-bde2-1997becd3a1a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:56:01 +0000 (0:00:00.445) 0:01:27.257 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:56:01 +0000 (0:00:00.044) 0:01:27.302 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 57ecf1b9-ba33-4469-bde2-1997becd3a1a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:56:01 +0000 (0:00:00.029) 0:01:27.331 ******* 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, 57ecf1b9-ba33-4469-bde2-1997becd3a1a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 57ecf1b9-ba33-4469-bde2-1997becd3a1a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:56:01 +0000 (0:00:00.041) 0:01:27.373 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:56:02 +0000 (0:00:00.030) 0:01:27.403 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 15:56:02 +0000 (0:00:00.262) 0:01:27.666 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:56:02 +0000 (0:00:00.045) 0:01:27.711 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:56:02 +0000 (0:00:00.051) 0:01:27.762 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:56:02 +0000 (0:00:00.045) 0:01:27.807 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:56:02 +0000 (0:00:00.181) 0:01:27.988 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:56:02 +0000 (0:00:00.033) 0:01:28.021 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:56:05 +0000 (0:00:02.441) 0:01:30.463 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:56:05 +0000 (0:00:00.869) 0:01:31.332 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:56:05 +0000 (0:00:00.028) 0:01:31.360 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:56:06 +0000 (0:00:00.033) 0:01:31.394 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:56:06 +0000 (0:00:00.030) 0:01:31.425 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:56:06 +0000 (0:00:00.105) 0:01:31.531 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:56:06 +0000 (0:00:00.031) 0:01:31.562 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:56:06 +0000 (0:00:00.049) 0:01:31.612 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:56:06 +0000 (0:00:00.052) 0:01:31.665 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:56:06 +0000 (0:00:00.479) 0:01:32.144 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:56:06 +0000 (0:00:00.056) 0:01:32.201 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:56:06 +0000 (0:00:00.089) 0:01:32.290 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:56:06 +0000 (0:00:00.021) 0:01:32.312 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:56:07 +0000 (0:00:00.555) 0:01:32.867 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:56:07 +0000 (0:00:00.027) 0:01:32.895 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:56:07 +0000 (0:00:00.029) 0:01:32.924 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:56:07 +0000 (0:00:00.028) 0:01:32.953 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:56:07 +0000 (0:00:00.025) 0:01:32.978 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 15:56:07 +0000 (0:00:00.257) 0:01:33.236 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 15:56:07 +0000 (0:00:00.043) 0:01:33.279 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 15:56:07 +0000 (0:00:00.044) 0:01:33.324 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 15:56:07 +0000 (0:00:00.043) 0:01:33.367 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 15:56:08 +0000 (0:00:00.038) 0:01:33.406 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 15:56:08 +0000 (0:00:00.087) 0:01:33.493 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 15:56:08 +0000 (0:00:00.035) 0:01:33.528 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 15:56:10 +0000 (0:00:02.422) 0:01:35.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 15:56:11 +0000 (0:00:00.842) 0:01:36.794 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 15:56:11 +0000 (0:00:00.026) 0:01:36.820 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 15:56:11 +0000 (0:00:00.028) 0:01:36.848 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 15:56:11 +0000 (0:00:00.029) 0:01:36.878 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 15:56:11 +0000 (0:00:00.057) 0:01:36.935 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 15:56:11 +0000 (0:00:00.027) 0:01:36.963 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 15:56:11 +0000 (0:00:00.031) 0:01:36.995 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 15:56:11 +0000 (0:00:00.051) 0:01:37.047 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 15:56:12 +0000 (0:00:00.484) 0:01:37.531 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 15:56:12 +0000 (0:00:00.046) 0:01:37.578 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 15:56:12 +0000 (0:00:00.028) 0:01:37.606 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 15:56:12 +0000 (0:00:00.093) 0:01:37.699 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 15:56:12 +0000 (0:00:00.461) 0:01:38.160 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 15:56:12 +0000 (0:00:00.027) 0:01:38.188 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 15:56:12 +0000 (0:00:00.030) 0:01:38.218 ******* 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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 15:56:12 +0000 (0:00:00.027) 0:01:38.246 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 15:56:12 +0000 (0:00:00.026) 0:01:38.273 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 15:56:13 +0000 (0:00:00.263) 0:01:38.536 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 15:56:13 +0000 (0:00:00.059) 0:01:38.596 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 15:56:13 +0000 (0:00:00.043) 0:01:38.639 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 15:56:13 +0000 (0:00:00.025) 0:01:38.664 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 15:56:13 +0000 (0:00:00.247) 0:01:38.911 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 15:56:13 +0000 (0:00:00.020) 0:01:38.932 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021781", "end": "2024-02-09 15:56:13.777013", "rc": 1, "start": "2024-02-09 15:56:13.755232" } 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 15:56:13 +0000 (0:00:00.271) 0:01:39.204 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 15:56:13 +0000 (0:00:00.067) 0:01:39.272 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 15:56:13 +0000 (0:00:00.021) 0:01:39.294 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 15:56:13 +0000 (0:00:00.022) 0:01:39.316 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 15:56:13 +0000 (0:00:00.022) 0:01:39.338 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 15:56:13 +0000 (0:00:00.022) 0:01:39.360 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 09 February 2024 15:56:13 +0000 (0:00:00.025) 0:01:39.386 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.371261", "end": "2024-02-09 15:56:14.594899", "rc": 0, "start": "2024-02-09 15:56:14.223638" } STDOUT: NetworkManager-1.44.2-1.fc39 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 09 February 2024 15:56:14 +0000 (0:00:00.633) 0:01:40.019 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 09 February 2024 15:56:14 +0000 (0:00:00.024) 0:01:40.044 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.44.2-1.fc39" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 15:56:14 +0000 (0:00:00.024) 0:01:40.069 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 15:56:14 +0000 (0:00:00.063) 0:01:40.133 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 15:56:14 +0000 (0:00:00.039) 0:01:40.172 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 15:56:15 +0000 (0:00:00.245) 0:01:40.418 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 15:56:15 +0000 (0:00:00.025) 0:01:40.444 ******* 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_rewrite5dv7r09h/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 15:56:15 +0000 (0:00:00.024) 0:01:40.469 ******* included: /WORKDIR/git-bond_options_rewrite5dv7r09h/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_rewrite5dv7r09h/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 15:56:15 +0000 (0:00:00.099) 0:01:40.568 ******* 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.043318", "end": "2024-02-09 15:56:15.433019", "rc": 1, "start": "2024-02-09 15:56:15.389701" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=315 changed=10 unreachable=0 failed=0 skipped=255 rescued=0 ignored=11 Friday 09 February 2024 15:56:15 +0000 (0:00:00.327) 0:01:40.895 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.58s /WORKDIR/git-bond_options_rewrite5dv7r09h/.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.48s /WORKDIR/git-bond_options_rewrite5dv7r09h/.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.44s /WORKDIR/git-bond_options_rewrite5dv7r09h/.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.43s /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.42s /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.42s /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-bond_options_rewrite5dv7r09h/.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.38s /WORKDIR/git-bond_options_rewrite5dv7r09h/.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.38s /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.36s /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.35s /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.34s /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.32s /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.32s /WORKDIR/git-bond_options_rewrite5dv7r09h/.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_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gather current interface info ------------------------------------------- 1.26s /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /WORKDIR/git-bond_options_rewrite5dv7r09h/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-bond_options_rewrite5dv7r09h/tests/tests_states_nm.yml:6 --------- fedora.linux_system_roles.network : Check which packages are installed --- 0.90s /WORKDIR/git-bond_options_rewrite5dv7r09h/.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.87s /WORKDIR/git-bond_options_rewrite5dv7r09h/.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. ---^---^---^---^---^---