ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Tuesday 20 August 2024 10:08:37 -0400 (0:00:00.105) 0:00:00.105 ******** ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Tuesday 20 August 2024 10:08:39 -0400 (0:00:01.239) 0:00:01.345 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 20 August 2024 10:08:39 -0400 (0:00:00.049) 0:00:01.394 ******** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 20 August 2024 10:08:39 -0400 (0:00:00.697) 0:00:02.092 ******** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 20 August 2024 10:08:40 -0400 (0:00:00.734) 0:00:02.826 ******** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 20 August 2024 10:08:40 -0400 (0:00:00.113) 0:00:02.940 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 20 August 2024 10:08:40 -0400 (0:00:00.074) 0:00:03.014 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 20 August 2024 10:08:40 -0400 (0:00:00.148) 0:00:03.163 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 20 August 2024 10:08:41 -0400 (0:00:00.616) 0:00:03.780 ******** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 20 August 2024 10:08:42 -0400 (0:00:01.104) 0:00:04.884 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.182838", "end": "2024-08-20 10:08:43.060464", "rc": 0, "start": "2024-08-20 10:08:42.877626" } 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-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 20 August 2024 10:08:43 -0400 (0:00:00.556) 0:00:05.441 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 20 August 2024 10:08:43 -0400 (0:00:00.041) 0:00:05.483 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Tuesday 20 August 2024 10:08:43 -0400 (0:00:00.058) 0:00:05.541 ******** ok: [managed_node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Tuesday 20 August 2024 10:08:43 -0400 (0:00:00.068) 0:00:05.610 ******** ok: [managed_node2] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.752) 0:00:06.362 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.069) 0:00:06.432 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.035) 0:00:06.467 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003512", "end": "2024-08-20 10:08:44.416570", "rc": 0, "start": "2024-08-20 10:08:44.413058" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.394) 0:00:06.861 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.066) 0:00:06.928 ******** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.061) 0:00:06.989 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.159) 0:00:07.148 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.038) 0:00:07.187 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.037) 0:00:07.225 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:08:44 -0400 (0:00:00.059) 0:00:07.285 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.057) 0:00:07.343 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003489", "end": "2024-08-20 10:08:45.349159", "rc": 0, "start": "2024-08-20 10:08:45.345670" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.389) 0:00:07.732 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.044) 0:00:07.776 ******** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:08:45 -0400 (0:00:00.040) 0:00:07.817 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:08:46 -0400 (0:00:00.617) 0:00:08.435 ******** ok: [managed_node2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.007552", "end": "2024-08-20 10:08:46.679478", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-20 10:08:46.671926" } ok: [managed_node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.008215", "end": "2024-08-20 10:08:47.070978", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-20 10:08:47.062763" } ok: [managed_node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.008528", "end": "2024-08-20 10:08:47.522644", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-20 10:08:47.514116" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:08:47 -0400 (0:00:01.506) 0:00:09.941 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024953", "end": "2024-08-20 10:08:48.092917", "rc": 0, "start": "2024-08-20 10:08:48.067964" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:08:48 -0400 (0:00:00.525) 0:00:10.466 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:08:48 -0400 (0:00:00.042) 0:00:10.508 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:08:48 -0400 (0:00:00.043) 0:00:10.552 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:08:48 -0400 (0:00:00.050) 0:00:10.603 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:08:48 -0400 (0:00:00.042) 0:00:10.645 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Tuesday 20 August 2024 10:08:48 -0400 (0:00:00.042) 0:00:10.688 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:08:48 -0400 (0:00:00.124) 0:00:10.812 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:08:48 -0400 (0:00:00.055) 0:00:10.868 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162926.6804779, "block_size": 4096, "blocks": 0, "ctime": 1724162926.6804779, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17765, "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": 1724162926.6804779, "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-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:08:49 -0400 (0:00:00.528) 0:00:11.396 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Tuesday 20 August 2024 10:08:49 -0400 (0:00:00.050) 0:00:11.447 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:08:49 -0400 (0:00:00.042) 0:00:11.490 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:08:49 -0400 (0:00:00.075) 0:00:11.565 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:08:49 -0400 (0:00:00.043) 0:00:11.609 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:08:49 -0400 (0:00:00.042) 0:00:11.652 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:08:49 -0400 (0:00:00.041) 0:00:11.693 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:08:50 -0400 (0:00:01.290) 0:00:12.983 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:08:52 -0400 (0:00:02.082) 0:00:15.066 ******** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:08:52 -0400 (0:00:00.116) 0:00:15.183 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:08:52 -0400 (0:00:00.130) 0:00:15.314 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.116) 0:00:15.431 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.118) 0:00:15.553 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.094) 0:00:15.648 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.087) 0:00:15.736 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.102) 0:00:15.839 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.189) 0:00:16.028 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:08:53 -0400 (0:00:00.189) 0:00:16.218 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.179) 0:00:16.398 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.239) 0:00:16.637 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.191) 0:00:16.828 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:08:54 -0400 (0:00:00.195) 0:00:17.024 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:08:55 -0400 (0:00:01.244) 0:00:18.269 ******** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-13860UOVG28/tmp86yDFL" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:08:56 -0400 (0:00:00.727) 0:00:18.996 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state ', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:04 -0400 (0:00:07.815) 0:00:26.812 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:04 -0400 (0:00:00.207) 0:00:27.020 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:04 -0400 (0:00:00.119) 0:00:27.140 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:04 -0400 (0:00:00.170) 0:00:27.311 ******** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:05 -0400 (0:00:00.114) 0:00:27.425 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.993) 0:00:28.419 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.238) 0:00:28.657 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.129) 0:00:28.786 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162928.9925191, "block_size": 4096, "blocks": 0, "ctime": 1724162926.6804779, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17765, "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": 1724162926.6804779, "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-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:09:06 -0400 (0:00:00.390) 0:00:29.177 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Tuesday 20 August 2024 10:09:07 -0400 (0:00:00.143) 0:00:29.320 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 August 2024 10:09:07 -0400 (0:00:00.308) 0:00:29.629 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:09:07 -0400 (0:00:00.182) 0:00:29.811 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:09:07 -0400 (0:00:00.137) 0:00:29.948 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162938.1756837, "block_size": 4096, "blocks": 8, "ctime": 1724162938.1636837, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 143, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724162938.1636837, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.375) 0:00:30.324 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.078) 0:00:30.403 ******** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.026223", "end": "2024-08-20 10:09:08.426514", "rc": 1, "start": "2024-08-20 10:09:08.400291" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.590) 0:00:30.993 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:09:08 -0400 (0:00:00.107) 0:00:31.101 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003541", "end": "2024-08-20 10:09:09.276447", "rc": 0, "start": "2024-08-20 10:09:09.272906" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.847) 0:00:31.949 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:09:09 -0400 (0:00:00.269) 0:00:32.219 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003560", "end": "2024-08-20 10:09:10.501498", "rc": 0, "start": "2024-08-20 10:09:10.497938" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:09:10 -0400 (0:00:00.805) 0:00:33.025 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 August 2024 10:09:10 -0400 (0:00:00.160) 0:00:33.185 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 August 2024 10:09:10 -0400 (0:00:00.095) 0:00:33.281 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 August 2024 10:09:11 -0400 (0:00:00.104) 0:00:33.385 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Tuesday 20 August 2024 10:09:11 -0400 (0:00:00.095) 0:00:33.481 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003515", "end": "2024-08-20 10:09:11.536115", "rc": 0, "start": "2024-08-20 10:09:11.532600" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.33 metric 100 169.254.0.0/16 dev veth0 scope link metric 1044 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Tuesday 20 August 2024 10:09:11 -0400 (0:00:00.543) 0:00:34.024 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Tuesday 20 August 2024 10:09:11 -0400 (0:00:00.173) 0:00:34.197 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003696", "end": "2024-08-20 10:09:12.358358", "rc": 0, "start": "2024-08-20 10:09:12.354662" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Tuesday 20 August 2024 10:09:12 -0400 (0:00:00.569) 0:00:34.767 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Tuesday 20 August 2024 10:09:12 -0400 (0:00:00.153) 0:00:34.921 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:12 -0400 (0:00:00.120) 0:00:35.042 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.372) 0:00:35.414 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.208) 0:00:35.623 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.121) 0:00:35.744 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:13 -0400 (0:00:00.129) 0:00:35.874 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:14 -0400 (0:00:01.178) 0:00:37.052 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:16 -0400 (0:00:01.552) 0:00:38.605 ******** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.098) 0:00:38.703 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.165) 0:00:38.869 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.098) 0:00:38.967 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.076) 0:00:39.043 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.098) 0:00:39.142 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:16 -0400 (0:00:00.120) 0:00:39.263 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:17 -0400 (0:00:00.116) 0:00:39.379 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:17 -0400 (0:00:00.196) 0:00:39.576 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:17 -0400 (0:00:00.161) 0:00:39.737 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:17 -0400 (0:00:00.116) 0:00:39.853 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:17 -0400 (0:00:00.181) 0:00:40.035 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:17 -0400 (0:00:00.172) 0:00:40.207 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:18 -0400 (0:00:00.205) 0:00:40.412 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:19 -0400 (0:00:01.005) 0:00:41.418 ******** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-13860UOVG28/tmpXURC7v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:19 -0400 (0:00:00.666) 0:00:42.085 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.942) 0:00:43.027 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.093) 0:00:43.121 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:20 -0400 (0:00:00.120) 0:00:43.242 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:21 -0400 (0:00:00.128) 0:00:43.371 ******** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:21 -0400 (0:00:00.292) 0:00:43.663 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Tuesday 20 August 2024 10:09:21 -0400 (0:00:00.513) 0:00:44.177 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.336) 0:00:44.514 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.190) 0:00:44.704 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.151) 0:00:44.856 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.214) 0:00:45.070 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:09:22 -0400 (0:00:00.233) 0:00:45.304 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003941", "end": "2024-08-20 10:09:23.516738", "rc": 0, "start": "2024-08-20 10:09:23.512797" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 rpltstbr veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:09:23 -0400 (0:00:00.666) 0:00:45.971 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "rpltstbr", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:09:23 -0400 (0:00:00.098) 0:00:46.070 ******** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'rpltstbr', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:09:23 -0400 (0:00:00.080) 0:00:46.151 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.736) 0:00:46.888 ******** skipping: [managed_node2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.154) 0:00:47.042 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:09:24 -0400 (0:00:00.192) 0:00:47.235 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008044", "end": "2024-08-20 10:09:25.248608", "rc": 0, "start": "2024-08-20 10:09:25.240564" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.437) 0:00:47.672 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.107) 0:00:47.780 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.232) 0:00:48.012 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:09:25 -0400 (0:00:00.203) 0:00:48.215 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.233) 0:00:48.449 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.207) 0:00:48.656 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.472) 0:00:49.128 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:09:26 -0400 (0:00:00.156) 0:00:49.284 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:09:27 -0400 (0:00:00.213) 0:00:49.498 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:09:27 -0400 (0:00:00.221) 0:00:49.720 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:09:27 -0400 (0:00:00.227) 0:00:49.948 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003614", "end": "2024-08-20 10:09:28.082872", "rc": 0, "start": "2024-08-20 10:09:28.079258" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:09:28 -0400 (0:00:00.612) 0:00:50.560 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:09:28 -0400 (0:00:00.151) 0:00:50.712 ******** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:09:28 -0400 (0:00:00.325) 0:00:51.038 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:09:29 -0400 (0:00:00.932) 0:00:51.970 ******** ok: [managed_node2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.008707", "end": "2024-08-20 10:09:30.046415", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-20 10:09:30.037708" } ok: [managed_node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007581", "end": "2024-08-20 10:09:30.645064", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-20 10:09:30.637483" } ok: [managed_node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.011448", "end": "2024-08-20 10:09:31.055854", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-20 10:09:31.044406" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:09:31 -0400 (0:00:01.565) 0:00:53.536 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025321", "end": "2024-08-20 10:09:31.639436", "rc": 0, "start": "2024-08-20 10:09:31.614115" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:09:31 -0400 (0:00:00.679) 0:00:54.215 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.169) 0:00:54.384 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.119) 0:00:54.504 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.113) 0:00:54.617 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.086) 0:00:54.703 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.072) 0:00:54.775 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.139) 0:00:54.915 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.090) 0:00:55.006 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.073) 0:00:55.079 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:32 -0400 (0:00:00.092) 0:00:55.171 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:33 -0400 (0:00:01.073) 0:00:56.245 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:35 -0400 (0:00:01.693) 0:00:57.938 ******** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:35 -0400 (0:00:00.166) 0:00:58.104 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:35 -0400 (0:00:00.121) 0:00:58.226 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.132) 0:00:58.358 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.192) 0:00:58.551 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.098) 0:00:58.649 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.111) 0:00:58.760 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.147) 0:00:58.907 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.196) 0:00:59.103 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:36 -0400 (0:00:00.155) 0:00:59.259 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.127) 0:00:59.387 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.139) 0:00:59.526 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.232) 0:00:59.759 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:09:37 -0400 (0:00:00.158) 0:00:59.918 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.691) 0:01:00.610 ******** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-13860UOVG28/tmpBDXgYz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:09:38 -0400 (0:00:00.657) 0:01:01.267 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state ', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:09:46 -0400 (0:00:07.065) 0:01:08.332 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.177) 0:01:08.510 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.140) 0:01:08.650 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.128) 0:01:08.778 ******** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:09:46 -0400 (0:00:00.149) 0:01:08.928 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Tuesday 20 August 2024 10:09:47 -0400 (0:00:00.563) 0:01:09.492 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 August 2024 10:09:47 -0400 (0:00:00.188) 0:01:09.680 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 August 2024 10:09:47 -0400 (0:00:00.128) 0:01:09.809 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162979.708428, "block_size": 4096, "blocks": 0, "ctime": 1724162970.0462549, "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": 1724162970.0462549, "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-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.574) 0:01:10.384 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.142) 0:01:10.526 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.331) 0:01:10.858 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.198) 0:01:11.057 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 August 2024 10:09:48 -0400 (0:00:00.133) 0:01:11.190 ******** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1724162979.7234282, "block_size": 4096, "blocks": 8, "ctime": 1724162979.7114282, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 143, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724162979.7114282, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 August 2024 10:09:49 -0400 (0:00:00.521) 0:01:11.711 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 August 2024 10:09:49 -0400 (0:00:00.128) 0:01:11.840 ******** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.025273", "end": "2024-08-20 10:09:49.925465", "rc": 1, "start": "2024-08-20 10:09:49.900192" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 August 2024 10:09:50 -0400 (0:00:00.771) 0:01:12.612 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 August 2024 10:09:50 -0400 (0:00:00.145) 0:01:12.757 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003561", "end": "2024-08-20 10:09:50.942183", "rc": 0, "start": "2024-08-20 10:09:50.938622" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 August 2024 10:09:51 -0400 (0:00:00.682) 0:01:13.440 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 August 2024 10:09:51 -0400 (0:00:00.166) 0:01:13.607 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003464", "end": "2024-08-20 10:09:51.633350", "rc": 0, "start": "2024-08-20 10:09:51.629886" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 August 2024 10:09:51 -0400 (0:00:00.518) 0:01:14.125 ******** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 August 2024 10:09:51 -0400 (0:00:00.162) 0:01:14.288 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.129) 0:01:14.418 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.137) 0:01:14.555 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Tuesday 20 August 2024 10:09:52 -0400 (0:00:00.183) 0:01:14.739 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003334", "end": "2024-08-20 10:09:52.760670", "rc": 0, "start": "2024-08-20 10:09:52.757336" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.33 metric 100 169.254.0.0/16 dev veth0 scope link metric 1046 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Tuesday 20 August 2024 10:09:53 -0400 (0:00:00.630) 0:01:15.370 ******** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Tuesday 20 August 2024 10:09:53 -0400 (0:00:00.211) 0:01:15.581 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003633", "end": "2024-08-20 10:09:53.735584", "rc": 0, "start": "2024-08-20 10:09:53.731951" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Tuesday 20 August 2024 10:09:53 -0400 (0:00:00.659) 0:01:16.241 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.134) 0:01:16.376 ******** ok: [managed_node2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.139) 0:01:16.515 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.240) 0:01:16.756 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.256) 0:01:17.012 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.081) 0:01:17.094 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 20 August 2024 10:09:54 -0400 (0:00:00.096) 0:01:17.190 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 20 August 2024 10:09:56 -0400 (0:00:01.143) 0:01:18.333 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 20 August 2024 10:09:57 -0400 (0:00:01.430) 0:01:19.764 ******** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 20 August 2024 10:09:57 -0400 (0:00:00.133) 0:01:19.897 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 20 August 2024 10:09:57 -0400 (0:00:00.200) 0:01:20.097 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 20 August 2024 10:09:57 -0400 (0:00:00.199) 0:01:20.296 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.143) 0:01:20.440 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.120) 0:01:20.560 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.307) 0:01:20.867 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 20 August 2024 10:09:58 -0400 (0:00:00.231) 0:01:21.099 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 20 August 2024 10:09:59 -0400 (0:00:00.398) 0:01:21.498 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 20 August 2024 10:09:59 -0400 (0:00:00.162) 0:01:21.660 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 20 August 2024 10:09:59 -0400 (0:00:00.132) 0:01:21.793 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 20 August 2024 10:09:59 -0400 (0:00:00.286) 0:01:22.080 ******** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 20 August 2024 10:09:59 -0400 (0:00:00.120) 0:01:22.200 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.144) 0:01:22.344 ******** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 20 August 2024 10:10:00 -0400 (0:00:00.717) 0:01:23.062 ******** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-13860UOVG28/tmpxPAVNZ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 20 August 2024 10:10:01 -0400 (0:00:00.561) 0:01:23.624 ******** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 20 August 2024 10:10:02 -0400 (0:00:01.056) 0:01:24.680 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 20 August 2024 10:10:02 -0400 (0:00:00.121) 0:01:24.802 ******** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 20 August 2024 10:10:02 -0400 (0:00:00.125) 0:01:24.927 ******** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 20 August 2024 10:10:02 -0400 (0:00:00.155) 0:01:25.082 ******** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 20 August 2024 10:10:02 -0400 (0:00:00.140) 0:01:25.223 ******** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Tuesday 20 August 2024 10:10:03 -0400 (0:00:00.406) 0:01:25.629 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node2 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Tuesday 20 August 2024 10:10:03 -0400 (0:00:00.502) 0:01:26.132 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Tuesday 20 August 2024 10:10:03 -0400 (0:00:00.163) 0:01:26.295 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.118) 0:01:26.414 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.183) 0:01:26.598 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.141) 0:01:26.740 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003519", "end": "2024-08-20 10:10:04.811207", "rc": 0, "start": "2024-08-20 10:10:04.807688" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 rpltstbr veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 August 2024 10:10:04 -0400 (0:00:00.497) 0:01:27.238 ******** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "rpltstbr", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 August 2024 10:10:05 -0400 (0:00:00.173) 0:01:27.411 ******** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'rpltstbr', u'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Tuesday 20 August 2024 10:10:05 -0400 (0:00:00.147) 0:01:27.559 ******** ok: [managed_node2] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Tuesday 20 August 2024 10:10:06 -0400 (0:00:01.109) 0:01:28.668 ******** skipping: [managed_node2] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Tuesday 20 August 2024 10:10:06 -0400 (0:00:00.298) 0:01:28.967 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Tuesday 20 August 2024 10:10:06 -0400 (0:00:00.167) 0:01:29.134 ******** ok: [managed_node2] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010959", "end": "2024-08-20 10:10:07.177526", "rc": 0, "start": "2024-08-20 10:10:07.166567" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.590) 0:01:29.725 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.154) 0:01:29.879 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.257) 0:01:30.137 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Tuesday 20 August 2024 10:10:07 -0400 (0:00:00.144) 0:01:30.281 ******** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Tuesday 20 August 2024 10:10:08 -0400 (0:00:00.194) 0:01:30.476 ******** included: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 August 2024 10:10:08 -0400 (0:00:00.505) 0:01:30.981 ******** ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007888", "end": "2024-08-20 10:10:09.006989", "rc": 0, "start": "2024-08-20 10:10:08.999101" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:49:ad:51:e5:4b brd ff:ff:ff:ff:ff:ff inet 10.31.9.33/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2479sec preferred_lft 2479sec inet6 fe80::1049:adff:fe51:e54b/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 2e:b7:5b:2c:98:26 brd ff:ff:ff:ff:ff:ff 21: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a6:80:3f:03:fa:3a brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::a480:3fff:fe03:fa3a/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.33 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 August 2024 10:10:09 -0400 (0:00:00.496) 0:01:31.477 ******** ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.706450", "end": "2024-08-20 10:10:10.335138", "rc": 0, "start": "2024-08-20 10:10:09.628688" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1090 0 --:--:-- --:--:-- --:--:-- 1093 % 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 291 100 291 0 0 719 0 --:--:-- --:--:-- --:--:-- 718 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=141 changed=4 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Tuesday 20 August 2024 10:10:10 -0400 (0:00:01.242) 0:01:32.719 ******** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 7.82s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 7.07s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 2.08s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 1.57s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 1.50s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.29s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Enable network service -------------- 1.24s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Verify DNS and network connectivity ------------------------------------- 1.24s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Gathering Facts --------------------------------------------------------- 1.24s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Check which services are running ---- 1.18s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.14s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 1.11s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install yum-utils package ----------------------------------------------- 1.10s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.06s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.99s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Install iproute --------------------------------------------------------- 0.93s /tmp/collections-MoA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16