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-Yz7/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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Saturday 25 January 2025 07:51:03 -0500 (0:00:00.036) 0:00:00.036 ****** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Saturday 25 January 2025 07:51:04 -0500 (0:00:01.373) 0:00:01.409 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 25 January 2025 07:51:04 -0500 (0:00:00.044) 0:00:01.454 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.460) 0:00:01.914 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.749) 0:00:02.663 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.065) 0:00:02.728 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 25 January 2025 07:51:05 -0500 (0:00:00.049) 0:00:02.778 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.123) 0:00:02.901 ****** ok: [managed-node1] => { "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 25 January 2025 07:51:06 -0500 (0:00:00.520) 0:00:03.422 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 25 January 2025 07:51:07 -0500 (0:00:00.842) 0:00:04.264 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.170920", "end": "2025-01-25 07:51:08.167009", "rc": 0, "start": "2025-01-25 07:51:07.996089" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.840) 0:00:05.105 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.055) 0:00:05.161 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.045) 0:00:05.207 ****** ok: [managed-node1] => { "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Saturday 25 January 2025 07:51:08 -0500 (0:00:00.063) 0:00:05.271 ****** ok: [managed-node1] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.653) 0:00:05.924 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.090) 0:00:06.014 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.037) 0:00:06.052 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003335", "end": "2025-01-25 07:51:09.589379", "rc": 0, "start": "2025-01-25 07:51:09.586044" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.449) 0:00:06.502 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.038) 0:00:06.540 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.029) 0:00:06.569 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.094) 0:00:06.663 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.032) 0:00:06.696 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.040) 0:00:06.737 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:51:09 -0500 (0:00:00.057) 0:00:06.795 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.059) 0:00:06.854 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003380", "end": "2025-01-25 07:51:10.321154", "rc": 0, "start": "2025-01-25 07:51:10.317774" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.374) 0:00:07.228 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.046) 0:00:07.275 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 25 January 2025 07:51:10 -0500 (0:00:00.048) 0:00:07.323 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 25 January 2025 07:51:11 -0500 (0:00:00.622) 0:00:07.946 ****** ok: [managed-node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.006702", "end": "2025-01-25 07:51:11.689670", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2025-01-25 07:51:11.682968" } ok: [managed-node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004539", "end": "2025-01-25 07:51:12.072825", "item": "ip link set peerveth0 up", "rc": 0, "start": "2025-01-25 07:51:12.068286" } ok: [managed-node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005233", "end": "2025-01-25 07:51:12.654759", "item": "ip link set veth0 up", "rc": 0, "start": "2025-01-25 07:51:12.649526" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 25 January 2025 07:51:12 -0500 (0:00:01.611) 0:00:09.558 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021427", "end": "2025-01-25 07:51:13.012743", "rc": 0, "start": "2025-01-25 07:51:12.991316" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.433) 0:00:09.992 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.095) 0:00:10.087 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.085) 0:00:10.173 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.109) 0:00:10.282 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.070) 0:00:10.353 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.088) 0:00:10.442 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.181) 0:00:10.623 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:51:13 -0500 (0:00:00.057) 0:00:10.681 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809471.6897948, "block_size": 4096, "blocks": 0, "ctime": 1737809471.6897948, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18091, "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": 1737809471.6897948, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.412) 0:00:11.094 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.048) 0:00:11.142 ****** ok: [managed-node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.051) 0:00:11.193 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.087) 0:00:11.281 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.046) 0:00:11.328 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.091) 0:00:11.419 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:14 -0500 (0:00:00.062) 0:00:11.482 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:15 -0500 (0:00:01.347) 0:00:12.829 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:17 -0500 (0:00:01.986) 0:00:14.816 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.153) 0:00:14.970 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.132) 0:00:15.103 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.119) 0:00:15.222 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.108) 0:00:15.331 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.111) 0:00:15.443 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.125) 0:00:15.568 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:18 -0500 (0:00:00.124) 0:00:15.693 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.225) 0:00:15.918 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.154) 0:00:16.073 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.152) 0:00:16.225 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.198) 0:00:16.423 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.117) 0:00:16.541 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:19 -0500 (0:00:00.145) 0:00:16.687 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:21 -0500 (0:00:01.507) 0:00:18.194 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-19256j51Lhh/tmpDzk4Xq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:21 -0500 (0:00:00.462) 0:00:18.656 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:29 -0500 (0:00:07.646) 0:00:26.302 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:29 -0500 (0:00:00.201) 0:00:26.504 ****** ok: [managed-node1] => { "__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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:29 -0500 (0:00:00.239) 0:00:26.743 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.142) 0:00:26.886 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.120) 0:00:27.006 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Saturday 25 January 2025 07:51:30 -0500 (0:00:00.589) 0:00:27.596 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.268) 0:00:27.865 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.164) 0:00:28.029 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809474.1758108, "block_size": 4096, "blocks": 0, "ctime": 1737809471.6897948, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18091, "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": 1737809471.6897948, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.385) 0:00:28.415 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.098) 0:00:28.513 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:51:31 -0500 (0:00:00.250) 0:00:28.763 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.161) 0:00:28.925 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.111) 0:00:29.037 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809483.0398679, "block_size": 4096, "blocks": 8, "ctime": 1737809483.0278678, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809483.0278678, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.509) 0:00:29.546 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:51:32 -0500 (0:00:00.129) 0:00:29.676 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022595", "end": "2025-01-25 07:51:33.384258", "rc": 1, "start": "2025-01-25 07:51:33.361663" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.823) 0:00:30.499 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:51:33 -0500 (0:00:00.243) 0:00:30.743 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003344", "end": "2025-01-25 07:51:34.504512", "rc": 0, "start": "2025-01-25 07:51:34.501168" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.773) 0:00:31.517 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:51:34 -0500 (0:00:00.205) 0:00:31.722 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003871", "end": "2025-01-25 07:51:35.191740", "rc": 0, "start": "2025-01-25 07:51:35.187869" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.436) 0:00:32.159 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.128) 0:00:32.288 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.147) 0:00:32.435 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.144) 0:00:32.580 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Saturday 25 January 2025 07:51:35 -0500 (0:00:00.125) 0:00:32.706 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003823", "end": "2025-01-25 07:51:36.272732", "rc": 0, "start": "2025-01-25 07:51:36.268909" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.119 metric 100 169.254.0.0/16 dev veth0 scope link metric 1040 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.535) 0:00:33.241 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Saturday 25 January 2025 07:51:36 -0500 (0:00:00.091) 0:00:33.333 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003399", "end": "2025-01-25 07:51:36.761617", "rc": 0, "start": "2025-01-25 07:51:36.758218" } 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 rpltstbr proto kernel metric 256 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.553) 0:00:33.886 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.239) 0:00:34.126 ****** ok: [managed-node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.183) 0:00:34.309 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.313) 0:00:34.622 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:37 -0500 (0:00:00.129) 0:00:34.752 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:38 -0500 (0:00:00.147) 0:00:34.900 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:38 -0500 (0:00:00.140) 0:00:35.040 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:39 -0500 (0:00:01.291) 0:00:36.332 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:51:40 -0500 (0:00:01.255) 0:00:37.588 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.078) 0:00:37.666 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.076) 0:00:37.743 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:51:40 -0500 (0:00:00.073) 0:00:37.817 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.146) 0:00:37.964 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.105) 0:00:38.069 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.132) 0:00:38.202 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.198) 0:00:38.400 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.241) 0:00:38.642 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:51:41 -0500 (0:00:00.173) 0:00:38.816 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.203) 0:00:39.019 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.179) 0:00:39.199 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.224) 0:00:39.424 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:51:42 -0500 (0:00:00.203) 0:00:39.627 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:51:43 -0500 (0:00:00.957) 0:00:40.585 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-19256j51Lhh/tmp2Kff6O" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:51:44 -0500 (0:00:00.792) 0:00:41.377 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.886) 0:00:42.263 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.115) 0:00:42.379 ****** ok: [managed-node1] => { "__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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.128) 0:00:42.507 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.177) 0:00:42.685 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:51:45 -0500 (0:00:00.130) 0:00:42.816 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Saturday 25 January 2025 07:51:46 -0500 (0:00:00.569) 0:00:43.386 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 25 January 2025 07:51:46 -0500 (0:00:00.448) 0:00:43.834 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 25 January 2025 07:51:47 -0500 (0:00:00.181) 0:00:44.016 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 25 January 2025 07:51:47 -0500 (0:00:00.115) 0:00:44.131 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:51:47 -0500 (0:00:00.213) 0:00:44.344 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:51:47 -0500 (0:00:00.201) 0:00:44.546 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003346", "end": "2025-01-25 07:51:47.981696", "rc": 0, "start": "2025-01-25 07:51:47.978350" } STDOUT: bonding_masters eth0 lo peerveth0 rpltstbr veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.426) 0:00:44.972 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth0", "rpltstbr", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.115) 0:00:45.088 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'rpltstbr', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 25 January 2025 07:51:48 -0500 (0:00:00.159) 0:00:45.248 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.703) 0:00:45.951 ****** skipping: [managed-node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.173) 0:00:46.125 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 25 January 2025 07:51:49 -0500 (0:00:00.093) 0:00:46.219 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009284", "end": "2025-01-25 07:51:49.688765", "rc": 0, "start": "2025-01-25 07:51:49.679481" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.743) 0:00:46.963 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.127) 0:00:47.090 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.119) 0:00:47.210 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.127) 0:00:47.337 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.183) 0:00:47.520 ****** ok: [managed-node1] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Saturday 25 January 2025 07:51:50 -0500 (0:00:00.244) 0:00:47.765 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.561) 0:00:48.326 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.183) 0:00:48.510 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 25 January 2025 07:51:51 -0500 (0:00:00.149) 0:00:48.660 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.326) 0:00:48.986 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.229) 0:00:49.216 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003614", "end": "2025-01-25 07:51:52.703929", "rc": 0, "start": "2025-01-25 07:51:52.700315" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:51:52 -0500 (0:00:00.484) 0:00:49.701 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:51:53 -0500 (0:00:00.206) 0:00:49.907 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 25 January 2025 07:51:53 -0500 (0:00:00.292) 0:00:50.200 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 25 January 2025 07:51:54 -0500 (0:00:00.814) 0:00:51.014 ****** ok: [managed-node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.006090", "end": "2025-01-25 07:51:54.603615", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2025-01-25 07:51:54.597525" } ok: [managed-node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004564", "end": "2025-01-25 07:51:55.119908", "item": "ip link set peerveth0 up", "rc": 0, "start": "2025-01-25 07:51:55.115344" } ok: [managed-node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005283", "end": "2025-01-25 07:51:55.680477", "item": "ip link set veth0 up", "rc": 0, "start": "2025-01-25 07:51:55.675194" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 25 January 2025 07:51:55 -0500 (0:00:01.782) 0:00:52.796 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020883", "end": "2025-01-25 07:51:56.543636", "rc": 0, "start": "2025-01-25 07:51:56.522753" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.718) 0:00:53.514 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.093) 0:00:53.608 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.082) 0:00:53.691 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 25 January 2025 07:51:56 -0500 (0:00:00.082) 0:00:53.773 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.077) 0:00:53.850 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.077) 0:00:53.928 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.141) 0:00:54.070 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.125) 0:00:54.195 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.110) 0:00:54.306 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:51:57 -0500 (0:00:00.178) 0:00:54.484 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:51:58 -0500 (0:00:01.264) 0:00:55.749 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:00 -0500 (0:00:01.961) 0:00:57.710 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:00 -0500 (0:00:00.127) 0:00:57.838 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.234) 0:00:58.072 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.130) 0:00:58.203 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.133) 0:00:58.336 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.121) 0:00:58.457 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.099) 0:00:58.557 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:01 -0500 (0:00:00.127) 0:00:58.684 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.296) 0:00:58.980 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.201) 0:00:59.182 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.138) 0:00:59.320 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.138) 0:00:59.458 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.112) 0:00:59.570 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:02 -0500 (0:00:00.237) 0:00:59.808 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:03 -0500 (0:00:00.673) 0:01:00.481 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-19256j51Lhh/tmpgCYU6S" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:04 -0500 (0:00:00.646) 0:01:01.128 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:11 -0500 (0:00:06.955) 0:01:08.084 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.094) 0:01:08.179 ****** ok: [managed-node1] => { "__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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.104) 0:01:08.283 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.138) 0:01:08.422 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:11 -0500 (0:00:00.115) 0:01:08.538 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.465) 0:01:09.003 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.352) 0:01:09.356 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 January 2025 07:52:12 -0500 (0:00:00.239) 0:01:09.596 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809524.9611378, "block_size": 4096, "blocks": 0, "ctime": 1737809514.604071, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18092, "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": 1737809514.604071, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.811) 0:01:10.407 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Saturday 25 January 2025 07:52:13 -0500 (0:00:00.222) 0:01:10.629 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.326) 0:01:10.955 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.212) 0:01:11.168 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.125) 0:01:11.293 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809524.9751377, "block_size": 4096, "blocks": 8, "ctime": 1737809524.9631376, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737809524.9631376, "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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 January 2025 07:52:14 -0500 (0:00:00.482) 0:01:11.776 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.108) 0:01:11.884 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021729", "end": "2025-01-25 07:52:15.389742", "rc": 1, "start": "2025-01-25 07:52:15.368013" } 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.508) 0:01:12.392 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 January 2025 07:52:15 -0500 (0:00:00.233) 0:01:12.625 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003895", "end": "2025-01-25 07:52:16.111420", "rc": 0, "start": "2025-01-25 07:52:16.107525" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.435) 0:01:13.061 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 January 2025 07:52:16 -0500 (0:00:00.119) 0:01:13.181 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003339", "end": "2025-01-25 07:52:16.889020", "rc": 0, "start": "2025-01-25 07:52:16.885681" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 January 2025 07:52:17 -0500 (0:00:00.828) 0:01:14.010 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 January 2025 07:52:17 -0500 (0:00:00.141) 0:01:14.151 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 January 2025 07:52:17 -0500 (0:00:00.121) 0:01:14.273 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 January 2025 07:52:17 -0500 (0:00:00.123) 0:01:14.396 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Saturday 25 January 2025 07:52:17 -0500 (0:00:00.116) 0:01:14.513 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003254", "end": "2025-01-25 07:52:18.366458", "rc": 0, "start": "2025-01-25 07:52:18.363204" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.119 metric 100 169.254.0.0/16 dev veth0 scope link metric 1042 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.969) 0:01:15.483 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Saturday 25 January 2025 07:52:18 -0500 (0:00:00.266) 0:01:15.749 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003741", "end": "2025-01-25 07:52:19.275913", "rc": 0, "start": "2025-01-25 07:52:19.272172" } 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 rpltstbr proto kernel metric 256 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-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.492) 0:01:16.241 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.109) 0:01:16.351 ****** ok: [managed-node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.101) 0:01:16.453 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.161) 0:01:16.614 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 25 January 2025 07:52:19 -0500 (0:00:00.152) 0:01:16.766 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 25 January 2025 07:52:20 -0500 (0:00:00.201) 0:01:16.967 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 25 January 2025 07:52:20 -0500 (0:00:00.308) 0:01:17.275 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 25 January 2025 07:52:21 -0500 (0:00:01.083) 0:01:18.359 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 January 2025 07:52:23 -0500 (0:00:01.789) 0:01:20.148 ****** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.140) 0:01:20.289 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.116) 0:01:20.406 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.081) 0:01:20.488 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.081) 0:01:20.569 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.104) 0:01:20.674 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 25 January 2025 07:52:23 -0500 (0:00:00.139) 0:01:20.813 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.140) 0:01:20.954 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.245) 0:01:21.199 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.313) 0:01:21.512 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.121) 0:01:21.634 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.106) 0:01:21.740 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 January 2025 07:52:24 -0500 (0:00:00.080) 0:01:21.821 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 25 January 2025 07:52:25 -0500 (0:00:00.074) 0:01:21.896 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 25 January 2025 07:52:25 -0500 (0:00:00.691) 0:01:22.587 ****** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-19256j51Lhh/tmp3XVByL" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 25 January 2025 07:52:26 -0500 (0:00:00.667) 0:01:23.255 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 25 January 2025 07:52:27 -0500 (0:00:01.248) 0:01:24.504 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 25 January 2025 07:52:27 -0500 (0:00:00.121) 0:01:24.625 ****** ok: [managed-node1] => { "__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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 25 January 2025 07:52:27 -0500 (0:00:00.131) 0:01:24.757 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 25 January 2025 07:52:28 -0500 (0:00:00.108) 0:01:24.866 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 25 January 2025 07:52:28 -0500 (0:00:00.093) 0:01:24.960 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Saturday 25 January 2025 07:52:28 -0500 (0:00:00.478) 0:01:25.438 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 25 January 2025 07:52:28 -0500 (0:00:00.252) 0:01:25.691 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 25 January 2025 07:52:29 -0500 (0:00:00.207) 0:01:25.899 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 25 January 2025 07:52:29 -0500 (0:00:00.120) 0:01:26.019 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 25 January 2025 07:52:29 -0500 (0:00:00.185) 0:01:26.204 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 January 2025 07:52:29 -0500 (0:00:00.179) 0:01:26.383 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003885", "end": "2025-01-25 07:52:29.912821", "rc": 0, "start": "2025-01-25 07:52:29.908936" } STDOUT: bonding_masters eth0 lo peerveth0 rpltstbr veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.610) 0:01:26.994 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth0", "rpltstbr", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.150) 0:01:27.144 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'rpltstbr', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 25 January 2025 07:52:30 -0500 (0:00:00.124) 0:01:27.269 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.899) 0:01:28.169 ****** skipping: [managed-node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.200) 0:01:28.369 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 25 January 2025 07:52:31 -0500 (0:00:00.128) 0:01:28.498 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009933", "end": "2025-01-25 07:52:32.083787", "rc": 0, "start": "2025-01-25 07:52:32.073854" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.532) 0:01:29.031 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.119) 0:01:29.150 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.138) 0:01:29.288 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.203) 0:01:29.491 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Saturday 25 January 2025 07:52:32 -0500 (0:00:00.115) 0:01:29.607 ****** included: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 25 January 2025 07:52:33 -0500 (0:00:00.533) 0:01:30.140 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007439", "end": "2025-01-25 07:52:33.675834", "rc": 0, "start": "2025-01-25 07:52:33.668395" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:66:d7:15:1c:05 brd ff:ff:ff:ff:ff:ff inet 10.31.41.119/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3239sec preferred_lft 3239sec inet6 fe80::c66:d7ff:fe15:1c05/64 scope link valid_lft forever preferred_lft forever 20: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 4a:68:44:c6:68:16 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::4868:44ff:fec6:6816/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.119 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 25 January 2025 07:52:33 -0500 (0:00:00.537) 0:01:30.677 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.361767", "end": "2025-01-25 07:52:34.782899", "rc": 0, "start": "2025-01-25 07:52:34.421132" } STDOUT: CHECK DNS AND CONNECTIVITY 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.fedoraproject.org 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2127 0 --:--:-- --:--:-- --:--:-- 2132 % 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 1461 0 --:--:-- --:--:-- --:--:-- 1469 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=141 changed=4 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Saturday 25 January 2025 07:52:34 -0500 (0:00:01.017) 0:01:31.694 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 7.65s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.96s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 1.99s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.96s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 1.78s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 1.60s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable network service -------------- 1.51s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Gathering Facts --------------------------------------------------------- 1.37s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Check which services are running ---- 1.35s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.29s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.26s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.26s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.25s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which services are running ---- 1.08s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Verify DNS and network connectivity ------------------------------------- 1.02s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Show ipv4 routes -------------------------------------------------------- 0.97s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Install iproute --------------------------------------------------------- 0.90s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install yum-utils package ----------------------------------------------- 0.84s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Enable EPEL 7 ----------------------------------------------------------- 0.84s /tmp/collections-Yz7/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32