# 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_fix0k7wubrf/.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_fix0k7wubrf/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/tests_states_nm.yml:6 Friday 26 January 2024 21:20:04 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fix0k7wubrf/tests/tests_states_nm.yml:9 Friday 26 January 2024 21:20:05 +0000 (0:00:00.968) 0:00:00.980 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:20:05 +0000 (0:00:00.013) 0:00:00.993 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/tasks/el_repo_setup.yml:17 Friday 26 January 2024 21:20:05 +0000 (0:00:00.384) 0:00:01.378 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/tasks/el_repo_setup.yml:22 Friday 26 January 2024 21:20:05 +0000 (0:00:00.304) 0:00:01.683 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/tasks/el_repo_setup.yml:26 Friday 26 January 2024 21:20:05 +0000 (0:00:00.013) 0:00:01.696 ******** 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_fix0k7wubrf/tests/tasks/el_repo_setup.yml:51 Friday 26 January 2024 21:20:05 +0000 (0:00:00.007) 0:00:01.704 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:20:05 +0000 (0:00:00.021) 0:00:01.726 ******** 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_fix0k7wubrf/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:20:05 +0000 (0:00:00.008) 0:00:01.734 ******** 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_fix0k7wubrf/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:20:05 +0000 (0:00:00.012) 0:00:01.746 ******** 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_fix0k7wubrf/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:20:05 +0000 (0:00:00.011) 0:00:01.757 ******** 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_fix0k7wubrf/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:20:05 +0000 (0:00:00.019) 0:00:01.777 ******** 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_fix0k7wubrf/tests/tests_states_nm.yml:11 Friday 26 January 2024 21:20:05 +0000 (0:00:00.008) 0:00:01.786 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 21:20:05 +0000 (0:00:00.017) 0:00:01.803 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 21:20:06 +0000 (0:00:00.796) 0:00:02.600 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 21:20:06 +0000 (0:00:00.013) 0:00:02.613 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:20:06 +0000 (0:00:00.035) 0:00:02.649 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:20:06 +0000 (0:00:00.015) 0:00:02.664 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:20:06 +0000 (0:00:00.033) 0:00:02.698 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:20:06 +0000 (0:00:00.011) 0:00:02.709 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:20:06 +0000 (0:00:00.017) 0:00:02.727 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003885", "end": "2024-01-26 21:20:07.120345", "rc": 0, "start": "2024-01-26 21:20:07.116460" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:20:07 +0000 (0:00:00.282) 0:00:03.010 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:20:07 +0000 (0:00:00.010) 0:00:03.020 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:20:07 +0000 (0:00:00.009) 0:00:03.030 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:20:07 +0000 (0:00:00.016) 0:00:03.046 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008404", "end": "2024-01-26 21:20:07.380146", "rc": 1, "start": "2024-01-26 21:20:07.371742" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:20:07 +0000 (0:00:00.225) 0:00:03.271 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:20:07 +0000 (0:00:00.013) 0:00:03.284 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:20:07 +0000 (0:00:00.215) 0:00:03.500 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:20:07 +0000 (0:00:00.010) 0:00:03.511 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:20:07 +0000 (0:00:00.014) 0:00:03.525 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:20:07 +0000 (0:00:00.022) 0:00:03.548 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:20:07 +0000 (0:00:00.018) 0:00:03.566 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:20:07 +0000 (0:00:00.018) 0:00:03.585 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:20:07 +0000 (0:00:00.011) 0:00:03.596 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:20:07 +0000 (0:00:00.013) 0:00:03.610 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:20:10 +0000 (0:00:02.604) 0:00:06.215 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:20:11 +0000 (0:00:00.995) 0:00:07.211 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:20:11 +0000 (0:00:00.022) 0:00:07.233 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:20:11 +0000 (0:00:00.025) 0:00:07.259 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:20:11 +0000 (0:00:00.025) 0:00:07.284 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:20:11 +0000 (0:00:00.114) 0:00:07.399 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:20:11 +0000 (0:00:00.035) 0:00:07.434 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:20:11 +0000 (0:00:00.038) 0:00:07.473 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:20:11 +0000 (0:00:00.129) 0:00:07.602 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:20:12 +0000 (0:00:00.697) 0:00:08.300 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:20:12 +0000 (0:00:00.048) 0:00:08.349 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:20:12 +0000 (0:00:00.024) 0:00:08.373 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:20:12 +0000 (0:00:00.023) 0:00:08.397 ******** 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, f13835c2-d4db-49f3-85f8-0b74d1b304d0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:20:13 +0000 (0:00:00.629) 0:00:09.026 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:20:13 +0000 (0:00:00.031) 0:00:09.058 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f13835c2-d4db-49f3-85f8-0b74d1b304d0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:20:13 +0000 (0:00:00.028) 0:00:09.086 ******** 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, f13835c2-d4db-49f3-85f8-0b74d1b304d0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f13835c2-d4db-49f3-85f8-0b74d1b304d0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:20:13 +0000 (0:00:00.027) 0:00:09.114 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:20:13 +0000 (0:00:00.037) 0:00:09.151 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:20:13 +0000 (0:00:00.481) 0:00:09.633 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f13835c2-d4db-49f3-85f8-0b74d1b304d0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f13835c2-d4db-49f3-85f8-0b74d1b304d0" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:20:13 +0000 (0:00:00.029) 0:00:09.663 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:20:13 +0000 (0:00:00.042) 0:00:09.705 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:20:13 +0000 (0:00:00.086) 0:00:09.791 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:20:13 +0000 (0:00:00.023) 0:00:09.815 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:20:14 +0000 (0:00:00.256) 0:00:10.071 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:20:14 +0000 (0:00:00.071) 0:00:10.142 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021541", "end": "2024-01-26 21:20:14.533114", "rc": 0, "start": "2024-01-26 21:20:14.511573" } 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:20:14 +0000 (0:00:00.326) 0:00:10.469 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:20:14 +0000 (0:00:00.050) 0:00:10.519 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:20:14 +0000 (0:00:00.039) 0:00:10.559 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:20:14 +0000 (0:00:00.042) 0:00:10.601 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:20:14 +0000 (0:00:00.042) 0:00:10.643 ******** 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_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:20:14 +0000 (0:00:00.038) 0:00:10.681 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:20:14 +0000 (0:00:00.035) 0:00:10.717 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:20:14 +0000 (0:00:00.026) 0:00:10.743 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:20:14 +0000 (0:00:00.026) 0:00:10.769 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:20:14 +0000 (0:00:00.053) 0:00:10.823 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:20:14 +0000 (0:00:00.031) 0:00:10.854 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304013.075239, "block_size": 4096, "blocks": 0, "ctime": 1706304013.075239, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36219, "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": 1706304013.075239, "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_fix0k7wubrf/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:20:15 +0000 (0:00:00.239) 0:00:11.094 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:20:15 +0000 (0:00:00.028) 0:00:11.122 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:20:15 +0000 (0:00:00.022) 0:00:11.144 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:20:15 +0000 (0:00:00.047) 0:00:11.191 ******** 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.061336", "end": "2024-01-26 21:20:15.589418", "rc": 1, "start": "2024-01-26 21:20:15.528082" } STDOUT: Connection 'statebr' (f13835c2-d4db-49f3-85f8-0b74d1b304d0) 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_fix0k7wubrf/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 21:20:15 +0000 (0:00:00.304) 0:00:11.496 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:20:15 +0000 (0:00:00.038) 0:00:11.534 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:20:15 +0000 (0:00:00.029) 0:00:11.564 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:20:15 +0000 (0:00:00.054) 0:00:11.618 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:20:15 +0000 (0:00:00.039) 0:00:11.658 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:20:15 +0000 (0:00:00.034) 0:00:11.693 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003889", "end": "2024-01-26 21:20:16.045230", "rc": 0, "start": "2024-01-26 21:20:16.041341" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:20:16 +0000 (0:00:00.260) 0:00:11.953 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:20:16 +0000 (0:00:00.023) 0:00:11.977 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:20:16 +0000 (0:00:00.050) 0:00:12.028 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:20:16 +0000 (0:00:00.053) 0:00:12.081 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007236", "end": "2024-01-26 21:20:16.422742", "rc": 1, "start": "2024-01-26 21:20:16.415506" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:20:16 +0000 (0:00:00.252) 0:00:12.333 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:20:16 +0000 (0:00:00.037) 0:00:12.370 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:20:16 +0000 (0:00:00.229) 0:00:12.600 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:20:16 +0000 (0:00:00.024) 0:00:12.625 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 21:20:16 +0000 (0:00:00.048) 0:00:12.674 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:20:16 +0000 (0:00:00.091) 0:00:12.766 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:20:16 +0000 (0:00:00.053) 0:00:12.819 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:20:16 +0000 (0:00:00.035) 0:00:12.854 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:20:17 +0000 (0:00:00.022) 0:00:12.877 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:20:17 +0000 (0:00:00.059) 0:00:12.937 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:20:19 +0000 (0:00:02.321) 0:00:15.258 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:20:20 +0000 (0:00:00.834) 0:00:16.093 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:20:20 +0000 (0:00:00.062) 0:00:16.156 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:20:20 +0000 (0:00:00.040) 0:00:16.196 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:20:20 +0000 (0:00:00.060) 0:00:16.256 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:20:20 +0000 (0:00:00.106) 0:00:16.363 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:20:20 +0000 (0:00:00.034) 0:00:16.397 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:20:20 +0000 (0:00:00.047) 0:00:16.445 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:20:20 +0000 (0:00:00.073) 0:00:16.519 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:20:21 +0000 (0:00:00.466) 0:00:16.986 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:20:21 +0000 (0:00:00.071) 0:00:17.058 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:20:21 +0000 (0:00:00.025) 0:00:17.083 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:20:21 +0000 (0:00:00.068) 0:00:17.151 ******** 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, ce61dc54-bc58-450f-870b-bdbd7868274a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:20:21 +0000 (0:00:00.456) 0:00:17.608 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:20:21 +0000 (0:00:00.024) 0:00:17.632 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce61dc54-bc58-450f-870b-bdbd7868274a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:20:21 +0000 (0:00:00.063) 0:00:17.696 ******** 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, ce61dc54-bc58-450f-870b-bdbd7868274a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce61dc54-bc58-450f-870b-bdbd7868274a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:20:21 +0000 (0:00:00.049) 0:00:17.745 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:20:21 +0000 (0:00:00.038) 0:00:17.784 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 21:20:22 +0000 (0:00:00.266) 0:00:18.051 ******** 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, ce61dc54-bc58-450f-870b-bdbd7868274a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce61dc54-bc58-450f-870b-bdbd7868274a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:20:22 +0000 (0:00:00.041) 0:00:18.092 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:20:22 +0000 (0:00:00.070) 0:00:18.162 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:20:22 +0000 (0:00:00.063) 0:00:18.226 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:20:22 +0000 (0:00:00.273) 0:00:18.500 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:20:22 +0000 (0:00:00.070) 0:00:18.570 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:20:22 +0000 (0:00:00.053) 0:00:18.624 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:20:22 +0000 (0:00:00.076) 0:00:18.701 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:20:23 +0000 (0:00:00.227) 0:00:18.928 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:20:23 +0000 (0:00:00.026) 0:00:18.955 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020574", "end": "2024-01-26 21:20:23.295938", "rc": 0, "start": "2024-01-26 21:20:23.275364" } 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:20:23 +0000 (0:00:00.245) 0:00:19.201 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:20:23 +0000 (0:00:00.041) 0:00:19.242 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:20:23 +0000 (0:00:00.035) 0:00:19.278 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:20:23 +0000 (0:00:00.027) 0:00:19.305 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:20:23 +0000 (0:00:00.023) 0:00:19.329 ******** 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_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:20:23 +0000 (0:00:00.022) 0:00:19.352 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:20:23 +0000 (0:00:00.032) 0:00:19.384 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:20:23 +0000 (0:00:00.046) 0:00:19.431 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:20:23 +0000 (0:00:00.038) 0:00:19.469 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:20:23 +0000 (0:00:00.038) 0:00:19.508 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:20:23 +0000 (0:00:00.034) 0:00:19.542 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:20:23 +0000 (0:00:00.077) 0:00:19.620 ******** 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.040701", "end": "2024-01-26 21:20:23.979380", "rc": 1, "start": "2024-01-26 21:20:23.938679" } STDOUT: Connection 'statebr' (ce61dc54-bc58-450f-870b-bdbd7868274a) 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_fix0k7wubrf/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 21:20:24 +0000 (0:00:00.294) 0:00:19.914 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:20:24 +0000 (0:00:00.033) 0:00:19.948 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:20:24 +0000 (0:00:00.022) 0:00:19.970 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:20:24 +0000 (0:00:00.066) 0:00:20.037 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:20:24 +0000 (0:00:00.034) 0:00:20.071 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:20:24 +0000 (0:00:00.036) 0:00:20.107 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003800", "end": "2024-01-26 21:20:24.428745", "rc": 0, "start": "2024-01-26 21:20:24.424945" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:20:24 +0000 (0:00:00.224) 0:00:20.332 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:20:24 +0000 (0:00:00.025) 0:00:20.357 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:20:24 +0000 (0:00:00.022) 0:00:20.380 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:20:24 +0000 (0:00:00.037) 0:00:20.417 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:20:24 +0000 (0:00:00.052) 0:00:20.469 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:20:24 +0000 (0:00:00.115) 0:00:20.585 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:20:24 +0000 (0:00:00.084) 0:00:20.669 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:20:24 +0000 (0:00:00.045) 0:00:20.714 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:20:24 +0000 (0:00:00.026) 0:00:20.740 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:20:27 +0000 (0:00:02.286) 0:00:23.027 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:20:27 +0000 (0:00:00.779) 0:00:23.806 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:20:27 +0000 (0:00:00.024) 0:00:23.831 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:20:27 +0000 (0:00:00.026) 0:00:23.857 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:20:28 +0000 (0:00:00.024) 0:00:23.882 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:20:28 +0000 (0:00:00.053) 0:00:23.935 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:20:28 +0000 (0:00:00.032) 0:00:23.968 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:20:28 +0000 (0:00:00.026) 0:00:23.994 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:20:28 +0000 (0:00:00.036) 0:00:24.030 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:20:28 +0000 (0:00:00.481) 0:00:24.512 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:20:28 +0000 (0:00:00.041) 0:00:24.554 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:20:28 +0000 (0:00:00.022) 0:00:24.576 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:20:28 +0000 (0:00:00.033) 0:00:24.609 ******** 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, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:20:29 +0000 (0:00:00.479) 0:00:25.089 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:20:29 +0000 (0:00:00.092) 0:00:25.182 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:20:29 +0000 (0:00:00.039) 0:00:25.221 ******** 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, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:20:29 +0000 (0:00:00.048) 0:00:25.269 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:20:29 +0000 (0:00:00.047) 0:00:25.317 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:20:29 +0000 (0:00:00.261) 0:00:25.578 ******** 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, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:20:29 +0000 (0:00:00.033) 0:00:25.612 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:20:29 +0000 (0:00:00.093) 0:00:25.710 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:20:29 +0000 (0:00:00.089) 0:00:25.799 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:20:30 +0000 (0:00:00.128) 0:00:25.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:20:30 +0000 (0:00:00.039) 0:00:25.967 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:20:30 +0000 (0:00:00.075) 0:00:26.042 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:20:30 +0000 (0:00:00.038) 0:00:26.081 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:20:32 +0000 (0:00:02.497) 0:00:28.579 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:20:33 +0000 (0:00:00.812) 0:00:29.391 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:20:33 +0000 (0:00:00.037) 0:00:29.428 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:20:33 +0000 (0:00:00.027) 0:00:29.456 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:20:33 +0000 (0:00:00.026) 0:00:29.482 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:20:33 +0000 (0:00:00.059) 0:00:29.542 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:20:33 +0000 (0:00:00.029) 0:00:29.571 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:20:33 +0000 (0:00:00.040) 0:00:29.612 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:20:33 +0000 (0:00:00.035) 0:00:29.647 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:20:34 +0000 (0:00:00.546) 0:00:30.194 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:20:34 +0000 (0:00:00.038) 0:00:30.232 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:20:34 +0000 (0:00:00.028) 0:00:30.261 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:20:34 +0000 (0:00:00.040) 0:00:30.301 ******** 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, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:20:34 +0000 (0:00:00.431) 0:00:30.733 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:20:34 +0000 (0:00:00.047) 0:00:30.780 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:20:34 +0000 (0:00:00.023) 0:00:30.803 ******** 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, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5e5d2d1e-ea07-4b48-9c80-86fd92bdc447 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:20:34 +0000 (0:00:00.025) 0:00:30.828 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:20:34 +0000 (0:00:00.030) 0:00:30.858 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:20:35 +0000 (0:00:00.235) 0:00:31.094 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:20:35 +0000 (0:00:00.040) 0:00:31.135 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:20:35 +0000 (0:00:00.030) 0:00:31.165 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304029.134028, "block_size": 4096, "blocks": 0, "ctime": 1706304029.134028, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36350, "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": 1706304029.134028, "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_fix0k7wubrf/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:20:35 +0000 (0:00:00.225) 0:00:31.391 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:20:35 +0000 (0:00:00.091) 0:00:31.483 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:20:35 +0000 (0:00:00.041) 0:00:31.525 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:20:35 +0000 (0:00:00.023) 0:00:31.549 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:20:35 +0000 (0:00:00.245) 0:00:31.795 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:20:35 +0000 (0:00:00.031) 0:00:31.826 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020995", "end": "2024-01-26 21:20:36.171956", "rc": 0, "start": "2024-01-26 21:20:36.150961" } 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:20:36 +0000 (0:00:00.256) 0:00:32.083 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:20:36 +0000 (0:00:00.024) 0:00:32.108 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:20:36 +0000 (0:00:00.022) 0:00:32.130 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:20:36 +0000 (0:00:00.025) 0:00:32.155 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:20:36 +0000 (0:00:00.023) 0:00:32.178 ******** 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_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:20:36 +0000 (0:00:00.021) 0:00:32.200 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:20:36 +0000 (0:00:00.030) 0:00:32.231 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:20:36 +0000 (0:00:00.026) 0:00:32.257 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:20:36 +0000 (0:00:00.022) 0:00:32.280 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:20:36 +0000 (0:00:00.043) 0:00:32.324 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:20:36 +0000 (0:00:00.082) 0:00:32.406 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:20:36 +0000 (0:00:00.041) 0:00:32.447 ******** 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.070135", "end": "2024-01-26 21:20:36.842613", "rc": 1, "start": "2024-01-26 21:20:36.772478" } STDOUT: Connection 'statebr' (5e5d2d1e-ea07-4b48-9c80-86fd92bdc447) 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_fix0k7wubrf/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 21:20:36 +0000 (0:00:00.294) 0:00:32.742 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:20:36 +0000 (0:00:00.033) 0:00:32.775 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:20:36 +0000 (0:00:00.024) 0:00:32.800 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:20:36 +0000 (0:00:00.040) 0:00:32.840 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:20:37 +0000 (0:00:00.035) 0:00:32.876 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:20:37 +0000 (0:00:00.037) 0:00:32.914 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003934", "end": "2024-01-26 21:20:37.242083", "rc": 0, "start": "2024-01-26 21:20:37.238149" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:20:37 +0000 (0:00:00.235) 0:00:33.149 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:20:37 +0000 (0:00:00.035) 0:00:33.185 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:20:37 +0000 (0:00:00.035) 0:00:33.220 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:20:37 +0000 (0:00:00.047) 0:00:33.268 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:20:37 +0000 (0:00:00.101) 0:00:33.369 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:20:37 +0000 (0:00:00.076) 0:00:33.446 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:20:37 +0000 (0:00:00.052) 0:00:33.498 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:20:37 +0000 (0:00:00.026) 0:00:33.525 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:20:37 +0000 (0:00:00.029) 0:00:33.554 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:20:40 +0000 (0:00:02.477) 0:00:36.031 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:20:40 +0000 (0:00:00.794) 0:00:36.826 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:20:40 +0000 (0:00:00.026) 0:00:36.852 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:20:41 +0000 (0:00:00.032) 0:00:36.884 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:20:41 +0000 (0:00:00.033) 0:00:36.918 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:20:41 +0000 (0:00:00.076) 0:00:36.995 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:20:41 +0000 (0:00:00.096) 0:00:37.091 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:20:41 +0000 (0:00:00.031) 0:00:37.123 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:20:41 +0000 (0:00:00.046) 0:00:37.169 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:20:41 +0000 (0:00:00.476) 0:00:37.646 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:20:41 +0000 (0:00:00.035) 0:00:37.682 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:20:41 +0000 (0:00:00.019) 0:00:37.702 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:20:41 +0000 (0:00:00.020) 0:00:37.722 ******** 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, c4963e1a-3081-4840-90c6-e0ec435b81dd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:20:42 +0000 (0:00:00.470) 0:00:38.193 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:20:42 +0000 (0:00:00.026) 0:00:38.219 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c4963e1a-3081-4840-90c6-e0ec435b81dd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:20:42 +0000 (0:00:00.029) 0:00:38.248 ******** 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, c4963e1a-3081-4840-90c6-e0ec435b81dd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c4963e1a-3081-4840-90c6-e0ec435b81dd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:20:42 +0000 (0:00:00.044) 0:00:38.292 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:20:42 +0000 (0:00:00.024) 0:00:38.317 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:20:42 +0000 (0:00:00.266) 0:00:38.584 ******** 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, c4963e1a-3081-4840-90c6-e0ec435b81dd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c4963e1a-3081-4840-90c6-e0ec435b81dd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:20:42 +0000 (0:00:00.025) 0:00:38.609 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:20:42 +0000 (0:00:00.155) 0:00:38.764 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:20:42 +0000 (0:00:00.081) 0:00:38.845 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:20:43 +0000 (0:00:00.038) 0:00:38.884 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:20:43 +0000 (0:00:00.067) 0:00:38.951 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:20:43 +0000 (0:00:00.026) 0:00:38.978 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:20:45 +0000 (0:00:02.372) 0:00:41.350 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:20:46 +0000 (0:00:00.790) 0:00:42.141 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:20:46 +0000 (0:00:00.025) 0:00:42.167 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:20:46 +0000 (0:00:00.023) 0:00:42.190 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:20:46 +0000 (0:00:00.024) 0:00:42.215 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:20:46 +0000 (0:00:00.065) 0:00:42.280 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:20:46 +0000 (0:00:00.025) 0:00:42.306 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:20:46 +0000 (0:00:00.061) 0:00:42.367 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:20:46 +0000 (0:00:00.036) 0:00:42.403 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:20:46 +0000 (0:00:00.456) 0:00:42.860 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:20:47 +0000 (0:00:00.090) 0:00:42.951 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:20:47 +0000 (0:00:00.029) 0:00:42.980 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:20:47 +0000 (0:00:00.024) 0:00:43.005 ******** 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, c4963e1a-3081-4840-90c6-e0ec435b81dd skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:20:47 +0000 (0:00:00.476) 0:00:43.481 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:20:47 +0000 (0:00:00.034) 0:00:43.516 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c4963e1a-3081-4840-90c6-e0ec435b81dd skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:20:47 +0000 (0:00:00.038) 0:00:43.554 ******** 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, c4963e1a-3081-4840-90c6-e0ec435b81dd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c4963e1a-3081-4840-90c6-e0ec435b81dd skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:20:47 +0000 (0:00:00.027) 0:00:43.581 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:20:47 +0000 (0:00:00.027) 0:00:43.609 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:20:48 +0000 (0:00:00.321) 0:00:43.930 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:20:48 +0000 (0:00:00.043) 0:00:43.974 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:20:48 +0000 (0:00:00.078) 0:00:44.052 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:20:48 +0000 (0:00:00.044) 0:00:44.096 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:20:48 +0000 (0:00:00.088) 0:00:44.185 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:20:48 +0000 (0:00:00.054) 0:00:44.240 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:20:48 +0000 (0:00:00.063) 0:00:44.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 : Check which packages are installed] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:20:50 +0000 (0:00:02.415) 0:00:46.720 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:20:51 +0000 (0:00:00.815) 0:00:47.535 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:20:51 +0000 (0:00:00.025) 0:00:47.561 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:20:51 +0000 (0:00:00.024) 0:00:47.585 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:20:51 +0000 (0:00:00.025) 0:00:47.610 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:20:51 +0000 (0:00:00.063) 0:00:47.673 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:20:51 +0000 (0:00:00.029) 0:00:47.703 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:20:51 +0000 (0:00:00.024) 0:00:47.728 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:20:51 +0000 (0:00:00.132) 0:00:47.861 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:20:52 +0000 (0:00:00.410) 0:00:48.272 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:20:52 +0000 (0:00:00.054) 0:00:48.326 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:20:52 +0000 (0:00:00.023) 0:00:48.350 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:20:52 +0000 (0:00:00.053) 0:00:48.404 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:20:52 +0000 (0:00:00.453) 0:00:48.857 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:20:53 +0000 (0:00:00.062) 0:00:48.920 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:20:53 +0000 (0:00:00.054) 0:00:48.974 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:20:53 +0000 (0:00:00.053) 0:00:49.028 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:20:53 +0000 (0:00:00.039) 0:00:49.067 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:20:53 +0000 (0:00:00.283) 0:00:49.350 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:20:53 +0000 (0:00:00.047) 0:00:49.398 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:20:53 +0000 (0:00:00.040) 0:00:49.439 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304042.220782, "block_size": 4096, "blocks": 0, "ctime": 1706304042.220782, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36481, "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": 1706304042.220782, "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_fix0k7wubrf/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:20:53 +0000 (0:00:00.281) 0:00:49.720 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:20:53 +0000 (0:00:00.028) 0:00:49.749 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:20:53 +0000 (0:00:00.055) 0:00:49.804 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:20:53 +0000 (0:00:00.035) 0:00:49.840 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:20:54 +0000 (0:00:00.241) 0:00:50.081 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:20:54 +0000 (0:00:00.031) 0:00:50.112 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022539", "end": "2024-01-26 21:20:54.492353", "rc": 1, "start": "2024-01-26 21:20:54.469814" } 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:20:54 +0000 (0:00:00.308) 0:00:50.421 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:20:54 +0000 (0:00:00.055) 0:00:50.476 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:20:54 +0000 (0:00:00.068) 0:00:50.544 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:20:54 +0000 (0:00:00.030) 0:00:50.575 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:20:54 +0000 (0:00:00.043) 0:00:50.619 ******** 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_fix0k7wubrf/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:20:54 +0000 (0:00:00.026) 0:00:50.645 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:20:54 +0000 (0:00:00.034) 0:00:50.679 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:20:54 +0000 (0:00:00.057) 0:00:50.737 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:20:54 +0000 (0:00:00.035) 0:00:50.772 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:20:55 +0000 (0:00:00.113) 0:00:50.886 ******** 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.076481", "end": "2024-01-26 21:20:55.325538", "rc": 0, "start": "2024-01-26 21:20:55.249057" } STDOUT: Connection 'statebr' (c4963e1a-3081-4840-90c6-e0ec435b81dd) 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_fix0k7wubrf/tests/playbooks/tests_states.yml:102 Friday 26 January 2024 21:20:55 +0000 (0:00:00.396) 0:00:51.282 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:20:55 +0000 (0:00:00.049) 0:00:51.331 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:20:55 +0000 (0:00:00.033) 0:00:51.365 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:20:55 +0000 (0:00:00.070) 0:00:51.436 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:20:55 +0000 (0:00:00.054) 0:00:51.491 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:20:55 +0000 (0:00:00.060) 0:00:51.551 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003997", "end": "2024-01-26 21:20:55.899960", "rc": 0, "start": "2024-01-26 21:20:55.895963" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:20:55 +0000 (0:00:00.263) 0:00:51.815 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:20:56 +0000 (0:00:00.066) 0:00:51.882 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:20:56 +0000 (0:00:00.051) 0:00:51.934 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:20:56 +0000 (0:00:00.125) 0:00:52.060 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:20:56 +0000 (0:00:00.139) 0:00:52.199 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:20:56 +0000 (0:00:00.100) 0:00:52.300 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:20:56 +0000 (0:00:00.066) 0:00:52.366 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:20:56 +0000 (0:00:00.043) 0:00:52.410 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:20:56 +0000 (0:00:00.028) 0:00:52.439 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:20:59 +0000 (0:00:02.490) 0:00:54.929 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:20:59 +0000 (0:00:00.821) 0:00:55.751 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:20:59 +0000 (0:00:00.102) 0:00:55.854 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:21:00 +0000 (0:00:00.050) 0:00:55.904 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:21:00 +0000 (0:00:00.125) 0:00:56.030 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:21:00 +0000 (0:00:00.190) 0:00:56.221 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:21:00 +0000 (0:00:00.028) 0:00:56.249 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:21:00 +0000 (0:00:00.091) 0:00:56.341 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:21:00 +0000 (0:00:00.040) 0:00:56.381 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:21:01 +0000 (0:00:00.495) 0:00:56.876 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:21:01 +0000 (0:00:00.107) 0:00:56.984 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:21:01 +0000 (0:00:00.034) 0:00:57.018 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:21:01 +0000 (0:00:00.024) 0:00:57.043 ******** 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, a785278c-f11a-40e9-a971-c88fc1929fe4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:21:01 +0000 (0:00:00.536) 0:00:57.579 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:21:01 +0000 (0:00:00.058) 0:00:57.637 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a785278c-f11a-40e9-a971-c88fc1929fe4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:21:01 +0000 (0:00:00.072) 0:00:57.710 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a785278c-f11a-40e9-a971-c88fc1929fe4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a785278c-f11a-40e9-a971-c88fc1929fe4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:21:01 +0000 (0:00:00.045) 0:00:57.755 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:21:01 +0000 (0:00:00.044) 0:00:57.799 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:21:02 +0000 (0:00:00.273) 0:00:58.073 ******** 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, a785278c-f11a-40e9-a971-c88fc1929fe4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a785278c-f11a-40e9-a971-c88fc1929fe4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:21:02 +0000 (0:00:00.049) 0:00:58.123 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:21:02 +0000 (0:00:00.077) 0:00:58.200 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:21:02 +0000 (0:00:00.091) 0:00:58.292 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:21:02 +0000 (0:00:00.037) 0:00:58.330 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:21:02 +0000 (0:00:00.035) 0:00:58.366 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:21:02 +0000 (0:00:00.026) 0:00:58.392 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:21:06 +0000 (0:00:03.482) 0:01:01.874 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:21:06 +0000 (0:00:00.795) 0:01:02.670 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:21:06 +0000 (0:00:00.025) 0:01:02.695 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:21:06 +0000 (0:00:00.032) 0:01:02.727 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:21:06 +0000 (0:00:00.026) 0:01:02.753 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:21:06 +0000 (0:00:00.065) 0:01:02.819 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:21:06 +0000 (0:00:00.024) 0:01:02.844 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:21:07 +0000 (0:00:00.024) 0:01:02.869 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:21:07 +0000 (0:00:00.077) 0:01:02.946 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:21:07 +0000 (0:00:00.473) 0:01:03.420 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:21:07 +0000 (0:00:00.046) 0:01:03.466 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:21:07 +0000 (0:00:00.039) 0:01:03.506 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:21:07 +0000 (0:00:00.038) 0:01:03.545 ******** 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, a785278c-f11a-40e9-a971-c88fc1929fe4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:21:08 +0000 (0:00:00.391) 0:01:03.936 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:21:08 +0000 (0:00:00.026) 0:01:03.962 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a785278c-f11a-40e9-a971-c88fc1929fe4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:21:08 +0000 (0:00:00.031) 0:01:03.994 ******** 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, a785278c-f11a-40e9-a971-c88fc1929fe4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a785278c-f11a-40e9-a971-c88fc1929fe4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:21:08 +0000 (0:00:00.038) 0:01:04.033 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:21:08 +0000 (0:00:00.037) 0:01:04.070 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:21:08 +0000 (0:00:00.232) 0:01:04.302 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:21:08 +0000 (0:00:00.042) 0:01:04.345 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:21:08 +0000 (0:00:00.038) 0:01:04.384 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:21:08 +0000 (0:00:00.092) 0:01:04.477 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:21:08 +0000 (0:00:00.031) 0:01:04.508 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:21:08 +0000 (0:00:00.028) 0:01:04.537 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:21:10 +0000 (0:00:02.254) 0:01:06.791 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:21:11 +0000 (0:00:00.763) 0:01:07.555 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:21:11 +0000 (0:00:00.038) 0:01:07.593 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:21:11 +0000 (0:00:00.037) 0:01:07.630 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:21:11 +0000 (0:00:00.043) 0:01:07.674 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:21:11 +0000 (0:00:00.076) 0:01:07.750 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:21:11 +0000 (0:00:00.029) 0:01:07.780 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:21:11 +0000 (0:00:00.056) 0:01:07.837 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:21:12 +0000 (0:00:00.064) 0:01:07.901 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:21:12 +0000 (0:00:00.503) 0:01:08.404 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:21:12 +0000 (0:00:00.075) 0:01:08.480 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:21:12 +0000 (0:00:00.074) 0:01:08.554 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:21:12 +0000 (0:00:00.024) 0:01:08.579 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:21:13 +0000 (0:00:00.454) 0:01:09.033 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:21:13 +0000 (0:00:00.026) 0:01:09.060 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:21:13 +0000 (0:00:00.038) 0:01:09.098 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:21:13 +0000 (0:00:00.043) 0:01:09.142 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:21:13 +0000 (0:00:00.040) 0:01:09.182 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:21:13 +0000 (0:00:00.256) 0:01:09.438 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:21:13 +0000 (0:00:00.042) 0:01:09.481 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:21:13 +0000 (0:00:00.044) 0:01:09.525 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:21:13 +0000 (0:00:00.046) 0:01:09.572 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:21:13 +0000 (0:00:00.045) 0:01:09.618 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:21:13 +0000 (0:00:00.111) 0:01:09.729 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:21:13 +0000 (0:00:00.040) 0:01:09.770 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:21:16 +0000 (0:00:02.480) 0:01:12.251 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:21:17 +0000 (0:00:00.810) 0:01:13.061 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:21:17 +0000 (0:00:00.036) 0:01:13.098 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:21:17 +0000 (0:00:00.024) 0:01:13.123 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:21:17 +0000 (0:00:00.026) 0:01:13.149 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:21:17 +0000 (0:00:00.066) 0:01:13.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:21:17 +0000 (0:00:00.043) 0:01:13.259 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:21:17 +0000 (0:00:00.062) 0:01:13.321 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:21:17 +0000 (0:00:00.055) 0:01:13.385 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:21:18 +0000 (0:00:00.569) 0:01:13.955 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:21:18 +0000 (0:00:00.071) 0:01:14.027 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:21:18 +0000 (0:00:00.121) 0:01:14.148 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:21:18 +0000 (0:00:00.034) 0:01:14.183 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:21:18 +0000 (0:00:00.537) 0:01:14.720 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:21:18 +0000 (0:00:00.051) 0:01:14.771 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:21:18 +0000 (0:00:00.049) 0:01:14.821 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:21:19 +0000 (0:00:00.060) 0:01:14.882 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:21:19 +0000 (0:00:00.049) 0:01:14.932 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:21:19 +0000 (0:00:00.275) 0:01:15.208 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:21:19 +0000 (0:00:00.061) 0:01:15.269 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:21:19 +0000 (0:00:00.062) 0:01:15.331 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:21:19 +0000 (0:00:00.029) 0:01:15.361 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:21:19 +0000 (0:00:00.250) 0:01:15.612 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:21:19 +0000 (0:00:00.021) 0:01:15.633 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021281", "end": "2024-01-26 21:21:19.981077", "rc": 1, "start": "2024-01-26 21:21:19.959796" } 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:21:20 +0000 (0:00:00.254) 0:01:15.888 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:21:20 +0000 (0:00:00.078) 0:01:15.967 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:21:20 +0000 (0:00:00.025) 0:01:15.992 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:21:20 +0000 (0:00:00.072) 0:01:16.064 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:21:20 +0000 (0:00:00.066) 0:01:16.131 ******** 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_fix0k7wubrf/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:21:20 +0000 (0:00:00.079) 0:01:16.210 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:21:20 +0000 (0:00:00.034) 0:01:16.245 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:21:20 +0000 (0:00:00.138) 0:01:16.383 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:21:20 +0000 (0:00:00.064) 0:01:16.448 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:21:20 +0000 (0:00:00.295) 0:01:16.743 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:21:20 +0000 (0:00:00.117) 0:01:16.860 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:21:21 +0000 (0:00:00.068) 0:01:16.929 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:21:21 +0000 (0:00:00.063) 0:01:16.993 ******** 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.042633", "end": "2024-01-26 21:21:21.366954", "rc": 1, "start": "2024-01-26 21:21:21.324321" } 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_fix0k7wubrf/tests/playbooks/tests_states.yml:124 Friday 26 January 2024 21:21:21 +0000 (0:00:00.295) 0:01:17.289 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:21:21 +0000 (0:00:00.220) 0:01:17.509 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:21:21 +0000 (0:00:00.024) 0:01:17.534 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:21:21 +0000 (0:00:00.061) 0:01:17.596 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:21:21 +0000 (0:00:00.044) 0:01:17.641 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:21:21 +0000 (0:00:00.041) 0:01:17.682 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003963", "end": "2024-01-26 21:21:22.030699", "rc": 0, "start": "2024-01-26 21:21:22.026736" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:21:22 +0000 (0:00:00.283) 0:01:17.966 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:21:22 +0000 (0:00:00.057) 0:01:18.024 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:21:22 +0000 (0:00:00.052) 0:01:18.076 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:21:22 +0000 (0:00:00.113) 0:01:18.189 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:21:22 +0000 (0:00:00.060) 0:01:18.250 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:21:22 +0000 (0:00:00.167) 0:01:18.418 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:21:22 +0000 (0:00:00.037) 0:01:18.455 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:21:22 +0000 (0:00:00.029) 0:01:18.484 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:21:22 +0000 (0:00:00.039) 0:01:18.524 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:21:25 +0000 (0:00:02.523) 0:01:21.048 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:21:26 +0000 (0:00:00.826) 0:01:21.875 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:21:26 +0000 (0:00:00.027) 0:01:21.902 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:21:26 +0000 (0:00:00.073) 0:01:21.975 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:21:26 +0000 (0:00:00.045) 0:01:22.020 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:21:26 +0000 (0:00:00.106) 0:01:22.126 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:21:26 +0000 (0:00:00.042) 0:01:22.169 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:21:26 +0000 (0:00:00.104) 0:01:22.273 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:21:26 +0000 (0:00:00.072) 0:01:22.345 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:21:27 +0000 (0:00:00.620) 0:01:22.966 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:21:27 +0000 (0:00:00.066) 0:01:23.032 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:21:27 +0000 (0:00:00.033) 0:01:23.066 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:21:27 +0000 (0:00:00.045) 0:01:23.111 ******** 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, fef365e7-de39-42d4-983a-c762efbef969 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:21:27 +0000 (0:00:00.503) 0:01:23.614 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:21:27 +0000 (0:00:00.041) 0:01:23.656 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fef365e7-de39-42d4-983a-c762efbef969" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:21:27 +0000 (0:00:00.039) 0:01:23.695 ******** 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, fef365e7-de39-42d4-983a-c762efbef969\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fef365e7-de39-42d4-983a-c762efbef969" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:21:27 +0000 (0:00:00.041) 0:01:23.737 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:21:27 +0000 (0:00:00.044) 0:01:23.781 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:21:28 +0000 (0:00:00.322) 0:01:24.104 ******** 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, fef365e7-de39-42d4-983a-c762efbef969\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fef365e7-de39-42d4-983a-c762efbef969" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:21:28 +0000 (0:00:00.080) 0:01:24.184 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:21:28 +0000 (0:00:00.144) 0:01:24.329 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:21:28 +0000 (0:00:00.070) 0:01:24.400 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:21:28 +0000 (0:00:00.146) 0:01:24.546 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:21:28 +0000 (0:00:00.087) 0:01:24.634 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:21:28 +0000 (0:00:00.147) 0:01:24.782 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:21:31 +0000 (0:00:02.369) 0:01:27.151 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:21:32 +0000 (0:00:00.845) 0:01:27.997 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:21:32 +0000 (0:00:00.024) 0:01:28.022 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:21:32 +0000 (0:00:00.025) 0:01:28.048 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:21:32 +0000 (0:00:00.039) 0:01:28.088 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:21:32 +0000 (0:00:00.065) 0:01:28.153 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:21:32 +0000 (0:00:00.029) 0:01:28.183 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:21:32 +0000 (0:00:00.025) 0:01:28.208 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:21:32 +0000 (0:00:00.035) 0:01:28.244 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:21:32 +0000 (0:00:00.447) 0:01:28.692 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:21:32 +0000 (0:00:00.040) 0:01:28.732 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:21:32 +0000 (0:00:00.061) 0:01:28.794 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:21:32 +0000 (0:00:00.022) 0:01:28.816 ******** 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, fef365e7-de39-42d4-983a-c762efbef969 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:21:33 +0000 (0:00:00.396) 0:01:29.213 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:21:33 +0000 (0:00:00.027) 0:01:29.241 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fef365e7-de39-42d4-983a-c762efbef969 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:21:33 +0000 (0:00:00.027) 0:01:29.269 ******** 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, fef365e7-de39-42d4-983a-c762efbef969 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fef365e7-de39-42d4-983a-c762efbef969 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:21:33 +0000 (0:00:00.035) 0:01:29.304 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:21:33 +0000 (0:00:00.046) 0:01:29.351 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:21:33 +0000 (0:00:00.248) 0:01:29.599 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:21:33 +0000 (0:00:00.053) 0:01:29.653 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:21:33 +0000 (0:00:00.050) 0:01:29.703 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:21:33 +0000 (0:00:00.088) 0:01:29.792 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:21:33 +0000 (0:00:00.053) 0:01:29.845 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:21:34 +0000 (0:00:00.044) 0:01:29.890 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:21:36 +0000 (0:00:02.486) 0:01:32.377 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:21:37 +0000 (0:00:00.813) 0:01:33.190 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:21:37 +0000 (0:00:00.031) 0:01:33.221 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:21:37 +0000 (0:00:00.046) 0:01:33.267 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:21:37 +0000 (0:00:00.033) 0:01:33.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:21:37 +0000 (0:00:00.071) 0:01:33.372 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:21:37 +0000 (0:00:00.026) 0:01:33.398 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:21:37 +0000 (0:00:00.023) 0:01:33.422 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:21:37 +0000 (0:00:00.036) 0:01:33.458 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:21:38 +0000 (0:00:00.441) 0:01:33.899 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:21:38 +0000 (0:00:00.052) 0:01:33.952 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:21:38 +0000 (0:00:00.020) 0:01:33.972 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:21:38 +0000 (0:00:00.021) 0:01:33.994 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:21:38 +0000 (0:00:00.559) 0:01:34.554 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:21:38 +0000 (0:00:00.162) 0:01:34.716 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:21:38 +0000 (0:00:00.051) 0:01:34.768 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:21:38 +0000 (0:00:00.040) 0:01:34.809 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:21:38 +0000 (0:00:00.042) 0:01:34.851 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:21:39 +0000 (0:00:00.276) 0:01:35.127 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:21:39 +0000 (0:00:00.048) 0:01:35.176 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:21:39 +0000 (0:00:00.052) 0:01:35.229 ******** included: /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:21:39 +0000 (0:00:00.053) 0:01:35.283 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:21:39 +0000 (0:00:00.044) 0:01:35.327 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:21:39 +0000 (0:00:00.028) 0:01:35.355 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:21:39 +0000 (0:00:00.024) 0:01:35.380 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:21:43 +0000 (0:00:03.526) 0:01:38.907 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:21:43 +0000 (0:00:00.772) 0:01:39.679 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:21:43 +0000 (0:00:00.025) 0:01:39.705 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:21:43 +0000 (0:00:00.025) 0:01:39.730 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:21:43 +0000 (0:00:00.027) 0:01:39.757 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:21:43 +0000 (0:00:00.080) 0:01:39.838 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:21:44 +0000 (0:00:00.031) 0:01:39.869 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:21:44 +0000 (0:00:00.026) 0:01:39.896 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:21:44 +0000 (0:00:00.038) 0:01:39.934 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:21:44 +0000 (0:00:00.434) 0:01:40.369 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:21:44 +0000 (0:00:00.047) 0:01:40.416 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:21:44 +0000 (0:00:00.026) 0:01:40.442 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:21:44 +0000 (0:00:00.021) 0:01:40.463 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:21:45 +0000 (0:00:00.461) 0:01:40.925 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:21:45 +0000 (0:00:00.065) 0:01:40.990 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:21:45 +0000 (0:00:00.031) 0:01:41.021 ******** 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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:21:45 +0000 (0:00:00.025) 0:01:41.046 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:21:45 +0000 (0:00:00.023) 0:01:41.070 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:21:45 +0000 (0:00:00.241) 0:01:41.312 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:21:45 +0000 (0:00:00.043) 0:01:41.355 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:21:45 +0000 (0:00:00.035) 0:01:41.391 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:21:45 +0000 (0:00:00.042) 0:01:41.433 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:21:45 +0000 (0:00:00.265) 0:01:41.699 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:21:45 +0000 (0:00:00.025) 0:01:41.724 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021431", "end": "2024-01-26 21:21:46.089654", "rc": 1, "start": "2024-01-26 21:21:46.068223" } 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:21:46 +0000 (0:00:00.267) 0:01:41.992 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:21:46 +0000 (0:00:00.024) 0:01:42.017 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:21:46 +0000 (0:00:00.023) 0:01:42.040 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:21:46 +0000 (0:00:00.087) 0:01:42.128 ******** 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_fix0k7wubrf/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:21:46 +0000 (0:00:00.027) 0:01:42.155 ******** 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_fix0k7wubrf/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:21:46 +0000 (0:00:00.035) 0:01:42.191 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 21:21:46 +0000 (0:00:00.039) 0:01:42.230 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.373320", "end": "2024-01-26 21:21:46.930831", "rc": 0, "start": "2024-01-26 21:21:46.557511" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 21:21:46 +0000 (0:00:00.613) 0:01:42.844 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 21:21:47 +0000 (0:00:00.028) 0:01:42.872 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:21:47 +0000 (0:00:00.031) 0:01:42.904 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:21:47 +0000 (0:00:00.093) 0:01:42.997 ******** included: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:21:47 +0000 (0:00:00.073) 0:01:43.071 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fix0k7wubrf/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:21:47 +0000 (0:00:00.242) 0:01:43.313 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:21:47 +0000 (0:00:00.033) 0:01:43.347 ******** 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_fix0k7wubrf/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:21:47 +0000 (0:00:00.031) 0:01:43.378 ******** included: /WORKDIR/git-ci_fix0k7wubrf/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_fix0k7wubrf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:21:47 +0000 (0:00:00.044) 0:01:43.422 ******** 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.041925", "end": "2024-01-26 21:21:47.795034", "rc": 1, "start": "2024-01-26 21:21:47.753109" } 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 Friday 26 January 2024 21:21:47 +0000 (0:00:00.352) 0:01:43.775 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.53s /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 3.48s /WORKDIR/git-ci_fix0k7wubrf/.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.60s /WORKDIR/git-ci_fix0k7wubrf/.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.52s /WORKDIR/git-ci_fix0k7wubrf/.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_fix0k7wubrf/.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_fix0k7wubrf/.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_fix0k7wubrf/.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_fix0k7wubrf/.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_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.42s /WORKDIR/git-ci_fix0k7wubrf/.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.37s /WORKDIR/git-ci_fix0k7wubrf/.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.37s /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.32s /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.29s /WORKDIR/git-ci_fix0k7wubrf/.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.25s /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-ci_fix0k7wubrf/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.97s /WORKDIR/git-ci_fix0k7wubrf/tests/tests_states_nm.yml:6 ----------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /WORKDIR/git-ci_fix0k7wubrf/.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.83s /WORKDIR/git-ci_fix0k7wubrf/.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.83s /WORKDIR/git-ci_fix0k7wubrf/.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. ---^---^---^---^---^---