# 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_rewritemgkxolqg/.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_rewritemgkxolqg/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_rewritemgkxolqg/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 18:46:36 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 18:46:37 +0000 (0:00:00.910) 0:00:00.922 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 18:46:37 +0000 (0:00:00.021) 0:00:00.943 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tasks/el_repo_setup.yml:17 Tuesday 06 February 2024 18:46:37 +0000 (0:00:00.416) 0:00:01.359 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tasks/el_repo_setup.yml:22 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.268) 0:00:01.628 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tasks/el_repo_setup.yml:26 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.013) 0:00:01.641 ****** 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_rewritemgkxolqg/tests/tasks/el_repo_setup.yml:51 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.007) 0:00:01.649 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.019) 0:00:01.669 ****** 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_rewritemgkxolqg/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.007) 0:00:01.676 ****** 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_rewritemgkxolqg/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.007) 0:00:01.683 ****** 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_rewritemgkxolqg/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.007) 0:00:01.690 ****** 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_rewritemgkxolqg/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.007) 0:00:01.698 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.006) 0:00:01.704 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.015) 0:00:01.720 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.747) 0:00:02.468 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 18:46:38 +0000 (0:00:00.010) 0:00:02.478 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.013) 0:00:02.492 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.009) 0:00:02.502 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.027) 0:00:02.530 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.012) 0:00:02.542 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.010) 0:00:02.553 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003803", "end": "2024-02-06 18:46:39.308914", "rc": 0, "start": "2024-02-06 18:46:39.305111" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.261) 0:00:02.814 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.012) 0:00:02.826 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.015) 0:00:02.842 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.030) 0:00:02.873 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007863", "end": "2024-02-06 18:46:39.581361", "rc": 1, "start": "2024-02-06 18:46:39.573498" } 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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.213) 0:00:03.086 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.013) 0:00:03.100 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.203) 0:00:03.303 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.010) 0:00:03.314 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.014) 0:00:03.329 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.022) 0:00:03.351 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.018) 0:00:03.370 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.017) 0:00:03.388 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.010) 0:00:03.399 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:46:39 +0000 (0:00:00.011) 0:00:03.410 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:46:42 +0000 (0:00:02.347) 0:00:05.758 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:46:43 +0000 (0:00:00.943) 0:00:06.701 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:46:43 +0000 (0:00:00.026) 0:00:06.728 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:46:43 +0000 (0:00:00.026) 0:00:06.754 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:46:43 +0000 (0:00:00.024) 0:00:06.778 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:46:43 +0000 (0:00:00.052) 0:00:06.831 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:46:43 +0000 (0:00:00.026) 0:00:06.857 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:46:43 +0000 (0:00:00.022) 0:00:06.880 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:46:43 +0000 (0:00:00.051) 0:00:06.931 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:46:44 +0000 (0:00:00.593) 0:00:07.525 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:46:44 +0000 (0:00:00.034) 0:00:07.559 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:46:44 +0000 (0:00:00.019) 0:00:07.578 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:46:44 +0000 (0:00:00.019) 0:00:07.598 ****** 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, a31964cf-0d4c-45f9-bc63-7503beb18d23 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:46:44 +0000 (0:00:00.599) 0:00:08.198 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:46:44 +0000 (0:00:00.026) 0:00:08.224 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a31964cf-0d4c-45f9-bc63-7503beb18d23" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:46:44 +0000 (0:00:00.023) 0:00:08.247 ****** 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, a31964cf-0d4c-45f9-bc63-7503beb18d23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a31964cf-0d4c-45f9-bc63-7503beb18d23" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:46:44 +0000 (0:00:00.030) 0:00:08.278 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:46:44 +0000 (0:00:00.025) 0:00:08.303 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.323) 0:00:08.627 ****** 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, a31964cf-0d4c-45f9-bc63-7503beb18d23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a31964cf-0d4c-45f9-bc63-7503beb18d23" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.021) 0:00:08.648 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.036) 0:00:08.685 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.070) 0:00:08.755 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.030) 0:00:08.786 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.234) 0:00:09.020 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.019) 0:00:09.040 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022457", "end": "2024-02-06 18:46:45.763076", "rc": 0, "start": "2024-02-06 18:46:45.740619" } 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.238) 0:00:09.279 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.021) 0:00:09.301 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.020) 0:00:09.321 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.021) 0:00:09.343 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.023) 0:00:09.367 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.022) 0:00:09.389 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.023) 0:00:09.413 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.028) 0:00:09.442 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:46:45 +0000 (0:00:00.023) 0:00:09.465 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.045) 0:00:09.511 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.055) 0:00:09.567 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245204.61843, "block_size": 4096, "blocks": 0, "ctime": 1707245204.61843, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34811, "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": 1707245204.61843, "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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.213) 0:00:09.780 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.022) 0:00:09.803 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.021) 0:00:09.825 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.039) 0:00:09.864 ****** 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.062733", "end": "2024-02-06 18:46:46.625588", "rc": 1, "start": "2024-02-06 18:46:46.562855" } STDOUT: Connection 'statebr' (a31964cf-0d4c-45f9-bc63-7503beb18d23) 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_rewritemgkxolqg/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.277) 0:00:10.142 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.032) 0:00:10.175 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.025) 0:00:10.201 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.040) 0:00:10.241 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.031) 0:00:10.272 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:46 +0000 (0:00:00.029) 0:00:10.301 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003661", "end": "2024-02-06 18:46:47.003206", "rc": 0, "start": "2024-02-06 18:46:46.999545" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.217) 0:00:10.519 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.020) 0:00:10.540 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.043) 0:00:10.584 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.035) 0:00:10.620 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006914", "end": "2024-02-06 18:46:47.327342", "rc": 1, "start": "2024-02-06 18:46:47.320428" } 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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.221) 0:00:10.841 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.032) 0:00:10.874 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.214) 0:00:11.088 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.023) 0:00:11.112 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.039) 0:00:11.152 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.051) 0:00:11.203 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.038) 0:00:11.242 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.033) 0:00:11.276 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.021) 0:00:11.297 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:46:47 +0000 (0:00:00.050) 0:00:11.348 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:46:50 +0000 (0:00:02.317) 0:00:13.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 : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.788) 0:00:14.454 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:46:50 +0000 (0:00:00.023) 0:00:14.477 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.028) 0:00:14.506 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.023) 0:00:14.530 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.058) 0:00:14.588 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.024) 0:00:14.613 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.023) 0:00:14.636 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.035) 0:00:14.672 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.429) 0:00:15.102 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.045) 0:00:15.147 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.020) 0:00:15.168 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:46:51 +0000 (0:00:00.045) 0:00:15.214 ****** 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, 55d42a6b-0d56-477a-997e-95cf5d712633 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.384) 0:00:15.598 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.024) 0:00:15.622 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55d42a6b-0d56-477a-997e-95cf5d712633" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.024) 0:00:15.646 ****** 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, 55d42a6b-0d56-477a-997e-95cf5d712633\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55d42a6b-0d56-477a-997e-95cf5d712633" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.023) 0:00:15.670 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.023) 0:00:15.694 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.220) 0:00:15.915 ****** 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, 55d42a6b-0d56-477a-997e-95cf5d712633\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 55d42a6b-0d56-477a-997e-95cf5d712633" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.023) 0:00:15.938 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.040) 0:00:15.978 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.038) 0:00:16.017 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.237) 0:00:16.255 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.024) 0:00:16.280 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.041) 0:00:16.321 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:46:52 +0000 (0:00:00.055) 0:00:16.376 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.230) 0:00:16.606 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.034) 0:00:16.641 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022268", "end": "2024-02-06 18:46:53.393381", "rc": 0, "start": "2024-02-06 18:46:53.371113" } 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.269) 0:00:16.911 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.024) 0:00:16.935 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.021) 0:00:16.957 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.021) 0:00:16.978 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.022) 0:00:17.001 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.020) 0:00:17.022 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.023) 0:00:17.046 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.024) 0:00:17.071 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.024) 0:00:17.095 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.030) 0:00:17.126 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.029) 0:00:17.155 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:46:53 +0000 (0:00:00.038) 0:00:17.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.042816", "end": "2024-02-06 18:46:53.943243", "rc": 1, "start": "2024-02-06 18:46:53.900427" } STDOUT: Connection 'statebr' (55d42a6b-0d56-477a-997e-95cf5d712633) 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_rewritemgkxolqg/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.295) 0:00:17.489 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.035) 0:00:17.524 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.021) 0:00:17.546 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.038) 0:00:17.584 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.032) 0:00:17.617 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.031) 0:00:17.648 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003701", "end": "2024-02-06 18:46:54.350867", "rc": 0, "start": "2024-02-06 18:46:54.347166" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.219) 0:00:17.868 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.021) 0:00:17.889 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.022) 0:00:17.912 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.034) 0:00:17.946 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.040) 0:00:17.987 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.069) 0:00:18.057 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.034) 0:00:18.091 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.022) 0:00:18.113 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:46:54 +0000 (0:00:00.022) 0:00:18.136 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:46:56 +0000 (0:00:02.305) 0:00:20.441 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:46:57 +0000 (0:00:00.769) 0:00:21.211 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:46:57 +0000 (0:00:00.023) 0:00:21.234 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:46:57 +0000 (0:00:00.023) 0:00:21.258 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:46:57 +0000 (0:00:00.022) 0:00:21.280 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:46:57 +0000 (0:00:00.055) 0:00:21.336 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:46:57 +0000 (0:00:00.023) 0:00:21.359 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:46:57 +0000 (0:00:00.022) 0:00:21.381 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:46:57 +0000 (0:00:00.032) 0:00:21.414 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:46:58 +0000 (0:00:00.522) 0:00:21.937 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:46:58 +0000 (0:00:00.050) 0:00:21.987 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:46:58 +0000 (0:00:00.027) 0:00:22.015 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:46:58 +0000 (0:00:00.033) 0:00:22.049 ****** 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, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.457) 0:00:22.506 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.026) 0:00:22.532 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.025) 0:00:22.557 ****** 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, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.024) 0:00:22.582 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.023) 0:00:22.605 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.237) 0:00:22.843 ****** 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, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.023) 0:00:22.867 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.035) 0:00:22.903 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.040) 0:00:22.943 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.063) 0:00:23.007 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.037) 0:00:23.044 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.026) 0:00:23.070 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:46:59 +0000 (0:00:00.046) 0:00:23.117 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:02 +0000 (0:00:03.056) 0:00:26.173 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:03 +0000 (0:00:01.014) 0:00:27.188 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:03 +0000 (0:00:00.023) 0:00:27.211 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:03 +0000 (0:00:00.022) 0:00:27.234 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:03 +0000 (0:00:00.022) 0:00:27.256 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:03 +0000 (0:00:00.052) 0:00:27.309 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:03 +0000 (0:00:00.022) 0:00:27.332 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:03 +0000 (0:00:00.023) 0:00:27.355 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:03 +0000 (0:00:00.063) 0:00:27.419 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:04 +0000 (0:00:00.595) 0:00:28.014 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:04 +0000 (0:00:00.039) 0:00:28.054 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:04 +0000 (0:00:00.020) 0:00:28.074 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:04 +0000 (0:00:00.020) 0:00:28.095 ****** 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, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.395) 0:00:28.490 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.027) 0:00:28.518 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.026) 0:00:28.544 ****** 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, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7013ee7a-4d60-48c9-84ad-f4ba218a92ad skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.036) 0:00:28.581 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.032) 0:00:28.613 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.229) 0:00:28.843 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.068) 0:00:28.912 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.033) 0:00:28.945 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245218.9388099, "block_size": 4096, "blocks": 0, "ctime": 1707245218.9388099, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34942, "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": 1707245218.9388099, "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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.225) 0:00:29.171 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.056) 0:00:29.227 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.038) 0:00:29.265 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:47:05 +0000 (0:00:00.023) 0:00:29.289 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.241) 0:00:29.531 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.065) 0:00:29.596 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021954", "end": "2024-02-06 18:47:06.332211", "rc": 0, "start": "2024-02-06 18:47:06.310257" } 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.251) 0:00:29.848 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.022) 0:00:29.870 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.019) 0:00:29.890 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.019) 0:00:29.909 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.019) 0:00:29.928 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.019) 0:00:29.947 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.022) 0:00:29.970 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.022) 0:00:29.992 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.024) 0:00:30.017 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.038) 0:00:30.055 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.056) 0:00:30.112 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.036) 0:00:30.148 ****** 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.069254", "end": "2024-02-06 18:47:06.915660", "rc": 1, "start": "2024-02-06 18:47:06.846406" } STDOUT: Connection 'statebr' (7013ee7a-4d60-48c9-84ad-f4ba218a92ad) 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_rewritemgkxolqg/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 18:47:06 +0000 (0:00:00.288) 0:00:30.437 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.047) 0:00:30.485 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.026) 0:00:30.511 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.049) 0:00:30.561 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.035) 0:00:30.596 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.038) 0:00:30.634 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003748", "end": "2024-02-06 18:47:07.337566", "rc": 0, "start": "2024-02-06 18:47:07.333818" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.222) 0:00:30.857 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.025) 0:00:30.883 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.037) 0:00:30.921 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.097) 0:00:31.018 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.094) 0:00:31.112 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.077) 0:00:31.190 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.074) 0:00:31.265 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.034) 0:00:31.300 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:07 +0000 (0:00:00.041) 0:00:31.341 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:10 +0000 (0:00:02.301) 0:00:33.642 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:10 +0000 (0:00:00.760) 0:00:34.403 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:10 +0000 (0:00:00.032) 0:00:34.436 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:10 +0000 (0:00:00.024) 0:00:34.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:11 +0000 (0:00:00.025) 0:00:34.486 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:11 +0000 (0:00:00.112) 0:00:34.599 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:11 +0000 (0:00:00.034) 0:00:34.634 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:11 +0000 (0:00:00.025) 0:00:34.659 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:11 +0000 (0:00:00.039) 0:00:34.698 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:11 +0000 (0:00:00.415) 0:00:35.113 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:11 +0000 (0:00:00.042) 0:00:35.155 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:11 +0000 (0:00:00.026) 0:00:35.182 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:11 +0000 (0:00:00.033) 0:00:35.215 ****** 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, 818e46f6-f073-4415-a2fe-f8ed505c628f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.444) 0:00:35.660 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.025) 0:00:35.685 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 818e46f6-f073-4415-a2fe-f8ed505c628f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.025) 0:00:35.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, 818e46f6-f073-4415-a2fe-f8ed505c628f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 818e46f6-f073-4415-a2fe-f8ed505c628f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.026) 0:00:35.737 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.024) 0:00:35.762 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.225) 0:00:35.987 ****** 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, 818e46f6-f073-4415-a2fe-f8ed505c628f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 818e46f6-f073-4415-a2fe-f8ed505c628f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.023) 0:00:36.011 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.099) 0:00:36.110 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.060) 0:00:36.170 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.066) 0:00:36.237 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.025) 0:00:36.262 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:12 +0000 (0:00:00.025) 0:00:36.287 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:15 +0000 (0:00:02.265) 0:00:38.553 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:15 +0000 (0:00:00.759) 0:00:39.312 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:15 +0000 (0:00:00.023) 0:00:39.336 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:15 +0000 (0:00:00.040) 0:00:39.377 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:15 +0000 (0:00:00.027) 0:00:39.405 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:15 +0000 (0:00:00.056) 0:00:39.461 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:16 +0000 (0:00:00.026) 0:00:39.487 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:16 +0000 (0:00:00.069) 0:00:39.557 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:16 +0000 (0:00:00.047) 0:00:39.605 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:16 +0000 (0:00:00.417) 0:00:40.023 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:16 +0000 (0:00:00.038) 0:00:40.062 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:16 +0000 (0:00:00.020) 0:00:40.082 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:16 +0000 (0:00:00.019) 0:00:40.102 ****** 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, 818e46f6-f073-4415-a2fe-f8ed505c628f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:16 +0000 (0:00:00.377) 0:00:40.479 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.023) 0:00:40.503 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 818e46f6-f073-4415-a2fe-f8ed505c628f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.022) 0:00:40.526 ****** 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, 818e46f6-f073-4415-a2fe-f8ed505c628f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 818e46f6-f073-4415-a2fe-f8ed505c628f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.023) 0:00:40.550 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.023) 0:00:40.574 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.222) 0:00:40.796 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.035) 0:00:40.831 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.066) 0:00:40.897 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.039) 0:00:40.936 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.035) 0:00:40.972 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.025) 0:00:40.997 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:17 +0000 (0:00:00.024) 0:00:41.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:19 +0000 (0:00:02.278) 0:00:43.300 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:20 +0000 (0:00:00.759) 0:00:44.060 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:20 +0000 (0:00:00.024) 0:00:44.085 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:20 +0000 (0:00:00.025) 0:00:44.110 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:20 +0000 (0:00:00.024) 0:00:44.135 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:20 +0000 (0:00:00.069) 0:00:44.204 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:20 +0000 (0:00:00.032) 0:00:44.236 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:20 +0000 (0:00:00.074) 0:00:44.310 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:20 +0000 (0:00:00.038) 0:00:44.349 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:21 +0000 (0:00:00.445) 0:00:44.795 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:21 +0000 (0:00:00.035) 0:00:44.830 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:21 +0000 (0:00:00.019) 0:00:44.849 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:21 +0000 (0:00:00.019) 0:00:44.869 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:21 +0000 (0:00:00.406) 0:00:45.276 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:21 +0000 (0:00:00.024) 0:00:45.300 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:21 +0000 (0:00:00.024) 0:00:45.324 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:21 +0000 (0:00:00.025) 0:00:45.349 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:21 +0000 (0:00:00.023) 0:00:45.373 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:47:22 +0000 (0:00:00.223) 0:00:45.596 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:47:22 +0000 (0:00:00.039) 0:00:45.636 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:47:22 +0000 (0:00:00.032) 0:00:45.669 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245232.0884085, "block_size": 4096, "blocks": 0, "ctime": 1707245232.0884085, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35073, "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": 1707245232.0884085, "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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:47:22 +0000 (0:00:00.252) 0:00:45.921 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 18:47:22 +0000 (0:00:00.024) 0:00:45.946 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:47:22 +0000 (0:00:00.047) 0:00:45.993 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:47:22 +0000 (0:00:00.024) 0:00:46.017 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:47:22 +0000 (0:00:00.214) 0:00:46.232 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:47:22 +0000 (0:00:00.020) 0:00:46.252 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022239", "end": "2024-02-06 18:47:22.974792", "rc": 1, "start": "2024-02-06 18:47:22.952553" } 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.237) 0:00:46.490 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.020) 0:00:46.511 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.023) 0:00:46.534 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.020) 0:00:46.554 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.020) 0:00:46.575 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.019) 0:00:46.594 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.021) 0:00:46.616 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.025) 0:00:46.642 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.020) 0:00:46.662 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.066) 0:00:46.728 ****** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.067869", "end": "2024-02-06 18:47:23.498523", "rc": 0, "start": "2024-02-06 18:47:23.430654" } STDOUT: Connection 'statebr' (818e46f6-f073-4415-a2fe-f8ed505c628f) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tests_states.yml:102 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.293) 0:00:47.022 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.035) 0:00:47.058 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.023) 0:00:47.081 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.041) 0:00:47.122 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.031) 0:00:47.154 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.030) 0:00:47.184 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003664", "end": "2024-02-06 18:47:23.888917", "rc": 0, "start": "2024-02-06 18:47:23.885253" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.219) 0:00:47.404 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.021) 0:00:47.425 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:47:23 +0000 (0:00:00.021) 0:00:47.447 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:47:24 +0000 (0:00:00.037) 0:00:47.484 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:24 +0000 (0:00:00.066) 0:00:47.551 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:24 +0000 (0:00:00.039) 0:00:47.590 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:24 +0000 (0:00:00.037) 0:00:47.628 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:24 +0000 (0:00:00.025) 0:00:47.654 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:24 +0000 (0:00:00.024) 0:00:47.678 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:26 +0000 (0:00:02.325) 0:00:50.003 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:27 +0000 (0:00:00.801) 0:00:50.805 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:27 +0000 (0:00:00.026) 0:00:50.832 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:27 +0000 (0:00:00.025) 0:00:50.857 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:27 +0000 (0:00:00.027) 0:00:50.885 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:27 +0000 (0:00:00.073) 0:00:50.959 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:27 +0000 (0:00:00.087) 0:00:51.046 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:27 +0000 (0:00:00.027) 0:00:51.074 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:27 +0000 (0:00:00.055) 0:00:51.129 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.413) 0:00:51.542 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.035) 0:00:51.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.026) 0:00:51.605 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.024) 0:00:51.629 ****** 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, 21a4ca22-6444-4261-b380-5ca45bd405f1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.444) 0:00:52.074 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.024) 0:00:52.099 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21a4ca22-6444-4261-b380-5ca45bd405f1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.026) 0:00:52.125 ****** 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, 21a4ca22-6444-4261-b380-5ca45bd405f1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21a4ca22-6444-4261-b380-5ca45bd405f1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.023) 0:00:52.149 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.023) 0:00:52.172 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.222) 0:00:52.394 ****** 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, 21a4ca22-6444-4261-b380-5ca45bd405f1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21a4ca22-6444-4261-b380-5ca45bd405f1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:47:28 +0000 (0:00:00.022) 0:00:52.416 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:29 +0000 (0:00:00.077) 0:00:52.494 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:29 +0000 (0:00:00.046) 0:00:52.541 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:29 +0000 (0:00:00.058) 0:00:52.599 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:29 +0000 (0:00:00.027) 0:00:52.626 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:29 +0000 (0:00:00.039) 0:00:52.666 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:31 +0000 (0:00:02.314) 0:00:54.980 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.762) 0:00:55.743 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.023) 0:00:55.767 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.023) 0:00:55.790 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.023) 0:00:55.814 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.055) 0:00:55.870 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.023) 0:00:55.894 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.022) 0:00:55.917 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.070) 0:00:55.987 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.419) 0:00:56.407 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.038) 0:00:56.446 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:32 +0000 (0:00:00.023) 0:00:56.469 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:33 +0000 (0:00:00.037) 0:00:56.506 ****** 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, 21a4ca22-6444-4261-b380-5ca45bd405f1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:33 +0000 (0:00:00.401) 0:00:56.907 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:33 +0000 (0:00:00.037) 0:00:56.945 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 21a4ca22-6444-4261-b380-5ca45bd405f1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:33 +0000 (0:00:00.031) 0:00:56.976 ****** 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, 21a4ca22-6444-4261-b380-5ca45bd405f1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 21a4ca22-6444-4261-b380-5ca45bd405f1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:33 +0000 (0:00:00.041) 0:00:57.018 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:33 +0000 (0:00:00.032) 0:00:57.051 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 18:47:33 +0000 (0:00:00.259) 0:00:57.310 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:33 +0000 (0:00:00.049) 0:00:57.360 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:33 +0000 (0:00:00.043) 0:00:57.403 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:34 +0000 (0:00:00.116) 0:00:57.520 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:34 +0000 (0:00:00.029) 0:00:57.550 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:34 +0000 (0:00:00.024) 0:00:57.575 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:36 +0000 (0:00:02.292) 0:00:59.867 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.803) 0:01:00.670 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.035) 0:01:00.706 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.028) 0:01:00.734 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.033) 0:01:00.768 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.058) 0:01:00.826 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.023) 0:01:00.850 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.024) 0:01:00.875 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.035) 0:01:00.910 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.414) 0:01:01.324 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.075) 0:01:01.400 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.020) 0:01:01.421 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:37 +0000 (0:00:00.022) 0:01:01.444 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.408) 0:01:01.853 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.023) 0:01:01.876 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.023) 0:01:01.900 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.023) 0:01:01.923 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.022) 0:01:01.945 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.226) 0:01:02.172 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.041) 0:01:02.213 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.042) 0:01:02.256 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.038) 0:01:02.295 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.067) 0:01:02.362 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.024) 0:01:02.386 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:38 +0000 (0:00:00.023) 0:01:02.410 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:41 +0000 (0:00:02.288) 0:01:04.698 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:41 +0000 (0:00:00.774) 0:01:05.473 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.023) 0:01:05.497 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.023) 0:01:05.520 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.023) 0:01:05.543 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.054) 0:01:05.598 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.024) 0:01:05.623 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.025) 0:01:05.648 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.036) 0:01:05.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.427) 0:01:06.112 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.039) 0:01:06.151 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.059) 0:01:06.211 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:42 +0000 (0:00:00.021) 0:01:06.233 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.491) 0:01:06.724 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.047) 0:01:06.771 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.039) 0:01:06.811 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.037) 0:01:06.848 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.026) 0:01:06.875 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.266) 0:01:07.141 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.038) 0:01:07.179 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.034) 0:01:07.214 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.021) 0:01:07.236 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.211) 0:01:07.448 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:47:43 +0000 (0:00:00.020) 0:01:07.468 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021315", "end": "2024-02-06 18:47:44.188126", "rc": 1, "start": "2024-02-06 18:47:44.166811" } 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.265) 0:01:07.734 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.020) 0:01:07.754 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.020) 0:01:07.775 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.020) 0:01:07.795 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.019) 0:01:07.815 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.020) 0:01:07.835 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.022) 0:01:07.857 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.045) 0:01:07.903 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.032) 0:01:07.935 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.214) 0:01:08.150 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.022) 0:01:08.172 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.020) 0:01:08.193 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:47:44 +0000 (0:00:00.036) 0:01:08.229 ****** 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.041404", "end": "2024-02-06 18:47:44.968578", "rc": 1, "start": "2024-02-06 18:47:44.927174" } 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_rewritemgkxolqg/tests/playbooks/tests_states.yml:124 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.255) 0:01:08.484 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.067) 0:01:08.552 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.022) 0:01:08.574 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.040) 0:01:08.615 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.033) 0:01:08.648 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.031) 0:01:08.680 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003844", "end": "2024-02-06 18:47:45.383001", "rc": 0, "start": "2024-02-06 18:47:45.379157" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.220) 0:01:08.900 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.022) 0:01:08.923 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.025) 0:01:08.949 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.041) 0:01:08.990 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.041) 0:01:09.032 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.069) 0:01:09.101 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.036) 0:01:09.138 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.023) 0:01:09.162 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:45 +0000 (0:00:00.022) 0:01:09.185 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:47 +0000 (0:00:02.281) 0:01:11.467 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:48 +0000 (0:00:00.789) 0:01:12.256 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:48 +0000 (0:00:00.029) 0:01:12.285 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:48 +0000 (0:00:00.025) 0:01:12.311 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:48 +0000 (0:00:00.024) 0:01:12.335 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:48 +0000 (0:00:00.066) 0:01:12.401 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:48 +0000 (0:00:00.030) 0:01:12.432 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:48 +0000 (0:00:00.024) 0:01:12.457 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:49 +0000 (0:00:00.036) 0:01:12.493 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:49 +0000 (0:00:00.454) 0:01:12.947 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:49 +0000 (0:00:00.036) 0:01:12.983 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:49 +0000 (0:00:00.019) 0:01:13.003 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:49 +0000 (0:00:00.019) 0:01:13.023 ****** 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, 66712a38-b715-4bbc-abb4-282afb419a82 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:49 +0000 (0:00:00.430) 0:01:13.453 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:49 +0000 (0:00:00.024) 0:01:13.477 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66712a38-b715-4bbc-abb4-282afb419a82" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.024) 0:01:13.501 ****** 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, 66712a38-b715-4bbc-abb4-282afb419a82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66712a38-b715-4bbc-abb4-282afb419a82" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.025) 0:01:13.526 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.023) 0:01:13.550 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.226) 0:01:13.777 ****** 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, 66712a38-b715-4bbc-abb4-282afb419a82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66712a38-b715-4bbc-abb4-282afb419a82" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.023) 0:01:13.800 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.042) 0:01:13.842 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.039) 0:01:13.882 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.070) 0:01:13.953 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.024) 0:01:13.977 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:50 +0000 (0:00:00.026) 0:01:14.003 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:52 +0000 (0:00:02.310) 0:01:16.313 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:53 +0000 (0:00:00.786) 0:01:17.100 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:53 +0000 (0:00:00.023) 0:01:17.124 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:53 +0000 (0:00:00.023) 0:01:17.147 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:53 +0000 (0:00:00.023) 0:01:17.171 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:53 +0000 (0:00:00.056) 0:01:17.228 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:53 +0000 (0:00:00.026) 0:01:17.254 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:53 +0000 (0:00:00.029) 0:01:17.284 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:53 +0000 (0:00:00.048) 0:01:17.332 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:54 +0000 (0:00:00.411) 0:01:17.743 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:54 +0000 (0:00:00.035) 0:01:17.779 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:54 +0000 (0:00:00.080) 0:01:17.860 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:54 +0000 (0:00:00.046) 0:01:17.907 ****** 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, 66712a38-b715-4bbc-abb4-282afb419a82 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:54 +0000 (0:00:00.391) 0:01:18.298 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:54 +0000 (0:00:00.029) 0:01:18.328 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 66712a38-b715-4bbc-abb4-282afb419a82 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:54 +0000 (0:00:00.027) 0:01:18.355 ****** 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, 66712a38-b715-4bbc-abb4-282afb419a82 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 66712a38-b715-4bbc-abb4-282afb419a82 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:54 +0000 (0:00:00.025) 0:01:18.380 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:54 +0000 (0:00:00.026) 0:01:18.407 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 18:47:55 +0000 (0:00:00.221) 0:01:18.628 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:47:55 +0000 (0:00:00.040) 0:01:18.669 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:47:55 +0000 (0:00:00.037) 0:01:18.707 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:47:55 +0000 (0:00:00.033) 0:01:18.741 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:47:55 +0000 (0:00:00.022) 0:01:18.764 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:47:55 +0000 (0:00:00.021) 0:01:18.786 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:47:57 +0000 (0:00:02.413) 0:01:21.200 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:47:58 +0000 (0:00:00.768) 0:01:21.968 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:47:58 +0000 (0:00:00.023) 0:01:21.992 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:47:58 +0000 (0:00:00.042) 0:01:22.034 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:47:58 +0000 (0:00:00.027) 0:01:22.061 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:47:58 +0000 (0:00:00.054) 0:01:22.116 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:47:58 +0000 (0:00:00.023) 0:01:22.140 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:47:58 +0000 (0:00:00.023) 0:01:22.163 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:47:58 +0000 (0:00:00.034) 0:01:22.198 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:47:59 +0000 (0:00:00.419) 0:01:22.617 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:47:59 +0000 (0:00:00.055) 0:01:22.673 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:47:59 +0000 (0:00:00.022) 0:01:22.695 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:47:59 +0000 (0:00:00.027) 0:01:22.722 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:47:59 +0000 (0:00:00.582) 0:01:23.304 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:47:59 +0000 (0:00:00.024) 0:01:23.329 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:47:59 +0000 (0:00:00.025) 0:01:23.354 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:47:59 +0000 (0:00:00.026) 0:01:23.381 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:47:59 +0000 (0:00:00.023) 0:01:23.404 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:00 +0000 (0:00:00.237) 0:01:23.642 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 18:48:00 +0000 (0:00:00.042) 0:01:23.685 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:00 +0000 (0:00:00.046) 0:01:23.731 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:00 +0000 (0:00:00.041) 0:01:23.773 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 18:48:00 +0000 (0:00:00.034) 0:01:23.808 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 18:48:00 +0000 (0:00:00.022) 0:01:23.830 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 18:48:00 +0000 (0:00:00.022) 0:01:23.852 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 18:48:02 +0000 (0:00:02.531) 0:01:26.384 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.780) 0:01:27.164 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.023) 0:01:27.188 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.025) 0:01:27.213 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.025) 0:01:27.238 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.057) 0:01:27.296 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.025) 0:01:27.321 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.025) 0:01:27.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 18:48:03 +0000 (0:00:00.038) 0:01:27.385 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.416) 0:01:27.801 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.037) 0:01:27.838 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.021) 0:01:27.860 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.024) 0:01:27.885 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.481) 0:01:28.366 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.070) 0:01:28.436 ****** 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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.024) 0:01:28.460 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 18:48:04 +0000 (0:00:00.022) 0:01:28.483 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.027) 0:01:28.511 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.265) 0:01:28.777 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.041) 0:01:28.819 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.037) 0:01:28.856 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.027) 0:01:28.884 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.229) 0:01:29.114 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.021) 0:01:29.136 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021323", "end": "2024-02-06 18:48:05.859582", "rc": 1, "start": "2024-02-06 18:48:05.838259" } 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.239) 0:01:29.375 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.022) 0:01:29.398 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.021) 0:01:29.419 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.059) 0:01:29.478 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.022) 0:01:29.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_rewritemgkxolqg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.029) 0:01:29.530 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.025) 0:01:29.556 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.356890", "end": "2024-02-06 18:48:06.617652", "rc": 0, "start": "2024-02-06 18:48:06.260762" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.577) 0:01:30.133 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.021) 0:01:30.155 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.021) 0:01:30.177 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.047) 0:01:30.224 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.032) 0:01:30.257 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritemgkxolqg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.215) 0:01:30.472 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.022) 0:01:30.495 ****** 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_rewritemgkxolqg/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.021) 0:01:30.517 ****** included: /WORKDIR/git-bond_options_rewritemgkxolqg/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_rewritemgkxolqg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.036) 0:01:30.553 ****** 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.040328", "end": "2024-02-06 18:48:07.293147", "rc": 1, "start": "2024-02-06 18:48:07.252819" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=10 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.323) 0:01:30.876 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.06s /WORKDIR/git-bond_options_rewritemgkxolqg/.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.53s /WORKDIR/git-bond_options_rewritemgkxolqg/.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.41s /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.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.31s /WORKDIR/git-bond_options_rewritemgkxolqg/.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.31s /WORKDIR/git-bond_options_rewritemgkxolqg/.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.31s /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.30s /WORKDIR/git-bond_options_rewritemgkxolqg/.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_rewritemgkxolqg/.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_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.28s /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.28s /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.27s /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-bond_options_rewritemgkxolqg/.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.94s /WORKDIR/git-bond_options_rewritemgkxolqg/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewritemgkxolqg/tests/tests_states_nm.yml:6 --------- fedora.linux_system_roles.network : Check which packages are installed --- 0.80s /WORKDIR/git-bond_options_rewritemgkxolqg/.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.80s /WORKDIR/git-bond_options_rewritemgkxolqg/.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. ---^---^---^---^---^---