# 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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/tests_states_nm.yml:6 Saturday 27 January 2024 13:36:06 +0000 (0:00:00.021) 0:00:00.021 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/tests_states_nm.yml:9 Saturday 27 January 2024 13:36:07 +0000 (0:00:00.896) 0:00:00.917 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/tasks/el_repo_setup.yml:3 Saturday 27 January 2024 13:36:07 +0000 (0:00:00.011) 0:00:00.929 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/tasks/el_repo_setup.yml:17 Saturday 27 January 2024 13:36:07 +0000 (0:00:00.358) 0:00:01.287 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/tasks/el_repo_setup.yml:22 Saturday 27 January 2024 13:36:07 +0000 (0:00:00.269) 0:00:01.557 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/tasks/el_repo_setup.yml:26 Saturday 27 January 2024 13:36:07 +0000 (0:00:00.026) 0:00:01.583 ****** 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-weekly-cirvwhmnmw/tests/tasks/el_repo_setup.yml:51 Saturday 27 January 2024 13:36:07 +0000 (0:00:00.019) 0:00:01.602 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/tasks/enable_epel.yml:8 Saturday 27 January 2024 13:36:07 +0000 (0:00:00.028) 0:00:01.631 ****** 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-weekly-cirvwhmnmw/tests/tasks/enable_epel.yml:24 Saturday 27 January 2024 13:36:07 +0000 (0:00:00.017) 0:00:01.649 ****** 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-weekly-cirvwhmnmw/tests/tasks/enable_epel.yml:30 Saturday 27 January 2024 13:36:07 +0000 (0:00:00.016) 0:00:01.665 ****** 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-weekly-cirvwhmnmw/tests/tasks/enable_epel.yml:35 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.015) 0:00:01.680 ****** 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-weekly-cirvwhmnmw/tests/tasks/enable_epel.yml:40 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.015) 0:00:01.695 ****** 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-weekly-cirvwhmnmw/tests/tests_states_nm.yml:11 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.019) 0:00:01.715 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tests_states.yml:3 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.018) 0:00:01.733 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tests_states.yml:11 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.748) 0:00:02.482 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tests_states.yml:22 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.010) 0:00:02.493 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.015) 0:00:02.508 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.014) 0:00:02.522 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.032) 0:00:02.555 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.016) 0:00:02.572 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:36:08 +0000 (0:00:00.017) 0:00:02.589 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003682", "end": "2024-01-27 13:36:09.172097", "rc": 0, "start": "2024-01-27 13:36:09.168415" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.281) 0:00:02.870 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.012) 0:00:02.883 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.009) 0:00:02.893 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/delete_interface.yml:3 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.018) 0:00:02.912 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007867", "end": "2024-01-27 13:36:09.429196", "rc": 1, "start": "2024-01-27 13:36:09.421329" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.219) 0:00:03.131 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.014) 0:00:03.145 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.212) 0:00:03.358 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.010) 0:00:03.369 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.015) 0:00:03.384 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.022) 0:00:03.407 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.027) 0:00:03.435 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.028) 0:00:03.463 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.011) 0:00:03.474 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:36:09 +0000 (0:00:00.011) 0:00:03.486 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:36:12 +0000 (0:00:02.390) 0:00:05.877 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:36:13 +0000 (0:00:00.973) 0:00:06.851 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:36:13 +0000 (0:00:00.030) 0:00:06.881 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:36:13 +0000 (0:00:00.022) 0:00:06.904 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:36:13 +0000 (0:00:00.023) 0:00:06.927 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:36:13 +0000 (0:00:00.073) 0:00:07.000 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:36:13 +0000 (0:00:00.022) 0:00:07.023 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:36:13 +0000 (0:00:00.038) 0:00:07.062 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:36:13 +0000 (0:00:00.065) 0:00:07.127 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:36:14 +0000 (0:00:00.637) 0:00:07.765 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:36:14 +0000 (0:00:00.035) 0:00:07.800 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:36:14 +0000 (0:00:00.018) 0:00:07.819 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:36:14 +0000 (0:00:00.019) 0:00:07.839 ****** 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, 35dd27f1-db59-420b-b155-1bba001e96b9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:36:14 +0000 (0:00:00.638) 0:00:08.478 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:36:14 +0000 (0:00:00.032) 0:00:08.510 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35dd27f1-db59-420b-b155-1bba001e96b9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:36:14 +0000 (0:00:00.023) 0:00:08.534 ****** 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, 35dd27f1-db59-420b-b155-1bba001e96b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35dd27f1-db59-420b-b155-1bba001e96b9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:36:14 +0000 (0:00:00.022) 0:00:08.556 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:36:14 +0000 (0:00:00.023) 0:00:08.580 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.300) 0:00:08.881 ****** 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, 35dd27f1-db59-420b-b155-1bba001e96b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35dd27f1-db59-420b-b155-1bba001e96b9" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.021) 0:00:08.902 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.036) 0:00:08.938 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.063) 0:00:09.002 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.023) 0:00:09.025 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.218) 0:00:09.244 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.019) 0:00:09.264 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023913", "end": "2024-01-27 13:36:15.801183", "rc": 0, "start": "2024-01-27 13:36:15.777270" } 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.244) 0:00:09.508 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.021) 0:00:09.530 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.020) 0:00:09.550 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.020) 0:00:09.571 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.022) 0:00:09.593 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.021) 0:00:09.614 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.021) 0:00:09.636 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 13:36:15 +0000 (0:00:00.021) 0:00:09.657 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.020) 0:00:09.678 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.045) 0:00:09.723 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.060) 0:00:09.784 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706362574.7180269, "block_size": 4096, "blocks": 0, "ctime": 1706362574.7180269, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42556, "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": 1706362574.7180269, "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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.216) 0:00:10.000 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.023) 0:00:10.023 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.022) 0:00:10.046 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.036) 0:00:10.082 ****** 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.069305", "end": "2024-01-27 13:36:16.660526", "rc": 1, "start": "2024-01-27 13:36:16.591221" } STDOUT: Connection 'statebr' (35dd27f1-db59-420b-b155-1bba001e96b9) 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-weekly-cirvwhmnmw/tests/playbooks/tests_states.yml:45 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.284) 0:00:10.367 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.033) 0:00:10.401 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.022) 0:00:10.423 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.041) 0:00:10.465 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.030) 0:00:10.495 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:36:16 +0000 (0:00:00.030) 0:00:10.525 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003703", "end": "2024-01-27 13:36:17.045100", "rc": 0, "start": "2024-01-27 13:36:17.041397" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.226) 0:00:10.752 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.020) 0:00:10.772 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.044) 0:00:10.817 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/delete_interface.yml:3 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.036) 0:00:10.853 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006741", "end": "2024-01-27 13:36:17.369791", "rc": 1, "start": "2024-01-27 13:36:17.363050" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.225) 0:00:11.079 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.038) 0:00:11.118 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.222) 0:00:11.341 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.022) 0:00:11.363 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.040) 0:00:11.403 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.042) 0:00:11.446 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.038) 0:00:11.485 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.032) 0:00:11.517 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.021) 0:00:11.538 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:36:17 +0000 (0:00:00.043) 0:00:11.582 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:36:20 +0000 (0:00:02.334) 0:00:13.916 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.775) 0:00:14.691 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.024) 0:00:14.716 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.027) 0:00:14.743 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.024) 0:00:14.767 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.051) 0:00:14.819 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.022) 0:00:14.842 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.021) 0:00:14.864 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.034) 0:00:14.898 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.412) 0:00:15.311 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.036) 0:00:15.348 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.019) 0:00:15.368 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:36:21 +0000 (0:00:00.055) 0:00:15.424 ****** 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, 40469c38-fa76-4858-8e1e-0c0cf875ac17 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.396) 0:00:15.820 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.025) 0:00:15.846 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 40469c38-fa76-4858-8e1e-0c0cf875ac17" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.022) 0:00:15.869 ****** 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, 40469c38-fa76-4858-8e1e-0c0cf875ac17\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 40469c38-fa76-4858-8e1e-0c0cf875ac17" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.026) 0:00:15.895 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.027) 0:00:15.923 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.227) 0:00:16.151 ****** 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, 40469c38-fa76-4858-8e1e-0c0cf875ac17\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 40469c38-fa76-4858-8e1e-0c0cf875ac17" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.023) 0:00:16.174 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.051) 0:00:16.225 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.036) 0:00:16.261 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.263) 0:00:16.524 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.023) 0:00:16.548 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.069) 0:00:16.618 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:36:22 +0000 (0:00:00.033) 0:00:16.651 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.227) 0:00:16.878 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.024) 0:00:16.903 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024046", "end": "2024-01-27 13:36:23.437593", "rc": 0, "start": "2024-01-27 13:36:23.413547" } 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.255) 0:00:17.158 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.023) 0:00:17.181 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.024) 0:00:17.205 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.021) 0:00:17.227 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.029) 0:00:17.256 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.023) 0:00:17.280 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.027) 0:00:17.308 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.027) 0:00:17.336 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.037) 0:00:17.373 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.069) 0:00:17.443 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.030) 0:00:17.473 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:36:23 +0000 (0:00:00.046) 0:00:17.519 ****** 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.046569", "end": "2024-01-27 13:36:24.086852", "rc": 1, "start": "2024-01-27 13:36:24.040283" } STDOUT: Connection 'statebr' (40469c38-fa76-4858-8e1e-0c0cf875ac17) 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-weekly-cirvwhmnmw/tests/playbooks/tests_states.yml:65 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.314) 0:00:17.833 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.040) 0:00:17.873 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.029) 0:00:17.902 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.048) 0:00:17.951 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.036) 0:00:17.987 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.033) 0:00:18.020 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003720", "end": "2024-01-27 13:36:24.535425", "rc": 0, "start": "2024-01-27 13:36:24.531705" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.221) 0:00:18.242 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.021) 0:00:18.263 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.020) 0:00:18.284 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.033) 0:00:18.318 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.040) 0:00:18.358 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.081) 0:00:18.439 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.036) 0:00:18.476 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.032) 0:00:18.508 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:36:24 +0000 (0:00:00.031) 0:00:18.539 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:36:27 +0000 (0:00:02.307) 0:00:20.847 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:36:27 +0000 (0:00:00.765) 0:00:21.612 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:36:27 +0000 (0:00:00.024) 0:00:21.637 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:36:27 +0000 (0:00:00.023) 0:00:21.661 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:36:28 +0000 (0:00:00.024) 0:00:21.686 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:36:28 +0000 (0:00:00.052) 0:00:21.739 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:36:28 +0000 (0:00:00.023) 0:00:21.762 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:36:28 +0000 (0:00:00.024) 0:00:21.786 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:36:28 +0000 (0:00:00.075) 0:00:21.862 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:36:28 +0000 (0:00:00.424) 0:00:22.287 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:36:28 +0000 (0:00:00.044) 0:00:22.331 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:36:28 +0000 (0:00:00.020) 0:00:22.352 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:36:28 +0000 (0:00:00.019) 0:00:22.371 ****** 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, ae36c0d3-33b6-4980-b903-5118b7252e97 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.441) 0:00:22.813 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.024) 0:00:22.837 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae36c0d3-33b6-4980-b903-5118b7252e97" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.023) 0:00:22.861 ****** 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, ae36c0d3-33b6-4980-b903-5118b7252e97\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae36c0d3-33b6-4980-b903-5118b7252e97" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.025) 0:00:22.886 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.024) 0:00:22.911 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.224) 0:00:23.136 ****** 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, ae36c0d3-33b6-4980-b903-5118b7252e97\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae36c0d3-33b6-4980-b903-5118b7252e97" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.023) 0:00:23.159 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.034) 0:00:23.194 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.068) 0:00:23.263 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.039) 0:00:23.302 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.035) 0:00:23.337 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.028) 0:00:23.366 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:36:29 +0000 (0:00:00.035) 0:00:23.402 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:36:32 +0000 (0:00:02.318) 0:00:25.720 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:36:32 +0000 (0:00:00.769) 0:00:26.490 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:36:32 +0000 (0:00:00.023) 0:00:26.514 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:36:32 +0000 (0:00:00.023) 0:00:26.537 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:36:32 +0000 (0:00:00.022) 0:00:26.559 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:36:32 +0000 (0:00:00.053) 0:00:26.613 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:36:32 +0000 (0:00:00.023) 0:00:26.636 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:36:32 +0000 (0:00:00.021) 0:00:26.658 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:36:33 +0000 (0:00:00.064) 0:00:26.722 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:36:33 +0000 (0:00:00.410) 0:00:27.132 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:36:33 +0000 (0:00:00.036) 0:00:27.169 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:36:33 +0000 (0:00:00.021) 0:00:27.190 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:36:33 +0000 (0:00:00.021) 0:00:27.212 ****** 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, ae36c0d3-33b6-4980-b903-5118b7252e97 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:36:33 +0000 (0:00:00.386) 0:00:27.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:36:33 +0000 (0:00:00.030) 0:00:27.629 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ae36c0d3-33b6-4980-b903-5118b7252e97 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:36:33 +0000 (0:00:00.024) 0:00:27.653 ****** 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, ae36c0d3-33b6-4980-b903-5118b7252e97 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ae36c0d3-33b6-4980-b903-5118b7252e97 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.023) 0:00:27.676 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.027) 0:00:27.704 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.225) 0:00:27.929 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.052) 0:00:27.982 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.034) 0:00:28.017 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706362589.0437305, "block_size": 4096, "blocks": 0, "ctime": 1706362589.0437305, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42687, "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": 1706362589.0437305, "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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.260) 0:00:28.277 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.023) 0:00:28.300 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.035) 0:00:28.336 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.024) 0:00:28.360 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.219) 0:00:28.580 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:36:34 +0000 (0:00:00.022) 0:00:28.602 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023818", "end": "2024-01-27 13:36:35.136607", "rc": 0, "start": "2024-01-27 13:36:35.112789" } 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.241) 0:00:28.844 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.023) 0:00:28.868 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.033) 0:00:28.901 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.028) 0:00:28.930 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.021) 0:00:28.951 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.038) 0:00:28.990 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.033) 0:00:29.023 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.033) 0:00:29.057 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.043) 0:00:29.100 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.066) 0:00:29.167 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.082) 0:00:29.249 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.057) 0:00:29.307 ****** 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.076715", "end": "2024-01-27 13:36:35.893779", "rc": 1, "start": "2024-01-27 13:36:35.817064" } STDOUT: Connection 'statebr' (ae36c0d3-33b6-4980-b903-5118b7252e97) 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-weekly-cirvwhmnmw/tests/playbooks/tests_states.yml:83 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.294) 0:00:29.601 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.040) 0:00:29.641 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:36:35 +0000 (0:00:00.024) 0:00:29.666 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.073) 0:00:29.739 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.045) 0:00:29.784 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.056) 0:00:29.841 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003767", "end": "2024-01-27 13:36:36.371532", "rc": 0, "start": "2024-01-27 13:36:36.367765" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.243) 0:00:30.085 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.022) 0:00:30.107 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.022) 0:00:30.130 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.067) 0:00:30.197 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.041) 0:00:30.239 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.039) 0:00:30.278 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.041) 0:00:30.320 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.024) 0:00:30.345 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:36:36 +0000 (0:00:00.045) 0:00:30.390 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:36:39 +0000 (0:00:02.315) 0:00:32.705 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:36:39 +0000 (0:00:00.769) 0:00:33.475 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:36:39 +0000 (0:00:00.024) 0:00:33.500 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:36:39 +0000 (0:00:00.026) 0:00:33.526 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:36:39 +0000 (0:00:00.022) 0:00:33.548 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:36:40 +0000 (0:00:00.130) 0:00:33.678 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:36:40 +0000 (0:00:00.035) 0:00:33.714 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:36:40 +0000 (0:00:00.031) 0:00:33.746 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:36:40 +0000 (0:00:00.043) 0:00:33.790 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:36:40 +0000 (0:00:00.412) 0:00:34.202 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:36:40 +0000 (0:00:00.034) 0:00:34.237 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:36:40 +0000 (0:00:00.019) 0:00:34.257 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:36:40 +0000 (0:00:00.021) 0:00:34.278 ****** 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, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.442) 0:00:34.721 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.033) 0:00:34.754 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.025) 0:00:34.780 ****** 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, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.025) 0:00:34.805 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.025) 0:00:34.830 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.226) 0:00:35.057 ****** 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, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.025) 0:00:35.083 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.077) 0:00:35.160 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.045) 0:00:35.206 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.045) 0:00:35.251 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.030) 0:00:35.282 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:36:41 +0000 (0:00:00.032) 0:00:35.314 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:36:43 +0000 (0:00:02.295) 0:00:37.609 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:36:44 +0000 (0:00:00.770) 0:00:38.380 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:36:44 +0000 (0:00:00.026) 0:00:38.407 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:36:44 +0000 (0:00:00.024) 0:00:38.432 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:36:44 +0000 (0:00:00.024) 0:00:38.456 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:36:44 +0000 (0:00:00.069) 0:00:38.525 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:36:44 +0000 (0:00:00.101) 0:00:38.627 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:36:44 +0000 (0:00:00.026) 0:00:38.654 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:36:45 +0000 (0:00:00.038) 0:00:38.693 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:36:45 +0000 (0:00:00.428) 0:00:39.121 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:36:45 +0000 (0:00:00.052) 0:00:39.173 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:36:45 +0000 (0:00:00.041) 0:00:39.215 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:36:45 +0000 (0:00:00.033) 0:00:39.248 ****** 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, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:36:45 +0000 (0:00:00.414) 0:00:39.662 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.037) 0:00:39.700 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.025) 0:00:39.726 ****** 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, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0007ac77-a6dc-4fa9-bf76-d4774364e8b6 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.025) 0:00:39.752 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.025) 0:00:39.777 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.237) 0:00:40.014 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove_profile.yml:3 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.043) 0:00:40.057 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.083) 0:00:40.141 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.042) 0:00:40.183 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.035) 0:00:40.218 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.023) 0:00:40.242 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:36:46 +0000 (0:00:00.024) 0:00:40.267 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:36:48 +0000 (0:00:02.312) 0:00:42.580 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:36:49 +0000 (0:00:00.773) 0:00:43.353 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:36:49 +0000 (0:00:00.024) 0:00:43.377 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:36:49 +0000 (0:00:00.030) 0:00:43.407 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:36:49 +0000 (0:00:00.023) 0:00:43.431 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:36:49 +0000 (0:00:00.087) 0:00:43.518 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:36:49 +0000 (0:00:00.060) 0:00:43.579 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:36:50 +0000 (0:00:00.098) 0:00:43.678 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:36:50 +0000 (0:00:00.048) 0:00:43.726 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:36:50 +0000 (0:00:00.417) 0:00:44.144 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:36:50 +0000 (0:00:00.045) 0:00:44.189 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:36:50 +0000 (0:00:00.023) 0:00:44.212 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:36:50 +0000 (0:00:00.020) 0:00:44.232 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:36:50 +0000 (0:00:00.437) 0:00:44.670 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.025) 0:00:44.696 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.023) 0:00:44.720 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.027) 0:00:44.747 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.025) 0:00:44.773 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.250) 0:00:45.024 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.059) 0:00:45.083 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.076) 0:00:45.159 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706362600.9507544, "block_size": 4096, "blocks": 0, "ctime": 1706362600.9507544, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42818, "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": 1706362600.9507544, "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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.226) 0:00:45.386 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.032) 0:00:45.418 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.053) 0:00:45.471 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:36:51 +0000 (0:00:00.027) 0:00:45.499 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.266) 0:00:45.765 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.022) 0:00:45.787 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024684", "end": "2024-01-27 13:36:52.321272", "rc": 1, "start": "2024-01-27 13:36:52.296588" } 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.250) 0:00:46.038 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.039) 0:00:46.078 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.031) 0:00:46.109 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.024) 0:00:46.133 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.024) 0:00:46.158 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.021) 0:00:46.180 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.023) 0:00:46.203 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.045) 0:00:46.249 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.028) 0:00:46.278 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:36:52 +0000 (0:00:00.115) 0:00:46.393 ****** 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.074134", "end": "2024-01-27 13:36:53.021700", "rc": 1, "start": "2024-01-27 13:36:52.947566" } STDOUT: Connection 'statebr' (0007ac77-a6dc-4fa9-bf76-d4774364e8b6) 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-weekly-cirvwhmnmw/tests/playbooks/tests_states.yml:102 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.374) 0:00:46.768 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.053) 0:00:46.821 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.033) 0:00:46.854 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.051) 0:00:46.906 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.035) 0:00:46.941 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.035) 0:00:46.977 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003878", "end": "2024-01-27 13:36:53.489898", "rc": 0, "start": "2024-01-27 13:36:53.486020" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.229) 0:00:47.206 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.025) 0:00:47.231 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.038) 0:00:47.269 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.073) 0:00:47.343 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.071) 0:00:47.415 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.038) 0:00:47.453 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.034) 0:00:47.488 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.023) 0:00:47.512 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:36:53 +0000 (0:00:00.022) 0:00:47.534 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:36:56 +0000 (0:00:02.304) 0:00:49.839 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:36:56 +0000 (0:00:00.776) 0:00:50.615 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:36:56 +0000 (0:00:00.041) 0:00:50.656 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.027) 0:00:50.684 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.032) 0:00:50.717 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.061) 0:00:50.779 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.059) 0:00:50.838 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.026) 0:00:50.865 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.035) 0:00:50.901 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.421) 0:00:51.322 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.037) 0:00:51.360 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.021) 0:00:51.382 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:36:57 +0000 (0:00:00.020) 0:00:51.402 ****** 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, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.446) 0:00:51.849 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.024) 0:00:51.874 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.024) 0:00:51.898 ****** 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, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.024) 0:00:51.923 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.025) 0:00:51.948 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.236) 0:00:52.184 ****** 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, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.024) 0:00:52.209 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.082) 0:00:52.291 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.042) 0:00:52.334 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.037) 0:00:52.371 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.047) 0:00:52.418 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:36:58 +0000 (0:00:00.037) 0:00:52.456 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:37:01 +0000 (0:00:02.319) 0:00:54.776 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:37:01 +0000 (0:00:00.783) 0:00:55.559 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:37:01 +0000 (0:00:00.023) 0:00:55.583 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:37:01 +0000 (0:00:00.023) 0:00:55.607 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:37:01 +0000 (0:00:00.026) 0:00:55.634 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:37:02 +0000 (0:00:00.054) 0:00:55.688 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:37:02 +0000 (0:00:00.026) 0:00:55.714 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:37:02 +0000 (0:00:00.067) 0:00:55.782 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:37:02 +0000 (0:00:00.037) 0:00:55.820 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:37:02 +0000 (0:00:00.413) 0:00:56.233 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:37:02 +0000 (0:00:00.037) 0:00:56.271 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:37:02 +0000 (0:00:00.037) 0:00:56.309 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:37:02 +0000 (0:00:00.036) 0:00:56.345 ****** 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, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.405) 0:00:56.750 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.026) 0:00:56.777 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.034) 0:00:56.811 ****** 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, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ea83ee3e-d9ee-4d15-b44b-b73b35b1f9aa skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.040) 0:00:56.851 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.036) 0:00:56.887 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove_profile.yml:3 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.247) 0:00:57.135 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.065) 0:00:57.200 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.076) 0:00:57.277 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.047) 0:00:57.325 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.026) 0:00:57.351 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:37:03 +0000 (0:00:00.025) 0:00:57.376 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:37:06 +0000 (0:00:02.335) 0:00:59.712 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:37:06 +0000 (0:00:00.816) 0:01:00.529 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:37:06 +0000 (0:00:00.051) 0:01:00.580 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:37:06 +0000 (0:00:00.089) 0:01:00.670 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:37:07 +0000 (0:00:00.071) 0:01:00.741 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:37:07 +0000 (0:00:00.121) 0:01:00.863 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:37:07 +0000 (0:00:00.048) 0:01:00.912 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:37:07 +0000 (0:00:00.024) 0:01:00.937 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:37:07 +0000 (0:00:00.040) 0:01:00.977 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:37:07 +0000 (0:00:00.410) 0:01:01.388 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:37:07 +0000 (0:00:00.110) 0:01:01.498 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:37:07 +0000 (0:00:00.021) 0:01:01.520 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:37:07 +0000 (0:00:00.021) 0:01:01.542 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:37:08 +0000 (0:00:00.428) 0:01:01.970 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:37:08 +0000 (0:00:00.046) 0:01:02.017 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:37:08 +0000 (0:00:00.032) 0:01:02.049 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:37:08 +0000 (0:00:00.050) 0:01:02.100 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:37:08 +0000 (0:00:00.051) 0:01:02.151 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:37:08 +0000 (0:00:00.245) 0:01:02.396 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 13:37:08 +0000 (0:00:00.042) 0:01:02.439 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:37:08 +0000 (0:00:00.051) 0:01:02.490 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:37:08 +0000 (0:00:00.043) 0:01:02.534 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:37:09 +0000 (0:00:00.146) 0:01:02.681 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:37:09 +0000 (0:00:00.037) 0:01:02.719 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:37:09 +0000 (0:00:00.030) 0:01:02.749 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:37:11 +0000 (0:00:02.333) 0:01:05.083 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.766) 0:01:05.849 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.023) 0:01:05.873 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.029) 0:01:05.902 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.032) 0:01:05.935 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.055) 0:01:05.990 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.024) 0:01:06.014 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.023) 0:01:06.038 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.033) 0:01:06.071 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.428) 0:01:06.499 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.102) 0:01:06.602 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.023) 0:01:06.626 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:37:12 +0000 (0:00:00.023) 0:01:06.650 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:37:13 +0000 (0:00:00.493) 0:01:07.144 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:37:13 +0000 (0:00:00.024) 0:01:07.169 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:37:13 +0000 (0:00:00.031) 0:01:07.200 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:37:13 +0000 (0:00:00.025) 0:01:07.225 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:37:13 +0000 (0:00:00.024) 0:01:07.250 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:37:13 +0000 (0:00:00.243) 0:01:07.493 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 13:37:13 +0000 (0:00:00.044) 0:01:07.537 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:37:13 +0000 (0:00:00.036) 0:01:07.574 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:37:13 +0000 (0:00:00.020) 0:01:07.594 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.213) 0:01:07.807 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.020) 0:01:07.828 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023204", "end": "2024-01-27 13:37:14.359983", "rc": 1, "start": "2024-01-27 13:37:14.336779" } 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.268) 0:01:08.096 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.021) 0:01:08.117 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.019) 0:01:08.137 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.020) 0:01:08.157 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.020) 0:01:08.177 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.021) 0:01:08.198 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.034) 0:01:08.233 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.055) 0:01:08.288 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.032) 0:01:08.321 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.219) 0:01:08.540 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.023) 0:01:08.564 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.025) 0:01:08.590 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:37:14 +0000 (0:00:00.049) 0:01:08.639 ****** 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.045101", "end": "2024-01-27 13:37:15.192308", "rc": 1, "start": "2024-01-27 13:37:15.147207" } 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-weekly-cirvwhmnmw/tests/playbooks/tests_states.yml:124 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.297) 0:01:08.936 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.034) 0:01:08.970 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.021) 0:01:08.992 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.039) 0:01:09.032 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.032) 0:01:09.064 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.031) 0:01:09.096 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003663", "end": "2024-01-27 13:37:15.608484", "rc": 0, "start": "2024-01-27 13:37:15.604821" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.219) 0:01:09.315 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.022) 0:01:09.338 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.020) 0:01:09.358 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.039) 0:01:09.398 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.052) 0:01:09.451 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.086) 0:01:09.537 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.046) 0:01:09.583 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.037) 0:01:09.621 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:37:15 +0000 (0:00:00.028) 0:01:09.649 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:37:18 +0000 (0:00:02.303) 0:01:11.953 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.777) 0:01:12.730 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.028) 0:01:12.759 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.025) 0:01:12.784 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.024) 0:01:12.808 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.063) 0:01:12.872 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.024) 0:01:12.897 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.024) 0:01:12.921 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.074) 0:01:12.995 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.412) 0:01:13.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.040) 0:01:13.448 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.020) 0:01:13.468 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:37:19 +0000 (0:00:00.023) 0:01:13.491 ****** 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, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.456) 0:01:13.947 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.058) 0:01:14.006 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.035) 0:01:14.042 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.031) 0:01:14.073 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.024) 0:01:14.098 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.228) 0:01:14.327 ****** 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, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.024) 0:01:14.351 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.041) 0:01:14.392 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.078) 0:01:14.471 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.036) 0:01:14.507 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.025) 0:01:14.532 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:37:20 +0000 (0:00:00.028) 0:01:14.561 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:37:23 +0000 (0:00:02.318) 0:01:16.880 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:37:23 +0000 (0:00:00.775) 0:01:17.655 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.034) 0:01:17.690 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.025) 0:01:17.715 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.024) 0:01:17.740 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.054) 0:01:17.794 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.027) 0:01:17.822 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.035) 0:01:17.858 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.040) 0:01:17.898 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.411) 0:01:18.310 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.128) 0:01:18.438 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.022) 0:01:18.461 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:37:24 +0000 (0:00:00.026) 0:01:18.487 ****** 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, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.397) 0:01:18.885 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.029) 0:01:18.915 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.024) 0:01:18.940 ****** 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, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90be9afa-2dd4-4efe-b7c1-c92e77f8dced skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.033) 0:01:18.973 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.031) 0:01:19.005 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.249) 0:01:19.254 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.045) 0:01:19.299 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.060) 0:01:19.360 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.038) 0:01:19.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.023) 0:01:19.423 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:37:25 +0000 (0:00:00.063) 0:01:19.486 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:37:28 +0000 (0:00:02.292) 0:01:21.779 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:37:28 +0000 (0:00:00.770) 0:01:22.549 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:37:28 +0000 (0:00:00.024) 0:01:22.574 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:37:28 +0000 (0:00:00.039) 0:01:22.614 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:37:28 +0000 (0:00:00.027) 0:01:22.642 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:37:29 +0000 (0:00:00.081) 0:01:22.724 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:37:29 +0000 (0:00:00.032) 0:01:22.757 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:37:29 +0000 (0:00:00.025) 0:01:22.782 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:37:29 +0000 (0:00:00.039) 0:01:22.822 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:37:29 +0000 (0:00:00.414) 0:01:23.236 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:37:29 +0000 (0:00:00.035) 0:01:23.272 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:37:29 +0000 (0:00:00.021) 0:01:23.294 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:37:29 +0000 (0:00:00.068) 0:01:23.363 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.486) 0:01:23.849 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.024) 0:01:23.873 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.023) 0:01:23.897 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.022) 0:01:23.919 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.023) 0:01:23.943 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.221) 0:01:24.164 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.036) 0:01:24.200 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.040) 0:01:24.240 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.038) 0:01:24.278 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.032) 0:01:24.311 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.023) 0:01:24.334 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 January 2024 13:37:30 +0000 (0:00:00.053) 0:01:24.388 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 January 2024 13:37:32 +0000 (0:00:02.287) 0:01:26.676 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 January 2024 13:37:33 +0000 (0:00:00.772) 0:01:27.448 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 January 2024 13:37:33 +0000 (0:00:00.033) 0:01:27.482 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 January 2024 13:37:33 +0000 (0:00:00.024) 0:01:27.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 27 January 2024 13:37:33 +0000 (0:00:00.023) 0:01:27.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 January 2024 13:37:33 +0000 (0:00:00.052) 0:01:27.582 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 27 January 2024 13:37:33 +0000 (0:00:00.022) 0:01:27.605 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 27 January 2024 13:37:33 +0000 (0:00:00.023) 0:01:27.629 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 27 January 2024 13:37:33 +0000 (0:00:00.036) 0:01:27.665 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 27 January 2024 13:37:34 +0000 (0:00:00.413) 0:01:28.078 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 27 January 2024 13:37:34 +0000 (0:00:00.037) 0:01:28.116 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 27 January 2024 13:37:34 +0000 (0:00:00.020) 0:01:28.137 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 January 2024 13:37:34 +0000 (0:00:00.034) 0:01:28.171 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 27 January 2024 13:37:34 +0000 (0:00:00.498) 0:01:28.670 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.026) 0:01:28.696 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.023) 0:01:28.719 ****** 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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.023) 0:01:28.743 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.023) 0:01:28.766 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.235) 0:01:29.001 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.041) 0:01:29.043 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.036) 0:01:29.080 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.020) 0:01:29.100 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.215) 0:01:29.316 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.025) 0:01:29.341 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023127", "end": "2024-01-27 13:37:35.876990", "rc": 1, "start": "2024-01-27 13:37:35.853863" } 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.241) 0:01:29.583 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:37:35 +0000 (0:00:00.021) 0:01:29.605 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.076) 0:01:29.681 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.023) 0:01:29.705 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.031) 0:01:29.737 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.024) 0:01:29.761 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.023) 0:01:29.784 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.363479", "end": "2024-01-27 13:37:36.658285", "rc": 0, "start": "2024-01-27 13:37:36.294806" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.583) 0:01:30.368 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.026) 0:01:30.394 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.025) 0:01:30.420 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/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-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.068) 0:01:30.488 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:37:36 +0000 (0:00:00.035) 0:01:30.523 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:37:37 +0000 (0:00:00.231) 0:01:30.755 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:37:37 +0000 (0:00:00.027) 0:01:30.783 ****** 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-weekly-cirvwhmnmw/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:37:37 +0000 (0:00:00.022) 0:01:30.805 ****** included: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cirvwhmnmw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:37:37 +0000 (0:00:00.038) 0:01:30.844 ****** 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.045345", "end": "2024-01-27 13:37:37.408092", "rc": 1, "start": "2024-01-27 13:37:37.362747" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Saturday 27 January 2024 13:37:37 +0000 (0:00:00.334) 0:01:31.179 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.39s /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.34s /WORKDIR/git-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.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-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-weekly-cirvwhmnmw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-weekly-cirvwhmnmw/tests/tests_states_nm.yml:6 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-weekly-cirvwhmnmw/.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.78s /WORKDIR/git-weekly-cirvwhmnmw/.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.78s /WORKDIR/git-weekly-cirvwhmnmw/.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. ---^---^---^---^---^---