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_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 Saturday 27 July 2024 08:54:07 -0400 (0:00:00.021) 0:00:00.021 ********* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:9 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.824) 0:00:00.846 ********* included: /tmp/tmp.GvbD6CouWr/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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 27 July 2024 08:54:08 -0400 (0:00:00.027) 0:00:00.873 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.399) 0:00:01.273 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.377) 0:00:01.651 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.043) 0:00:01.695 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.038) 0:00:01.733 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 27 July 2024 08:54:09 -0400 (0:00:00.069) 0:00:01.803 ********* 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] *********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 27 July 2024 08:54:10 -0400 (0:00:00.405) 0:00:02.209 ********* ok: [managed_node1] => { "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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 27 July 2024 08:54:10 -0400 (0:00:00.648) 0:00:02.857 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.165664", "end": "2024-07-27 08:54:11.145048", "rc": 0, "start": "2024-07-27 08:54:10.979384" } 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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.449) 0:00:03.306 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.021) 0:00:03.328 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:11 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.022) 0:00:03.350 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.023) 0:00:03.374 ********* ok: [managed_node1] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.533) 0:00:03.907 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.059) 0:00:03.967 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:54:11 -0400 (0:00:00.029) 0:00:03.996 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.006902", "end": "2024-07-27 08:54:13.134653", "rc": 0, "start": "2024-07-27 08:54:12.127751" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:54:13 -0400 (0:00:01.298) 0:00:05.294 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.024) 0:00:05.318 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.023) 0:00:05.342 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.101) 0:00:05.444 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.022) 0:00:05.467 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.020) 0:00:05.488 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.030) 0:00:05.518 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.030) 0:00:05.549 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003171", "end": "2024-07-27 08:54:13.666551", "rc": 0, "start": "2024-07-27 08:54:13.663380" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.276) 0:00:05.825 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.023) 0:00:05.849 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 27 July 2024 08:54:13 -0400 (0:00:00.024) 0:00:05.873 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 27 July 2024 08:54:14 -0400 (0:00:00.468) 0:00:06.341 ********* ok: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.008956", "end": "2024-07-27 08:54:14.482731", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-27 08:54:14.473775" } ok: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004357", "end": "2024-07-27 08:54:14.761498", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-27 08:54:14.757141" } ok: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005330", "end": "2024-07-27 08:54:15.030524", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-27 08:54:15.025194" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.848) 0:00:07.190 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025683", "end": "2024-07-27 08:54:15.333628", "rc": 0, "start": "2024-07-27 08:54:15.307945" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.310) 0:00:07.501 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.022) 0:00:07.523 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.022) 0:00:07.546 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.022) 0:00:07.569 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.027) 0:00:07.596 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.021) 0:00:07.618 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.068) 0:00:07.686 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.030) 0:00:07.716 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084854.4832833, "block_size": 4096, "blocks": 0, "ctime": 1722084854.4832833, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17774, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1722084854.4832833, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.316) 0:00:08.033 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.028) 0:00:08.061 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:54:15 -0400 (0:00:00.022) 0:00:08.083 ********* included: /tmp/tmp.GvbD6CouWr/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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:54:16 -0400 (0:00:00.043) 0:00:08.126 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:54:16 -0400 (0:00:00.022) 0:00:08.149 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:54:16 -0400 (0:00:00.020) 0:00:08.170 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:54:16 -0400 (0:00:00.022) 0:00:08.193 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:17 -0400 (0:00:00.946) 0:00:09.139 ********* 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] ************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:18 -0400 (0:00:01.481) 0:00:10.621 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.064) 0:00:10.685 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.059) 0:00:10.744 ********* skipping: [managed_node1] => { "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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.058) 0:00:10.803 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.059) 0:00:10.863 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.061) 0:00:10.924 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.067) 0:00:10.992 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:18 -0400 (0:00:00.067) 0:00:11.059 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.106) 0:00:11.165 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.060) 0:00:11.226 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.061) 0:00:11.287 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.064) 0:00:11.351 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.688) 0:00:12.040 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:19 -0400 (0:00:00.066) 0:00:12.106 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:20 -0400 (0:00:00.061) 0:00:12.167 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:20 -0400 (0:00:00.058) 0:00:12.226 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 07c9a7ea-4bfb-4f58-a53f-e262835f91d2 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 07c9a7ea-4bfb-4f58-a53f-e262835f91d2 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.997) 0:00:13.223 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.059) 0:00:13.283 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 07c9a7ea-4bfb-4f58-a53f-e262835f91d2", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 07c9a7ea-4bfb-4f58-a53f-e262835f91d2 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.063) 0:00:13.347 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 07c9a7ea-4bfb-4f58-a53f-e262835f91d2\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 07c9a7ea-4bfb-4f58-a53f-e262835f91d2 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 07c9a7ea-4bfb-4f58-a53f-e262835f91d2", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 07c9a7ea-4bfb-4f58-a53f-e262835f91d2 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.064) 0:00:13.411 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.060) 0:00:13.472 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.414) 0:00:13.886 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 27 July 2024 08:54:21 -0400 (0:00:00.146) 0:00:14.033 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:54:22 -0400 (0:00:00.103) 0:00:14.136 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084855.8722908, "block_size": 4096, "blocks": 0, "ctime": 1722084854.4832833, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17774, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1722084854.4832833, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 27 July 2024 08:54:22 -0400 (0:00:00.327) 0:00:14.464 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Saturday 27 July 2024 08:54:22 -0400 (0:00:00.065) 0:00:14.530 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 July 2024 08:54:22 -0400 (0:00:00.194) 0:00:14.725 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 08:54:22 -0400 (0:00:00.111) 0:00:14.836 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 08:54:22 -0400 (0:00:00.064) 0:00:14.900 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084860.9903185, "block_size": 4096, "blocks": 8, "ctime": 1722084860.9063182, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22481, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722084860.9063182, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 403, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 08:54:23 -0400 (0:00:00.327) 0:00:15.228 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 08:54:23 -0400 (0:00:00.066) 0:00:15.294 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024578", "end": "2024-07-27 08:54:23.448078", "rc": 0, "start": "2024-07-27 08:54:23.423500" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 08:54:23 -0400 (0:00:00.350) 0:00:15.644 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 08:54:23 -0400 (0:00:00.068) 0:00:15.713 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 08:54:23 -0400 (0:00:00.067) 0:00:15.780 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 08:54:23 -0400 (0:00:00.066) 0:00:15.847 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 08:54:23 -0400 (0:00:00.068) 0:00:15.916 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 July 2024 08:54:23 -0400 (0:00:00.065) 0:00:15.981 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 July 2024 08:54:23 -0400 (0:00:00.068) 0:00:16.050 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 July 2024 08:54:24 -0400 (0:00:00.069) 0:00:16.119 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Saturday 27 July 2024 08:54:24 -0400 (0:00:00.066) 0:00:16.186 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003505", "end": "2024-07-27 08:54:24.315423", "rc": 0, "start": "2024-07-27 08:54:24.311918" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.206 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Saturday 27 July 2024 08:54:24 -0400 (0:00:00.330) 0:00:16.516 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Saturday 27 July 2024 08:54:24 -0400 (0:00:00.066) 0:00:16.583 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003262", "end": "2024-07-27 08:54:24.715310", "rc": 0, "start": "2024-07-27 08:54:24.712048" } STDOUT: 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 2001:db8::/64 dev veth0 proto kernel metric 101 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 veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Saturday 27 July 2024 08:54:24 -0400 (0:00:00.326) 0:00:16.910 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Saturday 27 July 2024 08:54:24 -0400 (0:00:00.070) 0:00:16.981 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:54:24 -0400 (0:00:00.060) 0:00:17.041 ********* included: /tmp/tmp.GvbD6CouWr/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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.115) 0:00:17.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] *********** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.081) 0:00:17.237 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.062) 0:00:17.300 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:54:25 -0400 (0:00:00.061) 0:00:17.361 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:26 -0400 (0:00:00.880) 0:00:18.241 ********* 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] ************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:27 -0400 (0:00:01.223) 0:00:19.465 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.067) 0:00:19.533 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.060) 0:00:19.594 ********* skipping: [managed_node1] => { "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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.062) 0:00:19.656 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.061) 0:00:19.718 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.063) 0:00:19.781 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.068) 0:00:19.850 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.068) 0:00:19.918 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.110) 0:00:20.028 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:27 -0400 (0:00:00.060) 0:00:20.089 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.061) 0:00:20.151 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.068) 0:00:20.219 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.497) 0:00:20.716 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.069) 0:00:20.786 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.063) 0:00:20.850 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:28 -0400 (0:00:00.062) 0:00:20.912 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:29 -0400 (0:00:00.694) 0:00:21.607 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:29 -0400 (0:00:00.060) 0:00:21.667 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:29 -0400 (0:00:00.065) 0:00:21.733 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:29 -0400 (0:00:00.065) 0:00:21.798 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:29 -0400 (0:00:00.062) 0:00:21.861 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Saturday 27 July 2024 08:54:30 -0400 (0:00:00.386) 0:00:22.247 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 27 July 2024 08:54:30 -0400 (0:00:00.156) 0:00:22.404 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 27 July 2024 08:54:30 -0400 (0:00:00.061) 0:00:22.466 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 27 July 2024 08:54:30 -0400 (0:00:00.059) 0:00:22.526 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:54:30 -0400 (0:00:00.165) 0:00:22.691 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:54:30 -0400 (0:00:00.107) 0:00:22.798 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003216", "end": "2024-07-27 08:54:30.932472", "rc": 0, "start": "2024-07-27 08:54:30.929256" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:54:31 -0400 (0:00:00.332) 0:00:23.131 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:54:31 -0400 (0:00:00.063) 0:00:23.195 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 27 July 2024 08:54:31 -0400 (0:00:00.066) 0:00:23.261 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 27 July 2024 08:54:31 -0400 (0:00:00.537) 0:00:23.799 ********* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 27 July 2024 08:54:31 -0400 (0:00:00.086) 0:00:23.885 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 27 July 2024 08:54:31 -0400 (0:00:00.061) 0:00:23.947 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011517", "end": "2024-07-27 08:54:32.085827", "rc": 0, "start": "2024-07-27 08:54:32.074310" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.345) 0:00:24.293 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.063) 0:00:24.356 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.065) 0:00:24.422 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.062) 0:00:24.484 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.062) 0:00:24.546 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.062) 0:00:24.608 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.211) 0:00:24.820 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.064) 0:00:24.885 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.060) 0:00:24.946 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:54:32 -0400 (0:00:00.107) 0:00:25.054 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:54:33 -0400 (0:00:00.103) 0:00:25.157 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003202", "end": "2024-07-27 08:54:33.284658", "rc": 0, "start": "2024-07-27 08:54:33.281456" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:54:33 -0400 (0:00:00.325) 0:00:25.483 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:54:33 -0400 (0:00:00.066) 0:00:25.549 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 27 July 2024 08:54:33 -0400 (0:00:00.063) 0:00:25.613 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 27 July 2024 08:54:34 -0400 (0:00:00.578) 0:00:26.191 ********* ok: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.015664", "end": "2024-07-27 08:54:34.336538", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-27 08:54:34.320874" } ok: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004269", "end": "2024-07-27 08:54:34.610912", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-27 08:54:34.606643" } ok: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005150", "end": "2024-07-27 08:54:34.890539", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-27 08:54:34.885389" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.956) 0:00:27.147 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.026462", "end": "2024-07-27 08:54:35.310588", "rc": 0, "start": "2024-07-27 08:54:35.284126" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.366) 0:00:27.514 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.067) 0:00:27.581 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.065) 0:00:27.647 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.068) 0:00:27.716 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.067) 0:00:27.783 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.062) 0:00:27.846 ********* included: /tmp/tmp.GvbD6CouWr/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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.121) 0:00:27.967 ********* 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] *********** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:54:35 -0400 (0:00:00.086) 0:00:28.054 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:54:36 -0400 (0:00:00.065) 0:00:28.119 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:54:36 -0400 (0:00:00.065) 0:00:28.185 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:36 -0400 (0:00:00.877) 0:00:29.063 ********* 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] ************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:38 -0400 (0:00:01.298) 0:00:30.361 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.069) 0:00:30.431 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.062) 0:00:30.494 ********* skipping: [managed_node1] => { "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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.063) 0:00:30.558 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.064) 0:00:30.622 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.061) 0:00:30.683 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.070) 0:00:30.754 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.067) 0:00:30.822 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.113) 0:00:30.935 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.064) 0:00:30.999 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:38 -0400 (0:00:00.061) 0:00:31.061 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:39 -0400 (0:00:00.130) 0:00:31.192 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:39 -0400 (0:00:00.453) 0:00:31.645 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:39 -0400 (0:00:00.070) 0:00:31.716 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:39 -0400 (0:00:00.061) 0:00:31.777 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:39 -0400 (0:00:00.065) 0:00:31.843 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cf25ffbc-c224-46ba-a3c0-1e51324a2069 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cf25ffbc-c224-46ba-a3c0-1e51324a2069 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:40 -0400 (0:00:00.640) 0:00:32.483 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:40 -0400 (0:00:00.061) 0:00:32.544 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cf25ffbc-c224-46ba-a3c0-1e51324a2069", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cf25ffbc-c224-46ba-a3c0-1e51324a2069 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:40 -0400 (0:00:00.068) 0:00:32.613 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cf25ffbc-c224-46ba-a3c0-1e51324a2069\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cf25ffbc-c224-46ba-a3c0-1e51324a2069 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, cf25ffbc-c224-46ba-a3c0-1e51324a2069", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, cf25ffbc-c224-46ba-a3c0-1e51324a2069 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:40 -0400 (0:00:00.066) 0:00:32.680 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:40 -0400 (0:00:00.061) 0:00:32.741 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Saturday 27 July 2024 08:54:40 -0400 (0:00:00.324) 0:00:33.066 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.159) 0:00:33.225 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.172) 0:00:33.398 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084880.1704245, "block_size": 4096, "blocks": 0, "ctime": 1722084874.334392, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17778, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1722084874.334392, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.361) 0:00:33.759 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.068) 0:00:33.828 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.159) 0:00:33.988 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 July 2024 08:54:41 -0400 (0:00:00.111) 0:00:34.099 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.065) 0:00:34.164 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722084880.290425, "block_size": 4096, "blocks": 8, "ctime": 1722084880.2154245, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22482, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722084880.2154245, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.324) 0:00:34.488 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.066) 0:00:34.555 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024677", "end": "2024-07-27 08:54:42.698523", "rc": 0, "start": "2024-07-27 08:54:42.673846" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.339) 0:00:34.894 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.067) 0:00:34.962 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.069) 0:00:35.032 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 July 2024 08:54:42 -0400 (0:00:00.068) 0:00:35.100 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.141) 0:00:35.242 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.070) 0:00:35.312 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.072) 0:00:35.384 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.068) 0:00:35.453 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.067) 0:00:35.520 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003617", "end": "2024-07-27 08:54:43.648525", "rc": 0, "start": "2024-07-27 08:54:43.644908" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.206 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.324) 0:00:35.845 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Saturday 27 July 2024 08:54:43 -0400 (0:00:00.069) 0:00:35.914 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003325", "end": "2024-07-27 08:54:44.041413", "rc": 0, "start": "2024-07-27 08:54:44.038088" } STDOUT: 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 2001:db8::/64 dev veth0 proto kernel metric 101 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 veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.326) 0:00:36.241 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.068) 0:00:36.309 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.062) 0:00:36.372 ********* included: /tmp/tmp.GvbD6CouWr/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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.118) 0:00:36.491 ********* 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] *********** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.085) 0:00:36.577 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.064) 0:00:36.641 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 27 July 2024 08:54:44 -0400 (0:00:00.061) 0:00:36.702 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 27 July 2024 08:54:45 -0400 (0:00:00.874) 0:00:37.577 ********* 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] ************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 27 July 2024 08:54:46 -0400 (0:00:01.167) 0:00:38.745 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.067) 0:00:38.813 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.063) 0:00:38.876 ********* skipping: [managed_node1] => { "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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.065) 0:00:38.941 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.061) 0:00:39.003 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 27 July 2024 08:54:46 -0400 (0:00:00.063) 0:00:39.067 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.069) 0:00:39.137 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.069) 0:00:39.206 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.183) 0:00:39.389 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.070) 0:00:39.460 ********* 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] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.067) 0:00:39.527 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.067) 0:00:39.595 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 27 July 2024 08:54:47 -0400 (0:00:00.492) 0:00:40.088 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 27 July 2024 08:54:48 -0400 (0:00:00.071) 0:00:40.160 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 27 July 2024 08:54:48 -0400 (0:00:00.066) 0:00:40.227 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 27 July 2024 08:54:48 -0400 (0:00:00.066) 0:00:40.293 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 27 July 2024 08:54:48 -0400 (0:00:00.718) 0:00:41.012 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 27 July 2024 08:54:48 -0400 (0:00:00.062) 0:00:41.074 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 27 July 2024 08:54:49 -0400 (0:00:00.067) 0:00:41.142 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 27 July 2024 08:54:49 -0400 (0:00:00.066) 0:00:41.209 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 27 July 2024 08:54:49 -0400 (0:00:00.063) 0:00:41.272 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Saturday 27 July 2024 08:54:49 -0400 (0:00:00.314) 0:00:41.586 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 27 July 2024 08:54:49 -0400 (0:00:00.231) 0:00:41.818 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 27 July 2024 08:54:49 -0400 (0:00:00.066) 0:00:41.884 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 27 July 2024 08:54:49 -0400 (0:00:00.062) 0:00:41.946 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 27 July 2024 08:54:49 -0400 (0:00:00.110) 0:00:42.057 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 July 2024 08:54:50 -0400 (0:00:00.108) 0:00:42.166 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003281", "end": "2024-07-27 08:54:50.297421", "rc": 0, "start": "2024-07-27 08:54:50.294140" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 July 2024 08:54:50 -0400 (0:00:00.335) 0:00:42.501 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 27 July 2024 08:54:50 -0400 (0:00:00.065) 0:00:42.567 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 27 July 2024 08:54:50 -0400 (0:00:00.069) 0:00:42.636 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 27 July 2024 08:54:51 -0400 (0:00:00.586) 0:00:43.223 ********* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 27 July 2024 08:54:51 -0400 (0:00:00.084) 0:00:43.308 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 27 July 2024 08:54:51 -0400 (0:00:00.065) 0:00:43.373 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010570", "end": "2024-07-27 08:54:51.514840", "rc": 0, "start": "2024-07-27 08:54:51.504270" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 27 July 2024 08:54:51 -0400 (0:00:00.416) 0:00:43.789 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 27 July 2024 08:54:51 -0400 (0:00:00.065) 0:00:43.855 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 27 July 2024 08:54:51 -0400 (0:00:00.065) 0:00:43.920 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 27 July 2024 08:54:51 -0400 (0:00:00.064) 0:00:43.984 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Saturday 27 July 2024 08:54:51 -0400 (0:00:00.063) 0:00:44.048 ********* included: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 27 July 2024 08:54:52 -0400 (0:00:00.165) 0:00:44.213 ********* 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.007034", "end": "2024-07-27 08:54:52.351770", "rc": 0, "start": "2024-07-27 08:54:52.344736" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:7d:fa:50:ae:2d brd ff:ff:ff:ff:ff:ff inet 10.31.46.206/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3439sec preferred_lft 3439sec inet6 fe80::7d:faff:fe50:ae2d/64 scope link valid_lft forever preferred_lft forever 10: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 96:fa:17:fe:e9:45 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.206 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/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 27 July 2024 08:54:52 -0400 (0:00:00.336) 0:00:44.549 ********* 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.471863", "end": "2024-07-27 08:54:53.167766", "rc": 0, "start": "2024-07-27 08:54:52.695903" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1474 0 --:--:-- --:--:-- --:--:-- 1480 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1191 0 --:--:-- --:--:-- --:--:-- 1187 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=133 changed=4 unreachable=0 failed=0 skipped=113 rescued=0 ignored=0 Saturday 27 July 2024 08:54:53 -0400 (0:00:00.775) 0:00:45.325 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.30s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.17s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.00s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Create veth interface veth0 --------------------------------------------- 0.96s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.88s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.88s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.87s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Create veth interface veth0 --------------------------------------------- 0.85s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 Verify DNS and network connectivity ------------------------------------- 0.78s /tmp/tmp.GvbD6CouWr/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.72s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.69s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Install yum-utils package ----------------------------------------------- 0.65s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Install iproute --------------------------------------------------------- 0.59s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.58s /tmp/tmp.GvbD6CouWr/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16