# 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_srce6krps99/.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_srce6krps99/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_srce6krps99/tests/tests_route_table_nm.yml:6 Sunday 04 August 2024 17:20:28 +0000 (0:00:00.011) 0:00:00.011 ********* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_srce6krps99/tests/tests_route_table_nm.yml:9 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.793) 0:00:00.805 ********* included: /WORKDIR/git-route_srce6krps99/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_srce6krps99/tests/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.015) 0:00:00.820 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_srce6krps99/tests/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.296) 0:00:01.117 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_srce6krps99/tests/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.223) 0:00:01.340 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_srce6krps99/tests/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.015) 0:00:01.356 ********* 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_srce6krps99/tests/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.009) 0:00:01.365 ********* included: /WORKDIR/git-route_srce6krps99/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_srce6krps99/tests/tasks/enable_epel.yml:8 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.031) 0:00:01.397 ********* 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_srce6krps99/tests/tasks/enable_epel.yml:24 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.011) 0:00:01.409 ********* 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_srce6krps99/tests/tasks/enable_epel.yml:30 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.009) 0:00:01.418 ********* 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_srce6krps99/tests/tasks/enable_epel.yml:35 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.013) 0:00:01.432 ********* 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_srce6krps99/tests/tasks/enable_epel.yml:40 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.009) 0:00:01.441 ********* 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_srce6krps99/tests/tests_route_table_nm.yml:11 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.014) 0:00:01.455 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing route table] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tests_route_table.yml:3 Sunday 04 August 2024 17:20:29 +0000 (0:00:00.016) 0:00:01.471 ********* ok: [sut] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tests_route_table.yml:11 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.582) 0:00:02.053 ********* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tests_route_table.yml:15 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.010) 0:00:02.064 ********* included: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.018) 0:00:02.083 ********* included: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.011) 0:00:02.094 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003310", "end": "2024-08-04 17:20:30.525379", "rc": 0, "start": "2024-08-04 17:20:30.522069" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.228) 0:00:02.323 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.031) 0:00:02.355 ********* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tests_route_table.yml:17 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.012) 0:00:02.367 ********* included: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.024) 0:00:02.392 ********* 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_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.009) 0:00:02.401 ********* 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_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.011) 0:00:02.413 ********* included: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.013) 0:00:02.426 ********* included: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.010) 0:00:02.437 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003526", "end": "2024-08-04 17:20:30.813703", "rc": 0, "start": "2024-08-04 17:20:30.810177" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.168) 0:00:02.605 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.011) 0:00:02.616 ********* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 17:20:30 +0000 (0:00:00.009) 0:00:02.626 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 17:20:31 +0000 (0:00:00.844) 0:00:03.471 ********* 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.008675", "end": "2024-08-04 17:20:31.857150", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-08-04 17:20:31.848475" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003498", "end": "2024-08-04 17:20:32.046015", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-08-04 17:20:32.042517" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.006255", "end": "2024-08-04 17:20:32.210904", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-08-04 17:20:32.204649" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.537) 0:00:04.008 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.020441", "end": "2024-08-04 17:20:32.402584", "rc": 0, "start": "2024-08-04 17:20:32.382143" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.187) 0:00:04.195 ********* 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_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.009) 0:00:04.205 ********* 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_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.009) 0:00:04.214 ********* 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_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.009) 0:00:04.224 ********* 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_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.008) 0:00:04.233 ********* 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_srce6krps99/tests/playbooks/tests_route_table.yml:21 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.008) 0:00:04.241 ********* included: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.019) 0:00:04.260 ********* included: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.010) 0:00:04.271 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722792031.8521702, "block_size": 4096, "blocks": 0, "ctime": 1722792031.8521702, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28973, "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": 1722792031.8521702, "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_srce6krps99/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.180) 0:00:04.452 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.013) 0:00:04.466 ********* included: /WORKDIR/git-route_srce6krps99/.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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.020) 0:00:04.486 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.020) 0:00:04.507 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.029) 0:00:04.536 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 17:20:32 +0000 (0:00:00.013) 0:00:04.549 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 17:20:34 +0000 (0:00:01.473) 0:00:06.022 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.854) 0:00:06.877 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.021) 0:00:06.899 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.020) 0:00:06.919 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.018) 0:00:06.938 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.022) 0:00:06.960 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.030) 0:00:06.990 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.023) 0:00:07.014 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.049) 0:00:07.063 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.049) 0:00:07.113 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.018) 0:00:07.131 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.019) 0:00:07.150 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.029) 0:00:07.180 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.530) 0:00:07.710 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 17:20:35 +0000 (0:00:00.048) 0:00:07.758 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 17:20:36 +0000 (0:00:00.021) 0:00:07.780 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 17:20:36 +0000 (0:00:00.020) 0:00:07.800 ********* 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, ced5252b-6e3b-49a2-abf9-b3dfa6426108 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, ced5252b-6e3b-49a2-abf9-b3dfa6426108 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 17:20:36 +0000 (0:00:00.499) 0:00:08.299 ********* 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_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 17:20:36 +0000 (0:00:00.020) 0:00:08.320 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, ced5252b-6e3b-49a2-abf9-b3dfa6426108", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, ced5252b-6e3b-49a2-abf9-b3dfa6426108 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 17:20:36 +0000 (0:00:00.022) 0:00:08.342 ********* 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, ced5252b-6e3b-49a2-abf9-b3dfa6426108\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, ced5252b-6e3b-49a2-abf9-b3dfa6426108 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, ced5252b-6e3b-49a2-abf9-b3dfa6426108", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, ced5252b-6e3b-49a2-abf9-b3dfa6426108 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 17:20:36 +0000 (0:00:00.022) 0:00:08.365 ********* skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 17:20:36 +0000 (0:00:00.019) 0:00:08.385 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the route table 30200] ******************************* task path: /WORKDIR/git-route_srce6krps99/tests/playbooks/tests_route_table.yml:56 Sunday 04 August 2024 17:20:36 +0000 (0:00:00.264) 0:00:08.650 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30200" ], "delta": "0:00:00.003535", "end": "2024-08-04 17:20:37.025604", "rc": 0, "start": "2024-08-04 17:20:37.022069" } 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_srce6krps99/tests/playbooks/tests_route_table.yml:62 Sunday 04 August 2024 17:20:37 +0000 (0:00:00.178) 0:00:08.828 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30400" ], "delta": "0:00:00.003442", "end": "2024-08-04 17:20:37.208772", "rc": 0, "start": "2024-08-04 17:20:37.205330" } 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_srce6krps99/tests/playbooks/tests_route_table.yml:68 Sunday 04 August 2024 17:20:37 +0000 (0:00:00.180) 0:00:09.009 ********* 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:20:37 +0000 (0:00:00.013) 0:00:09.022 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.84s /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-route_srce6krps99/tests/tests_route_table_nm.yml:6 --------------- Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-route_srce6krps99/tests/playbooks/tests_route_table.yml:3 -------- Create veth interface ethtest0 ------------------------------------------ 0.54s /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.53s /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.50s /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gather the minimum subset of ansible_facts required by the network role test --- 0.30s /WORKDIR/git-route_srce6krps99/tests/tasks/el_repo_setup.yml:3 ---------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.26s /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Gather current interface info ------------------------------------------- 0.23s /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.22s /WORKDIR/git-route_srce6krps99/tests/tasks/el_repo_setup.yml:17 --------------- Set up veth as managed by NetworkManager -------------------------------- 0.19s /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/manage_test_interface.yml:35 Get stat for interface ethtest0 ----------------------------------------- 0.18s /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_interface_stat.yml:3 - Get the routes from the route table 30400 ------------------------------- 0.18s /WORKDIR/git-route_srce6krps99/tests/playbooks/tests_route_table.yml:62 ------- Get the routes from the route table 30200 ------------------------------- 0.18s /WORKDIR/git-route_srce6krps99/tests/playbooks/tests_route_table.yml:56 ------- Gather current interface info ------------------------------------------- 0.17s /WORKDIR/git-route_srce6krps99/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Install packages -------------------- 0.05s /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces --- 0.05s /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 fedora.linux_system_roles.network : Enable and start wpa_supplicant ----- 0.05s /WORKDIR/git-route_srce6krps99/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 ---^---^---^---^---^--- # 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.9, 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. ---^---^---^---^---^---