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_route_table_nm.yml ********************************************* 6 plays in /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml PLAY [Run playbook 'playbooks/tests_route_table.yml' with nm as provider] ****** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:6 Sunday 04 August 2024 13:35:32 -0400 (0:00:00.020) 0:00:00.020 ********* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:9 Sunday 04 August 2024 13:35:33 -0400 (0:00:00.936) 0:00:00.957 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 13:35:33 -0400 (0:00:00.020) 0:00:00.978 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 13:35:33 -0400 (0:00:00.509) 0:00:01.487 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 13:35:34 -0400 (0:00:00.447) 0:00:01.934 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 13:35:34 -0400 (0:00:00.042) 0:00:01.977 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 13:35:34 -0400 (0:00:00.039) 0:00:02.017 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 13:35:34 -0400 (0:00:00.068) 0:00:02.086 ********* ok: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 13:35:34 -0400 (0:00:00.434) 0:00:02.520 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 13:35:34 -0400 (0:00:00.019) 0:00:02.539 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 13:35:34 -0400 (0:00:00.019) 0:00:02.559 ********* [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_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.252007", "end": "2024-08-04 13:35:35.421784", "rc": 0, "start": "2024-08-04 13:35:35.169777" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 13:35:35 -0400 (0:00:00.610) 0:00:03.170 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:11 Sunday 04 August 2024 13:35:35 -0400 (0:00:00.017) 0:00:03.188 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing route table] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:3 Sunday 04 August 2024 13:35:35 -0400 (0:00:00.017) 0:00:03.205 ********* ok: [managed_node1] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:11 Sunday 04 August 2024 13:35:36 -0400 (0:00:00.661) 0:00:03.867 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:15 Sunday 04 August 2024 13:35:36 -0400 (0:00:00.021) 0:00:03.888 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:35:36 -0400 (0:00:00.033) 0:00:03.922 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:35:36 -0400 (0:00:00.023) 0:00:03.945 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004229", "end": "2024-08-04 13:35:37.551245", "rc": 0, "start": "2024-08-04 13:35:36.547016" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:35:37 -0400 (0:00:01.355) 0:00:05.300 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:35:37 -0400 (0:00:00.020) 0:00:05.321 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:17 Sunday 04 August 2024 13:35:37 -0400 (0:00:00.020) 0:00:05.341 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 13:35:37 -0400 (0:00:00.043) 0:00:05.385 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 13:35:37 -0400 (0:00:00.018) 0:00:05.404 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 13:35:37 -0400 (0:00:00.017) 0:00:05.422 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 13:35:37 -0400 (0:00:00.025) 0:00:05.447 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 13:35:37 -0400 (0:00:00.022) 0:00:05.469 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002901", "end": "2024-08-04 13:35:38.078447", "rc": 0, "start": "2024-08-04 13:35:38.075546" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 13:35:38 -0400 (0:00:00.357) 0:00:05.826 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 13:35:38 -0400 (0:00:00.020) 0:00:05.847 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 13:35:38 -0400 (0:00:00.020) 0:00:05.868 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 13:35:41 -0400 (0:00:03.305) 0:00:09.173 ********* ok: [managed_node1] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.010342", "end": "2024-08-04 13:35:41.796939", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-08-04 13:35:41.786597" } ok: [managed_node1] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003686", "end": "2024-08-04 13:35:42.194207", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-08-04 13:35:42.190521" } ok: [managed_node1] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003870", "end": "2024-08-04 13:35:42.537155", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-08-04 13:35:42.533285" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 13:35:42 -0400 (0:00:01.114) 0:00:10.288 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.029134", "end": "2024-08-04 13:35:42.923662", "rc": 0, "start": "2024-08-04 13:35:42.894528" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 13:35:42 -0400 (0:00:00.401) 0:00:10.689 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.019) 0:00:10.709 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.021) 0:00:10.730 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.020) 0:00:10.751 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.020) 0:00:10.771 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:21 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.019) 0:00:10.791 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.038) 0:00:10.830 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.024) 0:00:10.854 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722792941.7899518, "block_size": 4096, "blocks": 0, "ctime": 1722792941.7899518, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 61018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1722792941.7899518, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.367) 0:00:11.222 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.023) 0:00:11.246 ********* included: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.034) 0:00:11.280 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.021) 0:00:11.302 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.019) 0:00:11.321 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 13:35:43 -0400 (0:00:00.019) 0:00:11.341 ********* ok: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 13:35:45 -0400 (0:00:01.775) 0:00:13.117 ********* ok: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 13:35:47 -0400 (0:00:01.711) 0:00:14.828 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.058) 0:00:14.886 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.035) 0:00:14.921 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.035) 0:00:14.956 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.037) 0:00:14.994 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.045) 0:00:15.040 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.037) 0:00:15.078 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.043) 0:00:15.122 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.076) 0:00:15.198 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.036) 0:00:15.234 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.036) 0:00:15.271 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 13:35:47 -0400 (0:00:00.044) 0:00:15.315 ********* ok: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 13:35:48 -0400 (0:00:00.758) 0:00:16.074 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 13:35:48 -0400 (0:00:00.044) 0:00:16.118 ********* skipping: [managed_node1] => { "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/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 13:35:48 -0400 (0:00:00.036) 0:00:16.155 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 13:35:48 -0400 (0:00:00.066) 0:00:16.221 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.8", "metric": 50, "network": "192.0.2.64", "prefix": 24, "src": "198.51.100.3", "table": 30200 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 0e9a83a2-085b-4129-bb29-2777d773417e [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 0e9a83a2-085b-4129-bb29-2777d773417e (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 13:35:49 -0400 (0:00:00.808) 0:00:17.029 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 13:35:49 -0400 (0:00:00.035) 0:00:17.065 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 0e9a83a2-085b-4129-bb29-2777d773417e", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 0e9a83a2-085b-4129-bb29-2777d773417e (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 13:35:49 -0400 (0:00:00.039) 0:00:17.105 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 }, { "gateway": "198.51.100.8", "metric": 50, "network": "192.0.2.64", "prefix": 24, "src": "198.51.100.3", "table": 30200 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 0e9a83a2-085b-4129-bb29-2777d773417e\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 0e9a83a2-085b-4129-bb29-2777d773417e (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 0e9a83a2-085b-4129-bb29-2777d773417e", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 0e9a83a2-085b-4129-bb29-2777d773417e (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 13:35:49 -0400 (0:00:00.040) 0:00:17.145 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 13:35:49 -0400 (0:00:00.034) 0:00:17.180 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the routes from the route table 30200] ******************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:56 Sunday 04 August 2024 13:35:49 -0400 (0:00:00.479) 0:00:17.660 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30200" ], "delta": "0:00:00.004029", "end": "2024-08-04 13:35:50.273741", "rc": 0, "start": "2024-08-04 13:35:50.269712" } STDOUT: 192.0.2.0/24 via 198.51.100.8 dev ethtest0 proto static src 198.51.100.3 metric 50 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 TASK [Get the routes from the route table 30400] ******************************* task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:62 Sunday 04 August 2024 13:35:50 -0400 (0:00:00.382) 0:00:18.042 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30400" ], "delta": "0:00:00.003591", "end": "2024-08-04 13:35:50.654907", "rc": 0, "start": "2024-08-04 13:35:50.651316" } STDOUT: 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the route table 30200 contains the specified route] ********** task path: /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:68 Sunday 04 August 2024 13:35:50 -0400 (0:00:00.379) 0:00:18.422 ********* fatal: [managed_node1]: FAILED! => { "assertion": "route_table_30200.stdout is search(\"192.0.2.64/24 via 198.51.100.8 dev ethtest0 proto static src 198.51.100.3 metric 50\")", "changed": false, "evaluated_to": false } MSG: the route table 30200 does not exist or does not contain the specified route PLAY RECAP ********************************************************************* managed_node1 : ok=40 changed=1 unreachable=0 failed=1 skipped=29 rescued=0 ignored=0 Sunday 04 August 2024 13:35:50 -0400 (0:00:00.020) 0:00:18.443 ********* =============================================================================== Install iproute --------------------------------------------------------- 3.31s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.36s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Create veth interface ethtest0 ------------------------------------------ 1.11s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tests_route_table_nm.yml:6 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.81s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.76s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.66s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.61s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Gather the minimum subset of ansible_facts required by the network role test --- 0.51s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.48s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Check if system is ostree ----------------------------------------------- 0.45s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Create EPEL 8 ----------------------------------------------------------- 0.43s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Set up veth as managed by NetworkManager -------------------------------- 0.40s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Get the routes from the route table 30200 ------------------------------- 0.38s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:56 Get the routes from the route table 30400 ------------------------------- 0.38s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_route_table.yml:62 Get stat for interface ethtest0 ----------------------------------------- 0.37s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Gather current interface info ------------------------------------------- 0.36s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Install packages -------------------- 0.08s /tmp/tmp.tWdivM6xWg/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73