ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [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-2EU/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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Saturday 24 August 2024 08:36:39 -0400 (0:00:00.044) 0:00:00.044 ******* ok: [managed_node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Saturday 24 August 2024 08:36:40 -0400 (0:00:01.161) 0:00:01.206 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 24 August 2024 08:36:40 -0400 (0:00:00.019) 0:00:01.226 ******* ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 24 August 2024 08:36:41 -0400 (0:00:00.545) 0:00:01.771 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 24 August 2024 08:36:41 -0400 (0:00:00.453) 0:00:02.225 ******* ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 24 August 2024 08:36:41 -0400 (0:00:00.039) 0:00:02.264 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 24 August 2024 08:36:41 -0400 (0:00:00.036) 0:00:02.300 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 24 August 2024 08:36:41 -0400 (0:00:00.073) 0:00:02.374 ******* ok: [managed_node3] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 24 August 2024 08:36:42 -0400 (0:00:00.477) 0:00:02.851 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 24 August 2024 08:36:42 -0400 (0:00:00.018) 0:00:02.870 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 24 August 2024 08:36:42 -0400 (0:00:00.019) 0:00:02.890 ******* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.218504", "end": "2024-08-24 08:36:42.715532", "rc": 0, "start": "2024-08-24 08:36:42.497028" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 24 August 2024 08:36:42 -0400 (0:00:00.556) 0:00:03.446 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Saturday 24 August 2024 08:36:42 -0400 (0:00:00.018) 0:00:03.464 ******* ok: [managed_node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Saturday 24 August 2024 08:36:42 -0400 (0:00:00.020) 0:00:03.484 ******* ok: [managed_node3] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.607) 0:00:04.092 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.044) 0:00:04.136 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.023) 0:00:04.160 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002687", "end": "2024-08-24 08:36:43.769148", "rc": 0, "start": "2024-08-24 08:36:43.766461" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.337) 0:00:04.498 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.020) 0:00:04.519 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.020) 0:00:04.539 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.054) 0:00:04.594 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.019) 0:00:04.613 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.019) 0:00:04.633 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:36:43 -0400 (0:00:00.026) 0:00:04.659 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:36:44 -0400 (0:00:00.024) 0:00:04.683 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002690", "end": "2024-08-24 08:36:44.293464", "rc": 0, "start": "2024-08-24 08:36:44.290774" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:36:44 -0400 (0:00:00.339) 0:00:05.023 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:36:44 -0400 (0:00:00.020) 0:00:05.043 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 24 August 2024 08:36:44 -0400 (0:00:00.020) 0:00:05.064 ******* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 24 August 2024 08:36:59 -0400 (0:00:14.684) 0:00:19.748 ******* ok: [managed_node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.018469", "end": "2024-08-24 08:36:59.384767", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-24 08:36:59.366298" } ok: [managed_node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003628", "end": "2024-08-24 08:36:59.758656", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-24 08:36:59.755028" } ok: [managed_node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003544", "end": "2024-08-24 08:37:00.126025", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-24 08:37:00.122481" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 24 August 2024 08:37:00 -0400 (0:00:01.109) 0:00:20.858 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.025633", "end": "2024-08-24 08:37:00.499839", "rc": 0, "start": "2024-08-24 08:37:00.474206" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 24 August 2024 08:37:00 -0400 (0:00:00.374) 0:00:21.233 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 24 August 2024 08:37:00 -0400 (0:00:00.021) 0:00:21.254 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 24 August 2024 08:37:00 -0400 (0:00:00.021) 0:00:21.276 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 24 August 2024 08:37:00 -0400 (0:00:00.021) 0:00:21.298 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 24 August 2024 08:37:00 -0400 (0:00:00.021) 0:00:21.319 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Saturday 24 August 2024 08:37:00 -0400 (0:00:00.019) 0:00:21.339 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 24 August 2024 08:37:00 -0400 (0:00:00.066) 0:00:21.406 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:37:00 -0400 (0:00:00.032) 0:00:21.439 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503019.3757374, "block_size": 4096, "blocks": 0, "ctime": 1724503019.3757374, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21709, "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": 1724503019.3757374, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 24 August 2024 08:37:01 -0400 (0:00:00.375) 0:00:21.814 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Saturday 24 August 2024 08:37:01 -0400 (0:00:00.029) 0:00:21.844 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:37:01 -0400 (0:00:00.028) 0:00:21.872 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:37:01 -0400 (0:00:00.039) 0:00:21.912 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:37:01 -0400 (0:00:00.030) 0:00:21.943 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:37:01 -0400 (0:00:00.020) 0:00:21.963 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:37:01 -0400 (0:00:00.024) 0:00:21.988 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:37:02 -0400 (0:00:01.671) 0:00:23.659 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:37:04 -0400 (0:00:01.726) 0:00:25.385 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:37:04 -0400 (0:00:00.039) 0:00:25.425 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:37:04 -0400 (0:00:00.037) 0:00:25.462 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:37:04 -0400 (0:00:00.037) 0:00:25.500 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:37:04 -0400 (0:00:00.044) 0:00:25.544 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:37:04 -0400 (0:00:00.055) 0:00:25.599 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:37:04 -0400 (0:00:00.048) 0:00:25.648 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:37:05 -0400 (0:00:00.049) 0:00:25.697 ******* changed: [managed_node3] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } lsrpackages: dhcp-client network-scripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:37:09 -0400 (0:00:04.211) 0:00:29.909 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:37:09 -0400 (0:00:00.055) 0:00:29.964 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:37:09 -0400 (0:00:00.056) 0:00:30.021 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:37:09 -0400 (0:00:00.052) 0:00:30.073 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:37:09 -0400 (0:00:00.046) 0:00:30.120 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:37:09 -0400 (0:00:00.039) 0:00:30.160 ******* changed: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:37:10 -0400 (0:00:01.110) 0:00:31.270 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8639toah1ymx/tmpri6p8tjc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:37:11 -0400 (0:00:00.419) 0:00:31.689 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"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='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:37:18 -0400 (0:00:07.014) 0:00:38.704 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:37:18 -0400 (0:00:00.043) 0:00:38.748 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:37:18 -0400 (0:00:00.045) 0:00:38.793 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:37:18 -0400 (0:00:00.039) 0:00:38.833 ******* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:37:18 -0400 (0:00:00.036) 0:00:38.869 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Saturday 24 August 2024 08:37:18 -0400 (0:00:00.509) 0:00:39.378 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 24 August 2024 08:37:18 -0400 (0:00:00.100) 0:00:39.479 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:37:18 -0400 (0:00:00.069) 0:00:39.549 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503019.3757374, "block_size": 4096, "blocks": 0, "ctime": 1724503019.3757374, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21709, "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": 1724503019.3757374, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 24 August 2024 08:37:19 -0400 (0:00:00.371) 0:00:39.920 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Saturday 24 August 2024 08:37:19 -0400 (0:00:00.038) 0:00:39.959 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 August 2024 08:37:19 -0400 (0:00:00.086) 0:00:40.045 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:37:19 -0400 (0:00:00.074) 0:00:40.120 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:37:19 -0400 (0:00:00.045) 0:00:40.166 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503031.7718377, "block_size": 4096, "blocks": 8, "ctime": 1724503031.7548378, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301247, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724503031.7548378, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:37:19 -0400 (0:00:00.392) 0:00:40.559 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:37:19 -0400 (0:00:00.061) 0:00:40.621 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017545", "end": "2024-08-24 08:37:20.298287", "rc": 1, "start": "2024-08-24 08:37:20.280742" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:37:20 -0400 (0:00:00.428) 0:00:41.049 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:37:20 -0400 (0:00:00.039) 0:00:41.089 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002808", "end": "2024-08-24 08:37:20.711784", "rc": 0, "start": "2024-08-24 08:37:20.708976" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:37:20 -0400 (0:00:00.371) 0:00:41.461 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:37:20 -0400 (0:00:00.046) 0:00:41.507 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.004059", "end": "2024-08-24 08:37:22.131076", "rc": 0, "start": "2024-08-24 08:37:21.127017" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:37:22 -0400 (0:00:01.446) 0:00:42.953 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 August 2024 08:37:22 -0400 (0:00:00.086) 0:00:43.040 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 August 2024 08:37:22 -0400 (0:00:00.154) 0:00:43.194 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 August 2024 08:37:22 -0400 (0:00:00.054) 0:00:43.248 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Saturday 24 August 2024 08:37:22 -0400 (0:00:00.067) 0:00:43.316 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003476", "end": "2024-08-24 08:37:23.002238", "rc": 0, "start": "2024-08-24 08:37:22.998762" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.223 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.223 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Saturday 24 August 2024 08:37:23 -0400 (0:00:00.432) 0:00:43.748 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Saturday 24 August 2024 08:37:23 -0400 (0:00:00.041) 0:00:43.790 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003332", "end": "2024-08-24 08:37:23.432548", "rc": 0, "start": "2024-08-24 08:37:23.429216" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Saturday 24 August 2024 08:37:23 -0400 (0:00:00.390) 0:00:44.180 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Saturday 24 August 2024 08:37:23 -0400 (0:00:00.036) 0:00:44.216 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:37:23 -0400 (0:00:00.037) 0:00:44.254 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:37:23 -0400 (0:00:00.065) 0:00:44.320 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:37:23 -0400 (0:00:00.046) 0:00:44.366 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:37:23 -0400 (0:00:00.048) 0:00:44.415 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:37:23 -0400 (0:00:00.056) 0:00:44.471 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:37:25 -0400 (0:00:01.656) 0:00:46.127 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:37:26 -0400 (0:00:01.404) 0:00:47.532 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:37:26 -0400 (0:00:00.052) 0:00:47.585 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:37:26 -0400 (0:00:00.039) 0:00:47.624 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:37:26 -0400 (0:00:00.038) 0:00:47.663 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.037) 0:00:47.700 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.094) 0:00:47.795 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.058) 0:00:47.853 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.072) 0:00:47.925 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.113) 0:00:48.038 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.061) 0:00:48.100 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.062) 0:00:48.162 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.054) 0:00:48.217 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.050) 0:00:48.267 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:37:27 -0400 (0:00:00.061) 0:00:48.328 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:37:28 -0400 (0:00:00.566) 0:00:48.895 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8639toah1ymx/tmpbz67grl4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:37:28 -0400 (0:00:00.411) 0:00:49.307 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:37:29 -0400 (0:00:00.667) 0:00:49.974 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:37:29 -0400 (0:00:00.044) 0:00:50.019 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:37:29 -0400 (0:00:00.115) 0:00:50.135 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:37:29 -0400 (0:00:00.051) 0:00:50.186 ******* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:37:29 -0400 (0:00:00.045) 0:00:50.232 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Saturday 24 August 2024 08:37:29 -0400 (0:00:00.361) 0:00:50.594 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 24 August 2024 08:37:30 -0400 (0:00:00.103) 0:00:50.698 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 24 August 2024 08:37:30 -0400 (0:00:00.037) 0:00:50.736 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 24 August 2024 08:37:30 -0400 (0:00:00.042) 0:00:50.778 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:37:30 -0400 (0:00:00.092) 0:00:50.870 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:37:30 -0400 (0:00:00.094) 0:00:50.965 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002993", "end": "2024-08-24 08:37:30.626684", "rc": 0, "start": "2024-08-24 08:37:30.623691" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:37:30 -0400 (0:00:00.424) 0:00:51.389 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:37:30 -0400 (0:00:00.113) 0:00:51.503 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 24 August 2024 08:37:30 -0400 (0:00:00.054) 0:00:51.558 ******* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 24 August 2024 08:37:33 -0400 (0:00:02.793) 0:00:54.352 ******* skipping: [managed_node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 24 August 2024 08:37:33 -0400 (0:00:00.065) 0:00:54.418 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 24 August 2024 08:37:33 -0400 (0:00:00.041) 0:00:54.459 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012802", "end": "2024-08-24 08:37:34.090370", "rc": 0, "start": "2024-08-24 08:37:34.077568" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.381) 0:00:54.841 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.038) 0:00:54.879 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.040) 0:00:54.920 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.094) 0:00:55.015 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.051) 0:00:55.066 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.050) 0:00:55.117 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.153) 0:00:55.270 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.064) 0:00:55.334 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.057) 0:00:55.392 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.097) 0:00:55.490 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:37:34 -0400 (0:00:00.094) 0:00:55.584 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002956", "end": "2024-08-24 08:37:35.255539", "rc": 0, "start": "2024-08-24 08:37:35.252583" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:37:35 -0400 (0:00:00.450) 0:00:56.035 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:37:35 -0400 (0:00:00.064) 0:00:56.100 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 24 August 2024 08:37:35 -0400 (0:00:00.068) 0:00:56.169 ******* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 24 August 2024 08:37:38 -0400 (0:00:02.803) 0:00:58.972 ******* ok: [managed_node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.011273", "end": "2024-08-24 08:37:38.620741", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-24 08:37:38.609468" } ok: [managed_node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003309", "end": "2024-08-24 08:37:38.988085", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-24 08:37:38.984776" } ok: [managed_node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003704", "end": "2024-08-24 08:37:39.335382", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-24 08:37:39.331678" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 24 August 2024 08:37:39 -0400 (0:00:01.124) 0:01:00.097 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020283", "end": "2024-08-24 08:37:39.733501", "rc": 0, "start": "2024-08-24 08:37:39.713218" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 24 August 2024 08:37:39 -0400 (0:00:00.410) 0:01:00.507 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 24 August 2024 08:37:39 -0400 (0:00:00.063) 0:01:00.571 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 24 August 2024 08:37:39 -0400 (0:00:00.067) 0:01:00.639 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 24 August 2024 08:37:40 -0400 (0:00:00.068) 0:01:00.708 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 24 August 2024 08:37:40 -0400 (0:00:00.062) 0:01:00.771 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:37:40 -0400 (0:00:00.104) 0:01:00.876 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:37:40 -0400 (0:00:00.080) 0:01:00.956 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:37:40 -0400 (0:00:00.059) 0:01:01.016 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:37:40 -0400 (0:00:00.042) 0:01:01.059 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:37:40 -0400 (0:00:00.038) 0:01:01.097 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:37:41 -0400 (0:00:01.551) 0:01:02.649 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:37:43 -0400 (0:00:01.655) 0:01:04.304 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:37:43 -0400 (0:00:00.099) 0:01:04.404 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:37:43 -0400 (0:00:00.067) 0:01:04.471 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:37:43 -0400 (0:00:00.066) 0:01:04.538 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:37:43 -0400 (0:00:00.069) 0:01:04.608 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:37:44 -0400 (0:00:00.082) 0:01:04.691 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:37:44 -0400 (0:00:00.060) 0:01:04.752 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:37:44 -0400 (0:00:00.072) 0:01:04.825 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:37:44 -0400 (0:00:00.106) 0:01:04.931 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:37:44 -0400 (0:00:00.056) 0:01:04.988 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:37:44 -0400 (0:00:00.058) 0:01:05.046 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:37:44 -0400 (0:00:00.070) 0:01:05.117 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:37:44 -0400 (0:00:00.038) 0:01:05.155 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:37:44 -0400 (0:00:00.037) 0:01:05.192 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:37:45 -0400 (0:00:00.578) 0:01:05.771 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8639toah1ymx/tmpmqv3kxzp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:37:45 -0400 (0:00:00.421) 0:01:06.193 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"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='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:37:52 -0400 (0:00:06.696) 0:01:12.890 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:37:52 -0400 (0:00:00.047) 0:01:12.937 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:37:52 -0400 (0:00:00.063) 0:01:13.000 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:37:52 -0400 (0:00:00.068) 0:01:13.068 ******* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:37:52 -0400 (0:00:00.058) 0:01:13.126 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Saturday 24 August 2024 08:37:52 -0400 (0:00:00.452) 0:01:13.579 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 24 August 2024 08:37:53 -0400 (0:00:00.220) 0:01:13.800 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:37:53 -0400 (0:00:00.094) 0:01:13.894 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503058.6128416, "block_size": 4096, "blocks": 0, "ctime": 1724503058.6128416, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22295, "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": 1724503058.6128416, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 24 August 2024 08:37:53 -0400 (0:00:00.388) 0:01:14.283 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Saturday 24 August 2024 08:37:53 -0400 (0:00:00.041) 0:01:14.325 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 August 2024 08:37:53 -0400 (0:00:00.111) 0:01:14.437 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:37:53 -0400 (0:00:00.104) 0:01:14.541 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:37:53 -0400 (0:00:00.105) 0:01:14.647 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503065.968735, "block_size": 4096, "blocks": 8, "ctime": 1724503065.950735, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301239, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724503065.950735, "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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:37:54 -0400 (0:00:00.582) 0:01:15.230 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:37:54 -0400 (0:00:00.038) 0:01:15.269 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017559", "end": "2024-08-24 08:37:54.919120", "rc": 1, "start": "2024-08-24 08:37:54.901561" } 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:37:55 -0400 (0:00:00.444) 0:01:15.714 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:37:55 -0400 (0:00:00.142) 0:01:15.856 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002752", "end": "2024-08-24 08:37:55.547928", "rc": 0, "start": "2024-08-24 08:37:55.545176" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:37:55 -0400 (0:00:00.487) 0:01:16.343 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:37:55 -0400 (0:00:00.092) 0:01:16.435 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003894", "end": "2024-08-24 08:37:57.128176", "rc": 0, "start": "2024-08-24 08:37:56.124282" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:37:57 -0400 (0:00:01.445) 0:01:17.881 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 August 2024 08:37:57 -0400 (0:00:00.056) 0:01:17.937 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 August 2024 08:37:57 -0400 (0:00:00.068) 0:01:18.006 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 August 2024 08:37:57 -0400 (0:00:00.073) 0:01:18.079 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Saturday 24 August 2024 08:37:57 -0400 (0:00:00.046) 0:01:18.126 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003312", "end": "2024-08-24 08:37:57.746915", "rc": 0, "start": "2024-08-24 08:37:57.743603" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.223 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.223 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Saturday 24 August 2024 08:37:57 -0400 (0:00:00.368) 0:01:18.494 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Saturday 24 August 2024 08:37:57 -0400 (0:00:00.050) 0:01:18.544 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003405", "end": "2024-08-24 08:37:58.173469", "rc": 0, "start": "2024-08-24 08:37:58.170064" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Saturday 24 August 2024 08:37:58 -0400 (0:00:00.376) 0:01:18.921 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Saturday 24 August 2024 08:37:58 -0400 (0:00:00.036) 0:01:18.957 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:37:58 -0400 (0:00:00.046) 0:01:19.004 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:37:58 -0400 (0:00:00.078) 0:01:19.082 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:37:58 -0400 (0:00:00.067) 0:01:19.150 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:37:58 -0400 (0:00:00.038) 0:01:19.188 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:37:58 -0400 (0:00:00.036) 0:01:19.225 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:38:00 -0400 (0:00:01.507) 0:01:20.733 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:38:01 -0400 (0:00:01.541) 0:01:22.275 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:38:01 -0400 (0:00:00.063) 0:01:22.338 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:38:01 -0400 (0:00:00.058) 0:01:22.397 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:38:01 -0400 (0:00:00.063) 0:01:22.462 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:38:01 -0400 (0:00:00.059) 0:01:22.521 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:38:01 -0400 (0:00:00.096) 0:01:22.618 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:38:02 -0400 (0:00:00.088) 0:01:22.706 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:38:02 -0400 (0:00:00.088) 0:01:22.794 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:38:02 -0400 (0:00:00.131) 0:01:22.926 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:38:02 -0400 (0:00:00.077) 0:01:23.003 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:38:02 -0400 (0:00:00.079) 0:01:23.082 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:38:02 -0400 (0:00:00.129) 0:01:23.212 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:38:02 -0400 (0:00:00.052) 0:01:23.265 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:38:02 -0400 (0:00:00.049) 0:01:23.315 ******* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:38:03 -0400 (0:00:00.547) 0:01:23.862 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8639toah1ymx/tmpb41fyq7a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:38:03 -0400 (0:00:00.373) 0:01:24.235 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.609) 0:01:24.844 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.038) 0:01:24.883 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.041) 0:01:24.924 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.041) 0:01:24.966 ******* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.037) 0:01:25.004 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.419) 0:01:25.423 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.100) 0:01:25.524 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.038) 0:01:25.563 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.037) 0:01:25.600 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:38:04 -0400 (0:00:00.061) 0:01:25.662 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:38:05 -0400 (0:00:00.060) 0:01:25.722 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003969", "end": "2024-08-24 08:38:06.350433", "rc": 0, "start": "2024-08-24 08:38:05.346464" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:38:06 -0400 (0:00:01.378) 0:01:27.100 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:38:06 -0400 (0:00:00.040) 0:01:27.141 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 24 August 2024 08:38:06 -0400 (0:00:00.145) 0:01:27.286 ******* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 24 August 2024 08:38:09 -0400 (0:00:02.790) 0:01:30.076 ******* skipping: [managed_node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 24 August 2024 08:38:09 -0400 (0:00:00.056) 0:01:30.133 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 24 August 2024 08:38:09 -0400 (0:00:00.039) 0:01:30.172 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011692", "end": "2024-08-24 08:38:09.803388", "rc": 0, "start": "2024-08-24 08:38:09.791696" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 24 August 2024 08:38:09 -0400 (0:00:00.382) 0:01:30.554 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 24 August 2024 08:38:09 -0400 (0:00:00.043) 0:01:30.598 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 24 August 2024 08:38:09 -0400 (0:00:00.044) 0:01:30.643 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 24 August 2024 08:38:10 -0400 (0:00:00.064) 0:01:30.707 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Saturday 24 August 2024 08:38:10 -0400 (0:00:00.063) 0:01:30.771 ******* included: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node3 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 24 August 2024 08:38:10 -0400 (0:00:00.284) 0:01:31.056 ******* ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007905", "end": "2024-08-24 08:38:10.705886", "rc": 0, "start": "2024-08-24 08:38:10.697981" } 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 0a:ff:f9:00:e9:99 brd ff:ff:ff:ff:ff:ff inet 10.31.14.223/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3302sec preferred_lft 3302sec inet6 fe80::8ff:f9ff:fe00:e999/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.223 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.223 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 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-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 24 August 2024 08:38:10 -0400 (0:00:00.404) 0:01:31.460 ******* ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.096897", "end": "2024-08-24 08:38:11.209181", "rc": 0, "start": "2024-08-24 08:38:11.112284" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10517 0 --:--:-- --:--:-- --:--:-- 10517 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 6767 0 --:--:-- --:--:-- --:--:-- 6767 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node3 : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Saturday 24 August 2024 08:38:11 -0400 (0:00:00.478) 0:01:31.939 ******* =============================================================================== Install iproute -------------------------------------------------------- 14.68s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 7.01s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.70s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Install packages -------------------- 4.21s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Install iproute --------------------------------------------------------- 2.80s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.79s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.79s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get the fingerprint comment in ifcfg-veth0 ------------------------------ 1.45s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Get the fingerprint comment in ifcfg-veth0 ------------------------------ 1.45s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.38s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Gathering Facts --------------------------------------------------------- 1.16s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 1.12s /tmp/collections-2EU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27