ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 Monday 07 October 2024 08:15:52 -0400 (0:00:00.041) 0:00:00.041 ******** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:9 Monday 07 October 2024 08:15:53 -0400 (0:00:01.478) 0:00:01.520 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 07 October 2024 08:15:53 -0400 (0:00:00.092) 0:00:01.613 ******** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 07 October 2024 08:15:54 -0400 (0:00:00.553) 0:00:02.169 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 07 October 2024 08:15:55 -0400 (0:00:00.976) 0:00:03.145 ******** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 07 October 2024 08:15:55 -0400 (0:00:00.138) 0:00:03.284 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 07 October 2024 08:15:55 -0400 (0:00:00.083) 0:00:03.367 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 07 October 2024 08:15:55 -0400 (0:00:00.108) 0:00:03.476 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 07 October 2024 08:15:56 -0400 (0:00:00.658) 0:00:04.135 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 07 October 2024 08:15:57 -0400 (0:00:01.053) 0:00:05.188 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.157463", "end": "2024-10-07 08:15:57.810122", "rc": 0, "start": "2024-10-07 08:15:57.652659" } 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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 07 October 2024 08:15:57 -0400 (0:00:00.593) 0:00:05.782 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 07 October 2024 08:15:57 -0400 (0:00:00.040) 0:00:05.822 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:11 Monday 07 October 2024 08:15:57 -0400 (0:00:00.034) 0:00:05.857 ******** ok: [managed-node2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Monday 07 October 2024 08:15:57 -0400 (0:00:00.042) 0:00:05.900 ******** ok: [managed-node2] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Monday 07 October 2024 08:15:58 -0400 (0:00:00.669) 0:00:06.570 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:15:58 -0400 (0:00:00.123) 0:00:06.693 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:15:58 -0400 (0:00:00.047) 0:00:06.740 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003034", "end": "2024-10-07 08:15:59.109850", "rc": 0, "start": "2024-10-07 08:15:59.106816" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:15:59 -0400 (0:00:00.339) 0:00:07.080 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:15:59 -0400 (0:00:00.079) 0:00:07.159 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Monday 07 October 2024 08:15:59 -0400 (0:00:00.078) 0:00:07.237 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 07 October 2024 08:15:59 -0400 (0:00:00.235) 0:00:07.473 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 07 October 2024 08:15:59 -0400 (0:00:00.035) 0:00:07.508 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 07 October 2024 08:15:59 -0400 (0:00:00.047) 0:00:07.556 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:15:59 -0400 (0:00:00.059) 0:00:07.615 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:15:59 -0400 (0:00:00.073) 0:00:07.689 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004225", "end": "2024-10-07 08:16:01.067430", "rc": 0, "start": "2024-10-07 08:16:00.063205" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:16:01 -0400 (0:00:01.343) 0:00:09.032 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:16:01 -0400 (0:00:00.039) 0:00:09.072 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 07 October 2024 08:16:01 -0400 (0:00:00.080) 0:00:09.152 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 07 October 2024 08:16:01 -0400 (0:00:00.610) 0:00:09.763 ******** ok: [managed-node2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.010321", "end": "2024-10-07 08:16:02.227173", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-10-07 08:16:02.216852" } ok: [managed-node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004090", "end": "2024-10-07 08:16:02.716840", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-10-07 08:16:02.712750" } ok: [managed-node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004803", "end": "2024-10-07 08:16:03.034685", "item": "ip link set veth0 up", "rc": 0, "start": "2024-10-07 08:16:03.029882" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 07 October 2024 08:16:03 -0400 (0:00:01.243) 0:00:11.006 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.035059", "end": "2024-10-07 08:16:03.441077", "rc": 0, "start": "2024-10-07 08:16:03.406018" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 07 October 2024 08:16:03 -0400 (0:00:00.399) 0:00:11.406 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 07 October 2024 08:16:03 -0400 (0:00:00.037) 0:00:11.444 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 07 October 2024 08:16:03 -0400 (0:00:00.032) 0:00:11.476 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 07 October 2024 08:16:03 -0400 (0:00:00.025) 0:00:11.502 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 07 October 2024 08:16:03 -0400 (0:00:00.024) 0:00:11.527 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Monday 07 October 2024 08:16:03 -0400 (0:00:00.024) 0:00:11.552 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:16:03 -0400 (0:00:00.079) 0:00:11.632 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:16:03 -0400 (0:00:00.058) 0:00:11.690 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303362.2280495, "block_size": 4096, "blocks": 0, "ctime": 1728303362.2280495, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17726, "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": 1728303362.2280495, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:16:04 -0400 (0:00:00.391) 0:00:12.082 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Monday 07 October 2024 08:16:04 -0400 (0:00:00.031) 0:00:12.113 ******** ok: [managed-node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:16:04 -0400 (0:00:00.027) 0:00:12.140 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:16:04 -0400 (0:00:00.078) 0:00:12.218 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:16:04 -0400 (0:00:00.070) 0:00:12.289 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:16:04 -0400 (0:00:00.046) 0:00:12.335 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:16:04 -0400 (0:00:00.038) 0:00:12.373 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:16:05 -0400 (0:00:01.113) 0:00:13.486 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:16:07 -0400 (0:00:01.638) 0:00:15.125 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:16:07 -0400 (0:00:00.105) 0:00:15.231 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:16:07 -0400 (0:00:00.106) 0:00:15.337 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:16:07 -0400 (0:00:00.120) 0:00:15.458 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:16:07 -0400 (0:00:00.099) 0:00:15.558 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:16:07 -0400 (0:00:00.128) 0:00:15.687 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:16:07 -0400 (0:00:00.123) 0:00:15.810 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:16:08 -0400 (0:00:00.173) 0:00:15.984 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:16:08 -0400 (0:00:00.164) 0:00:16.149 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:16:08 -0400 (0:00:00.092) 0:00:16.241 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:16:08 -0400 (0:00:00.089) 0:00:16.330 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:16:08 -0400 (0:00:00.122) 0:00:16.453 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:16:09 -0400 (0:00:00.901) 0:00:17.355 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:16:09 -0400 (0:00:00.117) 0:00:17.473 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:16:09 -0400 (0:00:00.081) 0:00:17.554 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:16:09 -0400 (0:00:00.107) 0:00:17.662 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, af732804-f487-4ded-9378-534edcea55da [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, af732804-f487-4ded-9378-534edcea55da (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:16:10 -0400 (0:00:01.225) 0:00:18.887 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:16:11 -0400 (0:00:00.088) 0:00:18.975 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, af732804-f487-4ded-9378-534edcea55da", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, af732804-f487-4ded-9378-534edcea55da (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:16:11 -0400 (0:00:00.103) 0:00:19.078 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, af732804-f487-4ded-9378-534edcea55da\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, af732804-f487-4ded-9378-534edcea55da (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, af732804-f487-4ded-9378-534edcea55da", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, af732804-f487-4ded-9378-534edcea55da (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:16:11 -0400 (0:00:00.139) 0:00:19.218 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:16:11 -0400 (0:00:00.139) 0:00:19.357 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Monday 07 October 2024 08:16:12 -0400 (0:00:00.704) 0:00:20.062 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:16:12 -0400 (0:00:00.213) 0:00:20.276 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:16:12 -0400 (0:00:00.128) 0:00:20.404 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303364.100071, "block_size": 4096, "blocks": 0, "ctime": 1728303362.2280495, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17726, "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": 1728303362.2280495, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:16:13 -0400 (0:00:00.636) 0:00:21.041 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Monday 07 October 2024 08:16:13 -0400 (0:00:00.147) 0:00:21.189 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:16:13 -0400 (0:00:00.204) 0:00:21.394 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:16:13 -0400 (0:00:00.126) 0:00:21.520 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:16:13 -0400 (0:00:00.070) 0:00:21.591 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303370.7971485, "block_size": 4096, "blocks": 8, "ctime": 1728303370.7231476, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22452, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728303370.7231476, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 403, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:16:14 -0400 (0:00:00.331) 0:00:21.922 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:16:14 -0400 (0:00:00.072) 0:00:21.995 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022631", "end": "2024-10-07 08:16:14.461163", "rc": 0, "start": "2024-10-07 08:16:14.438532" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:16:14 -0400 (0:00:00.570) 0:00:22.565 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:16:14 -0400 (0:00:00.114) 0:00:22.680 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:16:15 -0400 (0:00:00.239) 0:00:22.920 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:16:15 -0400 (0:00:00.115) 0:00:23.036 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:16:15 -0400 (0:00:00.188) 0:00:23.224 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:16:15 -0400 (0:00:00.240) 0:00:23.465 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:16:15 -0400 (0:00:00.251) 0:00:23.717 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:16:16 -0400 (0:00:00.235) 0:00:23.953 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Monday 07 October 2024 08:16:16 -0400 (0:00:00.201) 0:00:24.155 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003034", "end": "2024-10-07 08:16:16.637812", "rc": 0, "start": "2024-10-07 08:16:16.634778" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.207 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Monday 07 October 2024 08:16:16 -0400 (0:00:00.633) 0:00:24.788 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Monday 07 October 2024 08:16:17 -0400 (0:00:00.164) 0:00:24.953 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003183", "end": "2024-10-07 08:16:17.353906", "rc": 0, "start": "2024-10-07 08:16:17.350723" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Monday 07 October 2024 08:16:17 -0400 (0:00:00.441) 0:00:25.394 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Monday 07 October 2024 08:16:17 -0400 (0:00:00.134) 0:00:25.528 ******** ok: [managed-node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:16:17 -0400 (0:00:00.128) 0:00:25.657 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:16:18 -0400 (0:00:00.341) 0:00:25.999 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:16:18 -0400 (0:00:00.193) 0:00:26.192 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:16:18 -0400 (0:00:00.226) 0:00:26.419 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:16:18 -0400 (0:00:00.154) 0:00:26.573 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:16:19 -0400 (0:00:01.101) 0:00:27.675 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:16:21 -0400 (0:00:01.379) 0:00:29.054 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:16:21 -0400 (0:00:00.145) 0:00:29.200 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:16:21 -0400 (0:00:00.167) 0:00:29.367 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:16:21 -0400 (0:00:00.077) 0:00:29.445 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:16:21 -0400 (0:00:00.090) 0:00:29.536 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:16:21 -0400 (0:00:00.229) 0:00:29.766 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:16:21 -0400 (0:00:00.123) 0:00:29.890 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:16:22 -0400 (0:00:00.167) 0:00:30.057 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:16:22 -0400 (0:00:00.209) 0:00:30.267 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:16:22 -0400 (0:00:00.128) 0:00:30.395 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:16:22 -0400 (0:00:00.154) 0:00:30.550 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:16:22 -0400 (0:00:00.249) 0:00:30.799 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:16:23 -0400 (0:00:00.744) 0:00:31.543 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:16:23 -0400 (0:00:00.131) 0:00:31.675 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:16:23 -0400 (0:00:00.101) 0:00:31.777 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:16:23 -0400 (0:00:00.079) 0:00:31.856 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:16:24 -0400 (0:00:00.787) 0:00:32.643 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:16:24 -0400 (0:00:00.132) 0:00:32.776 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:16:24 -0400 (0:00:00.109) 0:00:32.886 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:16:25 -0400 (0:00:00.091) 0:00:32.977 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:16:25 -0400 (0:00:00.084) 0:00:33.061 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Monday 07 October 2024 08:16:25 -0400 (0:00:00.323) 0:00:33.385 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 07 October 2024 08:16:25 -0400 (0:00:00.243) 0:00:33.629 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 07 October 2024 08:16:25 -0400 (0:00:00.116) 0:00:33.745 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 07 October 2024 08:16:25 -0400 (0:00:00.160) 0:00:33.905 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:16:26 -0400 (0:00:00.356) 0:00:34.262 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:16:26 -0400 (0:00:00.194) 0:00:34.457 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002950", "end": "2024-10-07 08:16:26.839883", "rc": 0, "start": "2024-10-07 08:16:26.836933" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:16:26 -0400 (0:00:00.422) 0:00:34.880 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:16:27 -0400 (0:00:00.121) 0:00:35.001 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 07 October 2024 08:16:27 -0400 (0:00:00.116) 0:00:35.117 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 07 October 2024 08:16:27 -0400 (0:00:00.751) 0:00:35.869 ******** skipping: [managed-node2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 07 October 2024 08:16:28 -0400 (0:00:00.212) 0:00:36.082 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 07 October 2024 08:16:28 -0400 (0:00:00.112) 0:00:36.194 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009040", "end": "2024-10-07 08:16:28.871831", "rc": 0, "start": "2024-10-07 08:16:28.862791" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 07 October 2024 08:16:29 -0400 (0:00:00.727) 0:00:36.921 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 07 October 2024 08:16:29 -0400 (0:00:00.141) 0:00:37.063 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 07 October 2024 08:16:29 -0400 (0:00:00.117) 0:00:37.180 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 07 October 2024 08:16:29 -0400 (0:00:00.123) 0:00:37.304 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Monday 07 October 2024 08:16:29 -0400 (0:00:00.137) 0:00:37.442 ******** ok: [managed-node2] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Monday 07 October 2024 08:16:29 -0400 (0:00:00.148) 0:00:37.591 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 07 October 2024 08:16:30 -0400 (0:00:00.428) 0:00:38.019 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 07 October 2024 08:16:30 -0400 (0:00:00.196) 0:00:38.216 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 07 October 2024 08:16:30 -0400 (0:00:00.152) 0:00:38.368 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:16:30 -0400 (0:00:00.216) 0:00:38.584 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:16:30 -0400 (0:00:00.193) 0:00:38.777 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004453", "end": "2024-10-07 08:16:32.159385", "rc": 0, "start": "2024-10-07 08:16:31.154932" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:16:32 -0400 (0:00:01.417) 0:00:40.195 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:16:32 -0400 (0:00:00.091) 0:00:40.286 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 07 October 2024 08:16:32 -0400 (0:00:00.075) 0:00:40.362 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 07 October 2024 08:16:33 -0400 (0:00:00.747) 0:00:41.110 ******** ok: [managed-node2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.009791", "end": "2024-10-07 08:16:33.529107", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-10-07 08:16:33.519316" } ok: [managed-node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003800", "end": "2024-10-07 08:16:33.844387", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-10-07 08:16:33.840587" } ok: [managed-node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004684", "end": "2024-10-07 08:16:34.114896", "item": "ip link set veth0 up", "rc": 0, "start": "2024-10-07 08:16:34.110212" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 07 October 2024 08:16:34 -0400 (0:00:01.130) 0:00:42.240 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.026570", "end": "2024-10-07 08:16:34.695603", "rc": 0, "start": "2024-10-07 08:16:34.669033" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 07 October 2024 08:16:34 -0400 (0:00:00.597) 0:00:42.838 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 07 October 2024 08:16:35 -0400 (0:00:00.094) 0:00:42.932 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 07 October 2024 08:16:35 -0400 (0:00:00.093) 0:00:43.025 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 07 October 2024 08:16:35 -0400 (0:00:00.075) 0:00:43.100 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 07 October 2024 08:16:35 -0400 (0:00:00.093) 0:00:43.194 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:16:35 -0400 (0:00:00.113) 0:00:43.307 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:16:35 -0400 (0:00:00.205) 0:00:43.512 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:16:35 -0400 (0:00:00.166) 0:00:43.679 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:16:35 -0400 (0:00:00.157) 0:00:43.837 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:16:36 -0400 (0:00:00.108) 0:00:43.946 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:16:37 -0400 (0:00:01.012) 0:00:44.959 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:16:38 -0400 (0:00:01.651) 0:00:46.610 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:16:38 -0400 (0:00:00.140) 0:00:46.750 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:16:38 -0400 (0:00:00.121) 0:00:46.871 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:16:39 -0400 (0:00:00.130) 0:00:47.002 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:16:39 -0400 (0:00:00.120) 0:00:47.123 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:16:39 -0400 (0:00:00.155) 0:00:47.279 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:16:39 -0400 (0:00:00.134) 0:00:47.413 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:16:39 -0400 (0:00:00.141) 0:00:47.554 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:16:39 -0400 (0:00:00.224) 0:00:47.778 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:16:39 -0400 (0:00:00.126) 0:00:47.905 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:16:40 -0400 (0:00:00.121) 0:00:48.026 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:16:40 -0400 (0:00:00.180) 0:00:48.207 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:16:40 -0400 (0:00:00.579) 0:00:48.786 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:16:41 -0400 (0:00:00.141) 0:00:48.928 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:16:41 -0400 (0:00:00.148) 0:00:49.076 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:16:41 -0400 (0:00:00.195) 0:00:49.272 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b293c6a8-91c5-4d0e-8647-28ae559a2ee0 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b293c6a8-91c5-4d0e-8647-28ae559a2ee0 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:16:42 -0400 (0:00:01.022) 0:00:50.294 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:16:42 -0400 (0:00:00.078) 0:00:50.372 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b293c6a8-91c5-4d0e-8647-28ae559a2ee0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b293c6a8-91c5-4d0e-8647-28ae559a2ee0 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:16:42 -0400 (0:00:00.113) 0:00:50.485 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b293c6a8-91c5-4d0e-8647-28ae559a2ee0\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b293c6a8-91c5-4d0e-8647-28ae559a2ee0 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b293c6a8-91c5-4d0e-8647-28ae559a2ee0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b293c6a8-91c5-4d0e-8647-28ae559a2ee0 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:16:42 -0400 (0:00:00.131) 0:00:50.617 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:16:42 -0400 (0:00:00.246) 0:00:50.864 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Monday 07 October 2024 08:16:43 -0400 (0:00:00.641) 0:00:51.505 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 07 October 2024 08:16:43 -0400 (0:00:00.218) 0:00:51.724 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 07 October 2024 08:16:44 -0400 (0:00:00.187) 0:00:51.912 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303393.5314121, "block_size": 4096, "blocks": 0, "ctime": 1728303393.5304122, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17730, "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": 1728303393.5304122, "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-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 07 October 2024 08:16:44 -0400 (0:00:00.439) 0:00:52.351 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Monday 07 October 2024 08:16:44 -0400 (0:00:00.115) 0:00:52.467 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 07 October 2024 08:16:44 -0400 (0:00:00.291) 0:00:52.758 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 07 October 2024 08:16:45 -0400 (0:00:00.214) 0:00:52.973 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 07 October 2024 08:16:45 -0400 (0:00:00.284) 0:00:53.258 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728303402.1925125, "block_size": 4096, "blocks": 8, "ctime": 1728303402.1225119, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728303402.1225119, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 07 October 2024 08:16:45 -0400 (0:00:00.635) 0:00:53.893 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 07 October 2024 08:16:46 -0400 (0:00:00.128) 0:00:54.022 ******** ok: [managed-node2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022619", "end": "2024-10-07 08:16:46.662554", "rc": 0, "start": "2024-10-07 08:16:46.639935" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 07 October 2024 08:16:46 -0400 (0:00:00.687) 0:00:54.710 ******** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 07 October 2024 08:16:46 -0400 (0:00:00.125) 0:00:54.835 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 07 October 2024 08:16:47 -0400 (0:00:00.149) 0:00:54.985 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 07 October 2024 08:16:47 -0400 (0:00:00.165) 0:00:55.151 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 07 October 2024 08:16:47 -0400 (0:00:00.126) 0:00:55.277 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 07 October 2024 08:16:47 -0400 (0:00:00.129) 0:00:55.407 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 07 October 2024 08:16:47 -0400 (0:00:00.119) 0:00:55.526 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 07 October 2024 08:16:47 -0400 (0:00:00.099) 0:00:55.626 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Monday 07 October 2024 08:16:47 -0400 (0:00:00.078) 0:00:55.704 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003568", "end": "2024-10-07 08:16:48.076842", "rc": 0, "start": "2024-10-07 08:16:48.073274" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.207 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Monday 07 October 2024 08:16:48 -0400 (0:00:00.426) 0:00:56.131 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Monday 07 October 2024 08:16:48 -0400 (0:00:00.131) 0:00:56.263 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003415", "end": "2024-10-07 08:16:48.731990", "rc": 0, "start": "2024-10-07 08:16:48.728575" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Monday 07 October 2024 08:16:48 -0400 (0:00:00.468) 0:00:56.732 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Monday 07 October 2024 08:16:48 -0400 (0:00:00.099) 0:00:56.832 ******** ok: [managed-node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 07 October 2024 08:16:49 -0400 (0:00:00.230) 0:00:57.062 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 07 October 2024 08:16:49 -0400 (0:00:00.411) 0:00:57.474 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 07 October 2024 08:16:49 -0400 (0:00:00.268) 0:00:57.742 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 07 October 2024 08:16:49 -0400 (0:00:00.150) 0:00:57.892 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 07 October 2024 08:16:50 -0400 (0:00:00.131) 0:00:58.023 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 07 October 2024 08:16:51 -0400 (0:00:01.020) 0:00:59.044 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 07 October 2024 08:16:52 -0400 (0:00:01.572) 0:01:00.617 ******** ok: [managed-node2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 07 October 2024 08:16:52 -0400 (0:00:00.204) 0:01:00.821 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 07 October 2024 08:16:53 -0400 (0:00:00.137) 0:01:00.959 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 07 October 2024 08:16:53 -0400 (0:00:00.111) 0:01:01.071 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 07 October 2024 08:16:53 -0400 (0:00:00.382) 0:01:01.454 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 07 October 2024 08:16:53 -0400 (0:00:00.218) 0:01:01.672 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 07 October 2024 08:16:53 -0400 (0:00:00.155) 0:01:01.828 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 07 October 2024 08:16:54 -0400 (0:00:00.104) 0:01:01.932 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 07 October 2024 08:16:54 -0400 (0:00:00.136) 0:01:02.069 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 07 October 2024 08:16:54 -0400 (0:00:00.130) 0:01:02.199 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 07 October 2024 08:16:54 -0400 (0:00:00.157) 0:01:02.357 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 07 October 2024 08:16:54 -0400 (0:00:00.151) 0:01:02.509 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 07 October 2024 08:16:55 -0400 (0:00:00.626) 0:01:03.135 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 07 October 2024 08:16:55 -0400 (0:00:00.120) 0:01:03.256 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 07 October 2024 08:16:55 -0400 (0:00:00.082) 0:01:03.339 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 07 October 2024 08:16:55 -0400 (0:00:00.084) 0:01:03.424 ******** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 07 October 2024 08:16:56 -0400 (0:00:00.741) 0:01:04.165 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 07 October 2024 08:16:56 -0400 (0:00:00.068) 0:01:04.234 ******** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 07 October 2024 08:16:56 -0400 (0:00:00.073) 0:01:04.307 ******** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 07 October 2024 08:16:56 -0400 (0:00:00.203) 0:01:04.511 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 07 October 2024 08:16:56 -0400 (0:00:00.115) 0:01:04.626 ******** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Monday 07 October 2024 08:16:57 -0400 (0:00:00.450) 0:01:05.076 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 07 October 2024 08:16:57 -0400 (0:00:00.447) 0:01:05.524 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 07 October 2024 08:16:57 -0400 (0:00:00.195) 0:01:05.719 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 07 October 2024 08:16:57 -0400 (0:00:00.136) 0:01:05.855 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 07 October 2024 08:16:58 -0400 (0:00:00.205) 0:01:06.061 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 07 October 2024 08:16:58 -0400 (0:00:00.159) 0:01:06.221 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003278", "end": "2024-10-07 08:16:58.599836", "rc": 0, "start": "2024-10-07 08:16:58.596558" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 07 October 2024 08:16:58 -0400 (0:00:00.403) 0:01:06.625 ******** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 07 October 2024 08:16:58 -0400 (0:00:00.107) 0:01:06.732 ******** ok: [managed-node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 07 October 2024 08:16:58 -0400 (0:00:00.100) 0:01:06.833 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 07 October 2024 08:16:59 -0400 (0:00:00.624) 0:01:07.457 ******** skipping: [managed-node2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 07 October 2024 08:16:59 -0400 (0:00:00.278) 0:01:07.736 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 07 October 2024 08:16:59 -0400 (0:00:00.135) 0:01:07.872 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012368", "end": "2024-10-07 08:17:00.291773", "rc": 0, "start": "2024-10-07 08:17:00.279405" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 07 October 2024 08:17:00 -0400 (0:00:00.455) 0:01:08.328 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 07 October 2024 08:17:00 -0400 (0:00:00.104) 0:01:08.432 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 07 October 2024 08:17:00 -0400 (0:00:00.133) 0:01:08.566 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 07 October 2024 08:17:00 -0400 (0:00:00.194) 0:01:08.760 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Monday 07 October 2024 08:17:00 -0400 (0:00:00.144) 0:01:08.904 ******** included: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 07 October 2024 08:17:01 -0400 (0:00:00.216) 0:01:09.120 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006823", "end": "2024-10-07 08:17:01.527441", "rc": 0, "start": "2024-10-07 08:17:01.520618" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:0f:85:a9:80:c5 brd ff:ff:ff:ff:ff:ff inet 10.31.11.207/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3085sec preferred_lft 3085sec inet6 fe80::100f:85ff:fea9:80c5/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 92:71:23:2d:d8:ca brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.207 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 07 October 2024 08:17:01 -0400 (0:00:00.455) 0:01:09.576 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.460237", "end": "2024-10-07 08:17:02.492117", "rc": 0, "start": "2024-10-07 08:17:02.031880" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 1243 0 --:--:-- --:--:-- --:--:-- 1244 % 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 1486 0 --:--:-- --:--:-- --:--:-- 1492 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=133 changed=4 unreachable=0 failed=0 skipped=113 rescued=0 ignored=0 Monday 07 October 2024 08:17:02 -0400 (0:00:00.875) 0:01:10.452 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.48s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 Gather current interface info ------------------------------------------- 1.42s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.34s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Create veth interface veth0 --------------------------------------------- 1.24s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.23s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Create veth interface veth0 --------------------------------------------- 1.13s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.11s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.10s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install yum-utils package ----------------------------------------------- 1.05s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.02s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which services are running ---- 1.02s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.01s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Check if system is ostree ----------------------------------------------- 0.98s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.90s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Verify DNS and network connectivity ------------------------------------- 0.88s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Install iproute --------------------------------------------------------- 0.75s /tmp/collections-H8T/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16