# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-civvn5q1ms/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-weekly-civvn5q1ms/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tests_states_nm.yml:5 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tests_states_nm.yml:9 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.851) 0:00:00.865 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml:3 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.014) 0:00:00.880 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml:20 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.372) 0:00:01.252 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml:25 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.281) 0:00:01.533 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml:32 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.022) 0:00:01.555 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml:57 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.011) 0:00:01.567 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/enable_epel.yml:8 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.021) 0:00:01.589 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/enable_epel.yml:24 Saturday 25 November 2023 13:46:11 +0000 (0:00:00.264) 0:00:01.853 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/enable_epel.yml:30 Saturday 25 November 2023 13:46:11 +0000 (0:00:00.009) 0:00:01.863 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/enable_epel.yml:35 Saturday 25 November 2023 13:46:11 +0000 (0:00:00.009) 0:00:01.872 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.387313", "end": "2023-11-25 13:46:11.789067", "rc": 0, "start": "2023-11-25 13:46:11.401754" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/enable_epel.yml:40 Saturday 25 November 2023 13:46:11 +0000 (0:00:00.580) 0:00:02.453 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tests_states_nm.yml:11 Saturday 25 November 2023 13:46:11 +0000 (0:00:00.010) 0:00:02.464 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:3 Saturday 25 November 2023 13:46:11 +0000 (0:00:00.020) 0:00:02.485 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:11 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.653) 0:00:03.138 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:22 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.012) 0:00:03.150 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.017) 0:00:03.168 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.013) 0:00:03.182 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.035) 0:00:03.217 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.013) 0:00:03.231 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.013) 0:00:03.244 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003513", "end": "2023-11-25 13:46:12.774959", "rc": 0, "start": "2023-11-25 13:46:12.771446" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.194) 0:00:03.439 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.014) 0:00:03.453 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.014) 0:00:03.467 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/delete_interface.yml:3 Saturday 25 November 2023 13:46:12 +0000 (0:00:00.021) 0:00:03.489 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008525", "end": "2023-11-25 13:46:13.023781", "rc": 1, "start": "2023-11-25 13:46:13.015256" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.197) 0:00:03.687 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.014) 0:00:03.701 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.195) 0:00:03.896 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.013) 0:00:03.910 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.018) 0:00:03.929 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.030) 0:00:03.959 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.026) 0:00:03.985 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.031) 0:00:04.016 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.203) 0:00:04.220 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:13 +0000 (0:00:00.021) 0:00:04.241 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:15 +0000 (0:00:01.792) 0:00:06.034 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:16 +0000 (0:00:01.499) 0:00:07.533 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.025) 0:00:07.559 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.024) 0:00:07.583 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.023) 0:00:07.607 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.061) 0:00:07.669 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.030) 0:00:07.699 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.034) 0:00:07.734 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.062) 0:00:07.796 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.589) 0:00:08.385 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.042) 0:00:08.427 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.022) 0:00:08.450 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.022) 0:00:08.473 ***** 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, fdb2be11-a43e-42b7-871a-fc5d20386a39 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.561) 0:00:09.034 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.027) 0:00:09.061 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdb2be11-a43e-42b7-871a-fc5d20386a39" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.027) 0:00:09.089 ***** 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, fdb2be11-a43e-42b7-871a-fc5d20386a39\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdb2be11-a43e-42b7-871a-fc5d20386a39" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.025) 0:00:09.115 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.025) 0:00:09.140 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.331) 0:00:09.472 ***** 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, fdb2be11-a43e-42b7-871a-fc5d20386a39\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fdb2be11-a43e-42b7-871a-fc5d20386a39" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.025) 0:00:09.497 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.048) 0:00:09.545 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.064) 0:00:09.609 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.025) 0:00:09.635 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700919978.3684125, "block_size": 4096, "blocks": 8, "ctime": 1700919978.2924142, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1700919978.2924142, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.204) 0:00:09.840 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.024) 0:00:09.864 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023872", "end": "2023-11-25 13:46:19.414643", "rc": 0, "start": "2023-11-25 13:46:19.390771" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.225) 0:00:10.090 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.026) 0:00:10.117 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.024) 0:00:10.141 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.028) 0:00:10.169 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.025) 0:00:10.194 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.037) 0:00:10.232 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.027) 0:00:10.259 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.040) 0:00:10.300 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.027) 0:00:10.327 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml for sut => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.063) 0:00:10.391 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.039) 0:00:10.430 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700919978.294571, "block_size": 4096, "blocks": 0, "ctime": 1700919978.294571, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39912, "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": 1700919978.294571, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.229) 0:00:10.660 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.027) 0:00:10.688 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.026) 0:00:10.714 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.045) 0:00:10.760 ***** 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.071351", "end": "2023-11-25 13:46:20.358792", "rc": 1, "start": "2023-11-25 13:46:20.287441" } STDOUT: Connection 'statebr' (fdb2be11-a43e-42b7-871a-fc5d20386a39) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:45 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.275) 0:00:11.035 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.037) 0:00:11.073 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.024) 0:00:11.098 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.047) 0:00:11.145 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.036) 0:00:11.182 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.034) 0:00:11.216 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003490", "end": "2023-11-25 13:46:20.746009", "rc": 0, "start": "2023-11-25 13:46:20.742519" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.204) 0:00:11.421 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.023) 0:00:11.445 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.046) 0:00:11.492 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/delete_interface.yml:3 Saturday 25 November 2023 13:46:20 +0000 (0:00:00.041) 0:00:11.533 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006722", "end": "2023-11-25 13:46:21.067379", "rc": 1, "start": "2023-11-25 13:46:21.060657" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.208) 0:00:11.742 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.036) 0:00:11.778 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.200) 0:00:11.979 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.025) 0:00:12.004 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.040) 0:00:12.045 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.050) 0:00:12.095 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.063) 0:00:12.159 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.038) 0:00:12.198 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.219) 0:00:12.417 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:21 +0000 (0:00:00.064) 0:00:12.482 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:23 +0000 (0:00:01.697) 0:00:14.180 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:24 +0000 (0:00:01.285) 0:00:15.465 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.028) 0:00:15.494 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.026) 0:00:15.520 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.035) 0:00:15.556 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.087) 0:00:15.644 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.033) 0:00:15.677 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.036) 0:00:15.714 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.055) 0:00:15.769 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.431) 0:00:16.200 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.065) 0:00:16.266 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.024) 0:00:16.291 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.023) 0:00:16.315 ***** 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, 4485f90f-f2d2-4692-b710-ac882552183f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.435) 0:00:16.751 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.028) 0:00:16.780 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4485f90f-f2d2-4692-b710-ac882552183f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.027) 0:00:16.807 ***** 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, 4485f90f-f2d2-4692-b710-ac882552183f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4485f90f-f2d2-4692-b710-ac882552183f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.027) 0:00:16.835 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.026) 0:00:16.861 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.237) 0:00:17.099 ***** 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, 4485f90f-f2d2-4692-b710-ac882552183f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4485f90f-f2d2-4692-b710-ac882552183f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.031) 0:00:17.131 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.047) 0:00:17.178 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.049) 0:00:17.228 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.203) 0:00:17.431 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.027) 0:00:17.459 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.049) 0:00:17.509 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.054) 0:00:17.564 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700919986.0222375, "block_size": 4096, "blocks": 8, "ctime": 1700919986.0222375, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1700919986.0222375, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.205) 0:00:17.769 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.029) 0:00:17.799 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022438", "end": "2023-11-25 13:46:27.352948", "rc": 0, "start": "2023-11-25 13:46:27.330510" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.231) 0:00:18.030 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.029) 0:00:18.060 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.027) 0:00:18.088 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.028) 0:00:18.116 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.035) 0:00:18.152 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.025) 0:00:18.177 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.032) 0:00:18.210 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.037) 0:00:18.247 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.026) 0:00:18.274 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.032) 0:00:18.306 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.028) 0:00:18.335 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.060) 0:00:18.395 ***** 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.046238", "end": "2023-11-25 13:46:27.973147", "rc": 1, "start": "2023-11-25 13:46:27.926909" } STDOUT: Connection 'statebr' (4485f90f-f2d2-4692-b710-ac882552183f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:65 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.288) 0:00:18.683 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.040) 0:00:18.724 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.027) 0:00:18.752 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.047) 0:00:18.800 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.037) 0:00:18.838 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.036) 0:00:18.874 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003592", "end": "2023-11-25 13:46:28.404916", "rc": 0, "start": "2023-11-25 13:46:28.401324" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.207) 0:00:19.082 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.025) 0:00:19.107 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.024) 0:00:19.131 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.044) 0:00:19.175 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.057) 0:00:19.233 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.084) 0:00:19.318 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.043) 0:00:19.361 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.218) 0:00:19.580 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.037) 0:00:19.618 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:30 +0000 (0:00:01.687) 0:00:21.305 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:31 +0000 (0:00:01.278) 0:00:22.584 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.026) 0:00:22.611 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.025) 0:00:22.636 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.028) 0:00:22.665 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.067) 0:00:22.733 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.029) 0:00:22.763 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.032) 0:00:22.795 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.055) 0:00:22.851 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.452) 0:00:23.304 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.046) 0:00:23.350 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.026) 0:00:23.377 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.025) 0:00:23.403 ***** 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, 0c0580f6-fe43-428c-bdd5-e3252bf890c1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.419) 0:00:23.822 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.033) 0:00:23.855 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0c0580f6-fe43-428c-bdd5-e3252bf890c1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.040) 0:00:23.896 ***** 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, 0c0580f6-fe43-428c-bdd5-e3252bf890c1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0c0580f6-fe43-428c-bdd5-e3252bf890c1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.027) 0:00:23.924 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.028) 0:00:23.952 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.227) 0:00:24.179 ***** 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, 0c0580f6-fe43-428c-bdd5-e3252bf890c1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0c0580f6-fe43-428c-bdd5-e3252bf890c1" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.026) 0:00:24.206 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml:3 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.044) 0:00:24.250 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.051) 0:00:24.302 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.071) 0:00:24.373 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.038) 0:00:24.412 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.215) 0:00:24.628 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:34 +0000 (0:00:00.036) 0:00:24.665 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:35 +0000 (0:00:01.692) 0:00:26.357 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:36 +0000 (0:00:01.280) 0:00:27.638 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.024) 0:00:27.663 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.026) 0:00:27.689 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.024) 0:00:27.714 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.061) 0:00:27.775 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.024) 0:00:27.800 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.024) 0:00:27.825 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.037) 0:00:27.862 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.459) 0:00:28.321 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.040) 0:00:28.362 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.022) 0:00:28.384 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.022) 0:00:28.407 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0c0580f6-fe43-428c-bdd5-e3252bf890c1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.350) 0:00:28.757 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.026) 0:00:28.783 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0c0580f6-fe43-428c-bdd5-e3252bf890c1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.025) 0:00:28.808 ***** 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, 0c0580f6-fe43-428c-bdd5-e3252bf890c1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0c0580f6-fe43-428c-bdd5-e3252bf890c1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.035) 0:00:28.844 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.029) 0:00:28.874 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.215) 0:00:29.090 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.043) 0:00:29.133 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.035) 0:00:29.168 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700919993.0824249, "block_size": 4096, "blocks": 0, "ctime": 1700919993.0824249, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40043, "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": 1700919993.0824249, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.205) 0:00:29.374 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.051) 0:00:29.426 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.037) 0:00:29.464 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.023) 0:00:29.487 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700919993.1520746, "block_size": 4096, "blocks": 8, "ctime": 1700919993.0810761, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1700919993.0810761, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.201) 0:00:29.689 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.025) 0:00:29.715 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023238", "end": "2023-11-25 13:46:39.267245", "rc": 0, "start": "2023-11-25 13:46:39.244007" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.237) 0:00:29.952 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.025) 0:00:29.978 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.023) 0:00:30.002 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.022) 0:00:30.025 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.022) 0:00:30.047 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.024) 0:00:30.071 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.025) 0:00:30.097 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.024) 0:00:30.121 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.024) 0:00:30.146 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.031) 0:00:30.178 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.025) 0:00:30.203 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.070) 0:00:30.274 ***** 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.071894", "end": "2023-11-25 13:46:39.873418", "rc": 1, "start": "2023-11-25 13:46:39.801524" } STDOUT: Connection 'statebr' (0c0580f6-fe43-428c-bdd5-e3252bf890c1) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:83 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.274) 0:00:30.548 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.038) 0:00:30.586 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.022) 0:00:30.609 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.048) 0:00:30.657 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.036) 0:00:30.694 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.036) 0:00:30.730 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003704", "end": "2023-11-25 13:46:40.263950", "rc": 0, "start": "2023-11-25 13:46:40.260246" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.209) 0:00:30.939 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.024) 0:00:30.964 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.024) 0:00:30.989 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.042) 0:00:31.032 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.070) 0:00:31.102 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.043) 0:00:31.146 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.038) 0:00:31.184 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.215) 0:00:31.400 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.048) 0:00:31.448 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:42 +0000 (0:00:01.692) 0:00:33.141 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:43 +0000 (0:00:01.271) 0:00:34.413 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:43 +0000 (0:00:00.027) 0:00:34.440 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:43 +0000 (0:00:00.026) 0:00:34.466 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:43 +0000 (0:00:00.026) 0:00:34.493 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:43 +0000 (0:00:00.063) 0:00:34.556 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:43 +0000 (0:00:00.027) 0:00:34.584 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:43 +0000 (0:00:00.053) 0:00:34.637 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.040) 0:00:34.677 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.391) 0:00:35.069 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.041) 0:00:35.111 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.022) 0:00:35.133 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.023) 0:00:35.157 ***** 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, 04372d7e-f018-4485-b034-9cae31ddeff2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.414) 0:00:35.571 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.027) 0:00:35.598 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04372d7e-f018-4485-b034-9cae31ddeff2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.027) 0:00:35.625 ***** 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, 04372d7e-f018-4485-b034-9cae31ddeff2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04372d7e-f018-4485-b034-9cae31ddeff2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.026) 0:00:35.651 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.027) 0:00:35.679 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.216) 0:00:35.896 ***** 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, 04372d7e-f018-4485-b034-9cae31ddeff2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04372d7e-f018-4485-b034-9cae31ddeff2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml:3 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.026) 0:00:35.922 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.061) 0:00:35.984 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.069) 0:00:36.053 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.038) 0:00:36.091 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.219) 0:00:36.311 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.037) 0:00:36.348 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:47 +0000 (0:00:01.706) 0:00:38.055 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:48 +0000 (0:00:01.281) 0:00:39.337 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:48 +0000 (0:00:00.028) 0:00:39.365 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:48 +0000 (0:00:00.026) 0:00:39.392 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:48 +0000 (0:00:00.025) 0:00:39.418 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:48 +0000 (0:00:00.061) 0:00:39.479 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:48 +0000 (0:00:00.025) 0:00:39.505 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:48 +0000 (0:00:00.025) 0:00:39.530 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:48 +0000 (0:00:00.069) 0:00:39.600 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.395) 0:00:39.995 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.041) 0:00:40.037 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.024) 0:00:40.061 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.021) 0:00:40.083 ***** 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, 04372d7e-f018-4485-b034-9cae31ddeff2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.355) 0:00:40.439 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.027) 0:00:40.466 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04372d7e-f018-4485-b034-9cae31ddeff2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.026) 0:00:40.492 ***** 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, 04372d7e-f018-4485-b034-9cae31ddeff2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04372d7e-f018-4485-b034-9cae31ddeff2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.027) 0:00:40.519 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.027) 0:00:40.547 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.222) 0:00:40.770 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove_profile.yml:3 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.066) 0:00:40.836 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.048) 0:00:40.884 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.076) 0:00:40.961 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.042) 0:00:41.003 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.219) 0:00:41.223 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.036) 0:00:41.260 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:52 +0000 (0:00:01.704) 0:00:42.964 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:53 +0000 (0:00:01.278) 0:00:44.242 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:53 +0000 (0:00:00.024) 0:00:44.267 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:53 +0000 (0:00:00.025) 0:00:44.293 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:53 +0000 (0:00:00.025) 0:00:44.319 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:53 +0000 (0:00:00.062) 0:00:44.381 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:53 +0000 (0:00:00.025) 0:00:44.407 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:53 +0000 (0:00:00.025) 0:00:44.433 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:53 +0000 (0:00:00.038) 0:00:44.471 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:54 +0000 (0:00:00.441) 0:00:44.913 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:54 +0000 (0:00:00.046) 0:00:44.959 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:54 +0000 (0:00:00.024) 0:00:44.983 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:54 +0000 (0:00:00.023) 0:00:45.007 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:54 +0000 (0:00:00.389) 0:00:45.397 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:54 +0000 (0:00:00.029) 0:00:45.426 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:54 +0000 (0:00:00.026) 0:00:45.453 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:54 +0000 (0:00:00.025) 0:00:45.479 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:54 +0000 (0:00:00.028) 0:00:45.507 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.221) 0:00:45.729 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.047) 0:00:45.777 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.063) 0:00:45.840 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700920004.827522, "block_size": 4096, "blocks": 0, "ctime": 1700920004.827522, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40174, "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": 1700920004.827522, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.207) 0:00:46.047 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.026) 0:00:46.074 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.068) 0:00:46.142 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.026) 0:00:46.169 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.205) 0:00:46.374 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.025) 0:00:46.399 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024409", "end": "2023-11-25 13:46:55.953795", "rc": 1, "start": "2023-11-25 13:46:55.929386" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.232) 0:00:46.632 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.025) 0:00:46.657 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.034) 0:00:46.692 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.026) 0:00:46.719 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.026) 0:00:46.746 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.024) 0:00:46.771 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.028) 0:00:46.799 ***** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.036) 0:00:46.836 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.026) 0:00:46.863 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.047) 0:00:46.910 ***** 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.085390", "end": "2023-11-25 13:46:56.527656", "rc": 1, "start": "2023-11-25 13:46:56.442266" } STDOUT: Connection 'statebr' (04372d7e-f018-4485-b034-9cae31ddeff2) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:102 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.330) 0:00:47.241 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.040) 0:00:47.281 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.029) 0:00:47.310 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.060) 0:00:47.371 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.067) 0:00:47.438 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.064) 0:00:47.502 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003756", "end": "2023-11-25 13:46:57.041713", "rc": 0, "start": "2023-11-25 13:46:57.037957" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.227) 0:00:47.730 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.029) 0:00:47.760 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.037) 0:00:47.797 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.074) 0:00:47.871 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.075) 0:00:47.947 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.097) 0:00:48.045 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.039) 0:00:48.084 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.223) 0:00:48.307 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.049) 0:00:48.357 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:59 +0000 (0:00:01.704) 0:00:50.062 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:00 +0000 (0:00:01.293) 0:00:51.356 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.026) 0:00:51.382 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.027) 0:00:51.409 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.036) 0:00:51.446 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.071) 0:00:51.518 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.027) 0:00:51.545 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.025) 0:00:51.571 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.037) 0:00:51.609 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:01 +0000 (0:00:00.459) 0:00:52.069 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:01 +0000 (0:00:00.041) 0:00:52.110 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:01 +0000 (0:00:00.022) 0:00:52.133 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:01 +0000 (0:00:00.021) 0:00:52.154 ***** 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, 66e44575-9cdf-46ee-b4a6-d510c28f67d2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:01 +0000 (0:00:00.446) 0:00:52.601 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:01 +0000 (0:00:00.027) 0:00:52.628 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66e44575-9cdf-46ee-b4a6-d510c28f67d2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.025) 0:00:52.654 ***** 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, 66e44575-9cdf-46ee-b4a6-d510c28f67d2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66e44575-9cdf-46ee-b4a6-d510c28f67d2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.025) 0:00:52.680 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.026) 0:00:52.706 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.235) 0:00:52.942 ***** 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, 66e44575-9cdf-46ee-b4a6-d510c28f67d2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 66e44575-9cdf-46ee-b4a6-d510c28f67d2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml:3 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.036) 0:00:52.978 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.059) 0:00:53.037 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.045) 0:00:53.083 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.096) 0:00:53.179 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.218) 0:00:53.398 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:02 +0000 (0:00:00.037) 0:00:53.435 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:04 +0000 (0:00:01.713) 0:00:55.148 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:05 +0000 (0:00:01.282) 0:00:56.431 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.024) 0:00:56.456 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.025) 0:00:56.482 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.025) 0:00:56.507 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.062) 0:00:56.570 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.025) 0:00:56.596 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.026) 0:00:56.622 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:06 +0000 (0:00:00.039) 0:00:56.662 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:06 +0000 (0:00:00.401) 0:00:57.064 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:06 +0000 (0:00:00.073) 0:00:57.137 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:06 +0000 (0:00:00.022) 0:00:57.160 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:06 +0000 (0:00:00.022) 0:00:57.182 ***** 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, 66e44575-9cdf-46ee-b4a6-d510c28f67d2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:06 +0000 (0:00:00.355) 0:00:57.537 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:06 +0000 (0:00:00.029) 0:00:57.567 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 66e44575-9cdf-46ee-b4a6-d510c28f67d2 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:06 +0000 (0:00:00.026) 0:00:57.594 ***** 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, 66e44575-9cdf-46ee-b4a6-d510c28f67d2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 66e44575-9cdf-46ee-b4a6-d510c28f67d2 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:06 +0000 (0:00:00.026) 0:00:57.620 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:07 +0000 (0:00:00.025) 0:00:57.646 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove_profile.yml:3 Saturday 25 November 2023 13:47:07 +0000 (0:00:00.215) 0:00:57.862 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:07 +0000 (0:00:00.050) 0:00:57.912 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:07 +0000 (0:00:00.050) 0:00:57.963 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:07 +0000 (0:00:00.046) 0:00:58.010 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:07 +0000 (0:00:00.230) 0:00:58.241 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:07 +0000 (0:00:00.038) 0:00:58.279 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:09 +0000 (0:00:01.844) 0:01:00.123 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:10 +0000 (0:00:01.290) 0:01:01.414 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.027) 0:01:01.441 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.027) 0:01:01.469 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.027) 0:01:01.496 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.071) 0:01:01.568 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.031) 0:01:01.600 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.028) 0:01:01.629 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.049) 0:01:01.678 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.399) 0:01:02.077 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.043) 0:01:02.120 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.023) 0:01:02.144 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.024) 0:01:02.168 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.447) 0:01:02.616 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.027) 0:01:02.644 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.027) 0:01:02.671 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.029) 0:01:02.700 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.035) 0:01:02.736 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.221) 0:01:02.958 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.053) 0:01:03.011 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.050) 0:01:03.062 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.045) 0:01:03.108 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.038) 0:01:03.146 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.217) 0:01:03.364 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:12 +0000 (0:00:00.038) 0:01:03.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 : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:14 +0000 (0:00:01.848) 0:01:05.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-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:15 +0000 (0:00:01.302) 0:01:06.554 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:15 +0000 (0:00:00.036) 0:01:06.591 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:15 +0000 (0:00:00.040) 0:01:06.632 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.031) 0:01:06.663 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.076) 0:01:06.739 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.027) 0:01:06.766 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.025) 0:01:06.792 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.050) 0:01:06.843 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.405) 0:01:07.248 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.041) 0:01:07.290 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.021) 0:01:07.311 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.022) 0:01:07.333 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.488) 0:01:07.822 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.105) 0:01:07.928 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.028) 0:01:07.956 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.026) 0:01:07.982 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.036) 0:01:08.019 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.214) 0:01:08.233 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.042) 0:01:08.275 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.038) 0:01:08.313 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.023) 0:01:08.337 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.203) 0:01:08.540 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:47:17 +0000 (0:00:00.023) 0:01:08.563 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023219", "end": "2023-11-25 13:47:18.117145", "rc": 1, "start": "2023-11-25 13:47:18.093926" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.229) 0:01:08.793 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.022) 0:01:08.816 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.021) 0:01:08.838 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.061) 0:01:08.899 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.026) 0:01:08.925 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.025) 0:01:08.951 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.027) 0:01:08.978 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.056) 0:01:09.035 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.040) 0:01:09.076 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.203) 0:01:09.279 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.026) 0:01:09.305 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.024) 0:01:09.330 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.043) 0:01:09.374 ***** 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.046021", "end": "2023-11-25 13:47:18.948367", "rc": 1, "start": "2023-11-25 13:47:18.902346" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:124 Saturday 25 November 2023 13:47:18 +0000 (0:00:00.262) 0:01:09.636 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.038) 0:01:09.674 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.057) 0:01:09.732 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.050) 0:01:09.783 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.045) 0:01:09.828 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.035) 0:01:09.863 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003765", "end": "2023-11-25 13:47:19.397278", "rc": 0, "start": "2023-11-25 13:47:19.393513" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.211) 0:01:10.075 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.024) 0:01:10.099 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.024) 0:01:10.124 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.044) 0:01:10.168 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.048) 0:01:10.217 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.044) 0:01:10.261 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.037) 0:01:10.299 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.255) 0:01:10.554 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.057) 0:01:10.611 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:21 +0000 (0:00:01.701) 0:01:12.312 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:22 +0000 (0:00:01.284) 0:01:13.597 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.036) 0:01:13.633 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.036) 0:01:13.670 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.037) 0:01:13.707 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.074) 0:01:13.782 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.036) 0:01:13.819 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.029) 0:01:13.848 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.051) 0:01:13.900 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.413) 0:01:14.314 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.062) 0:01:14.376 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.030) 0:01:14.406 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.076) 0:01:14.483 ***** 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, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.436) 0:01:14.920 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.029) 0:01:14.950 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.026) 0:01:14.977 ***** 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, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.026) 0:01:15.003 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.029) 0:01:15.032 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.219) 0:01:15.252 ***** 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, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml:3 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.025) 0:01:15.277 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.048) 0:01:15.326 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.044) 0:01:15.370 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.038) 0:01:15.408 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:24 +0000 (0:00:00.218) 0:01:15.627 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:25 +0000 (0:00:00.039) 0:01:15.667 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:26 +0000 (0:00:01.776) 0:01:17.443 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:28 +0000 (0:00:01.291) 0:01:18.735 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.034) 0:01:18.769 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.034) 0:01:18.804 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.033) 0:01:18.838 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.068) 0:01:18.906 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.026) 0:01:18.933 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.026) 0:01:18.959 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.040) 0:01:18.999 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.399) 0:01:19.399 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.050) 0:01:19.449 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.024) 0:01:19.473 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.025) 0:01:19.498 ***** 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, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.398) 0:01:19.896 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.094) 0:01:19.991 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.027) 0:01:20.019 ***** 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, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84ec1e0c-7c70-49eb-adbc-96155ffeb2d5 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.025) 0:01:20.044 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.028) 0:01:20.072 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.216) 0:01:20.289 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.048) 0:01:20.337 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.045) 0:01:20.383 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.038) 0:01:20.421 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:30 +0000 (0:00:00.224) 0:01:20.645 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:30 +0000 (0:00:00.037) 0:01:20.683 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:31 +0000 (0:00:01.761) 0:01:22.444 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:33 +0000 (0:00:01.384) 0:01:23.829 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.031) 0:01:23.860 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.028) 0:01:23.889 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.029) 0:01:23.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-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.081) 0:01:24.000 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.030) 0:01:24.030 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.029) 0:01:24.060 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.039) 0:01:24.099 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.398) 0:01:24.497 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.040) 0:01:24.538 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.022) 0:01:24.561 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.024) 0:01:24.585 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.491) 0:01:25.077 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.029) 0:01:25.106 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.037) 0:01:25.144 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.086) 0:01:25.230 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.026) 0:01:25.256 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.241) 0:01:25.498 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.048) 0:01:25.546 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.053) 0:01:25.600 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:35 +0000 (0:00:00.048) 0:01:25.649 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:35 +0000 (0:00:00.047) 0:01:25.696 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:35 +0000 (0:00:00.231) 0:01:25.927 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:35 +0000 (0:00:00.040) 0:01:25.968 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:37 +0000 (0:00:01.764) 0:01:27.733 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:38 +0000 (0:00:01.418) 0:01:29.152 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.028) 0:01:29.180 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.027) 0:01:29.207 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.027) 0:01:29.235 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.066) 0:01:29.302 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.037) 0:01:29.340 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.030) 0:01:29.370 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.044) 0:01:29.415 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.424) 0:01:29.840 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.051) 0:01:29.891 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.023) 0:01:29.915 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.022) 0:01:29.937 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.393) 0:01:30.331 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.030) 0:01:30.361 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.026) 0:01:30.387 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.027) 0:01:30.414 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.068) 0:01:30.483 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.239) 0:01:30.722 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.066) 0:01:30.788 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.042) 0:01:30.831 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.026) 0:01:30.857 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.204) 0:01:31.062 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.023) 0:01:31.086 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022696", "end": "2023-11-25 13:47:40.637264", "rc": 1, "start": "2023-11-25 13:47:40.614568" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.227) 0:01:31.313 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.023) 0:01:31.337 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.023) 0:01:31.360 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.022) 0:01:31.383 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.021) 0:01:31.404 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.022) 0:01:31.427 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.026) 0:01:31.453 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.878558", "end": "2023-11-25 13:47:41.860564", "rc": 0, "start": "2023-11-25 13:47:40.982006" } STDOUT: NetworkManager-1.40.16-9.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 25 November 2023 13:47:41 +0000 (0:00:01.124) 0:01:32.578 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-9.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 25 November 2023 13:47:41 +0000 (0:00:00.026) 0:01:32.605 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-9.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:47:41 +0000 (0:00:00.024) 0:01:32.629 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 November 2023 13:47:42 +0000 (0:00:00.057) 0:01:32.686 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:47:42 +0000 (0:00:00.040) 0:01:32.727 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 November 2023 13:47:42 +0000 (0:00:00.220) 0:01:32.947 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:47:42 +0000 (0:00:00.035) 0:01:32.982 ***** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:47:42 +0000 (0:00:00.026) 0:01:33.008 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:47:42 +0000 (0:00:00.053) 0:01:33.062 ***** 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.046154", "end": "2023-11-25 13:47:42.640031", "rc": 1, "start": "2023-11-25 13:47:42.593877" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=335 changed=10 unreachable=0 failed=0 skipped=233 rescued=0 ignored=11 Saturday 25 November 2023 13:47:42 +0000 (0:00:00.293) 0:01:33.356 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.85s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---