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-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Thursday 15 August 2024 19:42:33 -0400 (0:00:00.027) 0:00:00.027 ******* ok: [managed_node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Thursday 15 August 2024 19:42:34 -0400 (0:00:01.356) 0:00:01.384 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 15 August 2024 19:42:34 -0400 (0:00:00.019) 0:00:01.403 ******* ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 15 August 2024 19:42:35 -0400 (0:00:00.465) 0:00:01.869 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 15 August 2024 19:42:35 -0400 (0:00:00.403) 0:00:02.272 ******* ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 15 August 2024 19:42:35 -0400 (0:00:00.039) 0:00:02.312 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 15 August 2024 19:42:35 -0400 (0:00:00.040) 0:00:02.352 ******* included: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 15 August 2024 19:42:35 -0400 (0:00:00.092) 0:00:02.445 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Thursday 15 August 2024 19:42:36 -0400 (0:00:00.445) 0:00:02.891 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Thursday 15 August 2024 19:42:36 -0400 (0:00:00.017) 0:00:02.908 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Thursday 15 August 2024 19:42:36 -0400 (0:00:00.018) 0:00:02.927 ******* [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.222968", "end": "2024-08-15 19:42:36.894789", "rc": 0, "start": "2024-08-15 19:42:36.671821" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Thursday 15 August 2024 19:42:36 -0400 (0:00:00.550) 0:00:03.477 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Thursday 15 August 2024 19:42:36 -0400 (0:00:00.017) 0:00:03.494 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Thursday 15 August 2024 19:42:36 -0400 (0:00:00.019) 0:00:03.513 ******* ok: [managed_node3] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Thursday 15 August 2024 19:42:37 -0400 (0:00:00.599) 0:00:04.113 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:42:37 -0400 (0:00:00.041) 0:00:04.154 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:42:37 -0400 (0:00:00.020) 0:00:04.175 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002642", "end": "2024-08-15 19:42:37.918246", "rc": 0, "start": "2024-08-15 19:42:37.915604" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:42:37 -0400 (0:00:00.325) 0:00:04.500 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:42:37 -0400 (0:00:00.018) 0:00:04.519 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Thursday 15 August 2024 19:42:38 -0400 (0:00:00.017) 0:00:04.537 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:42:38 -0400 (0:00:00.051) 0:00:04.588 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:42:38 -0400 (0:00:00.017) 0:00:04.605 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:42:38 -0400 (0:00:00.016) 0:00:04.621 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:42:38 -0400 (0:00:00.022) 0:00:04.644 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:42:38 -0400 (0:00:00.026) 0:00:04.670 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002692", "end": "2024-08-15 19:42:38.414153", "rc": 0, "start": "2024-08-15 19:42:38.411461" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:42:38 -0400 (0:00:00.321) 0:00:04.992 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:42:38 -0400 (0:00:00.019) 0:00:05.011 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:42:38 -0400 (0:00:00.017) 0:00:05.029 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:42:52 -0400 (0:00:14.209) 0:00:19.239 ******* 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.018622", "end": "2024-08-15 19:42:53.008517", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-15 19:42:52.989895" } 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.003619", "end": "2024-08-15 19:42:53.362657", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-15 19:42:53.359038" } 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.003564", "end": "2024-08-15 19:42:53.682013", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-15 19:42:53.678449" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:42:53 -0400 (0:00:01.023) 0:00:20.263 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.098837", "end": "2024-08-15 19:42:54.109859", "rc": 0, "start": "2024-08-15 19:42:54.011022" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.429) 0:00:20.692 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.019) 0:00:20.712 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.018) 0:00:20.731 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.018) 0:00:20.749 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.026) 0:00:20.776 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.019) 0:00:20.795 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.049) 0:00:20.845 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.024) 0:00:20.870 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723765372.9991076, "block_size": 4096, "blocks": 0, "ctime": 1723765372.9991076, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21631, "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": 1723765372.9991076, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.320) 0:00:21.190 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.022) 0:00:21.212 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.018) 0:00:21.231 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.032) 0:00:21.263 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.019) 0:00:21.282 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.017) 0:00:21.300 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:42:54 -0400 (0:00:00.017) 0:00:21.317 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:42:56 -0400 (0:00:01.763) 0:00:23.081 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:42:58 -0400 (0:00:01.634) 0:00:24.716 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:42:58 -0400 (0:00:00.045) 0:00:24.762 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:42:58 -0400 (0:00:00.038) 0:00:24.800 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:42:58 -0400 (0:00:00.037) 0:00:24.838 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:42:58 -0400 (0:00:00.047) 0:00:24.885 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:42:58 -0400 (0:00:00.044) 0:00:24.930 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:42:58 -0400 (0:00:00.034) 0:00:24.965 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:42:58 -0400 (0:00:00.044) 0:00:25.009 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:43:05 -0400 (0:00:07.478) 0:00:32.487 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:43:05 -0400 (0:00:00.034) 0:00:32.522 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:43:06 -0400 (0:00:00.033) 0:00:32.556 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:43:06 -0400 (0:00:00.042) 0:00:32.599 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:43:06 -0400 (0:00:00.033) 0:00:32.633 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:43:06 -0400 (0:00:00.033) 0:00:32.666 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:43:07 -0400 (0:00:01.070) 0:00:33.736 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8627sm8riocb/tmpk8bt0c_a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:43:07 -0400 (0:00:00.370) 0:00:34.107 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:43:14 -0400 (0:00:06.869) 0:00:40.976 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:43:14 -0400 (0:00:00.040) 0:00:41.017 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:43:14 -0400 (0:00:00.044) 0:00:41.061 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:43:14 -0400 (0:00:00.047) 0:00:41.109 ******* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:43:14 -0400 (0:00:00.042) 0:00:41.152 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Thursday 15 August 2024 19:43:15 -0400 (0:00:00.455) 0:00:41.607 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 19:43:15 -0400 (0:00:00.082) 0:00:41.690 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:43:15 -0400 (0:00:00.055) 0:00:41.745 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723765372.9991076, "block_size": 4096, "blocks": 0, "ctime": 1723765372.9991076, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21631, "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": 1723765372.9991076, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 19:43:15 -0400 (0:00:00.391) 0:00:42.137 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Thursday 15 August 2024 19:43:15 -0400 (0:00:00.047) 0:00:42.185 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 19:43:15 -0400 (0:00:00.102) 0:00:42.287 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 19:43:15 -0400 (0:00:00.059) 0:00:42.347 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 19:43:15 -0400 (0:00:00.034) 0:00:42.381 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723765388.1901655, "block_size": 4096, "blocks": 8, "ctime": 1723765388.1731653, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301864, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723765388.1731653, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 19:43:16 -0400 (0:00:00.350) 0:00:42.732 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 19:43:16 -0400 (0:00:00.037) 0:00:42.769 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017207", "end": "2024-08-15 19:43:16.531432", "rc": 1, "start": "2024-08-15 19:43:16.514225" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 19:43:16 -0400 (0:00:00.356) 0:00:43.126 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 19:43:16 -0400 (0:00:00.037) 0:00:43.164 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002647", "end": "2024-08-15 19:43:16.938867", "rc": 0, "start": "2024-08-15 19:43:16.936220" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 19:43:17 -0400 (0:00:00.400) 0:00:43.564 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 19:43:17 -0400 (0:00:00.072) 0:00:43.636 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003694", "end": "2024-08-15 19:43:18.434811", "rc": 0, "start": "2024-08-15 19:43:17.431117" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 19:43:18 -0400 (0:00:01.398) 0:00:45.035 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 19:43:18 -0400 (0:00:00.044) 0:00:45.080 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 19:43:18 -0400 (0:00:00.076) 0:00:45.156 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 19:43:18 -0400 (0:00:00.040) 0:00:45.196 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Thursday 15 August 2024 19:43:18 -0400 (0:00:00.036) 0:00:45.233 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003167", "end": "2024-08-15 19:43:18.981365", "rc": 0, "start": "2024-08-15 19:43:18.978198" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.0 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.13.0 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Thursday 15 August 2024 19:43:19 -0400 (0:00:00.365) 0:00:45.598 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Thursday 15 August 2024 19:43:19 -0400 (0:00:00.061) 0:00:45.659 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003298", "end": "2024-08-15 19:43:19.447996", "rc": 0, "start": "2024-08-15 19:43:19.444698" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Thursday 15 August 2024 19:43:19 -0400 (0:00:00.394) 0:00:46.054 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Thursday 15 August 2024 19:43:19 -0400 (0:00:00.039) 0:00:46.094 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:43:19 -0400 (0:00:00.035) 0:00:46.129 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:43:19 -0400 (0:00:00.063) 0:00:46.192 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:43:19 -0400 (0:00:00.041) 0:00:46.234 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:43:19 -0400 (0:00:00.034) 0:00:46.268 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:43:19 -0400 (0:00:00.034) 0:00:46.303 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:43:21 -0400 (0:00:01.523) 0:00:47.827 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:43:22 -0400 (0:00:01.379) 0:00:49.206 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:43:22 -0400 (0:00:00.036) 0:00:49.243 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:43:22 -0400 (0:00:00.035) 0:00:49.279 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:43:22 -0400 (0:00:00.035) 0:00:49.315 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:43:22 -0400 (0:00:00.069) 0:00:49.384 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:43:22 -0400 (0:00:00.050) 0:00:49.435 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:43:22 -0400 (0:00:00.038) 0:00:49.473 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:43:22 -0400 (0:00:00.041) 0:00:49.515 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:43:23 -0400 (0:00:00.071) 0:00:49.587 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:43:23 -0400 (0:00:00.037) 0:00:49.625 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:43:23 -0400 (0:00:00.039) 0:00:49.665 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:43:23 -0400 (0:00:00.061) 0:00:49.726 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:43:23 -0400 (0:00:00.061) 0:00:49.787 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:43:23 -0400 (0:00:00.053) 0:00:49.841 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:43:23 -0400 (0:00:00.583) 0:00:50.424 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8627sm8riocb/tmpn0v0bxae" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:43:24 -0400 (0:00:00.394) 0:00:50.819 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:43:24 -0400 (0:00:00.617) 0:00:51.436 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:43:24 -0400 (0:00:00.040) 0:00:51.477 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:43:24 -0400 (0:00:00.045) 0:00:51.522 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:43:25 -0400 (0:00:00.038) 0:00:51.560 ******* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:43:25 -0400 (0:00:00.035) 0:00:51.596 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Thursday 15 August 2024 19:43:25 -0400 (0:00:00.338) 0:00:51.935 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:43:25 -0400 (0:00:00.088) 0:00:52.023 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:43:25 -0400 (0:00:00.035) 0:00:52.058 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:43:25 -0400 (0:00:00.035) 0:00:52.094 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:43:25 -0400 (0:00:00.056) 0:00:52.150 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:43:25 -0400 (0:00:00.055) 0:00:52.206 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002965", "end": "2024-08-15 19:43:25.971552", "rc": 0, "start": "2024-08-15 19:43:25.968587" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:43:26 -0400 (0:00:00.401) 0:00:52.608 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:43:26 -0400 (0:00:00.038) 0:00:52.646 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:43:26 -0400 (0:00:00.035) 0:00:52.682 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:43:29 -0400 (0:00:02.888) 0:00:55.570 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.060) 0:00:55.631 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.035) 0:00:55.667 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013432", "end": "2024-08-15 19:43:29.427036", "rc": 0, "start": "2024-08-15 19:43:29.413604" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.358) 0:00:56.025 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.072) 0:00:56.097 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.038) 0:00:56.136 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.038) 0:00:56.174 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.037) 0:00:56.212 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.034) 0:00:56.246 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.088) 0:00:56.334 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.034) 0:00:56.368 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.034) 0:00:56.403 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:43:29 -0400 (0:00:00.066) 0:00:56.469 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:43:30 -0400 (0:00:00.094) 0:00:56.564 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003980", "end": "2024-08-15 19:43:31.359075", "rc": 0, "start": "2024-08-15 19:43:30.355095" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:43:31 -0400 (0:00:01.391) 0:00:57.955 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:43:31 -0400 (0:00:00.038) 0:00:57.993 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:43:31 -0400 (0:00:00.035) 0:00:58.029 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:43:34 -0400 (0:00:02.958) 0:01:00.987 ******* 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.009642", "end": "2024-08-15 19:43:34.854531", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-15 19:43:34.844889" } 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.003338", "end": "2024-08-15 19:43:35.217700", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-15 19:43:35.214362" } 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.003240", "end": "2024-08-15 19:43:35.627292", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-15 19:43:35.624052" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:43:35 -0400 (0:00:01.251) 0:01:02.238 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.017940", "end": "2024-08-15 19:43:36.003005", "rc": 0, "start": "2024-08-15 19:43:35.985065" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.362) 0:01:02.601 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.036) 0:01:02.638 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.089) 0:01:02.728 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.067) 0:01:02.795 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.069) 0:01:02.865 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.059) 0:01:02.924 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.094) 0:01:03.019 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.066) 0:01:03.085 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.048) 0:01:03.134 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:43:36 -0400 (0:00:00.038) 0:01:03.172 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:43:38 -0400 (0:00:01.488) 0:01:04.661 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:43:39 -0400 (0:00:01.434) 0:01:06.095 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:43:39 -0400 (0:00:00.039) 0:01:06.134 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:43:39 -0400 (0:00:00.035) 0:01:06.170 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:43:39 -0400 (0:00:00.036) 0:01:06.206 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:43:39 -0400 (0:00:00.036) 0:01:06.242 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:43:39 -0400 (0:00:00.042) 0:01:06.284 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:43:39 -0400 (0:00:00.034) 0:01:06.319 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:43:39 -0400 (0:00:00.040) 0:01:06.360 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:43:39 -0400 (0:00:00.069) 0:01:06.430 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:43:39 -0400 (0:00:00.034) 0:01:06.464 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:43:40 -0400 (0:00:00.093) 0:01:06.558 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:43:40 -0400 (0:00:00.041) 0:01:06.599 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:43:40 -0400 (0:00:00.036) 0:01:06.636 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:43:40 -0400 (0:00:00.037) 0:01:06.673 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:43:40 -0400 (0:00:00.525) 0:01:07.198 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8627sm8riocb/tmpt0x1o_zx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:43:41 -0400 (0:00:00.460) 0:01:07.659 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:43:47 -0400 (0:00:06.738) 0:01:14.398 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:43:47 -0400 (0:00:00.038) 0:01:14.436 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:43:48 -0400 (0:00:00.098) 0:01:14.535 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:43:48 -0400 (0:00:00.069) 0:01:14.605 ******* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:43:48 -0400 (0:00:00.071) 0:01:14.676 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Thursday 15 August 2024 19:43:48 -0400 (0:00:00.446) 0:01:15.123 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 19:43:48 -0400 (0:00:00.115) 0:01:15.238 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 19:43:48 -0400 (0:00:00.056) 0:01:15.295 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723765414.8481276, "block_size": 4096, "blocks": 0, "ctime": 1723765414.8481276, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22217, "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": 1723765414.8481276, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 19:43:49 -0400 (0:00:00.342) 0:01:15.637 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Thursday 15 August 2024 19:43:49 -0400 (0:00:00.037) 0:01:15.674 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 19:43:49 -0400 (0:00:00.086) 0:01:15.761 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 19:43:49 -0400 (0:00:00.104) 0:01:15.865 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 19:43:49 -0400 (0:00:00.037) 0:01:15.903 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723765421.6405182, "block_size": 4096, "blocks": 8, "ctime": 1723765421.623518, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301864, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723765421.623518, "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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 19:43:49 -0400 (0:00:00.346) 0:01:16.249 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 19:43:49 -0400 (0:00:00.050) 0:01:16.300 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017451", "end": "2024-08-15 19:43:50.106735", "rc": 1, "start": "2024-08-15 19:43:50.089284" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 19:43:50 -0400 (0:00:00.518) 0:01:16.818 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 19:43:50 -0400 (0:00:00.066) 0:01:16.885 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003736", "end": "2024-08-15 19:43:51.734731", "rc": 0, "start": "2024-08-15 19:43:50.730995" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 19:43:51 -0400 (0:00:01.482) 0:01:18.367 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 19:43:51 -0400 (0:00:00.070) 0:01:18.437 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002793", "end": "2024-08-15 19:43:52.311630", "rc": 0, "start": "2024-08-15 19:43:52.308837" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 19:43:52 -0400 (0:00:00.562) 0:01:18.999 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 19:43:52 -0400 (0:00:00.175) 0:01:19.175 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 19:43:52 -0400 (0:00:00.065) 0:01:19.241 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 19:43:52 -0400 (0:00:00.096) 0:01:19.338 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Thursday 15 August 2024 19:43:52 -0400 (0:00:00.072) 0:01:19.410 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002967", "end": "2024-08-15 19:43:53.194076", "rc": 0, "start": "2024-08-15 19:43:53.191109" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.0 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.0 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Thursday 15 August 2024 19:43:53 -0400 (0:00:00.400) 0:01:19.810 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Thursday 15 August 2024 19:43:53 -0400 (0:00:00.063) 0:01:19.874 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003188", "end": "2024-08-15 19:43:53.696221", "rc": 0, "start": "2024-08-15 19:43:53.693033" } 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Thursday 15 August 2024 19:43:53 -0400 (0:00:00.453) 0:01:20.327 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Thursday 15 August 2024 19:43:53 -0400 (0:00:00.061) 0:01:20.389 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 19:43:53 -0400 (0:00:00.055) 0:01:20.444 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 19:43:54 -0400 (0:00:00.094) 0:01:20.539 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 19:43:54 -0400 (0:00:00.052) 0:01:20.592 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 19:43:54 -0400 (0:00:00.047) 0:01:20.639 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 19:43:54 -0400 (0:00:00.053) 0:01:20.692 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 19:43:55 -0400 (0:00:01.468) 0:01:22.161 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 19:43:57 -0400 (0:00:01.391) 0:01:23.553 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.038) 0:01:23.592 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.036) 0:01:23.629 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.034) 0:01:23.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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.081) 0:01:23.745 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.042) 0:01:23.788 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.035) 0:01:23.823 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.041) 0:01:23.865 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.069) 0:01:23.935 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.035) 0:01:23.971 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.035) 0:01:24.006 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.038) 0:01:24.045 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.035) 0:01:24.080 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 19:43:57 -0400 (0:00:00.034) 0:01:24.115 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 19:43:58 -0400 (0:00:00.511) 0:01:24.627 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8627sm8riocb/tmpvpcgbryj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 19:43:58 -0400 (0:00:00.361) 0:01:24.988 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.720) 0:01:25.708 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.036) 0:01:25.744 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.038) 0:01:25.783 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.047) 0:01:25.830 ******* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.059) 0:01:25.889 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.342) 0:01:26.232 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.110) 0:01:26.343 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.050) 0:01:26.393 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.042) 0:01:26.435 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 19:43:59 -0400 (0:00:00.081) 0:01:26.517 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 19:44:00 -0400 (0:00:00.069) 0:01:26.586 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002959", "end": "2024-08-15 19:44:00.338867", "rc": 0, "start": "2024-08-15 19:44:00.335908" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 19:44:00 -0400 (0:00:00.375) 0:01:26.961 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 19:44:00 -0400 (0:00:00.079) 0:01:27.041 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 19:44:00 -0400 (0:00:00.072) 0:01:27.113 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 19:44:03 -0400 (0:00:03.059) 0:01:30.172 ******* 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 19:44:03 -0400 (0:00:00.055) 0:01:30.227 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 19:44:03 -0400 (0:00:00.036) 0:01:30.264 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009355", "end": "2024-08-15 19:44:04.047366", "rc": 0, "start": "2024-08-15 19:44:04.038011" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 19:44:04 -0400 (0:00:00.409) 0:01:30.674 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 19:44:04 -0400 (0:00:00.061) 0:01:30.735 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 19:44:04 -0400 (0:00:00.122) 0:01:30.858 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 19:44:04 -0400 (0:00:00.058) 0:01:30.917 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Thursday 15 August 2024 19:44:04 -0400 (0:00:00.056) 0:01:30.973 ******* included: /tmp/collections-h9C/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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 15 August 2024 19:44:04 -0400 (0:00:00.149) 0:01:31.123 ******* 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.007622", "end": "2024-08-15 19:44:04.906563", "rc": 0, "start": "2024-08-15 19:44:04.898941" } 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:c1:53:f8:09 brd ff:ff:ff:ff:ff:ff inet 10.31.13.0/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3320sec preferred_lft 3320sec inet6 fe80::8ff:c1ff:fe53:f809/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.0 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.0 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-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 15 August 2024 19:44:04 -0400 (0:00:00.401) 0:01:31.525 ******* 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.263760", "end": "2024-08-15 19:44:05.608484", "rc": 0, "start": "2024-08-15 19:44:05.344724" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 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 2606 0 --:--:-- --:--:-- --:--:-- 2606 % 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 3592 0 --:--:-- --:--:-- --:--:-- 3592 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node3 : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Thursday 15 August 2024 19:44:05 -0400 (0:00:00.665) 0:01:32.191 ******* =============================================================================== Install iproute -------------------------------------------------------- 14.21s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install packages -------------------- 7.48s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.87s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.74s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Install iproute --------------------------------------------------------- 3.06s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.89s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.48s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the fingerprint comment in ifcfg-veth0 ------------------------------ 1.40s /tmp/collections-h9C/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.39s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.39s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.36s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 1.25s /tmp/collections-h9C/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27