ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_switch_provider.yml ******************************************** 2 plays in /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml PLAY [Run playbook 'playbooks/tests_switch_provider.yml'] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Saturday 14 September 2024 08:41:20 -0400 (0:00:00.029) 0:00:00.029 **** ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:6 Saturday 14 September 2024 08:41:21 -0400 (0:00:00.934) 0:00:00.964 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 14 September 2024 08:41:21 -0400 (0:00:00.088) 0:00:01.053 **** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 14 September 2024 08:41:21 -0400 (0:00:00.384) 0:00:01.437 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 14 September 2024 08:41:22 -0400 (0:00:00.398) 0:00:01.836 **** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 14 September 2024 08:41:22 -0400 (0:00:00.065) 0:00:01.902 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 14 September 2024 08:41:22 -0400 (0:00:00.057) 0:00:01.959 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 14 September 2024 08:41:22 -0400 (0:00:00.113) 0:00:02.073 **** ok: [managed_node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 14 September 2024 08:41:22 -0400 (0:00:00.415) 0:00:02.489 **** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 14 September 2024 08:41:23 -0400 (0:00:00.863) 0:00:03.352 **** ok: [managed_node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.156683", "end": "2024-09-14 08:41:24.197759", "rc": 0, "start": "2024-09-14 08:41:24.041076" } 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] *********************************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 14 September 2024 08:41:24 -0400 (0:00:00.450) 0:00:03.802 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 14 September 2024 08:41:24 -0400 (0:00:00.029) 0:00:03.832 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Switch initscripts provider to nm] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 Saturday 14 September 2024 08:41:24 -0400 (0:00:00.035) 0:00:03.868 **** ok: [managed_node2] META: ran handlers TASK [Set fact to use initscripts network_provider] **************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:8 Saturday 14 September 2024 08:41:29 -0400 (0:00:05.556) 0:00:09.425 **** ok: [managed_node2] => { "ansible_facts": { "interface": "LST-TST-br34", "network_provider": "initscripts" }, "changed": false } TASK [Through the initscripts provider, create test bridge LST-TST-br34] ******* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:14 Saturday 14 September 2024 08:41:29 -0400 (0:00:00.039) 0:00:09.465 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:41:30 -0400 (0:00:00.366) 0:00:09.831 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:41:30 -0400 (0:00:00.155) 0:00:09.987 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:41:30 -0400 (0:00:00.047) 0:00:10.034 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:41:30 -0400 (0:00:00.037) 0:00:10.072 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:41:30 -0400 (0:00:00.038) 0:00:10.110 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:41:31 -0400 (0:00:01.134) 0:00:11.245 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:41:33 -0400 (0:00:01.799) 0:00:13.044 **** ok: [managed_node2] => {} 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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:41:33 -0400 (0:00:00.088) 0:00:13.133 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:41:33 -0400 (0:00:00.099) 0:00:13.233 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:41:33 -0400 (0:00:00.102) 0:00:13.336 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:41:33 -0400 (0:00:00.106) 0:00:13.442 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:41:33 -0400 (0:00:00.107) 0:00:13.549 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:41:34 -0400 (0:00:00.116) 0:00:13.665 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:41:34 -0400 (0:00:00.114) 0:00:13.780 **** changed: [managed_node2] => { "attempts": 1, "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.2.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } lsrpackages: bridge-utils dhclient initscripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:41:37 -0400 (0:00:03.159) 0:00:16.939 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:41:37 -0400 (0:00:00.149) 0:00:17.088 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:41:37 -0400 (0:00:00.123) 0:00:17.212 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:41:37 -0400 (0:00:00.119) 0:00:17.331 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:41:37 -0400 (0:00:00.100) 0:00:17.432 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:41:38 -0400 (0:00:00.141) 0:00:17.574 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:41:39 -0400 (0:00:01.222) 0:00:18.797 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-14931dBvTCN/tmp4AQfNL" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:41:39 -0400 (0:00:00.397) 0:00:19.194 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "LST-TST-br34", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LST-TST-br34': add ifcfg-rh profile 'LST-TST-br34' [004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34 (not-active) [005] #0, state:up persistent_state:present, 'LST-TST-br34': call 'ifup LST-TST-br34': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:41:40 -0400 (0:00:01.069) 0:00:20.264 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:41:40 -0400 (0:00:00.066) 0:00:20.331 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add ifcfg-rh profile 'LST-TST-br34'", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34 (not-active)", "[005] #0, state:up persistent_state:present, 'LST-TST-br34': call 'ifup LST-TST-br34': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:41:40 -0400 (0:00:00.099) 0:00:20.430 **** ok: [managed_node2] => { "__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": "LST-TST-br34", "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, 'LST-TST-br34': add ifcfg-rh profile 'LST-TST-br34'\n[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34 (not-active)\n[005] #0, state:up persistent_state:present, 'LST-TST-br34': call 'ifup LST-TST-br34': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add ifcfg-rh profile 'LST-TST-br34'", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34 (not-active)", "[005] #0, state:up persistent_state:present, 'LST-TST-br34': call 'ifup LST-TST-br34': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:41:40 -0400 (0:00:00.119) 0:00:20.550 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:41:41 -0400 (0:00:00.102) 0:00:20.652 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:25 Saturday 14 September 2024 08:41:41 -0400 (0:00:00.686) 0:00:21.338 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 September 2024 08:41:42 -0400 (0:00:00.259) 0:00:21.598 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:41:42 -0400 (0:00:00.201) 0:00:21.800 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726317700.5449402, "block_size": 4096, "blocks": 0, "ctime": 1726317700.5439403, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17065, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LST-TST-br34", "lnk_target": "../../devices/virtual/net/LST-TST-br34", "mode": "0777", "mtime": 1726317700.5439403, "nlink": 1, "path": "/sys/class/net/LST-TST-br34", "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 - 'LST-TST-br34'] ******************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 September 2024 08:41:42 -0400 (0:00:00.452) 0:00:22.252 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:27 Saturday 14 September 2024 08:41:42 -0400 (0:00:00.112) 0:00:22.365 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 September 2024 08:41:43 -0400 (0:00:00.351) 0:00:22.716 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:41:43 -0400 (0:00:00.200) 0:00:22.917 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:41:43 -0400 (0:00:00.182) 0:00:23.100 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:41:43 -0400 (0:00:00.100) 0:00:23.200 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:41:43 -0400 (0:00:00.134) 0:00:23.335 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:41:43 -0400 (0:00:00.119) 0:00:23.454 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:41:44 -0400 (0:00:00.950) 0:00:24.405 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:41:46 -0400 (0:00:01.393) 0:00:25.798 **** ok: [managed_node2] => {} 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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:41:46 -0400 (0:00:00.309) 0:00:26.108 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:41:46 -0400 (0:00:00.154) 0:00:26.263 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:41:46 -0400 (0:00:00.123) 0:00:26.386 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:41:46 -0400 (0:00:00.120) 0:00:26.506 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:41:47 -0400 (0:00:00.103) 0:00:26.610 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:41:47 -0400 (0:00:00.107) 0:00:26.718 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:41:47 -0400 (0:00:00.093) 0:00:26.811 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:41:47 -0400 (0:00:00.137) 0:00:26.948 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:41:47 -0400 (0:00:00.098) 0:00:27.047 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:41:47 -0400 (0:00:00.106) 0:00:27.153 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:41:47 -0400 (0:00:00.124) 0:00:27.278 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:41:47 -0400 (0:00:00.106) 0:00:27.385 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:41:47 -0400 (0:00:00.110) 0:00:27.496 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:41:48 -0400 (0:00:00.598) 0:00:28.094 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-14931dBvTCN/tmpN8vVlJ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:41:49 -0400 (0:00:00.675) 0:00:28.770 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LST-TST-br34", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'LST-TST-br34': down connection LST-TST-br34 skipped because not active [004] #0, state:down persistent_state:absent, 'LST-TST-br34': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LST-TST-br34' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:41:50 -0400 (0:00:00.956) 0:00:29.726 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:41:50 -0400 (0:00:00.149) 0:00:29.876 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'LST-TST-br34': down connection LST-TST-br34 skipped because not active", "[004] #0, state:down persistent_state:absent, 'LST-TST-br34': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LST-TST-br34'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:41:50 -0400 (0:00:00.122) 0:00:29.999 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LST-TST-br34", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'LST-TST-br34': down connection LST-TST-br34 skipped because not active\n[004] #0, state:down persistent_state:absent, 'LST-TST-br34': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LST-TST-br34'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'LST-TST-br34': down connection LST-TST-br34 skipped because not active", "[004] #0, state:down persistent_state:absent, 'LST-TST-br34': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LST-TST-br34'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:41:50 -0400 (0:00:00.250) 0:00:30.249 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:41:50 -0400 (0:00:00.136) 0:00:30.385 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:32 Saturday 14 September 2024 08:41:51 -0400 (0:00:00.462) 0:00:30.848 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 September 2024 08:41:51 -0400 (0:00:00.227) 0:00:31.075 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:41:51 -0400 (0:00:00.145) 0:00:31.221 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726317700.5449402, "block_size": 4096, "blocks": 0, "ctime": 1726317700.5439403, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17065, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LST-TST-br34", "lnk_target": "../../devices/virtual/net/LST-TST-br34", "mode": "0777", "mtime": 1726317700.5439403, "nlink": 1, "path": "/sys/class/net/LST-TST-br34", "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 - 'LST-TST-br34'] ******************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 September 2024 08:41:52 -0400 (0:00:00.425) 0:00:31.646 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Set fact to use nm network_provider] ************************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:34 Saturday 14 September 2024 08:41:52 -0400 (0:00:00.137) 0:00:31.783 **** ok: [managed_node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Through the nm provider, create test bridge LST-TST-br34] **************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:39 Saturday 14 September 2024 08:41:52 -0400 (0:00:00.132) 0:00:31.916 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:41:52 -0400 (0:00:00.222) 0:00:32.138 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:41:52 -0400 (0:00:00.262) 0:00:32.401 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:41:52 -0400 (0:00:00.142) 0:00:32.543 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:41:53 -0400 (0:00:00.196) 0:00:32.740 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:41:53 -0400 (0:00:00.224) 0:00:32.964 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:41:54 -0400 (0:00:01.188) 0:00:34.153 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:41:56 -0400 (0:00:01.597) 0:00:35.750 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:41:56 -0400 (0:00:00.182) 0:00:35.933 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:41:56 -0400 (0:00:00.161) 0:00:36.094 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:41:56 -0400 (0:00:00.125) 0:00:36.220 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:41:56 -0400 (0:00:00.113) 0:00:36.334 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:41:56 -0400 (0:00:00.141) 0:00:36.475 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:41:57 -0400 (0:00:00.118) 0:00:36.594 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:41:57 -0400 (0:00:00.119) 0:00:36.713 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:41:57 -0400 (0:00:00.159) 0:00:36.873 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:41:57 -0400 (0:00:00.071) 0:00:36.944 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:41:57 -0400 (0:00:00.108) 0:00:37.053 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:41:57 -0400 (0:00:00.098) 0:00:37.151 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:41:58 -0400 (0:00:00.644) 0:00:37.796 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:41:58 -0400 (0:00:00.122) 0:00:37.918 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:41:58 -0400 (0:00:00.128) 0:00:38.046 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:41:58 -0400 (0:00:00.087) 0:00:38.134 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "LST-TST-br34", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 8a59ba51-e440-499d-9222-cf710396fe2b [004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 8a59ba51-e440-499d-9222-cf710396fe2b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:41:59 -0400 (0:00:00.744) 0:00:38.878 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:41:59 -0400 (0:00:00.112) 0:00:38.990 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 8a59ba51-e440-499d-9222-cf710396fe2b", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 8a59ba51-e440-499d-9222-cf710396fe2b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:41:59 -0400 (0:00:00.105) 0:00:39.096 **** ok: [managed_node2] => { "__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": "LST-TST-br34", "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, 'LST-TST-br34': add connection LST-TST-br34, 8a59ba51-e440-499d-9222-cf710396fe2b\n[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 8a59ba51-e440-499d-9222-cf710396fe2b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LST-TST-br34': add connection LST-TST-br34, 8a59ba51-e440-499d-9222-cf710396fe2b", "[004] #0, state:up persistent_state:present, 'LST-TST-br34': up connection LST-TST-br34, 8a59ba51-e440-499d-9222-cf710396fe2b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:41:59 -0400 (0:00:00.074) 0:00:39.170 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:41:59 -0400 (0:00:00.066) 0:00:39.237 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:50 Saturday 14 September 2024 08:41:59 -0400 (0:00:00.309) 0:00:39.547 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 September 2024 08:42:00 -0400 (0:00:00.131) 0:00:39.679 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:42:00 -0400 (0:00:00.114) 0:00:39.794 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726317700.5449402, "block_size": 4096, "blocks": 0, "ctime": 1726317700.5439403, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17065, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LST-TST-br34", "lnk_target": "../../devices/virtual/net/LST-TST-br34", "mode": "0777", "mtime": 1726317700.5439403, "nlink": 1, "path": "/sys/class/net/LST-TST-br34", "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 - 'LST-TST-br34'] ******************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 September 2024 08:42:00 -0400 (0:00:00.692) 0:00:40.486 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'remove+down_profile.yml'] ****************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:52 Saturday 14 September 2024 08:42:01 -0400 (0:00:00.146) 0:00:40.633 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 14 September 2024 08:42:01 -0400 (0:00:00.227) 0:00:40.861 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 14 September 2024 08:42:01 -0400 (0:00:00.196) 0:00:41.057 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 14 September 2024 08:42:01 -0400 (0:00:00.260) 0:00:41.317 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 14 September 2024 08:42:01 -0400 (0:00:00.141) 0:00:41.459 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 14 September 2024 08:42:02 -0400 (0:00:00.124) 0:00:41.583 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 14 September 2024 08:42:02 -0400 (0:00:00.215) 0:00:41.799 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 14 September 2024 08:42:03 -0400 (0:00:01.188) 0:00:42.987 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 14 September 2024 08:42:05 -0400 (0:00:01.938) 0:00:44.926 **** ok: [managed_node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 14 September 2024 08:42:05 -0400 (0:00:00.140) 0:00:45.067 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 14 September 2024 08:42:05 -0400 (0:00:00.110) 0:00:45.177 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 14 September 2024 08:42:05 -0400 (0:00:00.114) 0:00:45.292 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 14 September 2024 08:42:05 -0400 (0:00:00.114) 0:00:45.406 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 14 September 2024 08:42:05 -0400 (0:00:00.103) 0:00:45.510 **** skipping: [managed_node2] => { "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] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 14 September 2024 08:42:06 -0400 (0:00:00.124) 0:00:45.635 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 14 September 2024 08:42:06 -0400 (0:00:00.122) 0:00:45.757 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 14 September 2024 08:42:06 -0400 (0:00:00.226) 0:00:45.984 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 14 September 2024 08:42:06 -0400 (0:00:00.108) 0:00:46.093 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 14 September 2024 08:42:06 -0400 (0:00:00.107) 0:00:46.200 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 14 September 2024 08:42:06 -0400 (0:00:00.117) 0:00:46.318 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 14 September 2024 08:42:07 -0400 (0:00:00.838) 0:00:47.156 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 14 September 2024 08:42:07 -0400 (0:00:00.183) 0:00:47.340 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 14 September 2024 08:42:07 -0400 (0:00:00.107) 0:00:47.448 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 14 September 2024 08:42:08 -0400 (0:00:00.155) 0:00:47.603 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LST-TST-br34", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 14 September 2024 08:42:09 -0400 (0:00:01.101) 0:00:48.704 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 14 September 2024 08:42:09 -0400 (0:00:00.191) 0:00:48.895 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 14 September 2024 08:42:09 -0400 (0:00:00.120) 0:00:49.016 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LST-TST-br34", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 14 September 2024 08:42:09 -0400 (0:00:00.116) 0:00:49.133 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 14 September 2024 08:42:09 -0400 (0:00:00.209) 0:00:49.342 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:57 Saturday 14 September 2024 08:42:10 -0400 (0:00:00.682) 0:00:50.025 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 14 September 2024 08:42:10 -0400 (0:00:00.377) 0:00:50.403 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:42:11 -0400 (0:00:00.309) 0:00:50.712 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726317700.5449402, "block_size": 4096, "blocks": 0, "ctime": 1726317700.5439403, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17065, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LST-TST-br34", "lnk_target": "../../devices/virtual/net/LST-TST-br34", "mode": "0777", "mtime": 1726317700.5439403, "nlink": 1, "path": "/sys/class/net/LST-TST-br34", "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 - 'LST-TST-br34'] ******************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 14 September 2024 08:42:11 -0400 (0:00:00.524) 0:00:51.237 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:59 Saturday 14 September 2024 08:42:11 -0400 (0:00:00.132) 0:00:51.370 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 14 September 2024 08:42:12 -0400 (0:00:00.321) 0:00:51.691 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "del", "LST-TST-br34" ], "delta": "0:00:00.012078", "end": "2024-09-14 08:42:12.423353", "rc": 0, "start": "2024-09-14 08:42:12.411275" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:61 Saturday 14 September 2024 08:42:12 -0400 (0:00:00.512) 0:00:52.204 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 14 September 2024 08:42:12 -0400 (0:00:00.270) 0:00:52.474 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface LST-TST-br34] ************************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 14 September 2024 08:42:13 -0400 (0:00:00.274) 0:00:52.749 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LST-TST-br34'] ******************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 14 September 2024 08:42:13 -0400 (0:00:00.378) 0:00:53.128 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:63 Saturday 14 September 2024 08:42:13 -0400 (0:00:00.082) 0:00:53.210 **** included: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 14 September 2024 08:42:13 -0400 (0:00:00.160) 0:00:53.371 **** ok: [managed_node2] => { "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.006964", "end": "2024-09-14 08:42:14.067999", "rc": 0, "start": "2024-09-14 08:42:14.061035" } 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:75:82:e9:21:c7 brd ff:ff:ff:ff:ff:ff inet 10.31.42.252/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3194sec preferred_lft 3194sec inet6 fe80::c75:82ff:fee9:21c7/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 0a:81:e0:5a:30:d1 brd ff:ff:ff:ff:ff:ff 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.42.252 metric 100 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 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] ************************************* task path: /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 14 September 2024 08:42:14 -0400 (0:00:00.374) 0:00:53.746 **** ok: [managed_node2] => { "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.420324", "end": "2024-09-14 08:42:14.894605", "rc": 0, "start": "2024-09-14 08:42:14.474281" } STDOUT: CHECK DNS AND CONNECTIVITY 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.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2620:52:3:1:dead:beef:cafe:fed7 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 1874 0 --:--:-- --:--:-- --:--:-- 1882 % 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 1217 0 --:--:-- --:--:-- --:--:-- 1222 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=78 changed=5 unreachable=0 failed=0 skipped=72 rescued=0 ignored=0 Saturday 14 September 2024 08:42:14 -0400 (0:00:00.753) 0:00:54.500 **** =============================================================================== Gathering Facts --------------------------------------------------------- 5.56s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_switch_provider.yml:5 fedora.linux_system_roles.network : Check which packages are installed --- 1.94s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.80s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.19s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.19s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.13s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.10s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.93s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tests_switch_provider.yml:3 Install yum-utils package ----------------------------------------------- 0.86s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Verify DNS and network connectivity ------------------------------------- 0.75s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.74s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Get stat for interface LST-TST-br34 ------------------------------------- 0.69s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.68s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.64s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Get stat for interface LST-TST-br34 ------------------------------------- 0.52s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Remove test interface if necessary -------------------------------------- 0.51s /tmp/collections-K55/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3