Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_bridge_cloned_mac.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:03:38 -0400 (0:00:00.024) 0:00:00.024 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 07:03:39 -0400 (0:00:00.899) 0:00:00.924 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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 07:03:39 -0400 (0:00:00.034) 0:00:00.958 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 07:03:39 -0400 (0:00:00.416) 0:00:01.375 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 07:03:40 -0400 (0:00:00.440) 0:00:01.816 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 07:03:40 -0400 (0:00:00.050) 0:00:01.867 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 07:03:40 -0400 (0:00:00.046) 0:00:01.913 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** Saturday 06 July 2024 07:03:40 -0400 (0:00:00.079) 0:00:01.993 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 07:03:40 -0400 (0:00:00.394) 0:00:02.387 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 07:03:41 -0400 (0:00:00.709) 0:00:03.097 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.186645", "end": "2024-07-06 07:03:41.753487", "rc": 0, "start": "2024-07-06 07:03:41.566842" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 07:03:41 -0400 (0:00:00.520) 0:00:03.617 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 07:03:41 -0400 (0:00:00.027) 0:00:03.645 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Saturday 06 July 2024 07:03:41 -0400 (0:00:00.029) 0:00:03.675 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:03:41 -0400 (0:00:00.027) 0:00:03.703 ********* ok: [managed_node1] TASK [Define vars] ************************************************************* Saturday 06 July 2024 07:03:42 -0400 (0:00:00.594) 0:00:04.297 ********* 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 07:03:42 -0400 (0:00:00.037) 0:00:04.334 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:03:43 -0400 (0:00:00.595) 0:00:04.929 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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 07:03:43 -0400 (0:00:00.044) 0:00:04.974 ********* 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 07:03:43 -0400 (0:00:00.030) 0:00:05.005 ********* 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 07:03:43 -0400 (0:00:00.027) 0:00:05.032 ********* 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 07:03:43 -0400 (0:00:00.027) 0:00:05.059 ********* 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 07:03:44 -0400 (0:00:01.118) 0:00:06.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 07:03:45 -0400 (0:00:01.596) 0:00:07.774 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts 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 07:03:46 -0400 (0:00:00.075) 0:00:07.849 ********* 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 07:03:46 -0400 (0:00:00.069) 0:00:07.919 ********* 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 07:03:46 -0400 (0:00:00.070) 0:00:07.990 ********* 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 07:03:46 -0400 (0:00:00.070) 0:00:08.061 ********* 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 07:03:46 -0400 (0:00:00.081) 0:00:08.142 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 07:03:46 -0400 (0:00:00.079) 0:00:08.221 ********* 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 07:03:46 -0400 (0:00:00.124) 0:00:08.346 ********* 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 07:03:46 -0400 (0:00:00.071) 0:00:08.417 ********* 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 07:03:46 -0400 (0:00:00.070) 0:00:08.488 ********* 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 07:03:46 -0400 (0:00:00.079) 0:00:08.568 ********* 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 : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:03:46 -0400 (0:00:00.072) 0:00:08.640 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:03:46 -0400 (0:00:00.070) 0:00:08.710 ********* 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 : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:03:47 -0400 (0:00:00.761) 0:00:09.471 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15669qAC92j/tmpsrdTS0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:03:48 -0400 (0:00:00.357) 0:00:09.829 ********* 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31' [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active) [005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:03:49 -0400 (0:00:01.174) 0:00:11.003 ********* 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 07:03:49 -0400 (0:00:00.069) 0:00:11.073 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:03:49 -0400 (0:00:00.074) 0:00:11.148 ********* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)\n[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:03:49 -0400 (0:00:00.076) 0:00:11.224 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:03:49 -0400 (0:00:00.071) 0:00:11.295 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Verify ifcfg MACADDR entry] ********************************************** Saturday 06 July 2024 07:03:49 -0400 (0:00:00.501) 0:00:11.797 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^MACADDR=", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.003614", "end": "2024-07-06 07:03:50.244817", "rc": 0, "start": "2024-07-06 07:03:50.241203" } STDOUT: MACADDR="12:23:34:45:56:70" TASK [Verify nmcli cloned-mac-address entry] *********************************** Saturday 06 July 2024 07:03:50 -0400 (0:00:00.351) 0:00:12.149 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that cloned-mac-address addresses are configured correctly] ******* Saturday 06 July 2024 07:03:50 -0400 (0:00:00.069) 0:00:12.219 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:03:50 -0400 (0:00:00.089) 0:00:12.309 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:03:51 -0400 (0:00:00.720) 0:00:13.029 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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 07:03:51 -0400 (0:00:00.126) 0:00:13.156 ********* 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 07:03:51 -0400 (0:00:00.088) 0:00:13.245 ********* 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 07:03:51 -0400 (0:00:00.071) 0:00:13.317 ********* 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 07:03:51 -0400 (0:00:00.071) 0:00:13.389 ********* 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 07:03:52 -0400 (0:00:01.055) 0:00:14.444 ********* 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 07:03:53 -0400 (0:00:01.331) 0:00:15.776 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts 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 07:03:54 -0400 (0:00:00.077) 0:00:15.854 ********* 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 07:03:54 -0400 (0:00:00.071) 0:00:15.926 ********* 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 07:03:54 -0400 (0:00:00.075) 0:00:16.001 ********* 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 07:03:54 -0400 (0:00:00.072) 0:00:16.074 ********* 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 07:03:54 -0400 (0:00:00.082) 0:00:16.157 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 07:03:54 -0400 (0:00:00.078) 0:00:16.235 ********* 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 07:03:54 -0400 (0:00:00.130) 0:00:16.365 ********* 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 07:03:54 -0400 (0:00:00.072) 0:00:16.438 ********* 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 07:03:54 -0400 (0:00:00.071) 0:00:16.510 ********* 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 07:03:54 -0400 (0:00:00.079) 0:00:16.590 ********* 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 : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:03:54 -0400 (0:00:00.072) 0:00:16.663 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:03:54 -0400 (0:00:00.074) 0:00:16.737 ********* 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 : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:03:55 -0400 (0:00:00.498) 0:00:17.236 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15669qAC92j/tmppSuTE8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:03:55 -0400 (0:00:00.365) 0:00:17.601 ********* ok: [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": "initscripts" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:03:56 -0400 (0:00:00.642) 0:00:18.244 ********* 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 07:03:56 -0400 (0:00:00.072) 0:00:18.316 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:03:56 -0400 (0:00:00.077) 0:00:18.394 ********* 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:03:56 -0400 (0:00:00.076) 0:00:18.471 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:03:56 -0400 (0:00:00.074) 0:00:18.546 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:03:57 -0400 (0:00:00.364) 0:00:18.910 ********* ok: [managed_node1] TASK [Include the task 'delete_interface.yml'] ********************************* Saturday 06 July 2024 07:03:57 -0400 (0:00:00.668) 0:00:19.578 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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 07:03:57 -0400 (0:00:00.124) 0:00:19.703 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.010676", "end": "2024-07-06 07:03:58.165506", "rc": 0, "start": "2024-07-06 07:03:58.154830" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:03:58 -0400 (0:00:00.381) 0:00:20.084 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:03:58 -0400 (0:00:00.670) 0:00:20.755 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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 07:03:59 -0400 (0:00:00.175) 0:00:20.931 ********* 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 07:03:59 -0400 (0:00:00.093) 0:00:21.025 ********* 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 07:03:59 -0400 (0:00:00.073) 0:00:21.098 ********* 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 07:03:59 -0400 (0:00:00.073) 0:00:21.172 ********* 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 07:04:00 -0400 (0:00:01.008) 0:00:22.181 ********* 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 07:04:01 -0400 (0:00:01.309) 0:00:23.491 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts 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 07:04:01 -0400 (0:00:00.077) 0:00:23.568 ********* 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 07:04:01 -0400 (0:00:00.073) 0:00:23.641 ********* 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 07:04:01 -0400 (0:00:00.075) 0:00:23.717 ********* 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 07:04:01 -0400 (0:00:00.074) 0:00:23.792 ********* 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 07:04:02 -0400 (0:00:00.083) 0:00:23.875 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 07:04:02 -0400 (0:00:00.079) 0:00:23.954 ********* 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 07:04:02 -0400 (0:00:00.133) 0:00:24.088 ********* 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 07:04:02 -0400 (0:00:00.074) 0:00:24.163 ********* 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 07:04:02 -0400 (0:00:00.072) 0:00:24.236 ********* 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 07:04:02 -0400 (0:00:00.082) 0:00:24.318 ********* 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 : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:04:02 -0400 (0:00:00.072) 0:00:24.390 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:04:02 -0400 (0:00:00.073) 0:00:24.464 ********* 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 : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:04:03 -0400 (0:00:00.512) 0:00:24.976 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-15669qAC92j/tmpzEdH7S" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:04:03 -0400 (0:00:00.393) 0:00:25.369 ********* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:04:04 -0400 (0:00:00.646) 0:00:26.015 ********* 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 07:04:04 -0400 (0:00:00.074) 0:00:26.090 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:04:04 -0400 (0:00:00.077) 0:00:26.167 ********* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:04:04 -0400 (0:00:00.079) 0:00:26.247 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:04:04 -0400 (0:00:00.074) 0:00:26.321 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:04:04 -0400 (0:00:00.361) 0:00:26.683 ********* ok: [managed_node1] TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 07:04:05 -0400 (0:00:00.709) 0:00:27.392 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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 07:04:05 -0400 (0:00:00.129) 0:00:27.522 ********* 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.008299", "end": "2024-07-06 07:04:05.995579", "rc": 0, "start": "2024-07-06 07:04:05.987280" } 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 0e:28:e7:9d:f0:91 brd ff:ff:ff:ff:ff:ff inet 10.31.43.76/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3451sec preferred_lft 3451sec inet6 fe80::c28:e7ff:fe9d:f091/64 scope link valid_lft forever preferred_lft forever 10: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether fe:68:9f:79:ef:a1 brd ff:ff:ff:ff:ff:ff 60: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 02:d3:90:06:94:37 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::d3:90ff:fe06:9437/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.76 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr 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 07:04:06 -0400 (0:00:00.388) 0:00:27.910 ********* 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.718860", "end": "2024-07-06 07:04:07.111292", "rc": 0, "start": "2024-07-06 07:04:06.392432" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 2620:52:3:1:dead:beef:cafe:fed7 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 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 755 0 --:--:-- --:--:-- --:--:-- 756 % 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 1009 0 --:--:-- --:--:-- --:--:-- 1006 100 291 100 291 0 0 1009 0 --:--:-- --:--:-- --:--:-- 1006 PLAY RECAP ********************************************************************* managed_node1 : ok=54 changed=2 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 Saturday 06 July 2024 07:04:07 -0400 (0:00:01.097) 0:00:29.008 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.60s fedora.linux_system_roles.network : Check which packages are installed --- 1.33s fedora.linux_system_roles.network : Check which packages are installed --- 1.31s fedora.linux_system_roles.network : Configure networking connection profiles --- 1.17s fedora.linux_system_roles.network : Check which services are running ---- 1.12s Verify DNS and network connectivity ------------------------------------- 1.10s fedora.linux_system_roles.network : Check which services are running ---- 1.06s fedora.linux_system_roles.network : Check which services are running ---- 1.01s Gathering Facts --------------------------------------------------------- 0.90s fedora.linux_system_roles.network : Enable network service -------------- 0.76s Gathering Facts --------------------------------------------------------- 0.72s Gathering Facts --------------------------------------------------------- 0.71s Install yum-utils package ----------------------------------------------- 0.71s Gathering Facts --------------------------------------------------------- 0.67s Gathering Facts --------------------------------------------------------- 0.67s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.65s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s Gathering Facts --------------------------------------------------------- 0.60s Gathering Facts --------------------------------------------------------- 0.59s Enable EPEL 7 ----------------------------------------------------------- 0.52s