# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.17.2] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.17/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-route_srcbn121rnq/.collection executable location = /opt/ansible-2.17/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.17/bin/python) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_route_table_nm.yml ********************************************* 6 plays in /WORKDIR/git-route_srcbn121rnq/tests/tests_route_table_nm.yml PLAY [Run playbook 'playbooks/tests_route_table.yml' with nm as provider] ****** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/tests_route_table_nm.yml:6 Sunday 04 August 2024 17:17:21 +0000 (0:00:00.026) 0:00:00.026 ********* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_srcbn121rnq/tests/tests_route_table_nm.yml:9 Sunday 04 August 2024 17:17:22 +0000 (0:00:00.975) 0:00:01.001 ********* included: /WORKDIR/git-route_srcbn121rnq/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 17:17:22 +0000 (0:00:00.026) 0:00:01.028 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.333) 0:00:01.361 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.259) 0:00:01.621 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.019) 0:00:01.640 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.014) 0:00:01.655 ********* included: /WORKDIR/git-route_srcbn121rnq/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 10] ********************************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/enable_epel.yml:8 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.019) 0:00:01.675 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/enable_epel.yml:24 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.009) 0:00:01.684 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/enable_epel.yml:30 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.010) 0:00:01.695 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/enable_epel.yml:35 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.008) 0:00:01.704 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tasks/enable_epel.yml:40 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.009) 0:00:01.713 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/tests_route_table_nm.yml:11 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.012) 0:00:01.726 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing route table] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:3 Sunday 04 August 2024 17:17:23 +0000 (0:00:00.019) 0:00:01.745 ********* ok: [sut] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:11 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.705) 0:00:02.450 ********* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:15 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.011) 0:00:02.461 ********* included: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.020) 0:00:02.482 ********* included: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.013) 0:00:02.496 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003390", "end": "2024-08-04 17:17:24.472580", "rc": 0, "start": "2024-08-04 17:17:24.469190" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.267) 0:00:02.763 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.013) 0:00:02.777 ********* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:17 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.012) 0:00:02.790 ********* included: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.021) 0:00:02.811 ********* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.011) 0:00:02.823 ********* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.009) 0:00:02.832 ********* included: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.021) 0:00:02.854 ********* included: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.014) 0:00:02.868 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003493", "end": "2024-08-04 17:17:24.789918", "rc": 0, "start": "2024-08-04 17:17:24.786425" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.196) 0:00:03.064 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.012) 0:00:03.077 ********* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:17:24 +0000 (0:00:00.020) 0:00:03.097 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:17:25 +0000 (0:00:00.728) 0:00:03.825 ********* ok: [sut] => (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.005574", "end": "2024-08-04 17:17:25.755167", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-08-04 17:17:25.749593" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004003", "end": "2024-08-04 17:17:25.984632", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-08-04 17:17:25.980629" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004067", "end": "2024-08-04 17:17:26.173530", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-08-04 17:17:26.169463" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.626) 0:00:04.452 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.020211", "end": "2024-08-04 17:17:26.395022", "rc": 0, "start": "2024-08-04 17:17:26.374811" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.222) 0:00:04.675 ********* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.009) 0:00:04.684 ********* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.019) 0:00:04.704 ********* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.011) 0:00:04.716 ********* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.039) 0:00:04.755 ********* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:21 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.009) 0:00:04.765 ********* included: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.030) 0:00:04.796 ********* included: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.014) 0:00:04.810 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722791845.753637, "block_size": 4096, "blocks": 0, "ctime": 1722791845.753637, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29758, "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": 1722791845.753637, "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: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.201) 0:00:05.011 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.011) 0:00:05.023 ********* included: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.017) 0:00:05.041 ********* skipping: [sut] => { "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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.016) 0:00:05.058 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.016) 0:00:05.074 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:17:26 +0000 (0:00:00.013) 0:00:05.088 ********* ok: [sut] => { "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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:17:28 +0000 (0:00:01.811) 0:00:06.900 ********* ok: [sut] => { "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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.736) 0:00:07.637 ********* ok: [sut] => {} 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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.021) 0:00:07.658 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.018) 0:00:07.677 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.019) 0:00:07.697 ********* skipping: [sut] => { "changed": false, "false_condition": "network_connections | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0 or network_state.get(\"interfaces\", []) | selectattr(\"type\", \"defined\") | selectattr(\"type\", \"match\", \"^team$\") | list | length > 0", "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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.031) 0:00:07.728 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } redirecting (type: action) ansible.builtin.yum to ansible.builtin.dnf 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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.042) 0:00:07.771 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.025) 0:00:07.796 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.054) 0:00:07.850 ********* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.051) 0:00:07.902 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.018) 0:00:07.921 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.019) 0:00:07.940 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:17:29 +0000 (0:00:00.028) 0:00:07.969 ********* ok: [sut] => { "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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:17:30 +0000 (0:00:00.542) 0:00:08.511 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:17:30 +0000 (0:00:00.034) 0:00:08.546 ********* skipping: [sut] => { "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: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:17:30 +0000 (0:00:00.021) 0:00:08.567 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:17:30 +0000 (0:00:00.020) 0:00:08.588 ********* changed: [sut] => { "_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, f4a65535-0477-47e9-a450-eea61591ebee [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, f4a65535-0477-47e9-a450-eea61591ebee (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:17:31 +0000 (0:00:00.729) 0:00:09.318 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:17:31 +0000 (0:00:00.018) 0:00:09.337 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, f4a65535-0477-47e9-a450-eea61591ebee", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, f4a65535-0477-47e9-a450-eea61591ebee (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:17:31 +0000 (0:00:00.027) 0:00:09.364 ********* ok: [sut] => { "__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, f4a65535-0477-47e9-a450-eea61591ebee\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, f4a65535-0477-47e9-a450-eea61591ebee (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, f4a65535-0477-47e9-a450-eea61591ebee", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, f4a65535-0477-47e9-a450-eea61591ebee (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:17:31 +0000 (0:00:00.023) 0:00:09.388 ********* skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:17:31 +0000 (0:00:00.021) 0:00:09.409 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the route table 30200] ******************************* task path: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:56 Sunday 04 August 2024 17:17:31 +0000 (0:00:00.312) 0:00:09.721 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30200" ], "delta": "0:00:00.003809", "end": "2024-08-04 17:17:31.649225", "rc": 0, "start": "2024-08-04 17:17:31.645416" } 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: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:62 Sunday 04 August 2024 17:17:31 +0000 (0:00:00.224) 0:00:09.946 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30400" ], "delta": "0:00:00.003703", "end": "2024-08-04 17:17:31.874010", "rc": 0, "start": "2024-08-04 17:17:31.870307" } 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: /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:68 Sunday 04 August 2024 17:17:31 +0000 (0:00:00.221) 0:00:10.167 ********* fatal: [sut]: 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 to retry, use: --limit @/tmp/tests_route_table_nm.retry PLAY RECAP ********************************************************************* sut : ok=38 changed=1 unreachable=0 failed=1 skipped=31 rescued=0 ignored=0 Sunday 04 August 2024 17:17:31 +0000 (0:00:00.014) 0:00:10.182 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.81s /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-route_srcbn121rnq/tests/tests_route_table_nm.yml:6 --------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Install iproute --------------------------------------------------------- 0.73s /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:3 -------- Create veth interface ethtest0 ------------------------------------------ 0.63s /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.54s /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Gather the minimum subset of ansible_facts required by the network role test --- 0.33s /WORKDIR/git-route_srcbn121rnq/tests/tasks/el_repo_setup.yml:3 ---------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.31s /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Gather current interface info ------------------------------------------- 0.27s /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-route_srcbn121rnq/tests/tasks/el_repo_setup.yml:17 --------------- Get the routes from the route table 30200 ------------------------------- 0.22s /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:56 ------- Set up veth as managed by NetworkManager -------------------------------- 0.22s /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/manage_test_interface.yml:35 Get the routes from the route table 30400 ------------------------------- 0.22s /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tests_route_table.yml:62 ------- Get stat for interface ethtest0 ----------------------------------------- 0.20s /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_interface_stat.yml:3 - Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-route_srcbn121rnq/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.05s /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 fedora.linux_system_roles.network : Install packages -------------------- 0.05s /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces --- 0.04s /WORKDIR/git-route_srcbn121rnq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Platform linux on host sut is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ---^---^---^---^---^---