# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file 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_network_state_nm.yml ******************************************* 2 plays in /WORKDIR/git-route_types6c1kw0f/tests/tests_network_state_nm.yml PLAY [Run playbook 'playbooks/tests_network_state.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/tests_network_state_nm.yml:6 Tuesday 09 January 2024 20:22:06 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/tests_network_state_nm.yml:9 Tuesday 09 January 2024 20:22:07 +0000 (0:00:00.777) 0:00:00.790 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:22:07 +0000 (0:00:00.033) 0:00:00.824 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:22:07 +0000 (0:00:00.357) 0:00:01.182 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:22:07 +0000 (0:00:00.260) 0:00:01.442 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:22:07 +0000 (0:00:00.022) 0:00:01.464 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:22:07 +0000 (0:00:00.018) 0:00:01.483 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:22:08 +0000 (0:00:00.031) 0:00:01.514 ******* ok: [sut] => { "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: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:22:08 +0000 (0:00:00.251) 0:00:01.766 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:22:08 +0000 (0:00:00.011) 0:00:01.777 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:22:08 +0000 (0:00:00.031) 0:00:01.809 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.246473", "end": "2024-01-09 20:22:08.746787", "rc": 0, "start": "2024-01-09 20:22:08.500314" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:22:08 +0000 (0:00:00.444) 0:00:02.253 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tests_network_state_nm.yml:11 Tuesday 09 January 2024 20:22:08 +0000 (0:00:00.011) 0:00:02.264 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for configuring network using network state variable] *************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:3 Tuesday 09 January 2024 20:22:08 +0000 (0:00:00.011) 0:00:02.276 ******* ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:12 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.566) 0:00:02.842 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:16 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.012) 0:00:02.854 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.021) 0:00:02.875 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.013) 0:00:02.888 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003156", "end": "2024-01-09 20:22:09.571180", "rc": 0, "start": "2024-01-09 20:22:09.568024" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.188) 0:00:03.077 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.012) 0:00:03.089 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:18 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.010) 0:00:03.100 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.025) 0:00:03.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.010) 0:00:03.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.010) 0:00:03.147 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.014) 0:00:03.161 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.012) 0:00:03.174 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003426", "end": "2024-01-09 20:22:09.857679", "rc": 0, "start": "2024-01-09 20:22:09.854253" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.189) 0:00:03.363 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.011) 0:00:03.374 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:22:09 +0000 (0:00:00.010) 0:00:03.385 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 20:22:13 +0000 (0:00:03.457) 0:00:06.842 ******* 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.011014", "end": "2024-01-09 20:22:13.539721", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-01-09 20:22:13.528707" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003798", "end": "2024-01-09 20:22:13.771178", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-01-09 20:22:13.767380" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004257", "end": "2024-01-09 20:22:13.958255", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-01-09 20:22:13.953998" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 20:22:13 +0000 (0:00:00.634) 0:00:07.476 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024652", "end": "2024-01-09 20:22:14.204756", "rc": 0, "start": "2024-01-09 20:22:14.180104" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.234) 0:00:07.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.013) 0:00:07.724 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.012) 0:00:07.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.011) 0:00:07.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.011) 0:00:07.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:22 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.010) 0:00:07.771 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.025) 0:00:07.796 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.015) 0:00:07.811 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831733.5322142, "block_size": 4096, "blocks": 0, "ctime": 1704831733.5322142, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32702, "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": 1704831733.5322142, "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_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.189) 0:00:08.000 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:24 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.013) 0:00:08.014 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:28 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.012) 0:00:08.026 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.039) 0:00:08.066 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.015) 0:00:08.082 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003329", "end": "2024-01-09 20:22:14.765091", "rc": 0, "start": "2024-01-09 20:22:14.761762" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.187) 0:00:08.269 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.013) 0:00:08.283 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:30 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.011) 0:00:08.295 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.025) 0:00:08.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.013) 0:00:08.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.031) 0:00:08.366 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.027) 0:00:08.394 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:22:14 +0000 (0:00:00.045) 0:00:08.439 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003462", "end": "2024-01-09 20:22:15.133541", "rc": 0, "start": "2024-01-09 20:22:15.130079" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:22:15 +0000 (0:00:00.198) 0:00:08.638 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:22:15 +0000 (0:00:00.029) 0:00:08.668 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:22:15 +0000 (0:00:00.029) 0:00:08.698 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 20:22:18 +0000 (0:00:03.068) 0:00:11.766 ******* ok: [sut] => (item=ip link add ethtest1 type veth peer name peerethtest1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest1", "type", "veth", "peer", "name", "peerethtest1" ], "delta": "0:00:00.005679", "end": "2024-01-09 20:22:18.464798", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-01-09 20:22:18.459119" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003716", "end": "2024-01-09 20:22:18.691446", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-01-09 20:22:18.687730" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004476", "end": "2024-01-09 20:22:18.878040", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-01-09 20:22:18.873564" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 20:22:18 +0000 (0:00:00.617) 0:00:12.384 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.024688", "end": "2024-01-09 20:22:19.103337", "rc": 0, "start": "2024-01-09 20:22:19.078649" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.232) 0:00:12.616 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.021) 0:00:12.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.014) 0:00:12.652 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.026) 0:00:12.679 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.053) 0:00:12.733 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:34 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.025) 0:00:12.759 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.027) 0:00:12.786 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.015) 0:00:12.801 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831738.4628062, "block_size": 4096, "blocks": 0, "ctime": 1704831738.4628062, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33288, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest1", "lnk_target": "../../devices/virtual/net/ethtest1", "mode": "0777", "mtime": 1704831738.4628062, "nlink": 1, "path": "/sys/class/net/ethtest1", "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 - 'ethtest1'] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.189) 0:00:12.991 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.016) 0:00:13.008 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.076) 0:00:13.084 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.053) 0:00:13.138 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.050) 0:00:13.189 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:22:19 +0000 (0:00:00.084) 0:00:13.273 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:22:21 +0000 (0:00:01.688) 0:00:14.961 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:22:23 +0000 (0:00:01.579) 0:00:16.541 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:22:23 +0000 (0:00:00.038) 0:00:16.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:22:23 +0000 (0:00:00.032) 0:00:16.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:22:23 +0000 (0:00:00.035) 0:00:16.648 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:22:23 +0000 (0:00:00.049) 0:00:16.698 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: nmstate-1.4.5-2.el8.x86_64", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: NetworkManager-config-server-1:1.40.16-14.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: python3-libnmstate-1.4.5-2.el8.noarch" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:22:28 +0000 (0:00:05.387) 0:00:22.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:22:28 +0000 (0:00:00.039) 0:00:22.125 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:22:28 +0000 (0:00:00.032) 0:00:22.158 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:22:29 +0000 (0:00:00.526) 0:00:22.685 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:22:29 +0000 (0:00:00.032) 0:00:22.717 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:22:29 +0000 (0:00:00.037) 0:00:22.754 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:22:29 +0000 (0:00:00.028) 0:00:22.782 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:22:29 +0000 (0:00:00.449) 0:00:23.232 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:57:48:fc:a8:2b", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::1057:48ff:fefc:a82b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:57:48:FC:A8:2B", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8f2:f6ff:fe04:86", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F2:F6:04:00:86", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::99d2:370d:4a2d:da29", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:9E:6B:BD:E6:9A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::8c1e:7dff:fe04:76ee", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8E:1E:7D:04:76:EE", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::b0f2:8bff:fe60:eee9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:F2:8B:60:EE:E9", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:22:30 +0000 (0:00:00.834) 0:00:24.066 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:22:30 +0000 (0:00:00.030) 0:00:24.097 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:22:30 +0000 (0:00:00.029) 0:00:24.127 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:57:48:fc:a8:2b", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::1057:48ff:fefc:a82b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:57:48:FC:A8:2B", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8f2:f6ff:fe04:86", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F2:F6:04:00:86", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::99d2:370d:4a2d:da29", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:9E:6B:BD:E6:9A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::8c1e:7dff:fe04:76ee", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8E:1E:7D:04:76:EE", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::b0f2:8bff:fe60:eee9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:F2:8B:60:EE:E9", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:22:30 +0000 (0:00:00.033) 0:00:24.160 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:75 Tuesday 09 January 2024 20:22:30 +0000 (0:00:00.251) 0:00:24.412 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.487198", "end": "2024-01-09 20:22:31.583485", "rc": 0, "start": "2024-01-09 20:22:31.096287" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::8f2:f6ff:fe04:86 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:F2:F6:04:00:86 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-01-09 20:22:31,519 root DEBUG NetworkManager version 1.40.16 2024-01-09 20:22:31,521 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-09 20:22:31,521 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-09 20:22:31,521 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-09 20:22:31,523 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-09 20:22:31,524 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-09 20:22:31,525 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-09 20:22:31,527 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-09 20:22:31,527 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-09 20:22:31,527 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:81 Tuesday 09 January 2024 20:22:31 +0000 (0:00:00.688) 0:00:25.101 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.486420", "end": "2024-01-09 20:22:32.268387", "rc": 0, "start": "2024-01-09 20:22:31.781967" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::99d2:370d:4a2d:da29 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: EA:9E:6B:BD:E6:9A mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-01-09 20:22:32,203 root DEBUG NetworkManager version 1.40.16 2024-01-09 20:22:32,205 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-09 20:22:32,205 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-09 20:22:32,206 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-09 20:22:32,208 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-09 20:22:32,208 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-09 20:22:32,209 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-09 20:22:32,211 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-09 20:22:32,211 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-09 20:22:32,211 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the ethtest0 state configuration contains the specified settings] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:87 Tuesday 09 January 2024 20:22:32 +0000 (0:00:00.686) 0:00:25.787 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:96 Tuesday 09 January 2024 20:22:32 +0000 (0:00:00.027) 0:00:25.815 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:22:32 +0000 (0:00:00.035) 0:00:25.851 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:22:32 +0000 (0:00:00.132) 0:00:25.983 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:22:32 +0000 (0:00:00.061) 0:00:26.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:22:32 +0000 (0:00:00.035) 0:00:26.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:22:32 +0000 (0:00:00.035) 0:00:26.116 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:22:34 +0000 (0:00:01.607) 0:00:27.723 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:22:35 +0000 (0:00:01.357) 0:00:29.081 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:22:35 +0000 (0:00:00.039) 0:00:29.120 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:22:35 +0000 (0:00:00.034) 0:00:29.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:22:35 +0000 (0:00:00.029) 0:00:29.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:22:35 +0000 (0:00:00.053) 0:00:29.239 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:22:38 +0000 (0:00:03.025) 0:00:32.264 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:22:38 +0000 (0:00:00.058) 0:00:32.322 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:22:38 +0000 (0:00:00.031) 0:00:32.353 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:22:39 +0000 (0:00:00.353) 0:00:32.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:22:39 +0000 (0:00:00.033) 0:00:32.741 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:22:39 +0000 (0:00:00.029) 0:00:32.770 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:22:39 +0000 (0:00:00.029) 0:00:32.799 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:22:39 +0000 (0:00:00.343) 0:00:33.143 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:57:48:fc:a8:2b", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::1057:48ff:fefc:a82b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:57:48:FC:A8:2B", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8f2:f6ff:fe04:86", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F2:F6:04:00:86", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::99d2:370d:4a2d:da29", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:9E:6B:BD:E6:9A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::8c1e:7dff:fe04:76ee", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8E:1E:7D:04:76:EE", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::b0f2:8bff:fe60:eee9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:F2:8B:60:EE:E9", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:22:40 +0000 (0:00:00.657) 0:00:33.800 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:22:40 +0000 (0:00:00.037) 0:00:33.838 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:22:40 +0000 (0:00:00.100) 0:00:33.939 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:57:48:fc:a8:2b", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::1057:48ff:fefc:a82b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:57:48:FC:A8:2B", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8f2:f6ff:fe04:86", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F2:F6:04:00:86", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::99d2:370d:4a2d:da29", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:9E:6B:BD:E6:9A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::8c1e:7dff:fe04:76ee", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8E:1E:7D:04:76:EE", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::b0f2:8bff:fe60:eee9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:F2:8B:60:EE:E9", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:22:40 +0000 (0:00:00.070) 0:00:34.010 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:117 Tuesday 09 January 2024 20:22:40 +0000 (0:00:00.345) 0:00:34.355 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.497730", "end": "2024-01-09 20:22:41.536539", "rc": 0, "start": "2024-01-09 20:22:41.038809" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.8.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.8.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.11.47 prefix-length: 22 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true dhcp: true ipv6: enabled: true address: - ip: fe80::1057:48ff:fefc:a82b prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 12:57:48:FC:A8:2B mtu: 9001 wait-ip: any - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::8f2:f6ff:fe04:86 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:F2:F6:04:00:86 mtu: 1500 veth: peer: peerethtest0 wait-ip: any - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::99d2:370d:4a2d:da29 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: EA:9E:6B:BD:E6:9A mtu: 1500 veth: peer: peerethtest1 wait-ip: any - name: lo type: unknown state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 127.0.0.1 prefix-length: 8 ipv6: enabled: true address: - ip: ::1 prefix-length: 128 mac-address: 00:00:00:00:00:00 mtu: 65536 - name: peerethtest0 type: veth state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::8c1e:7dff:fe04:76ee prefix-length: 64 mac-address: 8E:1E:7D:04:76:EE mtu: 1500 veth: peer: ethtest0 - name: peerethtest1 type: veth state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::b0f2:8bff:fe60:eee9 prefix-length: 64 mac-address: B2:F2:8B:60:EE:E9 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-09 20:22:41,459 root DEBUG NetworkManager version 1.40.16 2024-01-09 20:22:41,461 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-09 20:22:41,462 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-09 20:22:41,462 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-09 20:22:41,464 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-09 20:22:41,464 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-09 20:22:41,465 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-09 20:22:41,467 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-09 20:22:41,467 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-09 20:22:41,468 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:123 Tuesday 09 January 2024 20:22:41 +0000 (0:00:00.707) 0:00:35.063 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:22:41 +0000 (0:00:00.037) 0:00:35.100 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:22:41 +0000 (0:00:00.063) 0:00:35.163 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:22:41 +0000 (0:00:00.053) 0:00:35.217 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:22:41 +0000 (0:00:00.094) 0:00:35.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:22:41 +0000 (0:00:00.054) 0:00:35.366 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:22:43 +0000 (0:00:01.728) 0:00:37.094 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:22:44 +0000 (0:00:01.366) 0:00:38.461 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:22:45 +0000 (0:00:00.039) 0:00:38.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:22:45 +0000 (0:00:00.037) 0:00:38.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:22:45 +0000 (0:00:00.047) 0:00:38.586 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:22:45 +0000 (0:00:00.052) 0:00:38.639 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:22:48 +0000 (0:00:03.063) 0:00:41.702 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:22:48 +0000 (0:00:00.040) 0:00:41.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:22:48 +0000 (0:00:00.045) 0:00:41.787 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:22:48 +0000 (0:00:00.392) 0:00:42.180 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:22:48 +0000 (0:00:00.046) 0:00:42.226 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:22:48 +0000 (0:00:00.038) 0:00:42.265 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:22:48 +0000 (0:00:00.031) 0:00:42.296 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:22:49 +0000 (0:00:00.363) 0:00:42.660 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "12:57:48:fc:a8:2b", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::1057:48ff:fefc:a82b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:57:48:FC:A8:2B", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8f2:f6ff:fe04:86", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F2:F6:04:00:86", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::99d2:370d:4a2d:da29", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:9E:6B:BD:E6:9A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::8c1e:7dff:fe04:76ee", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8E:1E:7D:04:76:EE", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::b0f2:8bff:fe60:eee9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:F2:8B:60:EE:E9", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:22:49 +0000 (0:00:00.677) 0:00:43.338 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:22:49 +0000 (0:00:00.031) 0:00:43.369 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:22:49 +0000 (0:00:00.032) 0:00:43.401 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "12:57:48:fc:a8:2b", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::1057:48ff:fefc:a82b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:57:48:FC:A8:2B", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::8f2:f6ff:fe04:86", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F2:F6:04:00:86", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::99d2:370d:4a2d:da29", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:9E:6B:BD:E6:9A", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::8c1e:7dff:fe04:76ee", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8E:1E:7D:04:76:EE", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::b0f2:8bff:fe60:eee9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:F2:8B:60:EE:E9", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:22:49 +0000 (0:00:00.035) 0:00:43.436 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:146 Tuesday 09 January 2024 20:22:50 +0000 (0:00:00.213) 0:00:43.649 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.500921", "end": "2024-01-09 20:22:50.833607", "rc": 0, "start": "2024-01-09 20:22:50.332686" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.8.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.8.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.11.47 prefix-length: 22 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true dhcp: true ipv6: enabled: true address: - ip: fe80::1057:48ff:fefc:a82b prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 12:57:48:FC:A8:2B mtu: 9001 wait-ip: any - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::8f2:f6ff:fe04:86 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:F2:F6:04:00:86 mtu: 1500 veth: peer: peerethtest0 wait-ip: any - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::99d2:370d:4a2d:da29 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: EA:9E:6B:BD:E6:9A mtu: 1500 veth: peer: peerethtest1 wait-ip: any - name: lo type: unknown state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 127.0.0.1 prefix-length: 8 ipv6: enabled: true address: - ip: ::1 prefix-length: 128 mac-address: 00:00:00:00:00:00 mtu: 65536 - name: peerethtest0 type: veth state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::8c1e:7dff:fe04:76ee prefix-length: 64 mac-address: 8E:1E:7D:04:76:EE mtu: 1500 veth: peer: ethtest0 - name: peerethtest1 type: veth state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::b0f2:8bff:fe60:eee9 prefix-length: 64 mac-address: B2:F2:8B:60:EE:E9 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-09 20:22:50,757 root DEBUG NetworkManager version 1.40.16 2024-01-09 20:22:50,758 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-09 20:22:50,759 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-09 20:22:50,759 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-09 20:22:50,761 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-09 20:22:50,761 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-09 20:22:50,762 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-09 20:22:50,764 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-09 20:22:50,765 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-09 20:22:50,765 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the DNS configuration from the file `/run/NetworkManager/no-stub-resolv.conf`] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:152 Tuesday 09 January 2024 20:22:50 +0000 (0:00:00.703) 0:00:44.353 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:01.003707", "end": "2024-01-09 20:22:52.054367", "rc": 0, "start": "2024-01-09 20:22:51.050660" } STDOUT: # Generated by NetworkManager search example.com example.org testing-farm nameserver 2001:4860:4860::8888 TASK [Assert that the nmstatectl contains the specified DNS configuration] ***** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:158 Tuesday 09 January 2024 20:22:52 +0000 (0:00:01.222) 0:00:45.575 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the file `/run/NetworkManager/no-stub-resolv.conf` contains the specified DNS configuration] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:166 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.043) 0:00:45.619 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:176 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.029) 0:00:45.648 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.098) 0:00:45.747 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.015632", "end": "2024-01-09 20:22:52.450121", "rc": 0, "start": "2024-01-09 20:22:52.434489" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:178 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.230) 0:00:45.977 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.051) 0:00:46.029 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.038) 0:00:46.067 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.238) 0:00:46.306 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:180 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.032) 0:00:46.338 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:184 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.030) 0:00:46.368 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:22:52 +0000 (0:00:00.051) 0:00:46.420 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.014280", "end": "2024-01-09 20:22:53.118989", "rc": 0, "start": "2024-01-09 20:22:53.104709" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:186 Tuesday 09 January 2024 20:22:53 +0000 (0:00:00.222) 0:00:46.642 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:22:53 +0000 (0:00:00.093) 0:00:46.736 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:22:53 +0000 (0:00:00.038) 0:00:46.774 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:22:53 +0000 (0:00:00.229) 0:00:47.004 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=107 changed=4 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Tuesday 09 January 2024 20:22:53 +0000 (0:00:00.019) 0:00:47.023 ******* =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.39s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Install iproute --------------------------------------------------------- 3.46s /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.07s /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.06s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.03s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.58s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the DNS configuration from the file `/run/NetworkManager/no-stub-resolv.conf` --- 1.22s /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:152 --- linux-system-roles.network : Configure networking state ----------------- 0.83s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-route_types6c1kw0f/tests/tests_network_state_nm.yml:6 ------------ Get the route configuration --------------------------------------------- 0.71s /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:117 --- Get the DNS configuration from nmstatectl ------------------------------- 0.70s /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:146 --- Get the ethtest0 state configuration ------------------------------------ 0.69s /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:75 ---- Get the ethtest1 state configuration ------------------------------------ 0.69s /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_network_state.yml:81 ---- linux-system-roles.network : Configure networking state ----------------- 0.68s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 linux-system-roles.network : Configure networking state ----------------- 0.66s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---