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-LyJ/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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 Wednesday 23 October 2024 17:02:25 -0400 (0:00:00.077) 0:00:00.077 ***** ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:9 Wednesday 23 October 2024 17:02:26 -0400 (0:00:01.236) 0:00:01.314 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 23 October 2024 17:02:26 -0400 (0:00:00.046) 0:00:01.360 ***** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 23 October 2024 17:02:27 -0400 (0:00:00.529) 0:00:01.890 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 23 October 2024 17:02:28 -0400 (0:00:00.663) 0:00:02.553 ***** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 23 October 2024 17:02:28 -0400 (0:00:00.070) 0:00:02.624 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 23 October 2024 17:02:28 -0400 (0:00:00.064) 0:00:02.689 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 23 October 2024 17:02:28 -0400 (0:00:00.187) 0:00:02.877 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 23 October 2024 17:02:29 -0400 (0:00:00.942) 0:00:03.819 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 23 October 2024 17:02:30 -0400 (0:00:00.937) 0:00:04.757 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177302", "end": "2024-10-23 17:02:30.712004", "rc": 0, "start": "2024-10-23 17:02:30.534702" } 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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 23 October 2024 17:02:30 -0400 (0:00:00.522) 0:00:05.279 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 23 October 2024 17:02:30 -0400 (0:00:00.039) 0:00:05.319 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:11 Wednesday 23 October 2024 17:02:30 -0400 (0:00:00.056) 0:00:05.375 ***** ok: [managed-node3] => { "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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 23 October 2024 17:02:30 -0400 (0:00:00.042) 0:00:05.418 ***** ok: [managed-node3] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 23 October 2024 17:02:31 -0400 (0:00:00.620) 0:00:06.038 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:02:31 -0400 (0:00:00.126) 0:00:06.165 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:02:31 -0400 (0:00:00.059) 0:00:06.224 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002821", "end": "2024-10-23 17:02:32.043375", "rc": 0, "start": "2024-10-23 17:02:32.040554" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:02:32 -0400 (0:00:00.388) 0:00:06.613 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:02:32 -0400 (0:00:00.040) 0:00:06.653 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Wednesday 23 October 2024 17:02:32 -0400 (0:00:00.040) 0:00:06.694 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:02:32 -0400 (0:00:00.141) 0:00:06.836 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:02:32 -0400 (0:00:00.034) 0:00:06.870 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:02:32 -0400 (0:00:00.035) 0:00:06.906 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:02:32 -0400 (0:00:00.052) 0:00:06.959 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:02:32 -0400 (0:00:00.038) 0:00:06.997 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004806", "end": "2024-10-23 17:02:33.750409", "rc": 0, "start": "2024-10-23 17:02:32.745603" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:02:33 -0400 (0:00:01.318) 0:00:08.316 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:02:33 -0400 (0:00:00.042) 0:00:08.359 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:02:33 -0400 (0:00:00.039) 0:00:08.398 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:02:34 -0400 (0:00:00.625) 0:00:09.024 ***** ok: [managed-node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.012004", "end": "2024-10-23 17:02:34.808708", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-10-23 17:02:34.796704" } ok: [managed-node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004112", "end": "2024-10-23 17:02:35.097984", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-10-23 17:02:35.093872" } ok: [managed-node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004785", "end": "2024-10-23 17:02:35.420025", "item": "ip link set veth0 up", "rc": 0, "start": "2024-10-23 17:02:35.415240" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:02:35 -0400 (0:00:00.958) 0:00:09.982 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.028330", "end": "2024-10-23 17:02:35.818926", "rc": 0, "start": "2024-10-23 17:02:35.790596" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:02:35 -0400 (0:00:00.438) 0:00:10.421 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:02:35 -0400 (0:00:00.050) 0:00:10.471 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.041) 0:00:10.512 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.063) 0:00:10.576 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.051) 0:00:10.627 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.039) 0:00:10.666 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.145) 0:00:10.812 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.060) 0:00:10.873 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729717354.8070085, "block_size": 4096, "blocks": 0, "ctime": 1729717354.8060086, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17764, "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": 1729717354.8060086, "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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.383) 0:00:11.256 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.036) 0:00:11.292 ***** ok: [managed-node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.025) 0:00:11.318 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.094) 0:00:11.413 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.043) 0:00:11.457 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 17:02:36 -0400 (0:00:00.034) 0:00:11.491 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 17:02:37 -0400 (0:00:00.030) 0:00:11.521 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 17:02:38 -0400 (0:00:01.052) 0:00:12.574 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 17:02:39 -0400 (0:00:01.770) 0:00:14.344 ***** ok: [managed-node3] => {} 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-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 17:02:39 -0400 (0:00:00.148) 0:00:14.493 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 17:02:40 -0400 (0:00:00.128) 0:00:14.622 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 17:02:40 -0400 (0:00:00.134) 0:00:14.757 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 17:02:40 -0400 (0:00:00.116) 0:00:14.873 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 17:02:40 -0400 (0:00:00.094) 0:00:14.968 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 17:02:40 -0400 (0:00:00.088) 0:00:15.056 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 17:02:40 -0400 (0:00:00.087) 0:00:15.144 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 17:02:40 -0400 (0:00:00.244) 0:00:15.388 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 17:02:40 -0400 (0:00:00.080) 0:00:15.468 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 17:02:41 -0400 (0:00:00.078) 0:00:15.547 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 17:02:41 -0400 (0:00:00.114) 0:00:15.662 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 17:02:42 -0400 (0:00:01.015) 0:00:16.677 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 17:02:42 -0400 (0:00:00.109) 0:00:16.787 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 17:02:42 -0400 (0:00:00.099) 0:00:16.886 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 17:02:42 -0400 (0:00:00.095) 0:00:16.982 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b3843697-afbc-4aee-b1e6-2d31d2ed5a57 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b3843697-afbc-4aee-b1e6-2d31d2ed5a57 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 17:02:43 -0400 (0:00:01.282) 0:00:18.265 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 17:02:43 -0400 (0:00:00.118) 0:00:18.384 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b3843697-afbc-4aee-b1e6-2d31d2ed5a57", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b3843697-afbc-4aee-b1e6-2d31d2ed5a57 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 17:02:44 -0400 (0:00:00.116) 0:00:18.500 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b3843697-afbc-4aee-b1e6-2d31d2ed5a57\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b3843697-afbc-4aee-b1e6-2d31d2ed5a57 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, b3843697-afbc-4aee-b1e6-2d31d2ed5a57", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, b3843697-afbc-4aee-b1e6-2d31d2ed5a57 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 17:02:44 -0400 (0:00:00.203) 0:00:18.704 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 17:02:44 -0400 (0:00:00.151) 0:00:18.855 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 23 October 2024 17:02:45 -0400 (0:00:00.813) 0:00:19.669 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 17:02:45 -0400 (0:00:00.384) 0:00:20.053 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 17:02:45 -0400 (0:00:00.301) 0:00:20.355 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729717354.8070085, "block_size": 4096, "blocks": 0, "ctime": 1729717354.8060086, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17764, "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": 1729717354.8060086, "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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 17:02:46 -0400 (0:00:00.436) 0:00:20.791 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Wednesday 23 October 2024 17:02:46 -0400 (0:00:00.114) 0:00:20.906 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 17:02:46 -0400 (0:00:00.314) 0:00:21.221 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 17:02:46 -0400 (0:00:00.219) 0:00:21.440 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 17:02:47 -0400 (0:00:00.110) 0:00:21.551 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729717363.5630734, "block_size": 4096, "blocks": 8, "ctime": 1729717363.4880726, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729717363.4880726, "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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 17:02:47 -0400 (0:00:00.456) 0:00:22.007 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 17:02:47 -0400 (0:00:00.123) 0:00:22.131 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023640", "end": "2024-10-23 17:02:47.963675", "rc": 0, "start": "2024-10-23 17:02:47.940035" } 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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 17:02:48 -0400 (0:00:00.473) 0:00:22.604 ***** ok: [managed-node3] => { "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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 17:02:48 -0400 (0:00:00.111) 0:00:22.716 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 17:02:48 -0400 (0:00:00.102) 0:00:22.818 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 17:02:48 -0400 (0:00:00.186) 0:00:23.005 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 17:02:48 -0400 (0:00:00.313) 0:00:23.318 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 17:02:49 -0400 (0:00:00.185) 0:00:23.504 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 17:02:49 -0400 (0:00:00.150) 0:00:23.654 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 17:02:49 -0400 (0:00:00.131) 0:00:23.785 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 23 October 2024 17:02:49 -0400 (0:00:00.116) 0:00:23.902 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003132", "end": "2024-10-23 17:02:49.728381", "rc": 0, "start": "2024-10-23 17:02:49.725249" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.32 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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 23 October 2024 17:02:49 -0400 (0:00:00.551) 0:00:24.454 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Wednesday 23 October 2024 17:02:50 -0400 (0:00:00.140) 0:00:24.594 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003148", "end": "2024-10-23 17:02:50.456386", "rc": 0, "start": "2024-10-23 17:02:50.453238" } 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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Wednesday 23 October 2024 17:02:50 -0400 (0:00:00.541) 0:00:25.136 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Wednesday 23 October 2024 17:02:50 -0400 (0:00:00.132) 0:00:25.269 ***** ok: [managed-node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 17:02:50 -0400 (0:00:00.136) 0:00:25.405 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 17:02:51 -0400 (0:00:00.261) 0:00:25.667 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 17:02:51 -0400 (0:00:00.282) 0:00:25.949 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 17:02:51 -0400 (0:00:00.180) 0:00:26.130 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 17:02:51 -0400 (0:00:00.117) 0:00:26.248 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 17:02:52 -0400 (0:00:01.087) 0:00:27.335 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 17:02:54 -0400 (0:00:01.518) 0:00:28.854 ***** ok: [managed-node3] => {} 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-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 17:02:54 -0400 (0:00:00.141) 0:00:28.995 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 17:02:54 -0400 (0:00:00.126) 0:00:29.121 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 17:02:54 -0400 (0:00:00.129) 0:00:29.251 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 17:02:54 -0400 (0:00:00.121) 0:00:29.372 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 17:02:54 -0400 (0:00:00.106) 0:00:29.479 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 17:02:55 -0400 (0:00:00.090) 0:00:29.569 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 17:02:55 -0400 (0:00:00.117) 0:00:29.687 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 17:02:55 -0400 (0:00:00.194) 0:00:29.881 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 17:02:55 -0400 (0:00:00.096) 0:00:29.978 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 17:02:55 -0400 (0:00:00.088) 0:00:30.067 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 17:02:55 -0400 (0:00:00.196) 0:00:30.264 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 17:02:56 -0400 (0:00:01.045) 0:00:31.309 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 17:02:57 -0400 (0:00:00.259) 0:00:31.569 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 17:02:57 -0400 (0:00:00.173) 0:00:31.742 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 17:02:57 -0400 (0:00:00.236) 0:00:31.979 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 17:02:58 -0400 (0:00:00.968) 0:00:32.947 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 17:02:58 -0400 (0:00:00.130) 0:00:33.078 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 17:02:58 -0400 (0:00:00.148) 0:00:33.227 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 17:02:58 -0400 (0:00:00.120) 0:00:33.348 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 17:02:58 -0400 (0:00:00.142) 0:00:33.491 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Wednesday 23 October 2024 17:02:59 -0400 (0:00:00.430) 0:00:33.921 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:02:59 -0400 (0:00:00.220) 0:00:34.142 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:02:59 -0400 (0:00:00.087) 0:00:34.230 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:02:59 -0400 (0:00:00.109) 0:00:34.339 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:03:00 -0400 (0:00:00.250) 0:00:34.589 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:03:00 -0400 (0:00:00.319) 0:00:34.908 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003536", "end": "2024-10-23 17:03:00.763501", "rc": 0, "start": "2024-10-23 17:03:00.759965" } STDOUT: bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:03:00 -0400 (0:00:00.495) 0:00:35.404 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:03:01 -0400 (0:00:00.143) 0:00:35.547 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:03:01 -0400 (0:00:00.169) 0:00:35.717 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:03:02 -0400 (0:00:00.823) 0:00:36.540 ***** skipping: [managed-node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:03:02 -0400 (0:00:00.159) 0:00:36.700 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:03:02 -0400 (0:00:00.192) 0:00:36.893 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010426", "end": "2024-10-23 17:03:02.703388", "rc": 0, "start": "2024-10-23 17:03:02.692962" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:03:02 -0400 (0:00:00.526) 0:00:37.420 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:03:03 -0400 (0:00:00.166) 0:00:37.586 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:03:03 -0400 (0:00:00.118) 0:00:37.704 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:03:03 -0400 (0:00:00.122) 0:00:37.827 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Wednesday 23 October 2024 17:03:03 -0400 (0:00:00.117) 0:00:37.945 ***** ok: [managed-node3] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Wednesday 23 October 2024 17:03:03 -0400 (0:00:00.119) 0:00:38.064 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:03:04 -0400 (0:00:00.500) 0:00:38.565 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:03:04 -0400 (0:00:00.164) 0:00:38.730 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:03:04 -0400 (0:00:00.118) 0:00:38.848 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:03:04 -0400 (0:00:00.215) 0:00:39.063 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:03:04 -0400 (0:00:00.208) 0:00:39.272 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002920", "end": "2024-10-23 17:03:05.095194", "rc": 0, "start": "2024-10-23 17:03:05.092274" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:03:05 -0400 (0:00:00.465) 0:00:39.738 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:03:05 -0400 (0:00:00.106) 0:00:39.844 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:03:05 -0400 (0:00:00.098) 0:00:39.943 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:03:06 -0400 (0:00:00.763) 0:00:40.706 ***** ok: [managed-node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.011521", "end": "2024-10-23 17:03:06.511754", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-10-23 17:03:06.500233" } ok: [managed-node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003955", "end": "2024-10-23 17:03:06.923471", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-10-23 17:03:06.919516" } ok: [managed-node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004436", "end": "2024-10-23 17:03:07.263519", "item": "ip link set veth0 up", "rc": 0, "start": "2024-10-23 17:03:07.259083" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:03:07 -0400 (0:00:01.225) 0:00:41.931 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.026081", "end": "2024-10-23 17:03:08.014143", "rc": 0, "start": "2024-10-23 17:03:07.988062" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:03:08 -0400 (0:00:00.844) 0:00:42.776 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:03:08 -0400 (0:00:00.152) 0:00:42.928 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:03:08 -0400 (0:00:00.130) 0:00:43.059 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:03:08 -0400 (0:00:00.220) 0:00:43.280 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:03:08 -0400 (0:00:00.104) 0:00:43.385 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 17:03:08 -0400 (0:00:00.088) 0:00:43.473 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 17:03:09 -0400 (0:00:00.204) 0:00:43.677 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 17:03:09 -0400 (0:00:00.184) 0:00:43.862 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 17:03:09 -0400 (0:00:00.172) 0:00:44.034 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 17:03:09 -0400 (0:00:00.175) 0:00:44.210 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 17:03:10 -0400 (0:00:01.065) 0:00:45.275 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 17:03:12 -0400 (0:00:01.898) 0:00:47.174 ***** ok: [managed-node3] => {} 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-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 17:03:12 -0400 (0:00:00.290) 0:00:47.465 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 17:03:13 -0400 (0:00:00.117) 0:00:47.583 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 17:03:13 -0400 (0:00:00.089) 0:00:47.672 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 17:03:13 -0400 (0:00:00.136) 0:00:47.808 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 17:03:13 -0400 (0:00:00.134) 0:00:47.943 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 17:03:13 -0400 (0:00:00.203) 0:00:48.147 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 17:03:13 -0400 (0:00:00.131) 0:00:48.278 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 17:03:14 -0400 (0:00:00.242) 0:00:48.521 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 17:03:14 -0400 (0:00:00.123) 0:00:48.644 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 17:03:14 -0400 (0:00:00.144) 0:00:48.788 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 17:03:14 -0400 (0:00:00.148) 0:00:48.937 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 17:03:15 -0400 (0:00:00.733) 0:00:49.670 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 17:03:15 -0400 (0:00:00.225) 0:00:49.896 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 17:03:15 -0400 (0:00:00.226) 0:00:50.122 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 17:03:15 -0400 (0:00:00.152) 0:00:50.275 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 842dca49-4a31-4f07-a273-cf7a204e1e15 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 842dca49-4a31-4f07-a273-cf7a204e1e15 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 17:03:16 -0400 (0:00:00.898) 0:00:51.174 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 17:03:16 -0400 (0:00:00.142) 0:00:51.316 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 842dca49-4a31-4f07-a273-cf7a204e1e15", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 842dca49-4a31-4f07-a273-cf7a204e1e15 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 17:03:17 -0400 (0:00:00.251) 0:00:51.568 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 842dca49-4a31-4f07-a273-cf7a204e1e15\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 842dca49-4a31-4f07-a273-cf7a204e1e15 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 842dca49-4a31-4f07-a273-cf7a204e1e15", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 842dca49-4a31-4f07-a273-cf7a204e1e15 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 17:03:17 -0400 (0:00:00.127) 0:00:51.695 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 17:03:17 -0400 (0:00:00.117) 0:00:51.813 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Wednesday 23 October 2024 17:03:17 -0400 (0:00:00.386) 0:00:52.199 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 17:03:18 -0400 (0:00:00.341) 0:00:52.541 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 17:03:18 -0400 (0:00:00.136) 0:00:52.677 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729717396.4493163, "block_size": 4096, "blocks": 0, "ctime": 1729717386.5122428, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17768, "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": 1729717386.5122428, "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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 17:03:18 -0400 (0:00:00.395) 0:00:53.072 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Wednesday 23 October 2024 17:03:18 -0400 (0:00:00.124) 0:00:53.197 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 17:03:19 -0400 (0:00:00.312) 0:00:53.509 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 17:03:19 -0400 (0:00:00.274) 0:00:53.784 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 17:03:19 -0400 (0:00:00.168) 0:00:53.953 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1729717396.4933167, "block_size": 4096, "blocks": 8, "ctime": 1729717396.4923167, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22472, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729717396.4923167, "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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 17:03:20 -0400 (0:00:00.560) 0:00:54.514 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 17:03:20 -0400 (0:00:00.138) 0:00:54.652 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024288", "end": "2024-10-23 17:03:20.574565", "rc": 0, "start": "2024-10-23 17:03:20.550277" } 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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 17:03:20 -0400 (0:00:00.540) 0:00:55.193 ***** ok: [managed-node3] => { "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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 17:03:20 -0400 (0:00:00.095) 0:00:55.289 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 17:03:20 -0400 (0:00:00.097) 0:00:55.386 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 17:03:20 -0400 (0:00:00.086) 0:00:55.473 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 17:03:21 -0400 (0:00:00.091) 0:00:55.564 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 17:03:21 -0400 (0:00:00.116) 0:00:55.681 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 17:03:21 -0400 (0:00:00.114) 0:00:55.795 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 17:03:21 -0400 (0:00:00.136) 0:00:55.932 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Wednesday 23 October 2024 17:03:21 -0400 (0:00:00.117) 0:00:56.049 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003275", "end": "2024-10-23 17:03:21.871323", "rc": 0, "start": "2024-10-23 17:03:21.868048" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.32 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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Wednesday 23 October 2024 17:03:22 -0400 (0:00:00.617) 0:00:56.667 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 23 October 2024 17:03:22 -0400 (0:00:00.129) 0:00:56.796 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002997", "end": "2024-10-23 17:03:22.590706", "rc": 0, "start": "2024-10-23 17:03:22.587709" } 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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Wednesday 23 October 2024 17:03:22 -0400 (0:00:00.566) 0:00:57.362 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Wednesday 23 October 2024 17:03:23 -0400 (0:00:00.214) 0:00:57.578 ***** ok: [managed-node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 17:03:23 -0400 (0:00:00.208) 0:00:57.786 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 17:03:23 -0400 (0:00:00.374) 0:00:58.160 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 17:03:23 -0400 (0:00:00.152) 0:00:58.313 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 17:03:24 -0400 (0:00:00.196) 0:00:58.510 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 17:03:24 -0400 (0:00:00.176) 0:00:58.687 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 17:03:25 -0400 (0:00:01.082) 0:00:59.769 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 17:03:26 -0400 (0:00:01.284) 0:01:01.053 ***** ok: [managed-node3] => {} 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-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 17:03:26 -0400 (0:00:00.104) 0:01:01.158 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 17:03:26 -0400 (0:00:00.122) 0:01:01.281 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 17:03:26 -0400 (0:00:00.120) 0:01:01.401 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 17:03:27 -0400 (0:00:00.228) 0:01:01.630 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 17:03:27 -0400 (0:00:00.124) 0:01:01.754 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 17:03:27 -0400 (0:00:00.189) 0:01:01.944 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 17:03:27 -0400 (0:00:00.139) 0:01:02.083 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 17:03:27 -0400 (0:00:00.220) 0:01:02.303 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 17:03:27 -0400 (0:00:00.131) 0:01:02.435 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 17:03:28 -0400 (0:00:00.126) 0:01:02.562 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 17:03:28 -0400 (0:00:00.117) 0:01:02.679 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 17:03:28 -0400 (0:00:00.554) 0:01:03.234 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 17:03:28 -0400 (0:00:00.127) 0:01:03.361 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 17:03:28 -0400 (0:00:00.115) 0:01:03.477 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 17:03:29 -0400 (0:00:00.115) 0:01:03.593 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 17:03:30 -0400 (0:00:01.050) 0:01:04.644 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 17:03:30 -0400 (0:00:00.144) 0:01:04.789 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 17:03:30 -0400 (0:00:00.153) 0:01:04.942 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 17:03:30 -0400 (0:00:00.141) 0:01:05.083 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 17:03:30 -0400 (0:00:00.121) 0:01:05.205 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Wednesday 23 October 2024 17:03:31 -0400 (0:00:00.528) 0:01:05.733 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed-node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 23 October 2024 17:03:31 -0400 (0:00:00.281) 0:01:06.014 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 23 October 2024 17:03:31 -0400 (0:00:00.097) 0:01:06.112 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 23 October 2024 17:03:31 -0400 (0:00:00.099) 0:01:06.211 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 17:03:31 -0400 (0:00:00.286) 0:01:06.498 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 17:03:32 -0400 (0:00:00.191) 0:01:06.689 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002953", "end": "2024-10-23 17:03:32.443291", "rc": 0, "start": "2024-10-23 17:03:32.440338" } STDOUT: bonding_masters eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 17:03:32 -0400 (0:00:00.389) 0:01:07.079 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 17:03:32 -0400 (0:00:00.144) 0:01:07.224 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 23 October 2024 17:03:32 -0400 (0:00:00.204) 0:01:07.428 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 23 October 2024 17:03:33 -0400 (0:00:00.731) 0:01:08.159 ***** skipping: [managed-node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 23 October 2024 17:03:33 -0400 (0:00:00.227) 0:01:08.387 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 23 October 2024 17:03:34 -0400 (0:00:00.192) 0:01:08.579 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012288", "end": "2024-10-23 17:03:34.546675", "rc": 0, "start": "2024-10-23 17:03:34.534387" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 23 October 2024 17:03:34 -0400 (0:00:00.666) 0:01:09.246 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 23 October 2024 17:03:34 -0400 (0:00:00.086) 0:01:09.333 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 23 October 2024 17:03:34 -0400 (0:00:00.101) 0:01:09.434 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 23 October 2024 17:03:35 -0400 (0:00:00.126) 0:01:09.561 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Wednesday 23 October 2024 17:03:35 -0400 (0:00:00.099) 0:01:09.660 ***** included: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 23 October 2024 17:03:35 -0400 (0:00:00.304) 0:01:09.964 ***** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007040", "end": "2024-10-23 17:03:35.983614", "rc": 0, "start": "2024-10-23 17:03:35.976574" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:b6:2c:61:b5:a5 brd ff:ff:ff:ff:ff:ff inet 10.31.45.32/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3463sec preferred_lft 3463sec inet6 fe80::b6:2cff:fe61:b5a5/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.32 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-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 23 October 2024 17:03:36 -0400 (0:00:00.671) 0:01:10.636 ***** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.613956", "end": "2024-10-23 17:03:37.239912", "rc": 0, "start": "2024-10-23 17:03:36.625956" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1517 0 --:--:-- --:--:-- --:--:-- 1517 % 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 736 0 --:--:-- --:--:-- --:--:-- 738 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=133 changed=4 unreachable=0 failed=0 skipped=113 rescued=0 ignored=0 Wednesday 23 October 2024 17:03:37 -0400 (0:00:01.208) 0:01:11.844 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.90s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.32s /tmp/collections-LyJ/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.28s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.28s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gathering Facts --------------------------------------------------------- 1.24s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_nm.yml:6 Create veth interface veth0 --------------------------------------------- 1.23s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Verify DNS and network connectivity ------------------------------------- 1.21s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 1.09s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.08s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.05s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.05s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.02s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Create veth interface veth0 --------------------------------------------- 0.96s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Create EPEL 7 ----------------------------------------------------------- 0.94s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Install yum-utils package ----------------------------------------------- 0.94s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.90s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Set up veth as managed by NetworkManager -------------------------------- 0.84s /tmp/collections-LyJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35