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-mYL/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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Friday 07 February 2025 15:32:29 -0500 (0:00:00.042) 0:00:00.042 ******* ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Friday 07 February 2025 15:32:30 -0500 (0:00:00.975) 0:00:01.017 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 07 February 2025 15:32:30 -0500 (0:00:00.045) 0:00:01.062 ******* ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 07 February 2025 15:32:31 -0500 (0:00:00.569) 0:00:01.632 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 07 February 2025 15:32:32 -0500 (0:00:00.829) 0:00:02.462 ******* ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 07 February 2025 15:32:32 -0500 (0:00:00.148) 0:00:02.610 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 07 February 2025 15:32:32 -0500 (0:00:00.115) 0:00:02.725 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 07 February 2025 15:32:32 -0500 (0:00:00.220) 0:00:02.946 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 07 February 2025 15:32:33 -0500 (0:00:00.649) 0:00:03.595 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 07 February 2025 15:32:34 -0500 (0:00:01.051) 0:00:04.647 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.172886", "end": "2025-02-07 15:32:34.856982", "rc": 0, "start": "2025-02-07 15:32:34.684096" } 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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 07 February 2025 15:32:34 -0500 (0:00:00.472) 0:00:05.120 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 07 February 2025 15:32:34 -0500 (0:00:00.037) 0:00:05.157 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Friday 07 February 2025 15:32:34 -0500 (0:00:00.033) 0:00:05.190 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Friday 07 February 2025 15:32:35 -0500 (0:00:00.038) 0:00:05.229 ******* ok: [managed-node3] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Friday 07 February 2025 15:32:35 -0500 (0:00:00.694) 0:00:05.924 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:32:35 -0500 (0:00:00.106) 0:00:06.031 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:32:35 -0500 (0:00:00.055) 0:00:06.086 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003322", "end": "2025-02-07 15:32:36.153962", "rc": 0, "start": "2025-02-07 15:32:36.150640" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:32:36 -0500 (0:00:00.335) 0:00:06.422 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:32:36 -0500 (0:00:00.039) 0:00:06.461 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Friday 07 February 2025 15:32:36 -0500 (0:00:00.040) 0:00:06.502 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:32:36 -0500 (0:00:00.134) 0:00:06.637 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:32:36 -0500 (0:00:00.035) 0:00:06.672 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:32:36 -0500 (0:00:00.035) 0:00:06.708 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:32:36 -0500 (0:00:00.072) 0:00:06.781 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:32:36 -0500 (0:00:00.048) 0:00:06.829 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2025-02-07 15:32:37.037172", "rc": 0, "start": "2025-02-07 15:32:37.033828" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:32:37 -0500 (0:00:00.472) 0:00:07.302 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:32:37 -0500 (0:00:00.043) 0:00:07.345 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:32:37 -0500 (0:00:00.040) 0:00:07.386 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:32:37 -0500 (0:00:00.583) 0:00:07.969 ******* ok: [managed-node3] => (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.007891", "end": "2025-02-07 15:32:38.124283", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2025-02-07 15:32:38.116392" } ok: [managed-node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004485", "end": "2025-02-07 15:32:38.448004", "item": "ip link set peerveth0 up", "rc": 0, "start": "2025-02-07 15:32:38.443519" } ok: [managed-node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005322", "end": "2025-02-07 15:32:38.734473", "item": "ip link set veth0 up", "rc": 0, "start": "2025-02-07 15:32:38.729151" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:32:38 -0500 (0:00:01.035) 0:00:09.005 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020037", "end": "2025-02-07 15:32:39.098079", "rc": 0, "start": "2025-02-07 15:32:39.078042" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:32:39 -0500 (0:00:00.358) 0:00:09.364 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:32:39 -0500 (0:00:00.049) 0:00:09.413 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:32:39 -0500 (0:00:00.055) 0:00:09.469 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:32:39 -0500 (0:00:00.056) 0:00:09.526 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:32:39 -0500 (0:00:00.086) 0:00:09.612 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Friday 07 February 2025 15:32:39 -0500 (0:00:00.074) 0:00:09.687 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:32:39 -0500 (0:00:00.225) 0:00:09.912 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:32:39 -0500 (0:00:00.051) 0:00:09.964 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960358.1253703, "block_size": 4096, "blocks": 0, "ctime": 1738960358.1253703, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17743, "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": 1738960358.1253703, "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:32:40 -0500 (0:00:00.425) 0:00:10.389 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Friday 07 February 2025 15:32:40 -0500 (0:00:00.043) 0:00:10.432 ******* ok: [managed-node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:32:40 -0500 (0:00:00.039) 0:00:10.471 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:32:40 -0500 (0:00:00.081) 0:00:10.553 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:32:40 -0500 (0:00:00.092) 0:00:10.646 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:32:40 -0500 (0:00:00.100) 0:00:10.746 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:32:40 -0500 (0:00:00.069) 0:00:10.815 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:32:42 -0500 (0:00:01.469) 0:00:12.285 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:32:43 -0500 (0:00:01.857) 0:00:14.142 ******* ok: [managed-node3] => {} 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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:32:44 -0500 (0:00:00.124) 0:00:14.266 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:32:44 -0500 (0:00:00.206) 0:00:14.473 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:32:44 -0500 (0:00:00.211) 0:00:14.685 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:32:44 -0500 (0:00:00.151) 0:00:14.837 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:32:44 -0500 (0:00:00.111) 0:00:14.948 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:32:44 -0500 (0:00:00.115) 0:00:15.063 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:32:44 -0500 (0:00:00.095) 0:00:15.158 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:32:45 -0500 (0:00:00.172) 0:00:15.331 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:32:45 -0500 (0:00:00.107) 0:00:15.439 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:32:45 -0500 (0:00:00.094) 0:00:15.533 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:32:45 -0500 (0:00:00.152) 0:00:15.685 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:32:45 -0500 (0:00:00.109) 0:00:15.795 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:32:45 -0500 (0:00:00.141) 0:00:15.936 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:32:46 -0500 (0:00:01.004) 0:00:16.941 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-19077gSEckd/tmpZjXu5f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:32:47 -0500 (0:00:00.490) 0:00:17.431 ******* changed: [managed-node3] => { "_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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:32:54 -0500 (0:00:07.754) 0:00:25.185 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:32:55 -0500 (0:00:00.205) 0:00:25.390 ******* ok: [managed-node3] => { "__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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:32:55 -0500 (0:00:00.263) 0:00:25.654 ******* ok: [managed-node3] => { "__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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:32:55 -0500 (0:00:00.145) 0:00:25.800 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:32:55 -0500 (0:00:00.142) 0:00:25.943 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Friday 07 February 2025 15:32:56 -0500 (0:00:00.683) 0:00:26.626 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:32:56 -0500 (0:00:00.384) 0:00:27.011 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:32:57 -0500 (0:00:00.242) 0:00:27.253 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960360.0733721, "block_size": 4096, "blocks": 0, "ctime": 1738960358.1253703, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17743, "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": 1738960358.1253703, "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:32:57 -0500 (0:00:00.782) 0:00:28.036 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Friday 07 February 2025 15:32:58 -0500 (0:00:00.189) 0:00:28.225 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 15:32:58 -0500 (0:00:00.266) 0:00:28.492 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:32:58 -0500 (0:00:00.175) 0:00:28.668 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:32:58 -0500 (0:00:00.075) 0:00:28.743 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960368.5983803, "block_size": 4096, "blocks": 8, "ctime": 1738960368.5863802, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738960368.5863802, "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:32:58 -0500 (0:00:00.400) 0:00:29.143 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:32:59 -0500 (0:00:00.132) 0:00:29.276 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021018", "end": "2025-02-07 15:32:59.399987", "rc": 1, "start": "2025-02-07 15:32:59.378969" } 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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:32:59 -0500 (0:00:00.425) 0:00:29.702 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:32:59 -0500 (0:00:00.070) 0:00:29.773 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003336", "end": "2025-02-07 15:32:59.822061", "rc": 0, "start": "2025-02-07 15:32:59.818725" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:32:59 -0500 (0:00:00.343) 0:00:30.116 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:33:00 -0500 (0:00:00.093) 0:00:30.210 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003395", "end": "2025-02-07 15:33:00.277620", "rc": 0, "start": "2025-02-07 15:33:00.274225" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:33:00 -0500 (0:00:00.507) 0:00:30.717 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 15:33:00 -0500 (0:00:00.146) 0:00:30.864 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 15:33:00 -0500 (0:00:00.118) 0:00:30.982 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 15:33:00 -0500 (0:00:00.125) 0:00:31.107 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Friday 07 February 2025 15:33:01 -0500 (0:00:00.115) 0:00:31.223 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003269", "end": "2025-02-07 15:33:01.534496", "rc": 0, "start": "2025-02-07 15:33:01.531227" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.181 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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Friday 07 February 2025 15:33:01 -0500 (0:00:00.785) 0:00:32.008 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Friday 07 February 2025 15:33:02 -0500 (0:00:00.234) 0:00:32.243 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003557", "end": "2025-02-07 15:33:02.541761", "rc": 0, "start": "2025-02-07 15:33:02.538204" } 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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Friday 07 February 2025 15:33:02 -0500 (0:00:00.641) 0:00:32.884 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Friday 07 February 2025 15:33:02 -0500 (0:00:00.131) 0:00:33.016 ******* ok: [managed-node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:02 -0500 (0:00:00.153) 0:00:33.169 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:03 -0500 (0:00:00.368) 0:00:33.538 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:03 -0500 (0:00:00.141) 0:00:33.679 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:03 -0500 (0:00:00.184) 0:00:33.864 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:03 -0500 (0:00:00.122) 0:00:33.986 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:04 -0500 (0:00:01.017) 0:00:35.003 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:06 -0500 (0:00:01.455) 0:00:36.460 ******* ok: [managed-node3] => {} 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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:06 -0500 (0:00:00.126) 0:00:36.586 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:06 -0500 (0:00:00.121) 0:00:36.708 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:06 -0500 (0:00:00.119) 0:00:36.828 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:06 -0500 (0:00:00.113) 0:00:36.941 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:06 -0500 (0:00:00.208) 0:00:37.150 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:07 -0500 (0:00:00.156) 0:00:37.306 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:07 -0500 (0:00:00.151) 0:00:37.458 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:07 -0500 (0:00:00.174) 0:00:37.632 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:07 -0500 (0:00:00.080) 0:00:37.713 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:07 -0500 (0:00:00.083) 0:00:37.796 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:07 -0500 (0:00:00.077) 0:00:37.874 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:07 -0500 (0:00:00.073) 0:00:37.948 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:07 -0500 (0:00:00.071) 0:00:38.019 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:08 -0500 (0:00:00.511) 0:00:38.531 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-19077gSEckd/tmpqFe4XB" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:08 -0500 (0:00:00.464) 0:00:38.995 ******* changed: [managed-node3] => { "_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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:09 -0500 (0:00:00.887) 0:00:39.882 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:09 -0500 (0:00:00.140) 0:00:40.023 ******* ok: [managed-node3] => { "__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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:10 -0500 (0:00:00.230) 0:00:40.254 ******* ok: [managed-node3] => { "__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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:10 -0500 (0:00:00.218) 0:00:40.472 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:10 -0500 (0:00:00.122) 0:00:40.595 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Friday 07 February 2025 15:33:10 -0500 (0:00:00.584) 0:00:41.180 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:33:11 -0500 (0:00:00.482) 0:00:41.662 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:33:11 -0500 (0:00:00.208) 0:00:41.871 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:33:11 -0500 (0:00:00.210) 0:00:42.081 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:33:12 -0500 (0:00:00.247) 0:00:42.329 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:33:12 -0500 (0:00:00.199) 0:00:42.528 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003951", "end": "2025-02-07 15:33:12.579238", "rc": 0, "start": "2025-02-07 15:33:12.575287" } STDOUT: bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:33:12 -0500 (0:00:00.458) 0:00:42.987 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:33:12 -0500 (0:00:00.129) 0:00:43.117 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:33:13 -0500 (0:00:00.136) 0:00:43.253 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:33:13 -0500 (0:00:00.727) 0:00:43.992 ******* skipping: [managed-node3] => (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-node3] => (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-node3] => (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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:33:14 -0500 (0:00:00.220) 0:00:44.212 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:33:14 -0500 (0:00:00.119) 0:00:44.332 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009679", "end": "2025-02-07 15:33:14.599208", "rc": 0, "start": "2025-02-07 15:33:14.589529" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:33:14 -0500 (0:00:00.606) 0:00:44.939 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:33:14 -0500 (0:00:00.181) 0:00:45.120 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:33:14 -0500 (0:00:00.081) 0:00:45.201 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:33:15 -0500 (0:00:00.103) 0:00:45.305 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Friday 07 February 2025 15:33:15 -0500 (0:00:00.126) 0:00:45.431 ******* ok: [managed-node3] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Friday 07 February 2025 15:33:15 -0500 (0:00:00.116) 0:00:45.548 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:33:15 -0500 (0:00:00.405) 0:00:45.953 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:33:15 -0500 (0:00:00.128) 0:00:46.081 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:33:15 -0500 (0:00:00.079) 0:00:46.161 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:33:16 -0500 (0:00:00.157) 0:00:46.319 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:33:16 -0500 (0:00:00.203) 0:00:46.522 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003323", "end": "2025-02-07 15:33:16.609345", "rc": 0, "start": "2025-02-07 15:33:16.606022" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:33:16 -0500 (0:00:00.423) 0:00:46.945 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:33:16 -0500 (0:00:00.114) 0:00:47.060 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:33:16 -0500 (0:00:00.130) 0:00:47.190 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:33:18 -0500 (0:00:01.102) 0:00:48.293 ******* ok: [managed-node3] => (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.006892", "end": "2025-02-07 15:33:18.607605", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2025-02-07 15:33:18.600713" } ok: [managed-node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005066", "end": "2025-02-07 15:33:19.065690", "item": "ip link set peerveth0 up", "rc": 0, "start": "2025-02-07 15:33:19.060624" } ok: [managed-node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.006022", "end": "2025-02-07 15:33:19.395972", "item": "ip link set veth0 up", "rc": 0, "start": "2025-02-07 15:33:19.389950" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:33:19 -0500 (0:00:01.466) 0:00:49.760 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020157", "end": "2025-02-07 15:33:20.070682", "rc": 0, "start": "2025-02-07 15:33:20.050525" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:33:20 -0500 (0:00:00.691) 0:00:50.451 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:33:20 -0500 (0:00:00.126) 0:00:50.578 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:33:20 -0500 (0:00:00.134) 0:00:50.712 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:33:20 -0500 (0:00:00.168) 0:00:50.880 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:33:20 -0500 (0:00:00.178) 0:00:51.058 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:20 -0500 (0:00:00.127) 0:00:51.186 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:21 -0500 (0:00:00.238) 0:00:51.424 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:21 -0500 (0:00:00.157) 0:00:51.582 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:21 -0500 (0:00:00.121) 0:00:51.703 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:21 -0500 (0:00:00.131) 0:00:51.835 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:22 -0500 (0:00:01.155) 0:00:52.991 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:24 -0500 (0:00:01.610) 0:00:54.601 ******* ok: [managed-node3] => {} 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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:24 -0500 (0:00:00.079) 0:00:54.680 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:24 -0500 (0:00:00.072) 0:00:54.753 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:24 -0500 (0:00:00.068) 0:00:54.822 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:24 -0500 (0:00:00.073) 0:00:54.895 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:24 -0500 (0:00:00.084) 0:00:54.980 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:24 -0500 (0:00:00.082) 0:00:55.062 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:24 -0500 (0:00:00.076) 0:00:55.139 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:25 -0500 (0:00:00.129) 0:00:55.268 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:25 -0500 (0:00:00.093) 0:00:55.362 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:25 -0500 (0:00:00.177) 0:00:55.539 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:25 -0500 (0:00:00.124) 0:00:55.664 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:25 -0500 (0:00:00.125) 0:00:55.790 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:25 -0500 (0:00:00.234) 0:00:56.025 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:27 -0500 (0:00:01.231) 0:00:57.256 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-19077gSEckd/tmpvncKp2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:27 -0500 (0:00:00.727) 0:00:57.984 ******* changed: [managed-node3] => { "_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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:34 -0500 (0:00:06.877) 0:01:04.861 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:34 -0500 (0:00:00.111) 0:01:04.972 ******* ok: [managed-node3] => { "__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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:34 -0500 (0:00:00.119) 0:01:05.091 ******* ok: [managed-node3] => { "__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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:34 -0500 (0:00:00.101) 0:01:05.192 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:35 -0500 (0:00:00.085) 0:01:05.278 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Friday 07 February 2025 15:33:35 -0500 (0:00:00.351) 0:01:05.629 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 07 February 2025 15:33:35 -0500 (0:00:00.458) 0:01:06.088 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 07 February 2025 15:33:36 -0500 (0:00:00.202) 0:01:06.290 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960408.3604155, "block_size": 4096, "blocks": 0, "ctime": 1738960398.6074073, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17744, "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": 1738960398.6074073, "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 07 February 2025 15:33:36 -0500 (0:00:00.542) 0:01:06.833 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Friday 07 February 2025 15:33:36 -0500 (0:00:00.122) 0:01:06.956 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 07 February 2025 15:33:37 -0500 (0:00:00.329) 0:01:07.285 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 07 February 2025 15:33:37 -0500 (0:00:00.250) 0:01:07.536 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 07 February 2025 15:33:37 -0500 (0:00:00.162) 0:01:07.698 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1738960408.3744154, "block_size": 4096, "blocks": 8, "ctime": 1738960408.3614154, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738960408.3614154, "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 07 February 2025 15:33:37 -0500 (0:00:00.381) 0:01:08.079 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 07 February 2025 15:33:37 -0500 (0:00:00.083) 0:01:08.163 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020662", "end": "2025-02-07 15:33:38.283231", "rc": 1, "start": "2025-02-07 15:33:38.262569" } 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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 07 February 2025 15:33:38 -0500 (0:00:00.534) 0:01:08.697 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 07 February 2025 15:33:38 -0500 (0:00:00.129) 0:01:08.826 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003882", "end": "2025-02-07 15:33:38.909089", "rc": 0, "start": "2025-02-07 15:33:38.905207" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 07 February 2025 15:33:39 -0500 (0:00:00.466) 0:01:09.293 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 07 February 2025 15:33:39 -0500 (0:00:00.087) 0:01:09.381 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003895", "end": "2025-02-07 15:33:39.420745", "rc": 0, "start": "2025-02-07 15:33:39.416850" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 07 February 2025 15:33:39 -0500 (0:00:00.377) 0:01:09.758 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 07 February 2025 15:33:39 -0500 (0:00:00.153) 0:01:09.911 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 07 February 2025 15:33:39 -0500 (0:00:00.147) 0:01:10.059 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 07 February 2025 15:33:40 -0500 (0:00:00.154) 0:01:10.214 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Friday 07 February 2025 15:33:40 -0500 (0:00:00.132) 0:01:10.347 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003472", "end": "2025-02-07 15:33:40.446701", "rc": 0, "start": "2025-02-07 15:33:40.443229" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.181 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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Friday 07 February 2025 15:33:40 -0500 (0:00:00.435) 0:01:10.783 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Friday 07 February 2025 15:33:40 -0500 (0:00:00.114) 0:01:10.897 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004006", "end": "2025-02-07 15:33:40.980784", "rc": 0, "start": "2025-02-07 15:33:40.976778" } 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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Friday 07 February 2025 15:33:41 -0500 (0:00:00.465) 0:01:11.363 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Friday 07 February 2025 15:33:41 -0500 (0:00:00.190) 0:01:11.553 ******* ok: [managed-node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 07 February 2025 15:33:41 -0500 (0:00:00.136) 0:01:11.690 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 07 February 2025 15:33:41 -0500 (0:00:00.269) 0:01:11.960 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 07 February 2025 15:33:41 -0500 (0:00:00.165) 0:01:12.125 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 07 February 2025 15:33:42 -0500 (0:00:00.187) 0:01:12.313 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 07 February 2025 15:33:42 -0500 (0:00:00.254) 0:01:12.568 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 07 February 2025 15:33:43 -0500 (0:00:01.548) 0:01:14.116 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 07 February 2025 15:33:45 -0500 (0:00:01.377) 0:01:15.494 ******* ok: [managed-node3] => {} 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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 07 February 2025 15:33:45 -0500 (0:00:00.097) 0:01:15.591 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 07 February 2025 15:33:45 -0500 (0:00:00.105) 0:01:15.697 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 07 February 2025 15:33:45 -0500 (0:00:00.119) 0:01:15.816 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 07 February 2025 15:33:45 -0500 (0:00:00.116) 0:01:15.933 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 07 February 2025 15:33:45 -0500 (0:00:00.113) 0:01:16.047 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 07 February 2025 15:33:45 -0500 (0:00:00.140) 0:01:16.187 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 07 February 2025 15:33:46 -0500 (0:00:00.117) 0:01:16.305 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 07 February 2025 15:33:46 -0500 (0:00:00.197) 0:01:16.502 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 07 February 2025 15:33:46 -0500 (0:00:00.122) 0:01:16.625 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 07 February 2025 15:33:46 -0500 (0:00:00.200) 0:01:16.826 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 07 February 2025 15:33:46 -0500 (0:00:00.124) 0:01:16.950 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 07 February 2025 15:33:46 -0500 (0:00:00.126) 0:01:17.076 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 07 February 2025 15:33:46 -0500 (0:00:00.117) 0:01:17.193 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 07 February 2025 15:33:47 -0500 (0:00:00.692) 0:01:17.886 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-19077gSEckd/tmpD7Vsam" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 07 February 2025 15:33:48 -0500 (0:00:00.548) 0:01:18.435 ******* changed: [managed-node3] => { "_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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 07 February 2025 15:33:49 -0500 (0:00:00.879) 0:01:19.315 ******* skipping: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 07 February 2025 15:33:49 -0500 (0:00:00.142) 0:01:19.457 ******* ok: [managed-node3] => { "__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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 07 February 2025 15:33:49 -0500 (0:00:00.111) 0:01:19.569 ******* ok: [managed-node3] => { "__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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 07 February 2025 15:33:49 -0500 (0:00:00.109) 0:01:19.678 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 07 February 2025 15:33:49 -0500 (0:00:00.099) 0:01:19.778 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Friday 07 February 2025 15:33:50 -0500 (0:00:00.489) 0:01:20.268 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 07 February 2025 15:33:50 -0500 (0:00:00.522) 0:01:20.791 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 07 February 2025 15:33:50 -0500 (0:00:00.110) 0:01:20.901 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 07 February 2025 15:33:50 -0500 (0:00:00.227) 0:01:21.129 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 07 February 2025 15:33:51 -0500 (0:00:00.207) 0:01:21.336 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 07 February 2025 15:33:51 -0500 (0:00:00.213) 0:01:21.550 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004382", "end": "2025-02-07 15:33:52.717336", "rc": 0, "start": "2025-02-07 15:33:51.712954" } STDOUT: bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 07 February 2025 15:33:52 -0500 (0:00:01.584) 0:01:23.134 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 07 February 2025 15:33:53 -0500 (0:00:00.131) 0:01:23.266 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 07 February 2025 15:33:53 -0500 (0:00:00.126) 0:01:23.393 ******* ok: [managed-node3] => { "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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 07 February 2025 15:33:53 -0500 (0:00:00.655) 0:01:24.048 ******* skipping: [managed-node3] => (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-node3] => (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-node3] => (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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 07 February 2025 15:33:53 -0500 (0:00:00.097) 0:01:24.146 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 07 February 2025 15:33:54 -0500 (0:00:00.083) 0:01:24.229 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008511", "end": "2025-02-07 15:33:54.483401", "rc": 0, "start": "2025-02-07 15:33:54.474890" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 07 February 2025 15:33:54 -0500 (0:00:00.593) 0:01:24.823 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 07 February 2025 15:33:54 -0500 (0:00:00.096) 0:01:24.920 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 07 February 2025 15:33:54 -0500 (0:00:00.079) 0:01:24.999 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 07 February 2025 15:33:54 -0500 (0:00:00.083) 0:01:25.083 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Friday 07 February 2025 15:33:54 -0500 (0:00:00.111) 0:01:25.195 ******* included: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 07 February 2025 15:33:55 -0500 (0:00:00.431) 0:01:25.627 ******* ok: [managed-node3] => { "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.006939", "end": "2025-02-07 15:33:55.832658", "rc": 0, "start": "2025-02-07 15:33:55.825719" } 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 12:e5:fc:b0:73:87 brd ff:ff:ff:ff:ff:ff inet 10.31.9.181/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3149sec preferred_lft 3149sec inet6 fe80::10e5:fcff:feb0:7387/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.181 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-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 07 February 2025 15:33:56 -0500 (0:00:00.585) 0:01:26.212 ******* ok: [managed-node3] => { "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.509528", "end": "2025-02-07 15:33:56.958255", "rc": 0, "start": "2025-02-07 15:33:56.448727" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1231 0 --:--:-- --:--:-- --:--:-- 1229 % 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 1205 0 --:--:-- --:--:-- --:--:-- 1207 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=141 changed=4 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Friday 07 February 2025 15:33:57 -0500 (0:00:01.074) 0:01:27.287 ******* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 7.75s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.88s /tmp/collections-mYL/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-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.58s /tmp/collections-mYL/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.55s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Create veth interface veth0 --------------------------------------------- 1.47s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 1.23s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 fedora.linux_system_roles.network : Check which services are running ---- 1.16s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 1.10s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Verify DNS and network connectivity ------------------------------------- 1.07s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Install yum-utils package ----------------------------------------------- 1.05s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Create veth interface veth0 --------------------------------------------- 1.04s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.02s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Enable network service -------------- 1.00s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Gathering Facts --------------------------------------------------------- 0.98s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.88s /tmp/collections-mYL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159