[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. No config file found; using defaults running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:46:33 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 06:46:34 -0400 (0:00:01.141) 0:00:01.149 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Saturday 06 July 2024 06:46:34 -0400 (0:00:00.021) 0:00:01.171 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.539) 0:00:01.710 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.463) 0:00:02.173 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.023) 0:00:02.197 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.014) 0:00:02.212 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.031) 0:00:02.244 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.015) 0:00:02.259 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.014) 0:00:02.273 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.014) 0:00:02.288 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.015) 0:00:02.303 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Saturday 06 July 2024 06:46:35 -0400 (0:00:00.014) 0:00:02.318 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:46:36 -0400 (0:00:00.030) 0:00:02.349 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** Saturday 06 July 2024 06:46:36 -0400 (0:00:00.831) 0:00:03.180 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** Saturday 06 July 2024 06:46:36 -0400 (0:00:00.018) 0:00:03.198 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile] ******************************************** Saturday 06 July 2024 06:46:36 -0400 (0:00:00.026) 0:00:03.225 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** Saturday 06 July 2024 06:46:36 -0400 (0:00:00.018) 0:00:03.244 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:46:36 -0400 (0:00:00.056) 0:00:03.301 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:46:36 -0400 (0:00:00.022) 0:00:03.324 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:46:37 -0400 (0:00:00.020) 0:00:03.344 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003518", "end": "2024-07-06 06:46:37.421137", "rc": 0, "start": "2024-07-06 06:46:37.417619" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:46:37 -0400 (0:00:00.466) 0:00:03.811 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:46:37 -0400 (0:00:00.018) 0:00:03.829 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 06:46:37 -0400 (0:00:00.018) 0:00:03.848 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** Saturday 06 July 2024 06:46:37 -0400 (0:00:00.031) 0:00:03.879 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008088", "end": "2024-07-06 06:46:37.860931", "rc": 1, "start": "2024-07-06 06:46:37.852843" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:46:37 -0400 (0:00:00.372) 0:00:04.252 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Saturday 06 July 2024 06:46:37 -0400 (0:00:00.022) 0:00:04.274 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Saturday 06 July 2024 06:46:38 -0400 (0:00:00.366) 0:00:04.641 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Saturday 06 July 2024 06:46:38 -0400 (0:00:00.020) 0:00:04.661 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:46:38 -0400 (0:00:00.029) 0:00:04.691 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:46:38 -0400 (0:00:00.049) 0:00:04.741 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:46:38 -0400 (0:00:00.036) 0:00:04.778 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:46:38 -0400 (0:00:00.024) 0:00:04.803 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:46:38 -0400 (0:00:00.020) 0:00:04.824 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:46:38 -0400 (0:00:00.022) 0:00:04.846 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:46:40 -0400 (0:00:01.855) 0:00:06.702 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:46:41 -0400 (0:00:01.151) 0:00:07.853 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:46:41 -0400 (0:00:00.038) 0:00:07.892 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:41 -0400 (0:00:00.037) 0:00:07.929 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:46:41 -0400 (0:00:00.038) 0:00:07.967 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:46:41 -0400 (0:00:00.052) 0:00:08.020 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:46:41 -0400 (0:00:00.039) 0:00:08.059 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:46:41 -0400 (0:00:00.050) 0:00:08.109 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:41 -0400 (0:00:00.084) 0:00:08.194 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:41 -0400 (0:00:00.062) 0:00:08.256 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:41 -0400 (0:00:00.039) 0:00:08.295 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:46:42 -0400 (0:00:00.053) 0:00:08.348 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:46:42 -0400 (0:00:00.805) 0:00:09.154 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:46:42 -0400 (0:00:00.050) 0:00:09.205 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:46:42 -0400 (0:00:00.033) 0:00:09.239 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:46:42 -0400 (0:00:00.033) 0:00:09.272 ********* changed: [managed_node1] => { "_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, 81f0c9d0-82c6-4758-9305-0934e7111ea8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:46:43 -0400 (0:00:00.760) 0:00:10.032 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:43 -0400 (0:00:00.039) 0:00:10.072 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81f0c9d0-82c6-4758-9305-0934e7111ea8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:46:43 -0400 (0:00:00.037) 0:00:10.110 ********* ok: [managed_node1] => { "__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, 81f0c9d0-82c6-4758-9305-0934e7111ea8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81f0c9d0-82c6-4758-9305-0934e7111ea8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:46:43 -0400 (0:00:00.039) 0:00:10.150 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:46:43 -0400 (0:00:00.038) 0:00:10.189 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 06:46:44 -0400 (0:00:00.485) 0:00:10.674 ********* ok: [managed_node1] => { "__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, 81f0c9d0-82c6-4758-9305-0934e7111ea8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81f0c9d0-82c6-4758-9305-0934e7111ea8" ] } } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 06:46:44 -0400 (0:00:00.038) 0:00:10.713 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:46:44 -0400 (0:00:00.067) 0:00:10.780 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:46:44 -0400 (0:00:00.094) 0:00:10.875 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:46:44 -0400 (0:00:00.036) 0:00:10.911 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:46:44 -0400 (0:00:00.377) 0:00:11.289 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:46:44 -0400 (0:00:00.033) 0:00:11.323 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023564", "end": "2024-07-06 06:46:45.316289", "rc": 0, "start": "2024-07-06 06:46:45.292725" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:46:45 -0400 (0:00:00.402) 0:00:11.725 ********* ok: [managed_node1] => { "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] ************************ Saturday 06 July 2024 06:46:45 -0400 (0:00:00.039) 0:00:11.765 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Saturday 06 July 2024 06:46:45 -0400 (0:00:00.035) 0:00:11.800 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Saturday 06 July 2024 06:46:45 -0400 (0:00:00.035) 0:00:11.836 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Saturday 06 July 2024 06:46:45 -0400 (0:00:00.034) 0:00:11.870 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** Saturday 06 July 2024 06:46:45 -0400 (0:00:00.035) 0:00:11.905 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Saturday 06 July 2024 06:46:45 -0400 (0:00:00.040) 0:00:11.946 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Saturday 06 July 2024 06:46:45 -0400 (0:00:00.039) 0:00:11.986 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 06:46:45 -0400 (0:00:00.039) 0:00:12.026 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:46:45 -0400 (0:00:00.075) 0:00:12.101 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Saturday 06 July 2024 06:46:45 -0400 (0:00:00.056) 0:00:12.158 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262803.5736337, "block_size": 4096, "blocks": 0, "ctime": 1720262803.5736337, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49130, "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": 1720262803.5736337, "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'] ************************ Saturday 06 July 2024 06:46:46 -0400 (0:00:00.378) 0:00:12.537 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** Saturday 06 July 2024 06:46:46 -0400 (0:00:00.039) 0:00:12.576 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** Saturday 06 July 2024 06:46:46 -0400 (0:00:00.067) 0:00:12.643 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Saturday 06 July 2024 06:46:46 -0400 (0:00:00.069) 0:00:12.713 ********* fatal: [managed_node1]: 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.068387", "end": "2024-07-06 06:46:46.752731", "rc": 1, "start": "2024-07-06 06:46:46.684344" } STDOUT: Connection 'statebr' (81f0c9d0-82c6-4758-9305-0934e7111ea8) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Saturday 06 July 2024 06:46:46 -0400 (0:00:00.447) 0:00:13.161 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can create a profile without autoconnect] ************************ Saturday 06 July 2024 06:46:46 -0400 (0:00:00.063) 0:00:13.224 ********* ok: [managed_node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** Saturday 06 July 2024 06:46:46 -0400 (0:00:00.038) 0:00:13.263 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:46:46 -0400 (0:00:00.075) 0:00:13.338 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:46:47 -0400 (0:00:00.059) 0:00:13.397 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:46:47 -0400 (0:00:00.056) 0:00:13.454 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003290", "end": "2024-07-06 06:46:47.422882", "rc": 0, "start": "2024-07-06 06:46:47.419592" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:46:47 -0400 (0:00:00.377) 0:00:13.831 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:46:47 -0400 (0:00:00.036) 0:00:13.868 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 06:46:47 -0400 (0:00:00.038) 0:00:13.906 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 => (item=tasks/delete_interface.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** Saturday 06 July 2024 06:46:47 -0400 (0:00:00.067) 0:00:13.973 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006114", "end": "2024-07-06 06:46:47.948561", "rc": 1, "start": "2024-07-06 06:46:47.942447" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:46:48 -0400 (0:00:00.412) 0:00:14.386 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Saturday 06 July 2024 06:46:48 -0400 (0:00:00.058) 0:00:14.444 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Saturday 06 July 2024 06:46:48 -0400 (0:00:00.378) 0:00:14.823 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Saturday 06 July 2024 06:46:48 -0400 (0:00:00.038) 0:00:14.862 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:46:48 -0400 (0:00:00.065) 0:00:14.928 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:46:48 -0400 (0:00:00.079) 0:00:15.008 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:46:48 -0400 (0:00:00.071) 0:00:15.079 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:46:48 -0400 (0:00:00.048) 0:00:15.128 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:46:48 -0400 (0:00:00.039) 0:00:15.168 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:46:48 -0400 (0:00:00.040) 0:00:15.208 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:46:50 -0400 (0:00:01.709) 0:00:16.917 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.966) 0:00:17.883 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.038) 0:00:17.922 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.040) 0:00:17.963 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.039) 0:00:18.002 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.056) 0:00:18.059 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.041) 0:00:18.100 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.051) 0:00:18.151 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.088) 0:00:18.240 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.039) 0:00:18.279 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:51 -0400 (0:00:00.040) 0:00:18.320 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:46:52 -0400 (0:00:00.052) 0:00:18.372 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:46:52 -0400 (0:00:00.597) 0:00:18.970 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:46:52 -0400 (0:00:00.053) 0:00:19.024 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:46:52 -0400 (0:00:00.034) 0:00:19.058 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:46:52 -0400 (0:00:00.035) 0:00:19.094 ********* changed: [managed_node1] => { "_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, dceb491a-d1bd-41e8-88ff-84404ace2a44 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:46:53 -0400 (0:00:00.569) 0:00:19.663 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:46:53 -0400 (0:00:00.039) 0:00:19.703 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dceb491a-d1bd-41e8-88ff-84404ace2a44" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:46:53 -0400 (0:00:00.039) 0:00:19.743 ********* ok: [managed_node1] => { "__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, dceb491a-d1bd-41e8-88ff-84404ace2a44\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dceb491a-d1bd-41e8-88ff-84404ace2a44" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:46:53 -0400 (0:00:00.040) 0:00:19.783 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:46:53 -0400 (0:00:00.077) 0:00:19.861 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 06:46:53 -0400 (0:00:00.399) 0:00:20.260 ********* ok: [managed_node1] => { "__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, dceb491a-d1bd-41e8-88ff-84404ace2a44\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dceb491a-d1bd-41e8-88ff-84404ace2a44" ] } } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 06:46:53 -0400 (0:00:00.041) 0:00:20.301 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item=tasks/assert_device_absent.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:46:54 -0400 (0:00:00.073) 0:00:20.375 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Saturday 06 July 2024 06:46:54 -0400 (0:00:00.059) 0:00:20.434 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Saturday 06 July 2024 06:46:54 -0400 (0:00:00.379) 0:00:20.814 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:46:54 -0400 (0:00:00.040) 0:00:20.855 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:46:54 -0400 (0:00:00.064) 0:00:20.919 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:46:54 -0400 (0:00:00.037) 0:00:20.957 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:46:54 -0400 (0:00:00.377) 0:00:21.335 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:46:55 -0400 (0:00:00.035) 0:00:21.370 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022473", "end": "2024-07-06 06:46:55.363068", "rc": 0, "start": "2024-07-06 06:46:55.340595" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:46:55 -0400 (0:00:00.401) 0:00:21.771 ********* ok: [managed_node1] => { "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] ************************ Saturday 06 July 2024 06:46:55 -0400 (0:00:00.039) 0:00:21.810 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Saturday 06 July 2024 06:46:55 -0400 (0:00:00.034) 0:00:21.845 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Saturday 06 July 2024 06:46:55 -0400 (0:00:00.067) 0:00:21.912 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Saturday 06 July 2024 06:46:55 -0400 (0:00:00.035) 0:00:21.948 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** Saturday 06 July 2024 06:46:55 -0400 (0:00:00.034) 0:00:21.983 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Saturday 06 July 2024 06:46:55 -0400 (0:00:00.040) 0:00:22.023 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Saturday 06 July 2024 06:46:55 -0400 (0:00:00.040) 0:00:22.063 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 06:46:55 -0400 (0:00:00.039) 0:00:22.103 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ Saturday 06 July 2024 06:46:55 -0400 (0:00:00.038) 0:00:22.141 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** Saturday 06 July 2024 06:46:55 -0400 (0:00:00.037) 0:00:22.179 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Saturday 06 July 2024 06:46:55 -0400 (0:00:00.066) 0:00:22.245 ********* fatal: [managed_node1]: 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.043959", "end": "2024-07-06 06:46:56.261545", "rc": 1, "start": "2024-07-06 06:46:56.217586" } STDOUT: Connection 'statebr' (dceb491a-d1bd-41e8-88ff-84404ace2a44) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Saturday 06 July 2024 06:46:56 -0400 (0:00:00.423) 0:00:22.669 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can activate an existing profile] ******************************** Saturday 06 July 2024 06:46:56 -0400 (0:00:00.061) 0:00:22.730 ********* ok: [managed_node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** Saturday 06 July 2024 06:46:56 -0400 (0:00:00.037) 0:00:22.768 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:46:56 -0400 (0:00:00.073) 0:00:22.841 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:46:56 -0400 (0:00:00.058) 0:00:22.899 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:46:56 -0400 (0:00:00.083) 0:00:22.983 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003399", "end": "2024-07-06 06:46:56.957503", "rc": 0, "start": "2024-07-06 06:46:56.954104" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:46:57 -0400 (0:00:00.381) 0:00:23.364 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:46:57 -0400 (0:00:00.038) 0:00:23.403 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 06:46:57 -0400 (0:00:00.039) 0:00:23.442 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:46:57 -0400 (0:00:00.062) 0:00:23.505 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:46:57 -0400 (0:00:00.079) 0:00:23.585 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:46:57 -0400 (0:00:00.072) 0:00:23.657 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:46:57 -0400 (0:00:00.048) 0:00:23.706 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:46:57 -0400 (0:00:00.040) 0:00:23.746 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:46:57 -0400 (0:00:00.039) 0:00:23.785 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:46:59 -0400 (0:00:01.721) 0:00:25.507 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.930) 0:00:26.437 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.071) 0:00:26.509 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.040) 0:00:26.549 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.041) 0:00:26.590 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.054) 0:00:26.644 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.040) 0:00:26.685 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.052) 0:00:26.737 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.085) 0:00:26.823 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.040) 0:00:26.864 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.039) 0:00:26.903 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:00 -0400 (0:00:00.054) 0:00:26.958 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:01 -0400 (0:00:00.587) 0:00:27.545 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:01 -0400 (0:00:00.052) 0:00:27.597 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:01 -0400 (0:00:00.035) 0:00:27.633 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:01 -0400 (0:00:00.033) 0:00:27.667 ********* changed: [managed_node1] => { "_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, 976f6610-ddd7-468c-b06d-36ed11ffe10f TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:47:01 -0400 (0:00:00.612) 0:00:28.279 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:01 -0400 (0:00:00.040) 0:00:28.320 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 976f6610-ddd7-468c-b06d-36ed11ffe10f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.039) 0:00:28.359 ********* ok: [managed_node1] => { "__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, 976f6610-ddd7-468c-b06d-36ed11ffe10f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 976f6610-ddd7-468c-b06d-36ed11ffe10f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.040) 0:00:28.400 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.041) 0:00:28.441 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 06:47:02 -0400 (0:00:00.428) 0:00:28.870 ********* ok: [managed_node1] => { "__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, 976f6610-ddd7-468c-b06d-36ed11ffe10f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 976f6610-ddd7-468c-b06d-36ed11ffe10f" ] } } TASK [Test] ******************************************************************** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.040) 0:00:28.910 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.065) 0:00:28.976 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.077) 0:00:29.053 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.072) 0:00:29.126 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.050) 0:00:29.176 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.040) 0:00:29.216 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:47:02 -0400 (0:00:00.040) 0:00:29.257 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:04 -0400 (0:00:01.714) 0:00:30.971 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:05 -0400 (0:00:00.902) 0:00:31.873 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:05 -0400 (0:00:00.040) 0:00:31.914 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:05 -0400 (0:00:00.077) 0:00:31.991 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:05 -0400 (0:00:00.042) 0:00:32.034 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:05 -0400 (0:00:00.056) 0:00:32.090 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:05 -0400 (0:00:00.043) 0:00:32.133 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:05 -0400 (0:00:00.052) 0:00:32.186 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:05 -0400 (0:00:00.090) 0:00:32.277 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:05 -0400 (0:00:00.043) 0:00:32.320 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:06 -0400 (0:00:00.042) 0:00:32.362 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:06 -0400 (0:00:00.055) 0:00:32.417 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:06 -0400 (0:00:00.592) 0:00:33.010 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:06 -0400 (0:00:00.054) 0:00:33.065 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:06 -0400 (0:00:00.037) 0:00:33.102 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:06 -0400 (0:00:00.035) 0:00:33.138 ********* ok: [managed_node1] => { "_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, 976f6610-ddd7-468c-b06d-36ed11ffe10f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:47:07 -0400 (0:00:00.557) 0:00:33.695 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:07 -0400 (0:00:00.040) 0:00:33.736 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 976f6610-ddd7-468c-b06d-36ed11ffe10f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:47:07 -0400 (0:00:00.039) 0:00:33.776 ********* ok: [managed_node1] => { "__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, 976f6610-ddd7-468c-b06d-36ed11ffe10f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 976f6610-ddd7-468c-b06d-36ed11ffe10f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:47:07 -0400 (0:00:00.041) 0:00:33.817 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:47:07 -0400 (0:00:00.039) 0:00:33.856 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 06:47:07 -0400 (0:00:00.431) 0:00:34.288 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:47:08 -0400 (0:00:00.074) 0:00:34.362 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Saturday 06 July 2024 06:47:08 -0400 (0:00:00.060) 0:00:34.422 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262821.8092916, "block_size": 4096, "blocks": 0, "ctime": 1720262821.8092916, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49261, "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": 1720262821.8092916, "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'] ************************ Saturday 06 July 2024 06:47:08 -0400 (0:00:00.380) 0:00:34.803 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:47:08 -0400 (0:00:00.041) 0:00:34.844 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:47:08 -0400 (0:00:00.068) 0:00:34.912 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:47:08 -0400 (0:00:00.039) 0:00:34.952 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:47:08 -0400 (0:00:00.382) 0:00:35.334 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:47:09 -0400 (0:00:00.034) 0:00:35.368 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023106", "end": "2024-07-06 06:47:09.368942", "rc": 0, "start": "2024-07-06 06:47:09.345836" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:47:09 -0400 (0:00:00.409) 0:00:35.778 ********* ok: [managed_node1] => { "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] ************************ Saturday 06 July 2024 06:47:09 -0400 (0:00:00.039) 0:00:35.817 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Saturday 06 July 2024 06:47:09 -0400 (0:00:00.036) 0:00:35.854 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Saturday 06 July 2024 06:47:09 -0400 (0:00:00.035) 0:00:35.889 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Saturday 06 July 2024 06:47:09 -0400 (0:00:00.036) 0:00:35.925 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** Saturday 06 July 2024 06:47:09 -0400 (0:00:00.067) 0:00:35.993 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* Saturday 06 July 2024 06:47:09 -0400 (0:00:00.042) 0:00:36.035 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** Saturday 06 July 2024 06:47:09 -0400 (0:00:00.043) 0:00:36.078 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 06:47:09 -0400 (0:00:00.040) 0:00:36.118 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** Saturday 06 July 2024 06:47:09 -0400 (0:00:00.040) 0:00:36.159 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** Saturday 06 July 2024 06:47:09 -0400 (0:00:00.038) 0:00:36.197 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Saturday 06 July 2024 06:47:09 -0400 (0:00:00.068) 0:00:36.266 ********* fatal: [managed_node1]: 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.068304", "end": "2024-07-06 06:47:10.302115", "rc": 1, "start": "2024-07-06 06:47:10.233811" } STDOUT: Connection 'statebr' (976f6610-ddd7-468c-b06d-36ed11ffe10f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Saturday 06 July 2024 06:47:10 -0400 (0:00:00.444) 0:00:36.710 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can remove an existing profile without taking it down] *********** Saturday 06 July 2024 06:47:10 -0400 (0:00:00.063) 0:00:36.773 ********* ok: [managed_node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** Saturday 06 July 2024 06:47:10 -0400 (0:00:00.037) 0:00:36.811 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:47:10 -0400 (0:00:00.076) 0:00:36.887 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:47:10 -0400 (0:00:00.058) 0:00:36.946 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:47:10 -0400 (0:00:00.057) 0:00:37.004 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003433", "end": "2024-07-06 06:47:10.974473", "rc": 0, "start": "2024-07-06 06:47:10.971040" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:47:11 -0400 (0:00:00.378) 0:00:37.383 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:47:11 -0400 (0:00:00.070) 0:00:37.453 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 06:47:11 -0400 (0:00:00.038) 0:00:37.491 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:47:11 -0400 (0:00:00.067) 0:00:37.558 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:47:11 -0400 (0:00:00.079) 0:00:37.638 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:47:11 -0400 (0:00:00.072) 0:00:37.710 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:47:11 -0400 (0:00:00.049) 0:00:37.760 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:47:11 -0400 (0:00:00.039) 0:00:37.800 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:47:11 -0400 (0:00:00.040) 0:00:37.841 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:13 -0400 (0:00:01.744) 0:00:39.585 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.896) 0:00:40.482 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.038) 0:00:40.521 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.039) 0:00:40.560 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.073) 0:00:40.634 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.054) 0:00:40.688 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.041) 0:00:40.730 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.050) 0:00:40.781 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.088) 0:00:40.870 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.040) 0:00:40.910 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.042) 0:00:40.953 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:14 -0400 (0:00:00.052) 0:00:41.005 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:15 -0400 (0:00:00.599) 0:00:41.605 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:15 -0400 (0:00:00.057) 0:00:41.662 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:15 -0400 (0:00:00.035) 0:00:41.698 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:15 -0400 (0:00:00.034) 0:00:41.733 ********* changed: [managed_node1] => { "_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, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.613) 0:00:42.346 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.040) 0:00:42.386 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.040) 0:00:42.427 ********* ok: [managed_node1] => { "__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, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.041) 0:00:42.468 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.044) 0:00:42.512 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 06:47:16 -0400 (0:00:00.396) 0:00:42.908 ********* ok: [managed_node1] => { "__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, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1" ] } } TASK [Include network role] **************************************************** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.079) 0:00:42.988 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.079) 0:00:43.068 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.072) 0:00:43.141 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.050) 0:00:43.191 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.040) 0:00:43.232 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:47:16 -0400 (0:00:00.040) 0:00:43.272 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:18 -0400 (0:00:01.769) 0:00:45.042 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:19 -0400 (0:00:00.908) 0:00:45.950 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:19 -0400 (0:00:00.040) 0:00:45.991 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:19 -0400 (0:00:00.040) 0:00:46.031 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:19 -0400 (0:00:00.042) 0:00:46.073 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:19 -0400 (0:00:00.055) 0:00:46.129 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:19 -0400 (0:00:00.045) 0:00:46.175 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:19 -0400 (0:00:00.091) 0:00:46.267 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:20 -0400 (0:00:00.089) 0:00:46.356 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:20 -0400 (0:00:00.042) 0:00:46.399 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:20 -0400 (0:00:00.041) 0:00:46.441 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:20 -0400 (0:00:00.053) 0:00:46.495 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:20 -0400 (0:00:00.602) 0:00:47.097 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:20 -0400 (0:00:00.054) 0:00:47.151 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:20 -0400 (0:00:00.036) 0:00:47.188 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:20 -0400 (0:00:00.035) 0:00:47.224 ********* ok: [managed_node1] => { "_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, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:47:21 -0400 (0:00:00.563) 0:00:47.788 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:21 -0400 (0:00:00.041) 0:00:47.829 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:47:21 -0400 (0:00:00.039) 0:00:47.868 ********* ok: [managed_node1] => { "__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, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:47:21 -0400 (0:00:00.040) 0:00:47.909 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:47:21 -0400 (0:00:00.039) 0:00:47.949 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Saturday 06 July 2024 06:47:22 -0400 (0:00:00.398) 0:00:48.347 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:47:22 -0400 (0:00:00.064) 0:00:48.412 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:47:22 -0400 (0:00:00.110) 0:00:48.523 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:47:22 -0400 (0:00:00.072) 0:00:48.595 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:47:22 -0400 (0:00:00.050) 0:00:48.646 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:47:22 -0400 (0:00:00.041) 0:00:48.687 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:47:22 -0400 (0:00:00.040) 0:00:48.728 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:24 -0400 (0:00:01.743) 0:00:50.471 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.893) 0:00:51.365 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.039) 0:00:51.405 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.039) 0:00:51.444 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.039) 0:00:51.484 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.053) 0:00:51.537 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.041) 0:00:51.579 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.051) 0:00:51.631 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.084) 0:00:51.716 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.076) 0:00:51.792 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.040) 0:00:51.832 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:25 -0400 (0:00:00.051) 0:00:51.884 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:26 -0400 (0:00:00.592) 0:00:52.477 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:26 -0400 (0:00:00.055) 0:00:52.533 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:26 -0400 (0:00:00.035) 0:00:52.569 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:26 -0400 (0:00:00.033) 0:00:52.603 ********* changed: [managed_node1] => { "_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] ********** Saturday 06 July 2024 06:47:26 -0400 (0:00:00.590) 0:00:53.193 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:26 -0400 (0:00:00.042) 0:00:53.235 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:47:26 -0400 (0:00:00.039) 0:00:53.275 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:47:26 -0400 (0:00:00.039) 0:00:53.314 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:47:27 -0400 (0:00:00.038) 0:00:53.352 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 06:47:27 -0400 (0:00:00.390) 0:00:53.742 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 => (item=tasks/assert_device_present.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:47:27 -0400 (0:00:00.071) 0:00:53.814 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Saturday 06 July 2024 06:47:27 -0400 (0:00:00.056) 0:00:53.870 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262835.8840337, "block_size": 4096, "blocks": 0, "ctime": 1720262835.8840337, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 49392, "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": 1720262835.8840337, "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'] ************************ Saturday 06 July 2024 06:47:27 -0400 (0:00:00.416) 0:00:54.287 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:47:27 -0400 (0:00:00.040) 0:00:54.327 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:47:28 -0400 (0:00:00.063) 0:00:54.391 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:47:28 -0400 (0:00:00.036) 0:00:54.427 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:47:28 -0400 (0:00:00.375) 0:00:54.803 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:47:28 -0400 (0:00:00.033) 0:00:54.837 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023724", "end": "2024-07-06 06:47:28.827510", "rc": 1, "start": "2024-07-06 06:47:28.803786" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:47:28 -0400 (0:00:00.398) 0:00:55.235 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Saturday 06 July 2024 06:47:28 -0400 (0:00:00.035) 0:00:55.271 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Saturday 06 July 2024 06:47:28 -0400 (0:00:00.036) 0:00:55.308 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.035) 0:00:55.343 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Saturday 06 July 2024 06:47:29 -0400 (0:00:00.035) 0:00:55.379 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.035) 0:00:55.414 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.039) 0:00:55.454 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.040) 0:00:55.494 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.037) 0:00:55.532 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.068) 0:00:55.601 ********* fatal: [managed_node1]: 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.076157", "end": "2024-07-06 06:47:29.645520", "rc": 1, "start": "2024-07-06 06:47:29.569363" } STDOUT: Connection 'statebr' (ad1387ed-fbf6-4eee-b671-afc6d4eaaeb1) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.452) 0:00:56.053 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I can take a profile down that is absent] ************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.096) 0:00:56.150 ********* ok: [managed_node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.039) 0:00:56.189 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node1] => (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: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.077) 0:00:56.267 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:47:29 -0400 (0:00:00.059) 0:00:56.326 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:47:30 -0400 (0:00:00.056) 0:00:56.383 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003406", "end": "2024-07-06 06:47:30.355141", "rc": 0, "start": "2024-07-06 06:47:30.351735" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:47:30 -0400 (0:00:00.380) 0:00:56.763 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:47:30 -0400 (0:00:00.038) 0:00:56.801 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 06:47:30 -0400 (0:00:00.038) 0:00:56.840 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:47:30 -0400 (0:00:00.071) 0:00:56.912 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:47:30 -0400 (0:00:00.080) 0:00:56.992 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:47:30 -0400 (0:00:00.071) 0:00:57.064 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:47:30 -0400 (0:00:00.084) 0:00:57.148 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:47:30 -0400 (0:00:00.040) 0:00:57.189 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:47:30 -0400 (0:00:00.041) 0:00:57.230 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:32 -0400 (0:00:01.692) 0:00:58.923 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.896) 0:00:59.819 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.038) 0:00:59.857 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.041) 0:00:59.899 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.040) 0:00:59.940 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.059) 0:00:59.999 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.042) 0:01:00.042 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.051) 0:01:00.093 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.088) 0:01:00.182 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.040) 0:01:00.222 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.041) 0:01:00.264 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:33 -0400 (0:00:00.053) 0:01:00.317 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:34 -0400 (0:00:00.582) 0:01:00.900 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:34 -0400 (0:00:00.091) 0:01:00.991 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:34 -0400 (0:00:00.035) 0:01:01.027 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:34 -0400 (0:00:00.036) 0:01:01.063 ********* changed: [managed_node1] => { "_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, 176557a0-108b-41cb-9b83-f8f1077ac182 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:47:35 -0400 (0:00:00.602) 0:01:01.665 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:35 -0400 (0:00:00.040) 0:01:01.706 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 176557a0-108b-41cb-9b83-f8f1077ac182" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:47:35 -0400 (0:00:00.040) 0:01:01.746 ********* ok: [managed_node1] => { "__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, 176557a0-108b-41cb-9b83-f8f1077ac182\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 176557a0-108b-41cb-9b83-f8f1077ac182" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:47:35 -0400 (0:00:00.039) 0:01:01.786 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:47:35 -0400 (0:00:00.041) 0:01:01.827 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 06:47:35 -0400 (0:00:00.391) 0:01:02.219 ********* ok: [managed_node1] => { "__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, 176557a0-108b-41cb-9b83-f8f1077ac182\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 176557a0-108b-41cb-9b83-f8f1077ac182" ] } } TASK [Include network role] **************************************************** Saturday 06 July 2024 06:47:35 -0400 (0:00:00.041) 0:01:02.260 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:47:35 -0400 (0:00:00.078) 0:01:02.338 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:47:36 -0400 (0:00:00.072) 0:01:02.410 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:47:36 -0400 (0:00:00.049) 0:01:02.460 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:47:36 -0400 (0:00:00.040) 0:01:02.500 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:47:36 -0400 (0:00:00.039) 0:01:02.540 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:37 -0400 (0:00:01.755) 0:01:04.295 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:38 -0400 (0:00:00.896) 0:01:05.192 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:38 -0400 (0:00:00.041) 0:01:05.233 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:38 -0400 (0:00:00.039) 0:01:05.273 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:38 -0400 (0:00:00.042) 0:01:05.315 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:39 -0400 (0:00:00.053) 0:01:05.369 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:39 -0400 (0:00:00.040) 0:01:05.409 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:39 -0400 (0:00:00.051) 0:01:05.460 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:39 -0400 (0:00:00.084) 0:01:05.545 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:39 -0400 (0:00:00.041) 0:01:05.586 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:39 -0400 (0:00:00.040) 0:01:05.626 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:39 -0400 (0:00:00.051) 0:01:05.677 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:39 -0400 (0:00:00.582) 0:01:06.259 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:39 -0400 (0:00:00.051) 0:01:06.311 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:40 -0400 (0:00:00.034) 0:01:06.345 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:40 -0400 (0:00:00.033) 0:01:06.379 ********* ok: [managed_node1] => { "_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, 176557a0-108b-41cb-9b83-f8f1077ac182 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:47:40 -0400 (0:00:00.626) 0:01:07.006 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:40 -0400 (0:00:00.041) 0:01:07.047 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 176557a0-108b-41cb-9b83-f8f1077ac182 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:47:40 -0400 (0:00:00.038) 0:01:07.086 ********* ok: [managed_node1] => { "__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, 176557a0-108b-41cb-9b83-f8f1077ac182 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 176557a0-108b-41cb-9b83-f8f1077ac182 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:47:40 -0400 (0:00:00.040) 0:01:07.127 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:47:40 -0400 (0:00:00.041) 0:01:07.168 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Saturday 06 July 2024 06:47:41 -0400 (0:00:00.393) 0:01:07.562 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:47:41 -0400 (0:00:00.078) 0:01:07.640 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:47:41 -0400 (0:00:00.072) 0:01:07.713 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:47:41 -0400 (0:00:00.050) 0:01:07.763 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:47:41 -0400 (0:00:00.040) 0:01:07.804 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:47:41 -0400 (0:00:00.039) 0:01:07.844 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:43 -0400 (0:00:01.682) 0:01:09.526 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.973) 0:01:10.500 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.041) 0:01:10.541 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.040) 0:01:10.582 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.042) 0:01:10.624 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.055) 0:01:10.680 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.044) 0:01:10.724 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.054) 0:01:10.779 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.087) 0:01:10.866 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.042) 0:01:10.908 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.040) 0:01:10.949 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:44 -0400 (0:00:00.053) 0:01:11.003 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:45 -0400 (0:00:00.589) 0:01:11.592 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:45 -0400 (0:00:00.053) 0:01:11.646 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:45 -0400 (0:00:00.036) 0:01:11.682 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:45 -0400 (0:00:00.035) 0:01:11.717 ********* changed: [managed_node1] => { "_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] ********** Saturday 06 July 2024 06:47:45 -0400 (0:00:00.596) 0:01:12.313 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.041) 0:01:12.355 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.039) 0:01:12.395 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.081) 0:01:12.476 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.041) 0:01:12.518 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.394) 0:01:12.912 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.069) 0:01:12.982 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.081) 0:01:13.063 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.073) 0:01:13.137 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.052) 0:01:13.189 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.041) 0:01:13.230 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:47:46 -0400 (0:00:00.039) 0:01:13.270 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:48 -0400 (0:00:01.701) 0:01:14.971 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:49 -0400 (0:00:00.893) 0:01:15.865 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:49 -0400 (0:00:00.076) 0:01:15.942 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:49 -0400 (0:00:00.040) 0:01:15.983 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:49 -0400 (0:00:00.041) 0:01:16.024 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:49 -0400 (0:00:00.053) 0:01:16.078 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:49 -0400 (0:00:00.042) 0:01:16.120 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:49 -0400 (0:00:00.051) 0:01:16.171 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:49 -0400 (0:00:00.088) 0:01:16.260 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:49 -0400 (0:00:00.042) 0:01:16.303 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:50 -0400 (0:00:00.040) 0:01:16.344 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:50 -0400 (0:00:00.053) 0:01:16.398 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:50 -0400 (0:00:00.594) 0:01:16.992 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:50 -0400 (0:00:00.052) 0:01:17.045 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:50 -0400 (0:00:00.035) 0:01:17.080 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:50 -0400 (0:00:00.034) 0:01:17.114 ********* changed: [managed_node1] => { "_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] ********** Saturday 06 July 2024 06:47:51 -0400 (0:00:00.652) 0:01:17.767 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:51 -0400 (0:00:00.040) 0:01:17.807 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:47:51 -0400 (0:00:00.039) 0:01:17.847 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:47:51 -0400 (0:00:00.039) 0:01:17.886 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:47:51 -0400 (0:00:00.038) 0:01:17.925 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 06:47:52 -0400 (0:00:00.424) 0:01:18.350 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:47:52 -0400 (0:00:00.069) 0:01:18.419 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:47:52 -0400 (0:00:00.063) 0:01:18.482 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:47:52 -0400 (0:00:00.038) 0:01:18.521 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:47:52 -0400 (0:00:00.374) 0:01:18.895 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:47:52 -0400 (0:00:00.035) 0:01:18.931 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021993", "end": "2024-07-06 06:47:52.922976", "rc": 1, "start": "2024-07-06 06:47:52.900983" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:47:52 -0400 (0:00:00.398) 0:01:19.330 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Saturday 06 July 2024 06:47:53 -0400 (0:00:00.038) 0:01:19.368 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Saturday 06 July 2024 06:47:53 -0400 (0:00:00.036) 0:01:19.404 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Saturday 06 July 2024 06:47:53 -0400 (0:00:00.037) 0:01:19.442 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Saturday 06 July 2024 06:47:53 -0400 (0:00:00.036) 0:01:19.478 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** Saturday 06 July 2024 06:47:53 -0400 (0:00:00.036) 0:01:19.515 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 06:47:53 -0400 (0:00:00.041) 0:01:19.557 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:47:53 -0400 (0:00:00.077) 0:01:19.634 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Saturday 06 July 2024 06:47:53 -0400 (0:00:00.095) 0:01:19.729 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Saturday 06 July 2024 06:47:53 -0400 (0:00:00.376) 0:01:20.106 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** Saturday 06 July 2024 06:47:53 -0400 (0:00:00.041) 0:01:20.147 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** Saturday 06 July 2024 06:47:53 -0400 (0:00:00.040) 0:01:20.187 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Saturday 06 July 2024 06:47:53 -0400 (0:00:00.070) 0:01:20.257 ********* fatal: [managed_node1]: 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.042480", "end": "2024-07-06 06:47:54.269607", "rc": 1, "start": "2024-07-06 06:47:54.227127" } 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'] ***************************************** Saturday 06 July 2024 06:47:54 -0400 (0:00:00.421) 0:01:20.678 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** Saturday 06 July 2024 06:47:54 -0400 (0:00:00.063) 0:01:20.742 ********* ok: [managed_node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** Saturday 06 July 2024 06:47:54 -0400 (0:00:00.039) 0:01:20.781 ********* ok: [managed_node1] => (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: [managed_node1] => (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: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:47:54 -0400 (0:00:00.076) 0:01:20.858 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:47:54 -0400 (0:00:00.059) 0:01:20.918 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:47:54 -0400 (0:00:00.056) 0:01:20.974 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003160", "end": "2024-07-06 06:47:54.944752", "rc": 0, "start": "2024-07-06 06:47:54.941592" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:47:55 -0400 (0:00:00.377) 0:01:21.352 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:47:55 -0400 (0:00:00.038) 0:01:21.391 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 06:47:55 -0400 (0:00:00.074) 0:01:21.466 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node1 => (item=tasks/create_bridge_profile.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node1 => (item=tasks/activate_profile.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:47:55 -0400 (0:00:00.072) 0:01:21.538 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:47:55 -0400 (0:00:00.079) 0:01:21.618 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:47:55 -0400 (0:00:00.072) 0:01:21.691 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:47:55 -0400 (0:00:00.048) 0:01:21.740 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:47:55 -0400 (0:00:00.041) 0:01:21.781 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:47:55 -0400 (0:00:00.039) 0:01:21.820 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:57 -0400 (0:00:01.701) 0:01:23.521 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.903) 0:01:24.425 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.039) 0:01:24.465 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.039) 0:01:24.504 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.039) 0:01:24.544 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.091) 0:01:24.636 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.042) 0:01:24.678 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.053) 0:01:24.731 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.087) 0:01:24.818 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.041) 0:01:24.860 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.039) 0:01:24.899 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:47:58 -0400 (0:00:00.054) 0:01:24.954 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:47:59 -0400 (0:00:00.587) 0:01:25.541 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:47:59 -0400 (0:00:00.053) 0:01:25.594 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:47:59 -0400 (0:00:00.035) 0:01:25.630 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:47:59 -0400 (0:00:00.035) 0:01:25.665 ********* changed: [managed_node1] => { "_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, 54ee07a9-bac3-4845-a377-a02e4655d679 TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:47:59 -0400 (0:00:00.598) 0:01:26.264 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:47:59 -0400 (0:00:00.041) 0:01:26.305 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54ee07a9-bac3-4845-a377-a02e4655d679" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:48:00 -0400 (0:00:00.038) 0:01:26.344 ********* ok: [managed_node1] => { "__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, 54ee07a9-bac3-4845-a377-a02e4655d679\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54ee07a9-bac3-4845-a377-a02e4655d679" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:48:00 -0400 (0:00:00.040) 0:01:26.385 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:48:00 -0400 (0:00:00.040) 0:01:26.426 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 06:48:00 -0400 (0:00:00.394) 0:01:26.820 ********* ok: [managed_node1] => { "__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, 54ee07a9-bac3-4845-a377-a02e4655d679\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54ee07a9-bac3-4845-a377-a02e4655d679" ] } } TASK [Include network role] **************************************************** Saturday 06 July 2024 06:48:00 -0400 (0:00:00.040) 0:01:26.860 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:48:00 -0400 (0:00:00.118) 0:01:26.978 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:48:00 -0400 (0:00:00.072) 0:01:27.051 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:48:00 -0400 (0:00:00.049) 0:01:27.101 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:48:00 -0400 (0:00:00.039) 0:01:27.141 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:48:00 -0400 (0:00:00.040) 0:01:27.182 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:48:02 -0400 (0:00:01.709) 0:01:28.891 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.892) 0:01:29.783 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.038) 0:01:29.822 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.040) 0:01:29.863 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.038) 0:01:29.901 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.056) 0:01:29.958 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.041) 0:01:30.000 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.051) 0:01:30.051 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.122) 0:01:30.173 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.040) 0:01:30.214 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.041) 0:01:30.256 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:48:03 -0400 (0:00:00.051) 0:01:30.307 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:48:04 -0400 (0:00:00.586) 0:01:30.893 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:48:04 -0400 (0:00:00.054) 0:01:30.947 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:48:04 -0400 (0:00:00.035) 0:01:30.983 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:48:04 -0400 (0:00:00.035) 0:01:31.019 ********* ok: [managed_node1] => { "_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, 54ee07a9-bac3-4845-a377-a02e4655d679 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:48:05 -0400 (0:00:00.550) 0:01:31.569 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:05 -0400 (0:00:00.043) 0:01:31.613 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54ee07a9-bac3-4845-a377-a02e4655d679 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:48:05 -0400 (0:00:00.040) 0:01:31.654 ********* ok: [managed_node1] => { "__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, 54ee07a9-bac3-4845-a377-a02e4655d679 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 54ee07a9-bac3-4845-a377-a02e4655d679 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:48:05 -0400 (0:00:00.040) 0:01:31.694 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:48:05 -0400 (0:00:00.041) 0:01:31.735 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Saturday 06 July 2024 06:48:05 -0400 (0:00:00.397) 0:01:32.132 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:48:05 -0400 (0:00:00.080) 0:01:32.213 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:48:05 -0400 (0:00:00.114) 0:01:32.328 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:48:06 -0400 (0:00:00.050) 0:01:32.379 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:48:06 -0400 (0:00:00.043) 0:01:32.422 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:48:06 -0400 (0:00:00.042) 0:01:32.465 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:48:07 -0400 (0:00:01.713) 0:01:34.178 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:48:08 -0400 (0:00:00.892) 0:01:35.071 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:48:08 -0400 (0:00:00.040) 0:01:35.112 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:08 -0400 (0:00:00.041) 0:01:35.153 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:48:08 -0400 (0:00:00.045) 0:01:35.199 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:48:08 -0400 (0:00:00.056) 0:01:35.255 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:48:08 -0400 (0:00:00.041) 0:01:35.296 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:48:09 -0400 (0:00:00.052) 0:01:35.349 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:09 -0400 (0:00:00.085) 0:01:35.434 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:09 -0400 (0:00:00.040) 0:01:35.475 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:09 -0400 (0:00:00.040) 0:01:35.515 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:48:09 -0400 (0:00:00.051) 0:01:35.567 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:48:09 -0400 (0:00:00.630) 0:01:36.197 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:48:09 -0400 (0:00:00.053) 0:01:36.251 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:48:09 -0400 (0:00:00.035) 0:01:36.287 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:48:09 -0400 (0:00:00.034) 0:01:36.321 ********* changed: [managed_node1] => { "_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] ********** Saturday 06 July 2024 06:48:10 -0400 (0:00:00.655) 0:01:36.977 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:10 -0400 (0:00:00.042) 0:01:37.019 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:48:10 -0400 (0:00:00.039) 0:01:37.059 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:48:10 -0400 (0:00:00.041) 0:01:37.101 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:48:10 -0400 (0:00:00.040) 0:01:37.142 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** Saturday 06 July 2024 06:48:11 -0400 (0:00:00.394) 0:01:37.536 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 06:48:11 -0400 (0:00:00.066) 0:01:37.602 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:48:11 -0400 (0:00:00.079) 0:01:37.681 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:48:11 -0400 (0:00:00.072) 0:01:37.754 ********* skipping: [managed_node1] => { "censored": "the output 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] *********** Saturday 06 July 2024 06:48:11 -0400 (0:00:00.048) 0:01:37.803 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:48:11 -0400 (0:00:00.080) 0:01:37.884 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:48:11 -0400 (0:00:00.041) 0:01:37.926 ********* ok: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:48:13 -0400 (0:00:01.694) 0:01:39.620 ********* ok: [managed_node1] => { "censored": "the output 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] ************** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.894) 0:01:40.515 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.040) 0:01:40.555 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.040) 0:01:40.595 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.041) 0:01:40.636 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.055) 0:01:40.691 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.041) 0:01:40.733 ********* skipping: [managed_node1] => { "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 : Install packages] ******************** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.052) 0:01:40.785 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.085) 0:01:40.871 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.041) 0:01:40.913 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.039) 0:01:40.952 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:48:14 -0400 (0:00:00.054) 0:01:41.007 ********* ok: [managed_node1] => { "censored": "the output 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] ***** Saturday 06 July 2024 06:48:15 -0400 (0:00:00.581) 0:01:41.589 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:48:15 -0400 (0:00:00.052) 0:01:41.642 ********* skipping: [managed_node1] => { "censored": "the output 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] *** Saturday 06 July 2024 06:48:15 -0400 (0:00:00.075) 0:01:41.717 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:48:15 -0400 (0:00:00.035) 0:01:41.752 ********* ok: [managed_node1] => { "_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] ********** Saturday 06 July 2024 06:48:15 -0400 (0:00:00.580) 0:01:42.333 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:48:16 -0400 (0:00:00.041) 0:01:42.374 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:48:16 -0400 (0:00:00.039) 0:01:42.414 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:48:16 -0400 (0:00:00.041) 0:01:42.455 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:48:16 -0400 (0:00:00.040) 0:01:42.495 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 06:48:16 -0400 (0:00:00.391) 0:01:42.887 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 => (item=tasks/assert_profile_absent.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:48:16 -0400 (0:00:00.074) 0:01:42.961 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:48:16 -0400 (0:00:00.065) 0:01:43.026 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:48:16 -0400 (0:00:00.038) 0:01:43.065 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:48:17 -0400 (0:00:00.372) 0:01:43.438 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:48:17 -0400 (0:00:00.036) 0:01:43.475 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022288", "end": "2024-07-06 06:48:17.464137", "rc": 1, "start": "2024-07-06 06:48:17.441849" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:48:17 -0400 (0:00:00.397) 0:01:43.872 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ Saturday 06 July 2024 06:48:17 -0400 (0:00:00.036) 0:01:43.908 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* Saturday 06 July 2024 06:48:17 -0400 (0:00:00.077) 0:01:43.986 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** Saturday 06 July 2024 06:48:17 -0400 (0:00:00.036) 0:01:44.023 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* Saturday 06 July 2024 06:48:17 -0400 (0:00:00.037) 0:01:44.061 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** Saturday 06 July 2024 06:48:17 -0400 (0:00:00.035) 0:01:44.096 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** Saturday 06 July 2024 06:48:17 -0400 (0:00:00.041) 0:01:44.138 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.301605", "end": "2024-07-06 06:48:18.406264", "rc": 0, "start": "2024-07-06 06:48:18.104659" } STDOUT: NetworkManager-1.48.2-2.el9 TASK [Store NetworkManager version] ******************************************** Saturday 06 July 2024 06:48:18 -0400 (0:00:00.678) 0:01:44.816 ********* ok: [managed_node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* Saturday 06 July 2024 06:48:18 -0400 (0:00:00.038) 0:01:44.855 ********* ok: [managed_node1] => { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" } TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 06:48:18 -0400 (0:00:00.039) 0:01:44.894 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:48:18 -0400 (0:00:00.078) 0:01:44.972 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface statebr] ****************************************** Saturday 06 July 2024 06:48:18 -0400 (0:00:00.058) 0:01:45.031 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* Saturday 06 July 2024 06:48:19 -0400 (0:00:00.373) 0:01:45.404 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** Saturday 06 July 2024 06:48:19 -0400 (0:00:00.040) 0:01:45.445 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** Saturday 06 July 2024 06:48:19 -0400 (0:00:00.039) 0:01:45.485 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node1 => (item=tasks/cleanup_profile+device.yml) included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** Saturday 06 July 2024 06:48:19 -0400 (0:00:00.076) 0:01:45.562 ********* fatal: [managed_node1]: 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.042797", "end": "2024-07-06 06:48:19.572147", "rc": 1, "start": "2024-07-06 06:48:19.529350" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** Saturday 06 July 2024 06:48:19 -0400 (0:00:00.419) 0:01:45.981 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008572", "end": "2024-07-06 06:48:19.954907", "rc": 0, "start": "2024-07-06 06:48:19.946335" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:c2:6c:19:bb brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.15.242/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2292sec preferred_lft 2292sec inet6 fe80::8ff:c2ff:fe6c:19bb/64 scope link valid_lft forever preferred_lft forever 84: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether e2:03:ef:67:2e:83 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.242 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.242 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Saturday 06 July 2024 06:48:20 -0400 (0:00:00.380) 0:01:46.361 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.248460", "end": "2024-07-06 06:48:20.584711", "rc": 0, "start": "2024-07-06 06:48:20.336251" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5169 0 --:--:-- --:--:-- --:--:-- 5169 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1785 0 --:--:-- --:--:-- --:--:-- 1785 PLAY RECAP ********************************************************************* managed_node1 : ok=334 changed=10 unreachable=0 failed=0 skipped=297 rescued=0 ignored=11 Saturday 06 July 2024 06:48:20 -0400 (0:00:00.732) 0:01:47.094 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.86s fedora.linux_system_roles.network : Check which services are running ---- 1.77s fedora.linux_system_roles.network : Check which services are running ---- 1.76s fedora.linux_system_roles.network : Check which services are running ---- 1.74s fedora.linux_system_roles.network : Check which services are running ---- 1.74s fedora.linux_system_roles.network : Check which services are running ---- 1.72s fedora.linux_system_roles.network : Check which services are running ---- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.70s fedora.linux_system_roles.network : Check which services are running ---- 1.70s fedora.linux_system_roles.network : Check which services are running ---- 1.69s fedora.linux_system_roles.network : Check which services are running ---- 1.69s fedora.linux_system_roles.network : Check which services are running ---- 1.68s fedora.linux_system_roles.network : Check which packages are installed --- 1.15s Gathering Facts --------------------------------------------------------- 1.14s fedora.linux_system_roles.network : Check which packages are installed --- 0.97s fedora.linux_system_roles.network : Check which packages are installed --- 0.97s fedora.linux_system_roles.network : Check which packages are installed --- 0.93s