No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_bridge_cloned_mac.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:12:48 -0400 (0:00:00.020) 0:00:00.020 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 06:12:49 -0400 (0:00:00.893) 0:00:00.914 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:12:49 -0400 (0:00:00.020) 0:00:00.934 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:12:49 -0400 (0:00:00.482) 0:00:01.417 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:12:50 -0400 (0:00:00.428) 0:00:01.846 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:12:50 -0400 (0:00:00.033) 0:00:01.880 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 06:12:50 -0400 (0:00:00.030) 0:00:01.911 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Saturday 06 July 2024 06:12:50 -0400 (0:00:00.053) 0:00:01.964 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 06:12:50 -0400 (0:00:00.416) 0:00:02.380 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 06:12:50 -0400 (0:00:00.018) 0:00:02.399 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 06:12:50 -0400 (0:00:00.018) 0:00:02.418 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.241685", "end": "2024-07-06 06:12:51.142860", "rc": 0, "start": "2024-07-06 06:12:50.901175" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 06:12:51 -0400 (0:00:00.583) 0:00:03.001 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Saturday 06 July 2024 06:12:51 -0400 (0:00:00.017) 0:00:03.018 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:12:51 -0400 (0:00:00.016) 0:00:03.034 ********* ok: [managed_node1] TASK [Define vars] ************************************************************* Saturday 06 July 2024 06:12:51 -0400 (0:00:00.622) 0:00:03.656 ********* ok: [managed_node1] => { "ansible_facts": { "cloned_mac": "12:23:34:45:56:70", "interface": "LSR-TST-br31" }, "changed": false } PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:12:51 -0400 (0:00:00.024) 0:00:03.681 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:12:52 -0400 (0:00:00.624) 0:00:04.306 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:12:52 -0400 (0:00:00.026) 0:00:04.333 ********* 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:12:52 -0400 (0:00:00.018) 0:00:04.352 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:12:52 -0400 (0:00:00.017) 0:00:04.369 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:12:52 -0400 (0:00:00.017) 0:00:04.387 ********* 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:12:54 -0400 (0:00:01.688) 0:00:06.075 ********* 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:12:55 -0400 (0:00:01.704) 0:00:07.780 ********* 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:12:56 -0400 (0:00:00.037) 0:00:07.817 ********* skipping: [managed_node1] => { "changed": false, "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:12:56 -0400 (0:00:00.034) 0:00:07.852 ********* skipping: [managed_node1] => { "changed": false, "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:12:56 -0400 (0:00:00.033) 0:00:07.886 ********* skipping: [managed_node1] => { "changed": false, "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:12:56 -0400 (0:00:00.044) 0:00:07.930 ********* skipping: [managed_node1] => { "changed": false, "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:12:56 -0400 (0:00:00.035) 0:00:07.965 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:12:56 -0400 (0:00:00.040) 0:00:08.006 ********* skipping: [managed_node1] => { "changed": false, "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:12:56 -0400 (0:00:00.074) 0:00:08.080 ********* skipping: [managed_node1] => { "changed": false, "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:12:56 -0400 (0:00:00.034) 0:00:08.115 ********* skipping: [managed_node1] => { "changed": false, "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:12:56 -0400 (0:00:00.034) 0:00:08.150 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:12:56 -0400 (0:00:00.042) 0:00:08.192 ********* 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:12:57 -0400 (0:00:00.722) 0:00:08.915 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:12:57 -0400 (0:00:00.042) 0:00:08.957 ********* 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:12:57 -0400 (0:00:00.057) 0:00:09.015 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:12:57 -0400 (0:00:00.034) 0:00:09.049 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "cloned_mac": "12:23:34:45:56:70", "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, a71598eb-4920-48bc-8705-71af0d321818 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, a71598eb-4920-48bc-8705-71af0d321818 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:12:57 -0400 (0:00:00.754) 0:00:09.803 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:12:58 -0400 (0:00:00.033) 0:00:09.837 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, a71598eb-4920-48bc-8705-71af0d321818", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, a71598eb-4920-48bc-8705-71af0d321818 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:12:58 -0400 (0:00:00.035) 0:00:09.873 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "cloned_mac": "12:23:34:45:56:70", "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, a71598eb-4920-48bc-8705-71af0d321818\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, a71598eb-4920-48bc-8705-71af0d321818 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, a71598eb-4920-48bc-8705-71af0d321818", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, a71598eb-4920-48bc-8705-71af0d321818 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:12:58 -0400 (0:00:00.036) 0:00:09.910 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:12:58 -0400 (0:00:00.033) 0:00:09.944 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Verify ifcfg MACADDR entry] ********************************************** Saturday 06 July 2024 06:12:58 -0400 (0:00:00.459) 0:00:10.403 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify nmcli cloned-mac-address entry] *********************************** Saturday 06 July 2024 06:12:58 -0400 (0:00:00.033) 0:00:10.437 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "802-3-ethernet.cloned-mac-address", "con", "show", "LSR-TST-br31" ], "delta": "0:00:00.015608", "end": "2024-07-06 06:12:58.935324", "rc": 0, "start": "2024-07-06 06:12:58.919716" } STDOUT: 802-3-ethernet.cloned-mac-address: 12:23:34:45:56:70 TASK [Assert that cloned-mac-address addresses are configured correctly] ******* Saturday 06 July 2024 06:12:59 -0400 (0:00:00.372) 0:00:10.810 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:12:59 -0400 (0:00:00.050) 0:00:10.860 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:12:59 -0400 (0:00:00.652) 0:00:11.513 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:12:59 -0400 (0:00:00.060) 0:00:11.573 ********* 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:12:59 -0400 (0:00:00.042) 0:00:11.616 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:12:59 -0400 (0:00:00.034) 0:00:11.651 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:12:59 -0400 (0:00:00.034) 0:00:11.685 ********* 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:13:01 -0400 (0:00:01.610) 0:00:13.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:13:02 -0400 (0:00:01.505) 0:00:14.800 ********* 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:13:03 -0400 (0:00:00.036) 0:00:14.837 ********* skipping: [managed_node1] => { "changed": false, "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:13:03 -0400 (0:00:00.034) 0:00:14.872 ********* skipping: [managed_node1] => { "changed": false, "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:13:03 -0400 (0:00:00.033) 0:00:14.905 ********* skipping: [managed_node1] => { "changed": false, "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:13:03 -0400 (0:00:00.045) 0:00:14.951 ********* skipping: [managed_node1] => { "changed": false, "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:13:03 -0400 (0:00:00.034) 0:00:14.985 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:13:03 -0400 (0:00:00.039) 0:00:15.025 ********* skipping: [managed_node1] => { "changed": false, "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:13:03 -0400 (0:00:00.073) 0:00:15.098 ********* skipping: [managed_node1] => { "changed": false, "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:13:03 -0400 (0:00:00.034) 0:00:15.133 ********* skipping: [managed_node1] => { "changed": false, "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:13:03 -0400 (0:00:00.034) 0:00:15.168 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:13:03 -0400 (0:00:00.091) 0:00:15.259 ********* 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:13:03 -0400 (0:00:00.529) 0:00:15.789 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:13:04 -0400 (0:00:00.042) 0:00:15.831 ********* 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:13:04 -0400 (0:00:00.033) 0:00:15.865 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:13:04 -0400 (0:00:00.034) 0:00:15.899 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "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:13:04 -0400 (0:00:00.552) 0:00:16.452 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:13:04 -0400 (0:00:00.035) 0:00:16.487 ********* 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:13:04 -0400 (0:00:00.037) 0:00:16.525 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "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:13:04 -0400 (0:00:00.037) 0:00:16.562 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:13:04 -0400 (0:00:00.034) 0:00:16.596 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:13:05 -0400 (0:00:00.355) 0:00:16.951 ********* ok: [managed_node1] TASK [Include the task 'delete_interface.yml'] ********************************* Saturday 06 July 2024 06:13:05 -0400 (0:00:00.644) 0:00:17.596 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Saturday 06 July 2024 06:13:05 -0400 (0:00:00.055) 0:00:17.652 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.007423", "end": "2024-07-06 06:13:06.143069", "rc": 1, "start": "2024-07-06 06:13:06.135646" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:13:06 -0400 (0:00:00.373) 0:00:18.025 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:13:06 -0400 (0:00:00.641) 0:00:18.667 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:13:06 -0400 (0:00:00.059) 0:00:18.727 ********* 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:13:06 -0400 (0:00:00.044) 0:00:18.771 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:13:06 -0400 (0:00:00.034) 0:00:18.806 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:13:07 -0400 (0:00:00.034) 0:00:18.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:13:08 -0400 (0:00:01.595) 0:00:20.437 ********* 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:13:10 -0400 (0:00:01.489) 0:00:21.926 ********* 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:13:10 -0400 (0:00:00.035) 0:00:21.962 ********* skipping: [managed_node1] => { "changed": false, "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:13:10 -0400 (0:00:00.052) 0:00:22.014 ********* skipping: [managed_node1] => { "changed": false, "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:13:10 -0400 (0:00:00.035) 0:00:22.049 ********* skipping: [managed_node1] => { "changed": false, "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:13:10 -0400 (0:00:00.041) 0:00:22.091 ********* skipping: [managed_node1] => { "changed": false, "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:13:10 -0400 (0:00:00.034) 0:00:22.125 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:13:10 -0400 (0:00:00.040) 0:00:22.165 ********* skipping: [managed_node1] => { "changed": false, "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:13:10 -0400 (0:00:00.071) 0:00:22.237 ********* skipping: [managed_node1] => { "changed": false, "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:13:10 -0400 (0:00:00.034) 0:00:22.271 ********* skipping: [managed_node1] => { "changed": false, "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:13:10 -0400 (0:00:00.033) 0:00:22.305 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:13:10 -0400 (0:00:00.039) 0:00:22.344 ********* 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:13:11 -0400 (0:00:00.529) 0:00:22.873 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:13:11 -0400 (0:00:00.043) 0:00:22.917 ********* 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:13:11 -0400 (0:00:00.035) 0:00:22.952 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:13:11 -0400 (0:00:00.034) 0:00:22.986 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "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:13:11 -0400 (0:00:00.570) 0:00:23.557 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:13:11 -0400 (0:00:00.034) 0:00:23.592 ********* 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:13:11 -0400 (0:00:00.036) 0:00:23.629 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "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:13:11 -0400 (0:00:00.036) 0:00:23.665 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:13:11 -0400 (0:00:00.034) 0:00:23.699 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:13:12 -0400 (0:00:00.352) 0:00:24.051 ********* ok: [managed_node1] TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 06:13:12 -0400 (0:00:00.635) 0:00:24.687 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Saturday 06 July 2024 06:13:12 -0400 (0:00:00.054) 0:00:24.742 ********* 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.008307", "end": "2024-07-06 06:13:13.232322", "rc": 0, "start": "2024-07-06 06:13:13.224015" } 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 02:37:d6:b6:83:a5 brd ff:ff:ff:ff:ff:ff inet 10.31.47.209/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2893sec preferred_lft 2893sec inet6 fe80::37:d6ff:feb6:83a5/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.209 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.209 metric 100 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:13:13 -0400 (0:00:00.364) 0:00:25.106 ********* 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.177031", "end": "2024-07-06 06:13:13.775120", "rc": 0, "start": "2024-07-06 06:13:13.598089" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 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 4420 0 --:--:-- --:--:-- --:--:-- 4420 % 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 291 100 291 0 0 3464 0 --:--:-- --:--:-- --:--:-- 3464 PLAY RECAP ********************************************************************* managed_node1 : ok=50 changed=3 unreachable=0 failed=0 skipped=56 rescued=0 ignored=1 Saturday 06 July 2024 06:13:13 -0400 (0:00:00.523) 0:00:25.630 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.69s fedora.linux_system_roles.network : Check which services are running ---- 1.61s fedora.linux_system_roles.network : Check which services are running ---- 1.60s fedora.linux_system_roles.network : Check which packages are installed --- 1.51s fedora.linux_system_roles.network : Check which packages are installed --- 1.49s Gathering Facts --------------------------------------------------------- 0.89s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.75s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.72s Gathering Facts --------------------------------------------------------- 0.65s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.62s Gathering Facts --------------------------------------------------------- 0.62s Enable EPEL 8 ----------------------------------------------------------- 0.58s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.57s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.53s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.53s