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_initscripts.yml *********************************** 2 plays in /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Wednesday 23 October 2024 14:15:28 -0400 (0:00:00.042) 0:00:00.042 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Wednesday 23 October 2024 14:15:29 -0400 (0:00:01.306) 0:00:01.349 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.050) 0:00:01.400 ***** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.575) 0:00:01.975 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.721) 0:00:02.697 ***** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.100) 0:00:02.797 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.205) 0:00:03.003 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.288) 0:00:03.291 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 23 October 2024 14:15:32 -0400 (0:00:00.683) 0:00:03.975 ***** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 23 October 2024 14:15:33 -0400 (0:00:00.867) 0:00:04.843 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177129", "end": "2024-10-23 14:15:33.891348", "rc": 0, "start": "2024-10-23 14:15:33.714219" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 23 October 2024 14:15:33 -0400 (0:00:00.607) 0:00:05.450 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 23 October 2024 14:15:34 -0400 (0:00:00.041) 0:00:05.492 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Wednesday 23 October 2024 14:15:34 -0400 (0:00:00.040) 0:00:05.532 ***** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 23 October 2024 14:15:34 -0400 (0:00:00.058) 0:00:05.590 ***** ok: [managed-node2] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 23 October 2024 14:15:34 -0400 (0:00:00.585) 0:00:06.176 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:15:34 -0400 (0:00:00.092) 0:00:06.268 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:15:34 -0400 (0:00:00.076) 0:00:06.345 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003984", "end": "2024-10-23 14:15:36.290589", "rc": 0, "start": "2024-10-23 14:15:35.286605" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:15:36 -0400 (0:00:01.482) 0:00:07.828 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.068) 0:00:07.896 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.057) 0:00:07.953 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.154) 0:00:08.108 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.039) 0:00:08.147 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.092) 0:00:08.239 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.086) 0:00:08.326 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.141) 0:00:08.468 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003594", "end": "2024-10-23 14:15:37.512602", "rc": 0, "start": "2024-10-23 14:15:37.509008" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.601) 0:00:09.070 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.046) 0:00:09.116 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.048) 0:00:09.164 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.661) 0:00:09.825 ***** ok: [managed-node2] => (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.006266", "end": "2024-10-23 14:15:38.639542", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-10-23 14:15:38.633276" } ok: [managed-node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004004", "end": "2024-10-23 14:15:39.120012", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-10-23 14:15:39.116008" } ok: [managed-node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004936", "end": "2024-10-23 14:15:39.592580", "item": "ip link set veth0 up", "rc": 0, "start": "2024-10-23 14:15:39.587644" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:15:39 -0400 (0:00:01.319) 0:00:11.145 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019479", "end": "2024-10-23 14:15:39.970809", "rc": 0, "start": "2024-10-23 14:15:39.951330" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.354) 0:00:11.499 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.043) 0:00:11.543 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.044) 0:00:11.587 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.043) 0:00:11.631 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.043) 0:00:11.674 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.043) 0:00:11.718 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.167) 0:00:11.886 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.055) 0:00:11.941 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729707338.639692, "block_size": 4096, "blocks": 0, "ctime": 1729707338.639692, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17799, "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": 1729707338.639692, "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/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.561) 0:00:12.503 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.067) 0:00:12.570 ***** ok: [managed-node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.048) 0:00:12.618 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.223) 0:00:12.842 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.048) 0:00:12.890 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.046) 0:00:12.937 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.047) 0:00:12.985 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:42 -0400 (0:00:01.232) 0:00:14.217 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:44 -0400 (0:00:01.857) 0:00:16.075 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.120) 0:00:16.195 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.115) 0:00:16.310 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.111) 0:00:16.422 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.103) 0:00:16.526 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.098) 0:00:16.624 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.134) 0:00:16.758 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.129) 0:00:16.888 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.195) 0:00:17.084 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.113) 0:00:17.198 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.244) 0:00:17.442 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.126) 0:00:17.569 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.146) 0:00:17.716 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.138) 0:00:17.854 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:47 -0400 (0:00:01.062) 0:00:18.917 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2283IBv0b6/tmpvoPM4L" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:48 -0400 (0:00:00.619) 0:00:19.537 ***** changed: [managed-node2] => { "_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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state ', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:55 -0400 (0:00:07.532) 0:00:27.069 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.171) 0:00:27.241 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.125) 0:00:27.366 ***** ok: [managed-node2] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.137) 0:00:27.504 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.122) 0:00:27.626 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 23 October 2024 14:15:56 -0400 (0:00:00.697) 0:00:28.324 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.536) 0:00:28.861 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:57 -0400 (0:00:00.353) 0:00:29.214 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729707340.932689, "block_size": 4096, "blocks": 0, "ctime": 1729707338.639692, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17799, "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": 1729707338.639692, "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/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.718) 0:00:29.933 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.123) 0:00:30.056 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.251) 0:00:30.308 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.198) 0:00:30.507 ***** ok: [managed-node2] => { "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/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.182) 0:00:30.690 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729707349.3556776, "block_size": 4096, "blocks": 8, "ctime": 1729707349.3446774, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729707349.3446774, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "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/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.520) 0:00:31.210 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.131) 0:00:31.342 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019467", "end": "2024-10-23 14:16:00.153303", "rc": 1, "start": "2024-10-23 14:16:00.133836" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.381) 0:00:31.723 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.107) 0:00:31.831 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002867", "end": "2024-10-23 14:16:00.668878", "rc": 0, "start": "2024-10-23 14:16:00.666011" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.601) 0:00:32.433 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:16:01 -0400 (0:00:00.157) 0:00:32.590 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003131", "end": "2024-10-23 14:16:01.495162", "rc": 0, "start": "2024-10-23 14:16:01.492031" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:16:01 -0400 (0:00:00.681) 0:00:33.271 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 14:16:02 -0400 (0:00:00.234) 0:00:33.506 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 14:16:02 -0400 (0:00:00.180) 0:00:33.686 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 14:16:02 -0400 (0:00:00.215) 0:00:33.901 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 23 October 2024 14:16:02 -0400 (0:00:00.223) 0:00:34.125 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003080", "end": "2024-10-23 14:16:03.213260", "rc": 0, "start": "2024-10-23 14:16:03.210180" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.211 metric 100 169.254.0.0/16 dev veth0 scope link metric 1041 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.691) 0:00:34.816 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.119) 0:00:34.936 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003053", "end": "2024-10-23 14:16:03.734679", "rc": 0, "start": "2024-10-23 14:16:03.731626" } 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 256 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.413) 0:00:35.350 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.117) 0:00:35.467 ***** ok: [managed-node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.315) 0:00:35.782 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.287) 0:00:36.069 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.135) 0:00:36.205 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.086) 0:00:36.291 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:04 -0400 (0:00:00.087) 0:00:36.379 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:05 -0400 (0:00:01.002) 0:00:37.382 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:07 -0400 (0:00:01.625) 0:00:39.007 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.127) 0:00:39.135 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.147) 0:00:39.283 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.119) 0:00:39.402 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.243) 0:00:39.645 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.175) 0:00:39.821 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.133) 0:00:39.954 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.109) 0:00:40.064 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.184) 0:00:40.248 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.120) 0:00:40.369 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:09 -0400 (0:00:00.100) 0:00:40.469 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:09 -0400 (0:00:00.092) 0:00:40.562 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:09 -0400 (0:00:00.110) 0:00:40.673 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:09 -0400 (0:00:00.122) 0:00:40.795 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:10 -0400 (0:00:00.744) 0:00:41.539 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2283IBv0b6/tmpPPZNqc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:10 -0400 (0:00:00.867) 0:00:42.406 ***** changed: [managed-node2] => { "_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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.903) 0:00:43.310 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.129) 0:00:43.440 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.181) 0:00:43.622 ***** ok: [managed-node2] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.142) 0:00:43.764 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.140) 0:00:43.905 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.495) 0:00:44.400 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:16:13 -0400 (0:00:00.455) 0:00:44.855 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:16:13 -0400 (0:00:00.134) 0:00:44.990 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:16:13 -0400 (0:00:00.132) 0:00:45.122 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:16:13 -0400 (0:00:00.285) 0:00:45.407 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.302) 0:00:45.710 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002942", "end": "2024-10-23 14:16:14.539325", "rc": 0, "start": "2024-10-23 14:16:14.536383" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.446) 0:00:46.156 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.122) 0:00:46.279 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.134) 0:00:46.413 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.988) 0:00:47.402 ***** skipping: [managed-node2] => (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-node2] => (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-node2] => (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/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.160) 0:00:47.563 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.130) 0:00:47.693 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008961", "end": "2024-10-23 14:16:16.517866", "rc": 0, "start": "2024-10-23 14:16:16.508905" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.408) 0:00:48.101 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.122) 0:00:48.224 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.247) 0:00:48.471 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.149) 0:00:48.621 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.120) 0:00:48.741 ***** ok: [managed-node2] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.166) 0:00:48.908 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.344) 0:00:49.253 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.117) 0:00:49.370 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:16:18 -0400 (0:00:00.122) 0:00:49.493 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:16:18 -0400 (0:00:00.183) 0:00:49.676 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:16:18 -0400 (0:00:00.166) 0:00:49.843 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002932", "end": "2024-10-23 14:16:18.812788", "rc": 0, "start": "2024-10-23 14:16:18.809856" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.713) 0:00:50.556 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.149) 0:00:50.705 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:16:19 -0400 (0:00:00.117) 0:00:50.823 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:16:20 -0400 (0:00:00.955) 0:00:51.778 ***** ok: [managed-node2] => (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.009837", "end": "2024-10-23 14:16:20.685572", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-10-23 14:16:20.675735" } ok: [managed-node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004036", "end": "2024-10-23 14:16:21.050281", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-10-23 14:16:21.046245" } ok: [managed-node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005437", "end": "2024-10-23 14:16:21.543231", "item": "ip link set veth0 up", "rc": 0, "start": "2024-10-23 14:16:21.537794" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:16:21 -0400 (0:00:01.378) 0:00:53.157 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020726", "end": "2024-10-23 14:16:22.032003", "rc": 0, "start": "2024-10-23 14:16:22.011277" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.466) 0:00:53.624 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.096) 0:00:53.721 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.150) 0:00:53.872 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.150) 0:00:54.022 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.220) 0:00:54.243 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.187) 0:00:54.431 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.451) 0:00:54.882 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.177) 0:00:55.060 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.126) 0:00:55.186 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.134) 0:00:55.320 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:24 -0400 (0:00:01.117) 0:00:56.438 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:26 -0400 (0:00:01.659) 0:00:58.097 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:26 -0400 (0:00:00.138) 0:00:58.236 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:26 -0400 (0:00:00.157) 0:00:58.393 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.131) 0:00:58.525 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.133) 0:00:58.659 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.120) 0:00:58.779 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.112) 0:00:58.892 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.103) 0:00:58.995 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.201) 0:00:59.197 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.137) 0:00:59.334 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:27 -0400 (0:00:00.129) 0:00:59.464 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:28 -0400 (0:00:00.125) 0:00:59.590 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:28 -0400 (0:00:00.130) 0:00:59.720 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:28 -0400 (0:00:00.170) 0:00:59.891 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.925) 0:01:00.817 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2283IBv0b6/tmpmrGjVr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.509) 0:01:01.326 ***** changed: [managed-node2] => { "_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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state ', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:36 -0400 (0:00:07.127) 0:01:08.454 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.144) 0:01:08.599 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.171) 0:01:08.770 ***** ok: [managed-node2] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.171) 0:01:08.941 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.127) 0:01:09.069 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.443) 0:01:09.512 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.495) 0:01:10.008 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.180) 0:01:10.189 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729707390.659621, "block_size": 4096, "blocks": 0, "ctime": 1729707380.6836348, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17801, "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": 1729707380.6836348, "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/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:16:39 -0400 (0:00:00.457) 0:01:10.646 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Wednesday 23 October 2024 14:16:39 -0400 (0:00:00.137) 0:01:10.784 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 14:16:39 -0400 (0:00:00.553) 0:01:11.337 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.267) 0:01:11.605 ***** ok: [managed-node2] => { "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/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.230) 0:01:11.836 ***** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1729707390.671621, "block_size": 4096, "blocks": 8, "ctime": 1729707390.661621, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729707390.661621, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "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/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.536) 0:01:12.372 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.121) 0:01:12.494 ***** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019779", "end": "2024-10-23 14:16:41.418693", "rc": 1, "start": "2024-10-23 14:16:41.398914" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.551) 0:01:13.045 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.160) 0:01:13.206 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003133", "end": "2024-10-23 14:16:42.036839", "rc": 0, "start": "2024-10-23 14:16:42.033706" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:16:42 -0400 (0:00:00.507) 0:01:13.713 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:16:42 -0400 (0:00:00.101) 0:01:13.815 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002864", "end": "2024-10-23 14:16:42.684478", "rc": 0, "start": "2024-10-23 14:16:42.681614" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:16:42 -0400 (0:00:00.501) 0:01:14.316 ***** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 14:16:42 -0400 (0:00:00.142) 0:01:14.459 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 14:16:43 -0400 (0:00:00.218) 0:01:14.677 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 14:16:43 -0400 (0:00:00.257) 0:01:14.935 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Wednesday 23 October 2024 14:16:43 -0400 (0:00:00.153) 0:01:15.089 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002852", "end": "2024-10-23 14:16:43.941853", "rc": 0, "start": "2024-10-23 14:16:43.939001" } 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.211 metric 100 169.254.0.0/16 dev veth0 scope link metric 1043 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Wednesday 23 October 2024 14:16:44 -0400 (0:00:00.610) 0:01:15.700 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 23 October 2024 14:16:44 -0400 (0:00:00.279) 0:01:15.979 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002922", "end": "2024-10-23 14:16:44.916583", "rc": 0, "start": "2024-10-23 14:16:44.913661" } 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 256 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.553) 0:01:16.533 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.140) 0:01:16.673 ***** ok: [managed-node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.154) 0:01:16.828 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.264) 0:01:17.093 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.180) 0:01:17.273 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:45 -0400 (0:00:00.137) 0:01:17.411 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.126) 0:01:17.537 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:47 -0400 (0:00:01.389) 0:01:18.927 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:49 -0400 (0:00:01.734) 0:01:20.662 ***** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.228) 0:01:20.890 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.131) 0:01:21.022 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.146) 0:01:21.168 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.153) 0:01:21.322 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.131) 0:01:21.454 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:50 -0400 (0:00:00.142) 0:01:21.596 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:50 -0400 (0:00:00.141) 0:01:21.737 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:50 -0400 (0:00:00.199) 0:01:21.937 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:50 -0400 (0:00:00.254) 0:01:22.191 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:50 -0400 (0:00:00.124) 0:01:22.315 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.181) 0:01:22.497 ***** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.142) 0:01:22.639 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.175) 0:01:22.814 ***** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.571) 0:01:23.386 ***** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2283IBv0b6/tmpNA3KTF" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.613) 0:01:23.999 ***** changed: [managed-node2] => { "_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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:53 -0400 (0:00:01.203) 0:01:25.202 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:53 -0400 (0:00:00.200) 0:01:25.402 ***** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.199) 0:01:25.602 ***** ok: [managed-node2] => { "__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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.159) 0:01:25.761 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.161) 0:01:25.923 ***** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.460) 0:01:26.384 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.654) 0:01:27.038 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.146) 0:01:27.185 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 14:16:55 -0400 (0:00:00.132) 0:01:27.317 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:16:56 -0400 (0:00:00.201) 0:01:27.518 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:16:56 -0400 (0:00:00.230) 0:01:27.749 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002967", "end": "2024-10-23 14:16:56.640171", "rc": 0, "start": "2024-10-23 14:16:56.637204" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:16:56 -0400 (0:00:00.616) 0:01:28.366 ***** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:16:57 -0400 (0:00:00.179) 0:01:28.545 ***** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 14:16:57 -0400 (0:00:00.133) 0:01:28.679 ***** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 14:16:58 -0400 (0:00:00.806) 0:01:29.486 ***** skipping: [managed-node2] => (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-node2] => (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-node2] => (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/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 14:16:58 -0400 (0:00:00.290) 0:01:29.776 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 14:16:58 -0400 (0:00:00.155) 0:01:29.932 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.007013", "end": "2024-10-23 14:16:58.760289", "rc": 0, "start": "2024-10-23 14:16:58.753276" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 14:16:58 -0400 (0:00:00.488) 0:01:30.421 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.150) 0:01:30.571 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.119) 0:01:30.691 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.121) 0:01:30.813 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.117) 0:01:30.931 ***** included: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.539) 0:01:31.470 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006885", "end": "2024-10-23 14:17:00.296914", "rc": 0, "start": "2024-10-23 14:17:00.290029" } 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:3a:05:b2:80:79 brd ff:ff:ff:ff:ff:ff inet 10.31.46.211/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3253sec preferred_lft 3253sec inet6 fe80::3a:5ff:feb2:8079/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 62:67:14:3f:71:c9 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.211 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.399) 0:01:31.870 ***** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.623375", "end": "2024-10-23 14:17:01.304997", "rc": 0, "start": "2024-10-23 14:17:00.681622" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 816 0 --:--:-- --:--:-- --:--:-- 815 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1384 0 --:--:-- --:--:-- --:--:-- 1385 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=141 changed=4 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Wednesday 23 October 2024 14:17:01 -0400 (0:00:01.036) 0:01:32.906 ***** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 7.53s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 7.13s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 1.86s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.48s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.39s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Create veth interface veth0 --------------------------------------------- 1.38s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 1.32s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.31s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Check which services are running ---- 1.23s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.20s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which services are running ---- 1.12s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Enable network service -------------- 1.06s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Verify DNS and network connectivity ------------------------------------- 1.04s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 1.00s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 0.99s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.96s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Enable network service -------------- 0.93s /tmp/collections-acj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142