# 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-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/tests_states_nm.yml:6 Wednesday 24 January 2024 00:58:19 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixi4q4ro47/tests/tests_states_nm.yml:9 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.918) 0:00:00.930 ***** included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/tasks/el_repo_setup.yml:3 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.010) 0:00:00.941 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/tasks/el_repo_setup.yml:17 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.364) 0:00:01.306 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/tasks/el_repo_setup.yml:22 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.264) 0:00:01.570 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/tasks/el_repo_setup.yml:26 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.013) 0:00:01.584 ***** 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-ci_fixi4q4ro47/tests/tasks/el_repo_setup.yml:51 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.007) 0:00:01.591 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/tasks/enable_epel.yml:8 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.020) 0:00:01.611 ***** 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-ci_fixi4q4ro47/tests/tasks/enable_epel.yml:24 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.006) 0:00:01.618 ***** 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-ci_fixi4q4ro47/tests/tasks/enable_epel.yml:30 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.007) 0:00:01.626 ***** 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-ci_fixi4q4ro47/tests/tasks/enable_epel.yml:35 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.006) 0:00:01.632 ***** 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-ci_fixi4q4ro47/tests/tasks/enable_epel.yml:40 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.006) 0:00:01.638 ***** 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-ci_fixi4q4ro47/tests/tests_states_nm.yml:11 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.006) 0:00:01.645 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tests_states.yml:3 Wednesday 24 January 2024 00:58:20 +0000 (0:00:00.015) 0:00:01.660 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tests_states.yml:11 Wednesday 24 January 2024 00:58:21 +0000 (0:00:00.764) 0:00:02.425 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tests_states.yml:22 Wednesday 24 January 2024 00:58:21 +0000 (0:00:00.009) 0:00:02.435 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 January 2024 00:58:21 +0000 (0:00:00.013) 0:00:02.448 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 January 2024 00:58:21 +0000 (0:00:00.009) 0:00:02.458 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 January 2024 00:58:21 +0000 (0:00:00.026) 0:00:02.485 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 January 2024 00:58:21 +0000 (0:00:00.010) 0:00:02.496 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 January 2024 00:58:21 +0000 (0:00:00.009) 0:00:02.505 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004258", "end": "2024-01-24 00:58:22.014075", "rc": 0, "start": "2024-01-24 00:58:22.009817" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.272) 0:00:02.778 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.010) 0:00:02.788 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.009) 0:00:02.798 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.015) 0:00:02.814 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008748", "end": "2024-01-24 00:58:22.269181", "rc": 1, "start": "2024-01-24 00:58:22.260433" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.218) 0:00:03.032 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.011) 0:00:03.044 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.211) 0:00:03.255 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.010) 0:00:03.265 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.014) 0:00:03.280 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.022) 0:00:03.302 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.018) 0:00:03.321 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.017) 0:00:03.339 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.011) 0:00:03.350 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:58:22 +0000 (0:00:00.011) 0:00:03.361 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:58:25 +0000 (0:00:02.565) 0:00:05.927 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.953) 0:00:06.880 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.021) 0:00:06.901 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.020) 0:00:06.922 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.020) 0:00:06.942 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.050) 0:00:06.993 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.020) 0:00:07.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.020) 0:00:07.034 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.049) 0:00:07.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.574) 0:00:07.658 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.041) 0:00:07.700 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:58:26 +0000 (0:00:00.019) 0:00:07.719 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:58:27 +0000 (0:00:00.025) 0:00:07.745 ***** 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, cdee81bc-d42b-434b-8e30-74ad5f0b7f9e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:58:27 +0000 (0:00:00.576) 0:00:08.321 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:58:27 +0000 (0:00:00.024) 0:00:08.345 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cdee81bc-d42b-434b-8e30-74ad5f0b7f9e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:58:27 +0000 (0:00:00.023) 0:00:08.369 ***** 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, cdee81bc-d42b-434b-8e30-74ad5f0b7f9e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cdee81bc-d42b-434b-8e30-74ad5f0b7f9e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:58:27 +0000 (0:00:00.022) 0:00:08.391 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:58:27 +0000 (0:00:00.023) 0:00:08.415 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 January 2024 00:58:27 +0000 (0:00:00.307) 0:00:08.723 ***** 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, cdee81bc-d42b-434b-8e30-74ad5f0b7f9e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cdee81bc-d42b-434b-8e30-74ad5f0b7f9e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.020) 0:00:08.744 ***** included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.036) 0:00:08.781 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.055) 0:00:08.836 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.020) 0:00:08.856 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.222) 0:00:09.079 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.018) 0:00:09.098 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023743", "end": "2024-01-24 00:58:28.570588", "rc": 0, "start": "2024-01-24 00:58:28.546845" } 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.247) 0:00:09.345 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.020) 0:00:09.365 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.018) 0:00:09.384 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.018) 0:00:09.402 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.017) 0:00:09.419 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.018) 0:00:09.437 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.021) 0:00:09.459 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.020) 0:00:09.479 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.020) 0:00:09.500 ***** included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.043) 0:00:09.543 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 January 2024 00:58:28 +0000 (0:00:00.049) 0:00:09.593 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706057907.4804368, "block_size": 4096, "blocks": 0, "ctime": 1706057907.4804368, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33791, "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": 1706057907.4804368, "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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.221) 0:00:09.814 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.021) 0:00:09.836 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.019) 0:00:09.856 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.035) 0:00:09.891 ***** 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.064725", "end": "2024-01-24 00:58:29.406478", "rc": 1, "start": "2024-01-24 00:58:29.341753" } STDOUT: Connection 'statebr' (cdee81bc-d42b-434b-8e30-74ad5f0b7f9e) 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-ci_fixi4q4ro47/tests/playbooks/tests_states.yml:45 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.288) 0:00:10.180 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.031) 0:00:10.211 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.019) 0:00:10.231 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.036) 0:00:10.268 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.030) 0:00:10.299 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.028) 0:00:10.328 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004227", "end": "2024-01-24 00:58:29.781387", "rc": 0, "start": "2024-01-24 00:58:29.777160" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.227) 0:00:10.555 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.019) 0:00:10.575 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.040) 0:00:10.616 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 January 2024 00:58:29 +0000 (0:00:00.035) 0:00:10.651 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007390", "end": "2024-01-24 00:58:30.106137", "rc": 1, "start": "2024-01-24 00:58:30.098747" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.228) 0:00:10.879 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.030) 0:00:10.909 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.219) 0:00:11.129 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.021) 0:00:11.150 ***** included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.034) 0:00:11.184 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.040) 0:00:11.225 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.037) 0:00:11.263 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.032) 0:00:11.296 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.021) 0:00:11.317 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:58:30 +0000 (0:00:00.042) 0:00:11.360 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:58:33 +0000 (0:00:02.462) 0:00:13.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 : Print network provider] ************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:58:33 +0000 (0:00:00.791) 0:00:14.614 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:58:33 +0000 (0:00:00.023) 0:00:14.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:58:33 +0000 (0:00:00.023) 0:00:14.660 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:58:33 +0000 (0:00:00.024) 0:00:14.684 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:58:33 +0000 (0:00:00.054) 0:00:14.738 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:58:34 +0000 (0:00:00.022) 0:00:14.761 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:58:34 +0000 (0:00:00.022) 0:00:14.783 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:58:34 +0000 (0:00:00.034) 0:00:14.818 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:58:34 +0000 (0:00:00.424) 0:00:15.243 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:58:34 +0000 (0:00:00.034) 0:00:15.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:58:34 +0000 (0:00:00.019) 0:00:15.297 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:58:34 +0000 (0:00:00.044) 0:00:15.342 ***** 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, 2fc45a21-4d2d-492a-8414-db255e17d46d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.403) 0:00:15.745 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.023) 0:00:15.769 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2fc45a21-4d2d-492a-8414-db255e17d46d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.023) 0:00:15.792 ***** 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, 2fc45a21-4d2d-492a-8414-db255e17d46d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2fc45a21-4d2d-492a-8414-db255e17d46d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.023) 0:00:15.816 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.022) 0:00:15.839 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.231) 0:00:16.070 ***** 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, 2fc45a21-4d2d-492a-8414-db255e17d46d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2fc45a21-4d2d-492a-8414-db255e17d46d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.022) 0:00:16.093 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.038) 0:00:16.131 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.031) 0:00:16.163 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.220) 0:00:16.384 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.021) 0:00:16.405 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.032) 0:00:16.437 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.041) 0:00:16.478 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.223) 0:00:16.702 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 January 2024 00:58:35 +0000 (0:00:00.018) 0:00:16.720 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023461", "end": "2024-01-24 00:58:36.192577", "rc": 0, "start": "2024-01-24 00:58:36.169116" } 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.246) 0:00:16.966 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.021) 0:00:16.988 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.019) 0:00:17.007 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.018) 0:00:17.026 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.018) 0:00:17.045 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.018) 0:00:17.063 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.021) 0:00:17.085 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.021) 0:00:17.107 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.020) 0:00:17.127 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.026) 0:00:17.153 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.019) 0:00:17.173 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.034) 0:00:17.207 ***** 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.047294", "end": "2024-01-24 00:58:36.704636", "rc": 1, "start": "2024-01-24 00:58:36.657342" } STDOUT: Connection 'statebr' (2fc45a21-4d2d-492a-8414-db255e17d46d) 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-ci_fixi4q4ro47/tests/playbooks/tests_states.yml:65 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.297) 0:00:17.505 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.033) 0:00:17.538 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.021) 0:00:17.560 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.038) 0:00:17.599 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.030) 0:00:17.629 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 January 2024 00:58:36 +0000 (0:00:00.029) 0:00:17.659 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004095", "end": "2024-01-24 00:58:37.113789", "rc": 0, "start": "2024-01-24 00:58:37.109694" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 January 2024 00:58:37 +0000 (0:00:00.229) 0:00:17.888 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 January 2024 00:58:37 +0000 (0:00:00.020) 0:00:17.909 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 January 2024 00:58:37 +0000 (0:00:00.019) 0:00:17.929 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 January 2024 00:58:37 +0000 (0:00:00.033) 0:00:17.963 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:58:37 +0000 (0:00:00.041) 0:00:18.004 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:58:37 +0000 (0:00:00.060) 0:00:18.065 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:58:37 +0000 (0:00:00.032) 0:00:18.097 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:58:37 +0000 (0:00:00.022) 0:00:18.120 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:58:37 +0000 (0:00:00.021) 0:00:18.142 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:58:39 +0000 (0:00:02.483) 0:00:20.625 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:58:40 +0000 (0:00:00.767) 0:00:21.393 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:58:40 +0000 (0:00:00.021) 0:00:21.415 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:58:40 +0000 (0:00:00.021) 0:00:21.436 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:58:40 +0000 (0:00:00.021) 0:00:21.458 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:58:40 +0000 (0:00:00.050) 0:00:21.509 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:58:40 +0000 (0:00:00.021) 0:00:21.530 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:58:40 +0000 (0:00:00.021) 0:00:21.552 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:58:40 +0000 (0:00:00.032) 0:00:21.584 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:58:41 +0000 (0:00:00.479) 0:00:22.064 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:58:41 +0000 (0:00:00.034) 0:00:22.098 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:58:41 +0000 (0:00:00.018) 0:00:22.117 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:58:41 +0000 (0:00:00.018) 0:00:22.136 ***** 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, c314de4e-2b56-488b-9681-c18e57598752 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:58:41 +0000 (0:00:00.447) 0:00:22.583 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:58:41 +0000 (0:00:00.022) 0:00:22.605 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c314de4e-2b56-488b-9681-c18e57598752" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:58:41 +0000 (0:00:00.021) 0:00:22.626 ***** 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, c314de4e-2b56-488b-9681-c18e57598752\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c314de4e-2b56-488b-9681-c18e57598752" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:58:41 +0000 (0:00:00.021) 0:00:22.648 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:58:41 +0000 (0:00:00.020) 0:00:22.669 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 January 2024 00:58:42 +0000 (0:00:00.228) 0:00:22.897 ***** 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, c314de4e-2b56-488b-9681-c18e57598752\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c314de4e-2b56-488b-9681-c18e57598752" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 January 2024 00:58:42 +0000 (0:00:00.020) 0:00:22.918 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 January 2024 00:58:42 +0000 (0:00:00.034) 0:00:22.952 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:58:42 +0000 (0:00:00.038) 0:00:22.991 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:58:42 +0000 (0:00:00.060) 0:00:23.052 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:58:42 +0000 (0:00:00.032) 0:00:23.084 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:58:42 +0000 (0:00:00.022) 0:00:23.107 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:58:42 +0000 (0:00:00.022) 0:00:23.130 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:58:44 +0000 (0:00:02.434) 0:00:25.564 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:58:45 +0000 (0:00:00.779) 0:00:26.343 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:58:45 +0000 (0:00:00.023) 0:00:26.367 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:58:45 +0000 (0:00:00.023) 0:00:26.390 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:58:45 +0000 (0:00:00.022) 0:00:26.413 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:58:45 +0000 (0:00:00.056) 0:00:26.469 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:58:45 +0000 (0:00:00.022) 0:00:26.491 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:58:45 +0000 (0:00:00.023) 0:00:26.514 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:58:45 +0000 (0:00:00.061) 0:00:26.576 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:58:46 +0000 (0:00:00.417) 0:00:26.993 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:58:46 +0000 (0:00:00.034) 0:00:27.028 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:58:46 +0000 (0:00:00.019) 0:00:27.047 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:58:46 +0000 (0:00:00.017) 0:00:27.065 ***** 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, c314de4e-2b56-488b-9681-c18e57598752 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:58:46 +0000 (0:00:00.384) 0:00:27.450 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:58:46 +0000 (0:00:00.022) 0:00:27.472 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c314de4e-2b56-488b-9681-c18e57598752 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:58:46 +0000 (0:00:00.021) 0:00:27.494 ***** 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, c314de4e-2b56-488b-9681-c18e57598752 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c314de4e-2b56-488b-9681-c18e57598752 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:58:46 +0000 (0:00:00.021) 0:00:27.515 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:58:46 +0000 (0:00:00.021) 0:00:27.537 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.228) 0:00:27.765 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.037) 0:00:27.803 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.029) 0:00:27.833 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706057921.7489402, "block_size": 4096, "blocks": 0, "ctime": 1706057921.7489402, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33922, "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": 1706057921.7489402, "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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.219) 0:00:28.053 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.048) 0:00:28.102 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.033) 0:00:28.136 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.020) 0:00:28.156 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.220) 0:00:28.376 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.019) 0:00:28.395 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023403", "end": "2024-01-24 00:58:47.866050", "rc": 0, "start": "2024-01-24 00:58:47.842647" } 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.244) 0:00:28.640 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.021) 0:00:28.661 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.019) 0:00:28.680 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.018) 0:00:28.699 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.018) 0:00:28.717 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 January 2024 00:58:47 +0000 (0:00:00.018) 0:00:28.736 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.020) 0:00:28.757 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.021) 0:00:28.779 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.021) 0:00:28.800 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.026) 0:00:28.827 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.044) 0:00:28.871 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.035) 0:00:28.907 ***** 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.072645", "end": "2024-01-24 00:58:48.429445", "rc": 1, "start": "2024-01-24 00:58:48.356800" } STDOUT: Connection 'statebr' (c314de4e-2b56-488b-9681-c18e57598752) 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-ci_fixi4q4ro47/tests/playbooks/tests_states.yml:83 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.295) 0:00:29.203 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.032) 0:00:29.235 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.020) 0:00:29.256 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.038) 0:00:29.294 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.030) 0:00:29.325 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.029) 0:00:29.354 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004229", "end": "2024-01-24 00:58:48.807779", "rc": 0, "start": "2024-01-24 00:58:48.803550" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.227) 0:00:29.582 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.021) 0:00:29.604 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.020) 0:00:29.625 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.061) 0:00:29.687 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:58:48 +0000 (0:00:00.040) 0:00:29.727 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:58:49 +0000 (0:00:00.037) 0:00:29.765 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:58:49 +0000 (0:00:00.032) 0:00:29.797 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:58:49 +0000 (0:00:00.021) 0:00:29.819 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:58:49 +0000 (0:00:00.021) 0:00:29.840 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:58:51 +0000 (0:00:02.463) 0:00:32.304 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:58:52 +0000 (0:00:00.767) 0:00:33.072 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:58:52 +0000 (0:00:00.021) 0:00:33.093 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:58:52 +0000 (0:00:00.020) 0:00:33.114 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:58:52 +0000 (0:00:00.021) 0:00:33.136 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:58:52 +0000 (0:00:00.077) 0:00:33.213 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:58:52 +0000 (0:00:00.022) 0:00:33.235 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:58:52 +0000 (0:00:00.021) 0:00:33.257 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:58:52 +0000 (0:00:00.033) 0:00:33.290 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:58:52 +0000 (0:00:00.422) 0:00:33.713 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.035) 0:00:33.748 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.019) 0:00:33.768 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.017) 0:00:33.786 ***** 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, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.443) 0:00:34.229 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.022) 0:00:34.252 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.021) 0:00:34.273 ***** 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, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.021) 0:00:34.295 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.021) 0:00:34.317 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.227) 0:00:34.544 ***** 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, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.021) 0:00:34.566 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.067) 0:00:34.633 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.038) 0:00:34.672 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.032) 0:00:34.704 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:58:53 +0000 (0:00:00.023) 0:00:34.728 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:58:54 +0000 (0:00:00.024) 0:00:34.752 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:58:56 +0000 (0:00:02.461) 0:00:37.213 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.774) 0:00:37.988 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.021) 0:00:38.010 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.021) 0:00:38.031 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.021) 0:00:38.053 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.051) 0:00:38.105 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.021) 0:00:38.126 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.048) 0:00:38.174 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.033) 0:00:38.208 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.422) 0:00:38.631 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.035) 0:00:38.667 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.019) 0:00:38.686 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:58:57 +0000 (0:00:00.018) 0:00:38.705 ***** 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, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.390) 0:00:39.095 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.022) 0:00:39.118 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.021) 0:00:39.140 ***** 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, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 21f50388-0a7a-41ca-b2e6-4f7afc9c5480 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.021) 0:00:39.162 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.022) 0:00:39.184 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.228) 0:00:39.412 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.035) 0:00:39.447 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.064) 0:00:39.511 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.038) 0:00:39.550 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.032) 0:00:39.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.022) 0:00:39.606 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:58:58 +0000 (0:00:00.022) 0:00:39.628 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:59:01 +0000 (0:00:02.490) 0:00:42.119 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.774) 0:00:42.894 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.021) 0:00:42.916 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.022) 0:00:42.938 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.021) 0:00:42.959 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.050) 0:00:43.010 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.021) 0:00:43.032 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.049) 0:00:43.081 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.033) 0:00:43.115 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.430) 0:00:43.545 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.035) 0:00:43.581 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.019) 0:00:43.600 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:59:02 +0000 (0:00:00.019) 0:00:43.620 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.422) 0:00:44.042 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.022) 0:00:44.065 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.023) 0:00:44.088 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.023) 0:00:44.112 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.022) 0:00:44.134 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.234) 0:00:44.369 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.037) 0:00:44.406 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.030) 0:00:44.437 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706057933.401075, "block_size": 4096, "blocks": 0, "ctime": 1706057933.401075, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34053, "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": 1706057933.401075, "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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.251) 0:00:44.688 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 January 2024 00:59:03 +0000 (0:00:00.021) 0:00:44.710 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.032) 0:00:44.742 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.020) 0:00:44.763 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.218) 0:00:44.981 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.018) 0:00:45.000 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024222", "end": "2024-01-24 00:59:04.475299", "rc": 1, "start": "2024-01-24 00:59:04.451077" } 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.250) 0:00:45.250 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.019) 0:00:45.270 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.018) 0:00:45.289 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.019) 0:00:45.308 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.019) 0:00:45.328 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.018) 0:00:45.347 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.021) 0:00:45.368 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.025) 0:00:45.393 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.019) 0:00:45.413 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 January 2024 00:59:04 +0000 (0:00:00.061) 0:00:45.474 ***** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.074458", "end": "2024-01-24 00:59:04.995959", "rc": 0, "start": "2024-01-24 00:59:04.921501" } STDOUT: Connection 'statebr' (21f50388-0a7a-41ca-b2e6-4f7afc9c5480) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tests_states.yml:102 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.308) 0:00:45.782 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.033) 0:00:45.815 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.020) 0:00:45.836 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.039) 0:00:45.875 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.031) 0:00:45.907 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.030) 0:00:45.937 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004093", "end": "2024-01-24 00:59:05.389578", "rc": 0, "start": "2024-01-24 00:59:05.385485" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.227) 0:00:46.165 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.021) 0:00:46.186 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.020) 0:00:46.207 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.037) 0:00:46.244 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.064) 0:00:46.309 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.038) 0:00:46.347 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.032) 0:00:46.380 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.022) 0:00:46.402 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:59:05 +0000 (0:00:00.021) 0:00:46.424 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:59:08 +0000 (0:00:02.468) 0:00:48.893 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:59:08 +0000 (0:00:00.771) 0:00:49.665 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:59:08 +0000 (0:00:00.021) 0:00:49.687 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:59:08 +0000 (0:00:00.021) 0:00:49.709 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:59:08 +0000 (0:00:00.021) 0:00:49.730 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:59:09 +0000 (0:00:00.053) 0:00:49.783 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:59:09 +0000 (0:00:00.050) 0:00:49.834 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:59:09 +0000 (0:00:00.022) 0:00:49.856 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:59:09 +0000 (0:00:00.033) 0:00:49.889 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:59:09 +0000 (0:00:00.423) 0:00:50.313 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:59:09 +0000 (0:00:00.034) 0:00:50.347 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:59:09 +0000 (0:00:00.019) 0:00:50.367 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:59:09 +0000 (0:00:00.019) 0:00:50.386 ***** 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, 622b1e64-487e-4a54-97a1-891609e9b96f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.439) 0:00:50.825 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.023) 0:00:50.848 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 622b1e64-487e-4a54-97a1-891609e9b96f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.023) 0:00:50.872 ***** 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, 622b1e64-487e-4a54-97a1-891609e9b96f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 622b1e64-487e-4a54-97a1-891609e9b96f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.022) 0:00:50.895 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.023) 0:00:50.918 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.230) 0:00:51.148 ***** 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, 622b1e64-487e-4a54-97a1-891609e9b96f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 622b1e64-487e-4a54-97a1-891609e9b96f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.022) 0:00:51.171 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.068) 0:00:51.240 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.037) 0:00:51.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.032) 0:00:51.310 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.022) 0:00:51.333 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:59:10 +0000 (0:00:00.022) 0:00:51.355 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:59:13 +0000 (0:00:02.464) 0:00:53.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 : Print network provider] ************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:59:13 +0000 (0:00:00.774) 0:00:54.594 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:59:13 +0000 (0:00:00.022) 0:00:54.617 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:59:13 +0000 (0:00:00.023) 0:00:54.640 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:59:13 +0000 (0:00:00.022) 0:00:54.663 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:59:13 +0000 (0:00:00.055) 0:00:54.719 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:59:14 +0000 (0:00:00.024) 0:00:54.743 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:59:14 +0000 (0:00:00.023) 0:00:54.767 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:59:14 +0000 (0:00:00.071) 0:00:54.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:59:14 +0000 (0:00:00.423) 0:00:55.263 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:59:14 +0000 (0:00:00.034) 0:00:55.297 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:59:14 +0000 (0:00:00.019) 0:00:55.316 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:59:14 +0000 (0:00:00.019) 0:00:55.336 ***** 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, 622b1e64-487e-4a54-97a1-891609e9b96f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:59:14 +0000 (0:00:00.389) 0:00:55.725 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.022) 0:00:55.748 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 622b1e64-487e-4a54-97a1-891609e9b96f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.022) 0:00:55.770 ***** 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, 622b1e64-487e-4a54-97a1-891609e9b96f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 622b1e64-487e-4a54-97a1-891609e9b96f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.022) 0:00:55.793 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.022) 0:00:55.815 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.228) 0:00:56.044 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.040) 0:00:56.084 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.037) 0:00:56.121 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.089) 0:00:56.211 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.023) 0:00:56.235 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:59:15 +0000 (0:00:00.022) 0:00:56.257 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:59:17 +0000 (0:00:02.455) 0:00:58.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:59:18 +0000 (0:00:00.777) 0:00:59.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:59:18 +0000 (0:00:00.021) 0:00:59.512 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:59:18 +0000 (0:00:00.021) 0:00:59.533 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:59:18 +0000 (0:00:00.022) 0:00:59.555 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:59:18 +0000 (0:00:00.051) 0:00:59.607 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:59:18 +0000 (0:00:00.022) 0:00:59.629 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:59:18 +0000 (0:00:00.021) 0:00:59.651 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:59:18 +0000 (0:00:00.032) 0:00:59.684 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:59:19 +0000 (0:00:00.421) 0:01:00.105 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:59:19 +0000 (0:00:00.067) 0:01:00.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:59:19 +0000 (0:00:00.019) 0:01:00.192 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:59:19 +0000 (0:00:00.019) 0:01:00.212 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:59:19 +0000 (0:00:00.424) 0:01:00.636 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:59:19 +0000 (0:00:00.022) 0:01:00.659 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:59:19 +0000 (0:00:00.023) 0:01:00.682 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:59:19 +0000 (0:00:00.022) 0:01:00.705 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:59:19 +0000 (0:00:00.021) 0:01:00.726 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 January 2024 00:59:20 +0000 (0:00:00.233) 0:01:00.960 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 January 2024 00:59:20 +0000 (0:00:00.035) 0:01:00.995 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:59:20 +0000 (0:00:00.040) 0:01:01.035 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:59:20 +0000 (0:00:00.036) 0:01:01.072 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:59:20 +0000 (0:00:00.063) 0:01:01.135 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:59:20 +0000 (0:00:00.023) 0:01:01.159 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:59:20 +0000 (0:00:00.023) 0:01:01.182 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:59:22 +0000 (0:00:02.485) 0:01:03.668 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:59:23 +0000 (0:00:00.771) 0:01:04.440 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:59:23 +0000 (0:00:00.022) 0:01:04.462 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:59:23 +0000 (0:00:00.022) 0:01:04.485 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:59:23 +0000 (0:00:00.022) 0:01:04.508 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:59:23 +0000 (0:00:00.054) 0:01:04.562 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:59:23 +0000 (0:00:00.023) 0:01:04.585 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:59:23 +0000 (0:00:00.022) 0:01:04.608 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:59:23 +0000 (0:00:00.034) 0:01:04.642 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:59:24 +0000 (0:00:00.428) 0:01:05.071 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:59:24 +0000 (0:00:00.034) 0:01:05.105 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:59:24 +0000 (0:00:00.049) 0:01:05.155 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:59:24 +0000 (0:00:00.019) 0:01:05.175 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:59:24 +0000 (0:00:00.482) 0:01:05.657 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:59:24 +0000 (0:00:00.022) 0:01:05.680 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:59:24 +0000 (0:00:00.022) 0:01:05.702 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:59:24 +0000 (0:00:00.022) 0:01:05.725 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.022) 0:01:05.747 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.226) 0:01:05.974 ***** included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.036) 0:01:06.011 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.032) 0:01:06.043 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.020) 0:01:06.064 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.218) 0:01:06.282 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.019) 0:01:06.301 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022404", "end": "2024-01-24 00:59:25.770322", "rc": 1, "start": "2024-01-24 00:59:25.747918" } 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.275) 0:01:06.576 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.020) 0:01:06.596 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.020) 0:01:06.617 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.020) 0:01:06.637 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.019) 0:01:06.657 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.019) 0:01:06.677 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 January 2024 00:59:25 +0000 (0:00:00.021) 0:01:06.698 ***** included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.044) 0:01:06.743 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.030) 0:01:06.773 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.223) 0:01:06.996 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.022) 0:01:07.019 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.021) 0:01:07.040 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.035) 0:01:07.076 ***** 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.044464", "end": "2024-01-24 00:59:26.566755", "rc": 1, "start": "2024-01-24 00:59:26.522291" } 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-ci_fixi4q4ro47/tests/playbooks/tests_states.yml:124 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.265) 0:01:07.341 ***** included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.060) 0:01:07.401 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.021) 0:01:07.423 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.038) 0:01:07.461 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.031) 0:01:07.492 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 January 2024 00:59:26 +0000 (0:00:00.029) 0:01:07.522 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004138", "end": "2024-01-24 00:59:26.971909", "rc": 0, "start": "2024-01-24 00:59:26.967771" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 January 2024 00:59:27 +0000 (0:00:00.224) 0:01:07.746 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 January 2024 00:59:27 +0000 (0:00:00.020) 0:01:07.767 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 January 2024 00:59:27 +0000 (0:00:00.020) 0:01:07.787 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 January 2024 00:59:27 +0000 (0:00:00.037) 0:01:07.824 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:59:27 +0000 (0:00:00.040) 0:01:07.865 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:59:27 +0000 (0:00:00.063) 0:01:07.928 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:59:27 +0000 (0:00:00.033) 0:01:07.961 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:59:27 +0000 (0:00:00.022) 0:01:07.984 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:59:27 +0000 (0:00:00.021) 0:01:08.006 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:59:29 +0000 (0:00:02.455) 0:01:10.461 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:59:30 +0000 (0:00:00.771) 0:01:11.233 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:59:30 +0000 (0:00:00.022) 0:01:11.255 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:59:30 +0000 (0:00:00.022) 0:01:11.278 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:59:30 +0000 (0:00:00.022) 0:01:11.301 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:59:30 +0000 (0:00:00.051) 0:01:11.352 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:59:30 +0000 (0:00:00.022) 0:01:11.375 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:59:30 +0000 (0:00:00.023) 0:01:11.398 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:59:30 +0000 (0:00:00.032) 0:01:11.431 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.453) 0:01:11.884 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.035) 0:01:11.919 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.018) 0:01:11.938 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.019) 0:01:11.957 ***** 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, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.442) 0:01:12.400 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.022) 0:01:12.422 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.022) 0:01:12.445 ***** 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, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.023) 0:01:12.468 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.022) 0:01:12.490 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.228) 0:01:12.719 ***** 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, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 January 2024 00:59:31 +0000 (0:00:00.021) 0:01:12.741 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:59:32 +0000 (0:00:00.041) 0:01:12.782 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:59:32 +0000 (0:00:00.037) 0:01:12.820 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:59:32 +0000 (0:00:00.062) 0:01:12.882 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:59:32 +0000 (0:00:00.023) 0:01:12.905 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:59:32 +0000 (0:00:00.024) 0:01:12.930 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:59:34 +0000 (0:00:02.463) 0:01:15.394 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:59:35 +0000 (0:00:00.769) 0:01:16.164 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:59:35 +0000 (0:00:00.023) 0:01:16.187 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:59:35 +0000 (0:00:00.023) 0:01:16.211 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:59:35 +0000 (0:00:00.022) 0:01:16.233 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:59:35 +0000 (0:00:00.053) 0:01:16.287 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:59:35 +0000 (0:00:00.023) 0:01:16.310 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:59:35 +0000 (0:00:00.022) 0:01:16.333 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:59:35 +0000 (0:00:00.034) 0:01:16.368 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.425) 0:01:16.793 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.034) 0:01:16.827 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.050) 0:01:16.878 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.020) 0:01:16.898 ***** 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, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.389) 0:01:17.287 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.024) 0:01:17.311 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.022) 0:01:17.334 ***** 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, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 28e0a67f-507d-41d5-b55b-b6afc8ec76a9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.022) 0:01:17.356 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.023) 0:01:17.380 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.227) 0:01:17.608 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.040) 0:01:17.648 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.037) 0:01:17.686 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.033) 0:01:17.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:59:36 +0000 (0:00:00.022) 0:01:17.741 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:59:37 +0000 (0:00:00.021) 0:01:17.762 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:59:39 +0000 (0:00:02.532) 0:01:20.295 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.773) 0:01:21.069 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.022) 0:01:21.091 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.022) 0:01:21.114 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.022) 0:01:21.137 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.051) 0:01:21.188 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.023) 0:01:21.211 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.023) 0:01:21.234 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.033) 0:01:21.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.427) 0:01:21.695 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:59:40 +0000 (0:00:00.035) 0:01:21.730 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.019) 0:01:21.749 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.019) 0:01:21.769 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.542) 0:01:22.311 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.023) 0:01:22.334 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.022) 0:01:22.357 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.022) 0:01:22.380 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.022) 0:01:22.402 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.231) 0:01:22.633 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.034) 0:01:22.668 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 January 2024 00:59:41 +0000 (0:00:00.040) 0:01:22.708 ***** included: /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 January 2024 00:59:42 +0000 (0:00:00.037) 0:01:22.746 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 January 2024 00:59:42 +0000 (0:00:00.033) 0:01:22.779 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 January 2024 00:59:42 +0000 (0:00:00.022) 0:01:22.801 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 January 2024 00:59:42 +0000 (0:00:00.021) 0:01:22.823 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 January 2024 00:59:44 +0000 (0:00:02.501) 0:01:25.325 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 January 2024 00:59:45 +0000 (0:00:00.769) 0:01:26.094 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 January 2024 00:59:45 +0000 (0:00:00.023) 0:01:26.117 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 January 2024 00:59:45 +0000 (0:00:00.022) 0:01:26.140 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 24 January 2024 00:59:45 +0000 (0:00:00.022) 0:01:26.162 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 January 2024 00:59:45 +0000 (0:00:00.053) 0:01:26.215 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 24 January 2024 00:59:45 +0000 (0:00:00.023) 0:01:26.238 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 24 January 2024 00:59:45 +0000 (0:00:00.022) 0:01:26.260 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 24 January 2024 00:59:45 +0000 (0:00:00.035) 0:01:26.296 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 24 January 2024 00:59:45 +0000 (0:00:00.419) 0:01:26.715 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.034) 0:01:26.749 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.019) 0:01:26.769 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.019) 0:01:26.788 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.441) 0:01:27.229 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.056) 0:01:27.286 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.023) 0:01:27.310 ***** 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-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.022) 0:01:27.332 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.022) 0:01:27.355 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.229) 0:01:27.585 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.039) 0:01:27.624 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.032) 0:01:27.656 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 January 2024 00:59:46 +0000 (0:00:00.020) 0:01:27.677 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 January 2024 00:59:47 +0000 (0:00:00.218) 0:01:27.895 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 January 2024 00:59:47 +0000 (0:00:00.018) 0:01:27.914 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022182", "end": "2024-01-24 00:59:47.381657", "rc": 1, "start": "2024-01-24 00:59:47.359475" } 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 January 2024 00:59:47 +0000 (0:00:00.241) 0:01:28.155 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 January 2024 00:59:47 +0000 (0:00:00.020) 0:01:28.175 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 January 2024 00:59:47 +0000 (0:00:00.019) 0:01:28.194 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 January 2024 00:59:47 +0000 (0:00:00.049) 0:01:28.244 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 January 2024 00:59:47 +0000 (0:00:00.019) 0:01:28.264 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 January 2024 00:59:47 +0000 (0:00:00.020) 0:01:28.284 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 24 January 2024 00:59:47 +0000 (0:00:00.021) 0:01:28.306 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.360613", "end": "2024-01-24 00:59:48.114267", "rc": 0, "start": "2024-01-24 00:59:47.753654" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.581) 0:01:28.888 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.021) 0:01:28.910 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.020) 0:01:28.930 ***** included: /WORKDIR/git-ci_fixi4q4ro47/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-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.045) 0:01:28.976 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.031) 0:01:29.007 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.218) 0:01:29.226 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.022) 0:01:29.249 ***** 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-ci_fixi4q4ro47/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.021) 0:01:29.270 ***** included: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixi4q4ro47/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.037) 0:01: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.044067", "end": "2024-01-24 00:59:48.797702", "rc": 1, "start": "2024-01-24 00:59:48.753635" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=10 Wednesday 24 January 2024 00:59:48 +0000 (0:00:00.326) 0:01:29.634 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.57s /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.53s /WORKDIR/git-ci_fixi4q4ro47/.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.50s /WORKDIR/git-ci_fixi4q4ro47/.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.49s /WORKDIR/git-ci_fixi4q4ro47/.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.49s /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.48s /WORKDIR/git-ci_fixi4q4ro47/.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.47s /WORKDIR/git-ci_fixi4q4ro47/.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.46s /WORKDIR/git-ci_fixi4q4ro47/.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.46s /WORKDIR/git-ci_fixi4q4ro47/.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.46s /WORKDIR/git-ci_fixi4q4ro47/.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.46s /WORKDIR/git-ci_fixi4q4ro47/.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.46s /WORKDIR/git-ci_fixi4q4ro47/.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.46s /WORKDIR/git-ci_fixi4q4ro47/.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.46s /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.43s /WORKDIR/git-ci_fixi4q4ro47/.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.95s /WORKDIR/git-ci_fixi4q4ro47/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-ci_fixi4q4ro47/tests/tests_states_nm.yml:6 ----------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.79s /WORKDIR/git-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.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-ci_fixi4q4ro47/.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. ---^---^---^---^---^---