# 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_typellq02zyd/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_typellq02zyd/tests/tests_network_state_nm.yml:5 Tuesday 19 December 2023 23:29:07 +0000 (0:00:00.020) 0:00:00.020 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typellq02zyd/tests/tests_network_state_nm.yml:9 Tuesday 19 December 2023 23:29:08 +0000 (0:00:00.700) 0:00:00.720 ****** included: /WORKDIR/git-route_typellq02zyd/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_typellq02zyd/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 23:29:08 +0000 (0:00:00.010) 0:00:00.731 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml:19 Tuesday 19 December 2023 23:29:08 +0000 (0:00:00.350) 0:00:01.081 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml:24 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.256) 0:00:01.338 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml:28 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.019) 0:00:01.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/el_repo_setup.yml:53 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.018) 0:00:01.376 ****** included: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.030) 0:00:01.407 ****** 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_typellq02zyd/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.242) 0:00:01.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.010) 0:00:01.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.010) 0:00:01.671 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.256405", "end": "2023-12-19 23:29:09.882900", "rc": 0, "start": "2023-12-19 23:29:09.626495" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.450) 0:00:02.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/tests_network_state_nm.yml:11 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.009) 0:00:02.130 ****** 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_typellq02zyd/tests/playbooks/tests_network_state.yml:3 Tuesday 19 December 2023 23:29:09 +0000 (0:00:00.011) 0:00:02.141 ****** ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:12 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.570) 0:00:02.712 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:16 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.011) 0:00:02.724 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.026) 0:00:02.750 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.014) 0:00:02.765 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003525", "end": "2023-12-19 23:29:10.730852", "rc": 0, "start": "2023-12-19 23:29:10.727327" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.204) 0:00:02.969 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.013) 0:00:02.982 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:18 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.011) 0:00:02.994 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.026) 0:00:03.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.011) 0:00:03.031 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.011) 0:00:03.042 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.014) 0:00:03.057 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:29:10 +0000 (0:00:00.013) 0:00:03.070 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003640", "end": "2023-12-19 23:29:11.029192", "rc": 0, "start": "2023-12-19 23:29:11.025552" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:29:11 +0000 (0:00:00.196) 0:00:03.267 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:29:11 +0000 (0:00:00.012) 0:00:03.279 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:29:11 +0000 (0:00:00.011) 0:00:03.291 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 19 December 2023 23:29:14 +0000 (0:00:03.456) 0:00:06.747 ****** 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.012705", "end": "2023-12-19 23:29:14.718030", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2023-12-19 23:29:14.705325" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004097", "end": "2023-12-19 23:29:14.947316", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2023-12-19 23:29:14.943219" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004525", "end": "2023-12-19 23:29:15.138751", "item": "ip link set ethtest0 up", "rc": 0, "start": "2023-12-19 23:29:15.134226" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.629) 0:00:07.377 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.025310", "end": "2023-12-19 23:29:15.358617", "rc": 0, "start": "2023-12-19 23:29:15.333307" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.220) 0:00:07.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.011) 0:00:07.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.011) 0:00:07.621 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.014) 0:00:07.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.014) 0:00:07.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:22 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.012) 0:00:07.663 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.025) 0:00:07.688 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.017) 0:00:07.705 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703028554.7092738, "block_size": 4096, "blocks": 0, "ctime": 1703028554.7092738, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33187, "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": 1703028554.7092738, "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_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.193) 0:00:07.898 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:24 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.015) 0:00:07.914 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:28 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.013) 0:00:07.927 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.032) 0:00:07.959 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.014) 0:00:07.974 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003638", "end": "2023-12-19 23:29:15.934384", "rc": 0, "start": "2023-12-19 23:29:15.930746" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.197) 0:00:08.172 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.014) 0:00:08.186 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:30 Tuesday 19 December 2023 23:29:15 +0000 (0:00:00.011) 0:00:08.198 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 23:29:16 +0000 (0:00:00.028) 0:00:08.226 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 23:29:16 +0000 (0:00:00.012) 0:00:08.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 23:29:16 +0000 (0:00:00.012) 0:00:08.251 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:29:16 +0000 (0:00:00.015) 0:00:08.266 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:29:16 +0000 (0:00:00.015) 0:00:08.281 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003517", "end": "2023-12-19 23:29:16.243591", "rc": 0, "start": "2023-12-19 23:29:16.240074" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:29:16 +0000 (0:00:00.210) 0:00:08.492 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:29:16 +0000 (0:00:00.031) 0:00:08.524 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 23:29:16 +0000 (0:00:00.026) 0:00:08.550 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 19 December 2023 23:29:19 +0000 (0:00:03.126) 0:00:11.677 ****** 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.013079", "end": "2023-12-19 23:29:19.649832", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2023-12-19 23:29:19.636753" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004089", "end": "2023-12-19 23:29:19.877899", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2023-12-19 23:29:19.873810" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004416", "end": "2023-12-19 23:29:20.071646", "item": "ip link set ethtest1 up", "rc": 0, "start": "2023-12-19 23:29:20.067230" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.634) 0:00:12.312 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.025316", "end": "2023-12-19 23:29:20.293820", "rc": 0, "start": "2023-12-19 23:29:20.268504" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.221) 0:00:12.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.017) 0:00:12.551 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.026) 0:00:12.577 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.019) 0:00:12.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.011) 0:00:12.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:34 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.011) 0:00:12.620 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.042) 0:00:12.662 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.025) 0:00:12.688 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703028559.640691, "block_size": 4096, "blocks": 0, "ctime": 1703028559.640691, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33773, "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": 1703028559.640691, "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_typellq02zyd/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.212) 0:00:12.901 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.013) 0:00:12.914 ****** included: /WORKDIR/git-route_typellq02zyd/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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.072) 0:00:12.987 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.021) 0:00:13.008 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.020) 0:00:13.028 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:29:20 +0000 (0:00:00.021) 0:00:13.050 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:29:22 +0000 (0:00:01.781) 0:00:14.831 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:29:24 +0000 (0:00:01.496) 0:00:16.328 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:29:24 +0000 (0:00:00.036) 0:00:16.364 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:29:24 +0000 (0:00:00.042) 0:00:16.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:29:24 +0000 (0:00:00.034) 0:00:16.441 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:29:24 +0000 (0:00:00.055) 0:00:16.496 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: NetworkManager-config-server-1:1.40.16-11.el8.noarch", "Installed: nmstate-1.4.5-2.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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:29:30 +0000 (0:00:05.790) 0:00:22.287 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:29:30 +0000 (0:00:00.031) 0:00:22.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:29:30 +0000 (0:00:00.032) 0:00:22.350 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:29:30 +0000 (0:00:00.510) 0:00:22.861 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:29:30 +0000 (0:00:00.033) 0:00:22.894 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:29:30 +0000 (0:00:00.067) 0:00:22.961 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:29:30 +0000 (0:00:00.065) 0:00:23.026 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:29:31 +0000 (0:00:00.497) 0:00:23.524 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:c8:b1:43:54:8f", "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::10c8:b1ff:fe43:548f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:C8:B1:43:54:8F", "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::b04d:e0ff:fed7:4876", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:4D:E0:D7:48:76", "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::d895:ada8:d34c:7377", "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": "C2:6E:BB:E0:52:27", "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::58b4:f9ff:fe5c:38ea", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:B4:F9:5C:38:EA", "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::7c0d:feff:fe44:dad2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7E:0D:FE:44:DA:D2", "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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:29:32 +0000 (0:00:00.872) 0:00:24.397 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:29:32 +0000 (0:00:00.033) 0:00:24.430 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:29:32 +0000 (0:00:00.036) 0:00:24.467 ****** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:c8:b1:43:54:8f", "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::10c8:b1ff:fe43:548f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:C8:B1:43:54:8F", "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::b04d:e0ff:fed7:4876", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:4D:E0:D7:48:76", "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::d895:ada8:d34c:7377", "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": "C2:6E:BB:E0:52:27", "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::58b4:f9ff:fe5c:38ea", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:B4:F9:5C:38:EA", "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::7c0d:feff:fe44:dad2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7E:0D:FE:44:DA:D2", "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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:29:32 +0000 (0:00:00.056) 0:00:24.523 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:75 Tuesday 19 December 2023 23:29:32 +0000 (0:00:00.392) 0:00:24.916 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.496553", "end": "2023-12-19 23:29:33.369331", "rc": 0, "start": "2023-12-19 23:29:32.872778" } 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::b04d:e0ff:fed7:4876 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: B2:4D:E0:D7:48:76 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2023-12-19 23:29:33,302 root DEBUG NetworkManager version 1.40.16 2023-12-19 23:29:33,304 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-19 23:29:33,304 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-19 23:29:33,304 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-19 23:29:33,306 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-19 23:29:33,307 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-19 23:29:33,307 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-19 23:29:33,309 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-19 23:29:33,310 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-19 23:29:33,310 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:81 Tuesday 19 December 2023 23:29:33 +0000 (0:00:00.703) 0:00:25.619 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.493448", "end": "2023-12-19 23:29:34.069565", "rc": 0, "start": "2023-12-19 23:29:33.576117" } 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::d895:ada8:d34c:7377 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: C2:6E:BB:E0:52:27 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2023-12-19 23:29:34,002 root DEBUG NetworkManager version 1.40.16 2023-12-19 23:29:34,003 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-19 23:29:34,004 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-19 23:29:34,004 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-19 23:29:34,006 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-19 23:29:34,007 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-19 23:29:34,007 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-19 23:29:34,009 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-19 23:29:34,010 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-19 23:29:34,010 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_typellq02zyd/tests/playbooks/tests_network_state.yml:87 Tuesday 19 December 2023 23:29:34 +0000 (0:00:00.698) 0:00:26.318 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:96 Tuesday 19 December 2023 23:29:34 +0000 (0:00:00.027) 0:00:26.346 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:29:34 +0000 (0:00:00.024) 0:00:26.371 ****** included: /WORKDIR/git-route_typellq02zyd/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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:29:34 +0000 (0:00:00.073) 0:00:26.444 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:29:34 +0000 (0:00:00.050) 0:00:26.495 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:29:34 +0000 (0:00:00.040) 0:00:26.535 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:29:34 +0000 (0:00:00.035) 0:00:26.571 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:29:37 +0000 (0:00:02.720) 0:00:29.291 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:29:38 +0000 (0:00:01.362) 0:00:30.654 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:29:38 +0000 (0:00:00.030) 0:00:30.684 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:29:38 +0000 (0:00:00.030) 0:00:30.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:29:38 +0000 (0:00:00.029) 0:00:30.745 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:29:38 +0000 (0:00:00.051) 0:00:30.796 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:29:41 +0000 (0:00:03.060) 0:00:33.857 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:29:41 +0000 (0:00:00.041) 0:00:33.898 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:29:41 +0000 (0:00:00.056) 0:00:33.955 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:29:42 +0000 (0:00:00.395) 0:00:34.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:29:42 +0000 (0:00:00.032) 0:00:34.382 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:29:42 +0000 (0:00:00.028) 0:00:34.410 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:29:42 +0000 (0:00:00.029) 0:00:34.440 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:29:42 +0000 (0:00:00.382) 0:00:34.822 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:c8:b1:43:54:8f", "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::10c8:b1ff:fe43:548f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:C8:B1:43:54:8F", "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::b04d:e0ff:fed7:4876", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:4D:E0:D7:48:76", "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::d895:ada8:d34c:7377", "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": "C2:6E:BB:E0:52:27", "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::58b4:f9ff:fe5c:38ea", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:B4:F9:5C:38:EA", "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::7c0d:feff:fe44:dad2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7E:0D:FE:44:DA:D2", "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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:29:43 +0000 (0:00:00.660) 0:00:35.483 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:29:43 +0000 (0:00:00.031) 0:00:35.514 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:29:43 +0000 (0:00:00.029) 0:00:35.544 ****** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:c8:b1:43:54:8f", "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::10c8:b1ff:fe43:548f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:C8:B1:43:54:8F", "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::b04d:e0ff:fed7:4876", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:4D:E0:D7:48:76", "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::d895:ada8:d34c:7377", "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": "C2:6E:BB:E0:52:27", "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::58b4:f9ff:fe5c:38ea", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:B4:F9:5C:38:EA", "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::7c0d:feff:fe44:dad2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7E:0D:FE:44:DA:D2", "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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:29:43 +0000 (0:00:00.046) 0:00:35.590 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:117 Tuesday 19 December 2023 23:29:43 +0000 (0:00:00.223) 0:00:35.814 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.501012", "end": "2023-12-19 23:29:44.277752", "rc": 0, "start": "2023-12-19 23:29:43.776740" } 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.218 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::10c8:b1ff:fe43:548f prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 12:C8:B1:43:54:8F 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::b04d:e0ff:fed7:4876 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: B2:4D:E0:D7:48:76 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::d895:ada8:d34c:7377 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: C2:6E:BB:E0:52:27 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::58b4:f9ff:fe5c:38ea prefix-length: 64 mac-address: 5A:B4:F9:5C:38:EA 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::7c0d:feff:fe44:dad2 prefix-length: 64 mac-address: 7E:0D:FE:44:DA:D2 mtu: 1500 veth: peer: ethtest1 STDERR: 2023-12-19 23:29:44,200 root DEBUG NetworkManager version 1.40.16 2023-12-19 23:29:44,202 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-19 23:29:44,203 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-19 23:29:44,203 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-19 23:29:44,205 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-19 23:29:44,206 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-19 23:29:44,206 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-19 23:29:44,208 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-19 23:29:44,209 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-19 23:29:44,209 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_typellq02zyd/tests/playbooks/tests_network_state.yml:123 Tuesday 19 December 2023 23:29:44 +0000 (0:00:00.716) 0:00:36.531 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:29:44 +0000 (0:00:00.033) 0:00:36.564 ****** included: /WORKDIR/git-route_typellq02zyd/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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:29:44 +0000 (0:00:00.075) 0:00:36.640 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:29:44 +0000 (0:00:00.037) 0:00:36.677 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:29:44 +0000 (0:00:00.033) 0:00:36.711 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:29:44 +0000 (0:00:00.042) 0:00:36.753 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:29:46 +0000 (0:00:01.707) 0:00:38.461 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:29:47 +0000 (0:00:01.376) 0:00:39.838 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:29:47 +0000 (0:00:00.032) 0:00:39.870 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:29:47 +0000 (0:00:00.029) 0:00:39.900 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:29:47 +0000 (0:00:00.031) 0:00:39.932 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:29:47 +0000 (0:00:00.050) 0:00:39.983 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:29:50 +0000 (0:00:03.091) 0:00:43.075 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:29:50 +0000 (0:00:00.031) 0:00:43.106 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:29:50 +0000 (0:00:00.073) 0:00:43.179 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:29:51 +0000 (0:00:00.371) 0:00:43.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:29:51 +0000 (0:00:00.033) 0:00:43.583 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:29:51 +0000 (0:00:00.031) 0:00:43.615 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:29:51 +0000 (0:00:00.029) 0:00:43.644 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:29:51 +0000 (0:00:00.351) 0:00:43.996 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "12:c8:b1:43:54:8f", "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::10c8:b1ff:fe43:548f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:C8:B1:43:54:8F", "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::b04d:e0ff:fed7:4876", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:4D:E0:D7:48:76", "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::d895:ada8:d34c:7377", "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": "C2:6E:BB:E0:52:27", "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::58b4:f9ff:fe5c:38ea", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:B4:F9:5C:38:EA", "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::7c0d:feff:fe44:dad2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7E:0D:FE:44:DA:D2", "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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:29:52 +0000 (0:00:00.666) 0:00:44.663 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:29:52 +0000 (0:00:00.035) 0:00:44.698 ****** 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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:29:52 +0000 (0:00:00.031) 0:00:44.730 ****** 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:c8:b1:43:54:8f", "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::10c8:b1ff:fe43:548f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:C8:B1:43:54:8F", "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::b04d:e0ff:fed7:4876", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:4D:E0:D7:48:76", "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::d895:ada8:d34c:7377", "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": "C2:6E:BB:E0:52:27", "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::58b4:f9ff:fe5c:38ea", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:B4:F9:5C:38:EA", "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::7c0d:feff:fe44:dad2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7E:0D:FE:44:DA:D2", "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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:29:52 +0000 (0:00:00.035) 0:00:44.766 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:146 Tuesday 19 December 2023 23:29:52 +0000 (0:00:00.209) 0:00:44.976 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.524033", "end": "2023-12-19 23:29:53.453845", "rc": 0, "start": "2023-12-19 23:29:52.929812" } 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.218 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::10c8:b1ff:fe43:548f prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 12:C8:B1:43:54:8F 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::b04d:e0ff:fed7:4876 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: B2:4D:E0:D7:48:76 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::d895:ada8:d34c:7377 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: C2:6E:BB:E0:52:27 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::58b4:f9ff:fe5c:38ea prefix-length: 64 mac-address: 5A:B4:F9:5C:38:EA 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::7c0d:feff:fe44:dad2 prefix-length: 64 mac-address: 7E:0D:FE:44:DA:D2 mtu: 1500 veth: peer: ethtest1 STDERR: 2023-12-19 23:29:53,364 root DEBUG NetworkManager version 1.40.16 2023-12-19 23:29:53,366 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-19 23:29:53,367 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-19 23:29:53,367 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-19 23:29:53,368 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-19 23:29:53,370 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-19 23:29:53,370 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-19 23:29:53,375 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-19 23:29:53,377 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-19 23:29:53,377 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_typellq02zyd/tests/playbooks/tests_network_state.yml:152 Tuesday 19 December 2023 23:29:53 +0000 (0:00:00.761) 0:00:45.738 ****** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003286", "end": "2023-12-19 23:29:53.702127", "rc": 0, "start": "2023-12-19 23:29:53.698841" } 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_typellq02zyd/tests/playbooks/tests_network_state.yml:158 Tuesday 19 December 2023 23:29:53 +0000 (0:00:00.216) 0:00:45.954 ****** 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_typellq02zyd/tests/playbooks/tests_network_state.yml:166 Tuesday 19 December 2023 23:29:53 +0000 (0:00:00.034) 0:00:45.988 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:176 Tuesday 19 December 2023 23:29:53 +0000 (0:00:00.029) 0:00:46.017 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 23:29:53 +0000 (0:00:00.050) 0:00:46.068 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.015585", "end": "2023-12-19 23:29:54.043424", "rc": 0, "start": "2023-12-19 23:29:54.027839" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:178 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.266) 0:00:46.334 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.054) 0:00:46.389 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.063) 0:00:46.452 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.253) 0:00:46.706 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:180 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.030) 0:00:46.737 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:184 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.030) 0:00:46.767 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.052) 0:00:46.819 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011664", "end": "2023-12-19 23:29:54.789735", "rc": 0, "start": "2023-12-19 23:29:54.778071" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:186 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.228) 0:00:47.047 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.051) 0:00:47.099 ****** included: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:29:54 +0000 (0:00:00.038) 0:00:47.137 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:29:55 +0000 (0:00:00.217) 0:00:47.354 ****** 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 19 December 2023 23:29:55 +0000 (0:00:00.013) 0:00:47.368 ****** =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.79s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 Install iproute --------------------------------------------------------- 3.46s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.13s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.09s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.06s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Check which services are running ----------- 2.72s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.78s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.50s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-route_typellq02zyd/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_typellq02zyd/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking state ----------------- 0.87s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 Get the DNS configuration from nmstatectl ------------------------------- 0.76s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:146 --- Get the route configuration --------------------------------------------- 0.72s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:117 --- Get the ethtest0 state configuration ------------------------------------ 0.70s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:75 ---- Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-route_typellq02zyd/tests/tests_network_state_nm.yml:5 ------------ Get the ethtest1 state configuration ------------------------------------ 0.70s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tests_network_state.yml:81 ---- linux-system-roles.network : Configure networking state ----------------- 0.67s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 linux-system-roles.network : Configure networking state ----------------- 0.66s /WORKDIR/git-route_typellq02zyd/tests/roles/linux-system-roles.network/tasks/main.yml:134 Create veth interface ethtest1 ------------------------------------------ 0.64s /WORKDIR/git-route_typellq02zyd/tests/playbooks/tasks/manage_test_interface.yml:24 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---