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-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Friday 04 October 2024 09:50:33 -0400 (0:00:00.031) 0:00:00.031 ******** ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Friday 04 October 2024 09:50:34 -0400 (0:00:01.135) 0:00:01.166 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Friday 04 October 2024 09:50:34 -0400 (0:00:00.019) 0:00:01.185 ******** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Friday 04 October 2024 09:50:34 -0400 (0:00:00.448) 0:00:01.634 ******** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Friday 04 October 2024 09:50:35 -0400 (0:00:00.443) 0:00:02.077 ******** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Friday 04 October 2024 09:50:35 -0400 (0:00:00.044) 0:00:02.122 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Friday 04 October 2024 09:50:35 -0400 (0:00:00.052) 0:00:02.174 ******** included: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Friday 04 October 2024 09:50:35 -0400 (0:00:00.090) 0:00:02.264 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Friday 04 October 2024 09:50:35 -0400 (0:00:00.438) 0:00:02.703 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Friday 04 October 2024 09:50:35 -0400 (0:00:00.017) 0:00:02.720 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Friday 04 October 2024 09:50:35 -0400 (0:00:00.016) 0:00:02.737 ******** [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.215653", "end": "2024-10-04 09:50:36.376565", "rc": 0, "start": "2024-10-04 09:50:36.160912" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Friday 04 October 2024 09:50:36 -0400 (0:00:00.540) 0:00:03.277 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Friday 04 October 2024 09:50:36 -0400 (0:00:00.016) 0:00:03.294 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Friday 04 October 2024 09:50:36 -0400 (0:00:00.018) 0:00:03.312 ******** ok: [managed-node3] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Friday 04 October 2024 09:50:37 -0400 (0:00:00.582) 0:00:03.895 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:50:37 -0400 (0:00:00.042) 0:00:03.938 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:50:37 -0400 (0:00:00.022) 0:00:03.961 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002549", "end": "2024-10-04 09:50:37.383695", "rc": 0, "start": "2024-10-04 09:50:37.381146" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:50:37 -0400 (0:00:00.321) 0:00:04.282 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:50:37 -0400 (0:00:00.020) 0:00:04.302 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Friday 04 October 2024 09:50:37 -0400 (0:00:00.022) 0:00:04.325 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:50:37 -0400 (0:00:00.074) 0:00:04.399 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:50:37 -0400 (0:00:00.028) 0:00:04.427 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:50:37 -0400 (0:00:00.017) 0:00:04.445 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:50:37 -0400 (0:00:00.023) 0:00:04.469 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:50:37 -0400 (0:00:00.023) 0:00:04.492 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002703", "end": "2024-10-04 09:50:37.912555", "rc": 0, "start": "2024-10-04 09:50:37.909852" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:50:37 -0400 (0:00:00.319) 0:00:04.811 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:50:37 -0400 (0:00:00.026) 0:00:04.838 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:50:38 -0400 (0:00:00.029) 0:00:04.868 ******** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:50:43 -0400 (0:00:05.207) 0:00:10.075 ******** 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.016338", "end": "2024-10-04 09:50:43.532635", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-10-04 09:50:43.516297" } 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.003318", "end": "2024-10-04 09:50:43.913534", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-10-04 09:50:43.910216" } 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.003364", "end": "2024-10-04 09:50:44.222600", "item": "ip link set veth0 up", "rc": 0, "start": "2024-10-04 09:50:44.219236" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:50:44 -0400 (0:00:01.048) 0:00:11.124 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022297", "end": "2024-10-04 09:50:44.588674", "rc": 0, "start": "2024-10-04 09:50:44.566377" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:50:44 -0400 (0:00:00.369) 0:00:11.493 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:50:44 -0400 (0:00:00.024) 0:00:11.517 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:50:44 -0400 (0:00:00.018) 0:00:11.536 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:50:44 -0400 (0:00:00.019) 0:00:11.556 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:50:44 -0400 (0:00:00.027) 0:00:11.583 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Friday 04 October 2024 09:50:44 -0400 (0:00:00.021) 0:00:11.604 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 09:50:44 -0400 (0:00:00.047) 0:00:11.652 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:50:44 -0400 (0:00:00.023) 0:00:11.675 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728049843.5253184, "block_size": 4096, "blocks": 0, "ctime": 1728049843.5253184, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21792, "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": 1728049843.5253184, "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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 09:50:45 -0400 (0:00:00.337) 0:00:12.013 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Friday 04 October 2024 09:50:45 -0400 (0:00:00.021) 0:00:12.034 ******** ok: [managed-node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:50:45 -0400 (0:00:00.021) 0:00:12.056 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:50:45 -0400 (0:00:00.034) 0:00:12.090 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:50:45 -0400 (0:00:00.024) 0:00:12.115 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:50:45 -0400 (0:00:00.025) 0:00:12.141 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:50:45 -0400 (0:00:00.016) 0:00:12.157 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:50:46 -0400 (0:00:01.544) 0:00:13.701 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:50:48 -0400 (0:00:01.666) 0:00:15.368 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:50:48 -0400 (0:00:00.045) 0:00:15.413 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:50:48 -0400 (0:00:00.042) 0:00:15.456 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:50:48 -0400 (0:00:00.040) 0:00:15.497 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:50:48 -0400 (0:00:00.035) 0:00:15.532 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:50:48 -0400 (0:00:00.042) 0:00:15.574 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:50:48 -0400 (0:00:00.036) 0:00:15.611 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:50:48 -0400 (0:00:00.049) 0:00:15.660 ******** 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" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:50:52 -0400 (0:00:03.821) 0:00:19.481 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:50:52 -0400 (0:00:00.040) 0:00:19.521 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:50:52 -0400 (0:00:00.037) 0:00:19.559 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:50:52 -0400 (0:00:00.041) 0:00:19.601 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:50:52 -0400 (0:00:00.034) 0:00:19.635 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:50:52 -0400 (0:00:00.034) 0:00:19.669 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:50:53 -0400 (0:00:00.980) 0:00:20.650 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-862990zex4wz/tmpjb818k6z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:50:54 -0400 (0:00:00.410) 0:00:21.061 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:51:01 -0400 (0:00:06.820) 0:00:27.881 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:51:01 -0400 (0:00:00.035) 0:00:27.917 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:51:01 -0400 (0:00:00.037) 0:00:27.954 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:51:01 -0400 (0:00:00.046) 0:00:28.001 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:51:01 -0400 (0:00:00.062) 0:00:28.063 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Friday 04 October 2024 09:51:01 -0400 (0:00:00.441) 0:00:28.505 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 09:51:01 -0400 (0:00:00.166) 0:00:28.672 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:51:02 -0400 (0:00:00.211) 0:00:28.883 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728049843.5253184, "block_size": 4096, "blocks": 0, "ctime": 1728049843.5253184, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21792, "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": 1728049843.5253184, "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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 09:51:02 -0400 (0:00:00.415) 0:00:29.299 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Friday 04 October 2024 09:51:02 -0400 (0:00:00.037) 0:00:29.336 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 09:51:02 -0400 (0:00:00.086) 0:00:29.422 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 09:51:02 -0400 (0:00:00.086) 0:00:29.509 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 09:51:02 -0400 (0:00:00.045) 0:00:29.554 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728049854.790803, "block_size": 4096, "blocks": 8, "ctime": 1728049854.7738028, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301831, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728049854.7738028, "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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 09:51:03 -0400 (0:00:00.367) 0:00:29.922 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 09:51:03 -0400 (0:00:00.041) 0:00:29.963 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017553", "end": "2024-10-04 09:51:03.405851", "rc": 1, "start": "2024-10-04 09:51:03.388298" } 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 09:51:03 -0400 (0:00:00.438) 0:00:30.401 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 09:51:03 -0400 (0:00:00.056) 0:00:30.458 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003693", "end": "2024-10-04 09:51:05.113949", "rc": 0, "start": "2024-10-04 09:51:04.110256" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 09:51:05 -0400 (0:00:01.576) 0:00:32.034 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 09:51:05 -0400 (0:00:00.050) 0:00:32.084 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003857", "end": "2024-10-04 09:51:06.518879", "rc": 0, "start": "2024-10-04 09:51:05.515022" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 09:51:06 -0400 (0:00:01.385) 0:00:33.470 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 09:51:06 -0400 (0:00:00.073) 0:00:33.543 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 09:51:06 -0400 (0:00:00.050) 0:00:33.594 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 09:51:06 -0400 (0:00:00.044) 0:00:33.639 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Friday 04 October 2024 09:51:06 -0400 (0:00:00.070) 0:00:33.709 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002963", "end": "2024-10-04 09:51:07.157425", "rc": 0, "start": "2024-10-04 09:51:07.154462" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.41 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.41 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Friday 04 October 2024 09:51:07 -0400 (0:00:00.370) 0:00:34.080 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Friday 04 October 2024 09:51:07 -0400 (0:00:00.045) 0:00:34.125 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003116", "end": "2024-10-04 09:51:07.563296", "rc": 0, "start": "2024-10-04 09:51:07.560180" } 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Friday 04 October 2024 09:51:07 -0400 (0:00:00.354) 0:00:34.479 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Friday 04 October 2024 09:51:07 -0400 (0:00:00.036) 0:00:34.516 ******** ok: [managed-node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:51:07 -0400 (0:00:00.043) 0:00:34.559 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:51:07 -0400 (0:00:00.069) 0:00:34.629 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:51:07 -0400 (0:00:00.042) 0:00:34.671 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:51:07 -0400 (0:00:00.075) 0:00:34.747 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:51:07 -0400 (0:00:00.035) 0:00:34.783 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:51:09 -0400 (0:00:01.457) 0:00:36.240 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:51:10 -0400 (0:00:01.412) 0:00:37.653 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:51:10 -0400 (0:00:00.045) 0:00:37.699 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:51:10 -0400 (0:00:00.043) 0:00:37.742 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:51:10 -0400 (0:00:00.077) 0:00:37.820 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:51:11 -0400 (0:00:00.036) 0:00:37.856 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:51:11 -0400 (0:00:00.042) 0:00:37.899 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:51:11 -0400 (0:00:00.036) 0:00:37.935 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:51:11 -0400 (0:00:00.042) 0:00:37.978 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:51:11 -0400 (0:00:00.070) 0:00:38.048 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:51:11 -0400 (0:00:00.034) 0:00:38.083 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:51:11 -0400 (0:00:00.035) 0:00:38.118 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:51:11 -0400 (0:00:00.039) 0:00:38.157 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:51:11 -0400 (0:00:00.035) 0:00:38.193 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:51:11 -0400 (0:00:00.035) 0:00:38.228 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:51:11 -0400 (0:00:00.509) 0:00:38.738 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-862990zex4wz/tmp11ngjf1k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:51:12 -0400 (0:00:00.357) 0:00:39.095 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:51:12 -0400 (0:00:00.730) 0:00:39.826 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:51:13 -0400 (0:00:00.045) 0:00:39.871 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:51:13 -0400 (0:00:00.043) 0:00:39.914 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:51:13 -0400 (0:00:00.039) 0:00:39.954 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:51:13 -0400 (0:00:00.034) 0:00:39.989 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Friday 04 October 2024 09:51:13 -0400 (0:00:00.362) 0:00:40.351 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:51:13 -0400 (0:00:00.087) 0:00:40.439 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:51:13 -0400 (0:00:00.035) 0:00:40.474 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:51:13 -0400 (0:00:00.034) 0:00:40.509 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:51:13 -0400 (0:00:00.079) 0:00:40.588 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:51:13 -0400 (0:00:00.133) 0:00:40.722 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002630", "end": "2024-10-04 09:51:14.194000", "rc": 0, "start": "2024-10-04 09:51:14.191370" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:51:14 -0400 (0:00:00.421) 0:00:41.144 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:51:14 -0400 (0:00:00.065) 0:00:41.209 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:51:14 -0400 (0:00:00.056) 0:00:41.265 ******** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:51:17 -0400 (0:00:02.771) 0:00:44.036 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:51:17 -0400 (0:00:00.054) 0:00:44.091 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:51:17 -0400 (0:00:00.036) 0:00:44.128 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009715", "end": "2024-10-04 09:51:17.572414", "rc": 0, "start": "2024-10-04 09:51:17.562699" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:51:17 -0400 (0:00:00.362) 0:00:44.490 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:51:17 -0400 (0:00:00.049) 0:00:44.540 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:51:17 -0400 (0:00:00.080) 0:00:44.620 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:51:17 -0400 (0:00:00.038) 0:00:44.659 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Friday 04 October 2024 09:51:17 -0400 (0:00:00.037) 0:00:44.696 ******** ok: [managed-node3] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Friday 04 October 2024 09:51:17 -0400 (0:00:00.037) 0:00:44.734 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:51:17 -0400 (0:00:00.090) 0:00:44.825 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:51:18 -0400 (0:00:00.035) 0:00:44.860 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:51:18 -0400 (0:00:00.035) 0:00:44.896 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:51:18 -0400 (0:00:00.057) 0:00:44.953 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:51:18 -0400 (0:00:00.057) 0:00:45.011 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002694", "end": "2024-10-04 09:51:18.438861", "rc": 0, "start": "2024-10-04 09:51:18.436167" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:51:18 -0400 (0:00:00.370) 0:00:45.381 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:51:18 -0400 (0:00:00.071) 0:00:45.452 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:51:18 -0400 (0:00:00.057) 0:00:45.510 ******** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:51:21 -0400 (0:00:02.918) 0:00:48.428 ******** 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.009939", "end": "2024-10-04 09:51:21.901466", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-10-04 09:51:21.891527" } 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.003056", "end": "2024-10-04 09:51:22.292501", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-10-04 09:51:22.289445" } 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.003501", "end": "2024-10-04 09:51:22.814845", "item": "ip link set veth0 up", "rc": 0, "start": "2024-10-04 09:51:22.811344" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:51:22 -0400 (0:00:01.327) 0:00:49.756 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019847", "end": "2024-10-04 09:51:23.291286", "rc": 0, "start": "2024-10-04 09:51:23.271439" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:51:23 -0400 (0:00:00.453) 0:00:50.209 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:51:23 -0400 (0:00:00.036) 0:00:50.246 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:51:23 -0400 (0:00:00.041) 0:00:50.287 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:51:23 -0400 (0:00:00.048) 0:00:50.335 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:51:23 -0400 (0:00:00.068) 0:00:50.404 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:51:23 -0400 (0:00:00.151) 0:00:50.555 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:51:23 -0400 (0:00:00.082) 0:00:50.637 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:51:23 -0400 (0:00:00.044) 0:00:50.682 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:51:23 -0400 (0:00:00.042) 0:00:50.724 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:51:23 -0400 (0:00:00.055) 0:00:50.780 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:51:25 -0400 (0:00:01.506) 0:00:52.286 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:51:26 -0400 (0:00:01.380) 0:00:53.666 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:51:26 -0400 (0:00:00.059) 0:00:53.725 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:51:26 -0400 (0:00:00.108) 0:00:53.834 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:51:27 -0400 (0:00:00.095) 0:00:53.929 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:51:27 -0400 (0:00:00.070) 0:00:54.000 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:51:27 -0400 (0:00:00.078) 0:00:54.078 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:51:27 -0400 (0:00:00.045) 0:00:54.124 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:51:27 -0400 (0:00:00.064) 0:00:54.189 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:51:27 -0400 (0:00:00.085) 0:00:54.275 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:51:27 -0400 (0:00:00.036) 0:00:54.312 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:51:27 -0400 (0:00:00.034) 0:00:54.346 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:51:27 -0400 (0:00:00.040) 0:00:54.387 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:51:27 -0400 (0:00:00.034) 0:00:54.422 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:51:27 -0400 (0:00:00.090) 0:00:54.513 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:51:28 -0400 (0:00:00.560) 0:00:55.073 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-862990zex4wz/tmpu0nu6fbp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:51:28 -0400 (0:00:00.394) 0:00:55.467 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:51:35 -0400 (0:00:06.730) 0:01:02.198 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:51:35 -0400 (0:00:00.040) 0:01:02.239 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:51:35 -0400 (0:00:00.058) 0:01:02.297 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:51:35 -0400 (0:00:00.047) 0:01:02.345 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:51:35 -0400 (0:00:00.087) 0:01:02.433 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Friday 04 October 2024 09:51:35 -0400 (0:00:00.350) 0:01:02.783 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Friday 04 October 2024 09:51:36 -0400 (0:00:00.105) 0:01:02.889 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Friday 04 October 2024 09:51:36 -0400 (0:00:00.088) 0:01:02.977 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728049881.894463, "block_size": 4096, "blocks": 0, "ctime": 1728049881.894463, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22378, "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": 1728049881.894463, "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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Friday 04 October 2024 09:51:36 -0400 (0:00:00.365) 0:01:03.342 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Friday 04 October 2024 09:51:36 -0400 (0:00:00.039) 0:01:03.382 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Friday 04 October 2024 09:51:36 -0400 (0:00:00.089) 0:01:03.472 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Friday 04 October 2024 09:51:36 -0400 (0:00:00.060) 0:01:03.532 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Friday 04 October 2024 09:51:36 -0400 (0:00:00.085) 0:01:03.617 ******** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728049889.1041586, "block_size": 4096, "blocks": 8, "ctime": 1728049889.0871587, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301831, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728049889.0871587, "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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Friday 04 October 2024 09:51:37 -0400 (0:00:00.344) 0:01:03.962 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Friday 04 October 2024 09:51:37 -0400 (0:00:00.039) 0:01:04.002 ******** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.016650", "end": "2024-10-04 09:51:37.443690", "rc": 1, "start": "2024-10-04 09:51:37.427040" } 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Friday 04 October 2024 09:51:37 -0400 (0:00:00.375) 0:01:04.377 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Friday 04 October 2024 09:51:37 -0400 (0:00:00.067) 0:01:04.444 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003578", "end": "2024-10-04 09:51:38.928235", "rc": 0, "start": "2024-10-04 09:51:37.924657" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Friday 04 October 2024 09:51:39 -0400 (0:00:01.431) 0:01:05.876 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Friday 04 October 2024 09:51:39 -0400 (0:00:00.086) 0:01:05.963 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002521", "end": "2024-10-04 09:51:39.469916", "rc": 0, "start": "2024-10-04 09:51:39.467395" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Friday 04 October 2024 09:51:39 -0400 (0:00:00.425) 0:01:06.388 ******** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Friday 04 October 2024 09:51:39 -0400 (0:00:00.043) 0:01:06.431 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Friday 04 October 2024 09:51:39 -0400 (0:00:00.081) 0:01:06.513 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Friday 04 October 2024 09:51:39 -0400 (0:00:00.041) 0:01:06.555 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Friday 04 October 2024 09:51:39 -0400 (0:00:00.043) 0:01:06.598 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002945", "end": "2024-10-04 09:51:40.081964", "rc": 0, "start": "2024-10-04 09:51:40.079019" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.41 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.41 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Friday 04 October 2024 09:51:40 -0400 (0:00:00.410) 0:01:07.008 ******** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Friday 04 October 2024 09:51:40 -0400 (0:00:00.042) 0:01:07.051 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003055", "end": "2024-10-04 09:51:40.476217", "rc": 0, "start": "2024-10-04 09:51:40.473162" } 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Friday 04 October 2024 09:51:40 -0400 (0:00:00.439) 0:01:07.490 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Friday 04 October 2024 09:51:40 -0400 (0:00:00.101) 0:01:07.592 ******** ok: [managed-node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 04 October 2024 09:51:40 -0400 (0:00:00.088) 0:01:07.680 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 04 October 2024 09:51:40 -0400 (0:00:00.119) 0:01:07.799 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 04 October 2024 09:51:41 -0400 (0:00:00.058) 0:01:07.858 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 04 October 2024 09:51:41 -0400 (0:00:00.049) 0:01:07.908 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 04 October 2024 09:51:41 -0400 (0:00:00.047) 0:01:07.955 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 04 October 2024 09:51:42 -0400 (0:00:01.472) 0:01:09.427 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 04 October 2024 09:51:44 -0400 (0:00:01.426) 0:01:10.854 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 04 October 2024 09:51:44 -0400 (0:00:00.062) 0:01:10.916 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 04 October 2024 09:51:44 -0400 (0:00:00.056) 0:01:10.974 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 04 October 2024 09:51:44 -0400 (0:00:00.054) 0:01:11.028 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 04 October 2024 09:51:44 -0400 (0:00:00.109) 0:01:11.138 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Friday 04 October 2024 09:51:44 -0400 (0:00:00.064) 0:01:11.202 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Friday 04 October 2024 09:51:44 -0400 (0:00:00.056) 0:01:11.258 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Friday 04 October 2024 09:51:44 -0400 (0:00:00.064) 0:01:11.323 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 04 October 2024 09:51:44 -0400 (0:00:00.111) 0:01:11.434 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Friday 04 October 2024 09:51:44 -0400 (0:00:00.062) 0:01:11.497 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 04 October 2024 09:51:44 -0400 (0:00:00.055) 0:01:11.553 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 04 October 2024 09:51:44 -0400 (0:00:00.073) 0:01:11.626 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Friday 04 October 2024 09:51:44 -0400 (0:00:00.058) 0:01:11.684 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 04 October 2024 09:51:44 -0400 (0:00:00.058) 0:01:11.743 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Friday 04 October 2024 09:51:45 -0400 (0:00:00.589) 0:01:12.333 ******** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-862990zex4wz/tmpzpv9sg0a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Friday 04 October 2024 09:51:45 -0400 (0:00:00.367) 0:01:12.700 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Friday 04 October 2024 09:51:46 -0400 (0:00:00.628) 0:01:13.329 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Friday 04 October 2024 09:51:46 -0400 (0:00:00.080) 0:01:13.409 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 04 October 2024 09:51:46 -0400 (0:00:00.038) 0:01:13.448 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Friday 04 October 2024 09:51:46 -0400 (0:00:00.037) 0:01:13.485 ******** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Friday 04 October 2024 09:51:46 -0400 (0:00:00.037) 0:01:13.522 ******** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Friday 04 October 2024 09:51:47 -0400 (0:00:00.349) 0:01:13.872 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Friday 04 October 2024 09:51:47 -0400 (0:00:00.145) 0:01:14.017 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Friday 04 October 2024 09:51:47 -0400 (0:00:00.057) 0:01:14.074 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Friday 04 October 2024 09:51:47 -0400 (0:00:00.060) 0:01:14.135 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Friday 04 October 2024 09:51:47 -0400 (0:00:00.100) 0:01:14.236 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Friday 04 October 2024 09:51:47 -0400 (0:00:00.076) 0:01:14.313 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002590", "end": "2024-10-04 09:51:47.746450", "rc": 0, "start": "2024-10-04 09:51:47.743860" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Friday 04 October 2024 09:51:47 -0400 (0:00:00.398) 0:01:14.712 ******** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Friday 04 October 2024 09:51:47 -0400 (0:00:00.039) 0:01:14.751 ******** ok: [managed-node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Friday 04 October 2024 09:51:47 -0400 (0:00:00.036) 0:01:14.788 ******** ok: [managed-node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Friday 04 October 2024 09:51:50 -0400 (0:00:02.733) 0:01:17.521 ******** 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Friday 04 October 2024 09:51:50 -0400 (0:00:00.078) 0:01:17.599 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Friday 04 October 2024 09:51:50 -0400 (0:00:00.078) 0:01:17.678 ******** ok: [managed-node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009149", "end": "2024-10-04 09:51:51.178120", "rc": 0, "start": "2024-10-04 09:51:51.168971" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Friday 04 October 2024 09:51:51 -0400 (0:00:00.430) 0:01:18.108 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Friday 04 October 2024 09:51:51 -0400 (0:00:00.061) 0:01:18.170 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Friday 04 October 2024 09:51:51 -0400 (0:00:00.095) 0:01:18.266 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Friday 04 October 2024 09:51:51 -0400 (0:00:00.038) 0:01:18.304 ******** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Friday 04 October 2024 09:51:51 -0400 (0:00:00.038) 0:01:18.343 ******** included: /tmp/collections-ADZ/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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Friday 04 October 2024 09:51:51 -0400 (0:00:00.094) 0:01:18.438 ******** 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.007531", "end": "2024-10-04 09:51:51.890384", "rc": 0, "start": "2024-10-04 09:51:51.882853" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:58:d9:78:17:d1 brd ff:ff:ff:ff:ff:ff inet 10.31.45.41/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3113sec preferred_lft 3113sec inet6 fe80::58:d9ff:fe78:17d1/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.41 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.41 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-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Friday 04 October 2024 09:51:51 -0400 (0:00:00.368) 0:01:18.806 ******** 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.139980", "end": "2024-10-04 09:51:52.380854", "rc": 0, "start": "2024-10-04 09:51:52.240874" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 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 4357 0 --:--:-- --:--:-- --:--:-- 4357 % 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 6613 0 --:--:-- --:--:-- --:--:-- 6613 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Friday 04 October 2024 09:51:52 -0400 (0:00:00.480) 0:01:19.287 ******** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.82s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.73s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Install iproute --------------------------------------------------------- 5.21s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install packages -------------------- 3.82s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Install iproute --------------------------------------------------------- 2.92s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.77s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.73s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.58s /tmp/collections-ADZ/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.54s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.43s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the fingerprint comment in ifcfg-veth0 ------------------------------ 1.39s /tmp/collections-ADZ/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.38s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 1.33s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.14s /tmp/collections-ADZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5