# 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_typemxl9uwfa/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_typemxl9uwfa/tests/tests_network_state_nm.yml:6 Tuesday 09 January 2024 16:37:54 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/tests_network_state_nm.yml:9 Tuesday 09 January 2024 16:37:54 +0000 (0:00:00.757) 0:00:00.769 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:37:54 +0000 (0:00:00.017) 0:00:00.787 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 16:37:55 +0000 (0:00:00.359) 0:00:01.146 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 16:37:55 +0000 (0:00:00.301) 0:00:01.447 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 16:37:55 +0000 (0:00:00.020) 0:00:01.468 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 16:37:55 +0000 (0:00:00.017) 0:00:01.485 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:37:55 +0000 (0:00:00.031) 0:00:01.516 ******* 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_typemxl9uwfa/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:37:55 +0000 (0:00:00.246) 0:00:01.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:37:55 +0000 (0:00:00.010) 0:00:01.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:37:55 +0000 (0:00:00.010) 0:00:01.784 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.248482", "end": "2024-01-09 16:37:57.261634", "rc": 0, "start": "2024-01-09 16:37:56.013152" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:37:57 +0000 (0:00:01.434) 0:00:03.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tests_network_state_nm.yml:11 Tuesday 09 January 2024 16:37:57 +0000 (0:00:00.010) 0:00:03.229 ******* 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_typemxl9uwfa/tests/playbooks/tests_network_state.yml:3 Tuesday 09 January 2024 16:37:57 +0000 (0:00:00.011) 0:00:03.241 ******* ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:12 Tuesday 09 January 2024 16:37:57 +0000 (0:00:00.594) 0:00:03.836 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:16 Tuesday 09 January 2024 16:37:57 +0000 (0:00:00.023) 0:00:03.860 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:37:57 +0000 (0:00:00.051) 0:00:03.911 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:37:57 +0000 (0:00:00.017) 0:00:03.929 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003349", "end": "2024-01-09 16:37:58.190087", "rc": 0, "start": "2024-01-09 16:37:58.186738" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.221) 0:00:04.150 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.018) 0:00:04.168 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:18 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.031) 0:00:04.200 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.066) 0:00:04.266 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.014) 0:00:04.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.026) 0:00:04.307 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.018) 0:00:04.326 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.032) 0:00:04.358 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003352", "end": "2024-01-09 16:37:58.601910", "rc": 0, "start": "2024-01-09 16:37:58.598558" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.227) 0:00:04.586 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.034) 0:00:04.620 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:37:58 +0000 (0:00:00.026) 0:00:04.646 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 16:38:02 +0000 (0:00:03.464) 0:00:08.110 ******* 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.010038", "end": "2024-01-09 16:38:02.383021", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-01-09 16:38:02.372983" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003922", "end": "2024-01-09 16:38:02.621399", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-01-09 16:38:02.617477" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004325", "end": "2024-01-09 16:38:02.822311", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-01-09 16:38:02.817986" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 16:38:02 +0000 (0:00:00.723) 0:00:08.834 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.025406", "end": "2024-01-09 16:38:03.108673", "rc": 0, "start": "2024-01-09 16:38:03.083267" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.241) 0:00:09.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.016) 0:00:09.092 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.043) 0:00:09.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.023) 0:00:09.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.049) 0:00:09.210 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:22 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.031) 0:00:09.242 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.040) 0:00:09.282 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.017) 0:00:09.299 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818282.3767757, "block_size": 4096, "blocks": 0, "ctime": 1704818282.3767757, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35999, "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": 1704818282.3767757, "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_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.218) 0:00:09.518 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:24 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.017) 0:00:09.535 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:28 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.033) 0:00:09.569 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.134) 0:00:09.703 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:38:03 +0000 (0:00:00.030) 0:00:09.733 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003586", "end": "2024-01-09 16:38:03.980391", "rc": 0, "start": "2024-01-09 16:38:03.976805" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.205) 0:00:09.938 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.013) 0:00:09.951 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:30 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.011) 0:00:09.963 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.026) 0:00:09.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.016) 0:00:10.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.015) 0:00:10.022 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.036) 0:00:10.058 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.019) 0:00:10.078 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003647", "end": "2024-01-09 16:38:04.327293", "rc": 0, "start": "2024-01-09 16:38:04.323646" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.206) 0:00:10.285 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.015) 0:00:10.301 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:38:04 +0000 (0:00:00.013) 0:00:10.314 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 16:38:07 +0000 (0:00:03.134) 0:00:13.449 ******* 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.012515", "end": "2024-01-09 16:38:07.765607", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-01-09 16:38:07.753092" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004082", "end": "2024-01-09 16:38:07.996522", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-01-09 16:38:07.992440" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004582", "end": "2024-01-09 16:38:08.204969", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-01-09 16:38:08.200387" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.719) 0:00:14.169 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.024977", "end": "2024-01-09 16:38:08.440313", "rc": 0, "start": "2024-01-09 16:38:08.415336" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.249) 0:00:14.419 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.030) 0:00:14.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.014) 0:00:14.464 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.027) 0:00:14.492 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.030) 0:00:14.523 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:34 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.057) 0:00:14.580 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.035) 0:00:14.616 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.036) 0:00:14.653 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818287.75697, "block_size": 4096, "blocks": 0, "ctime": 1704818287.75697, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36585, "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": 1704818287.75697, "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_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.235) 0:00:14.888 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:38:08 +0000 (0:00:00.034) 0:00:14.922 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:38:09 +0000 (0:00:00.124) 0:00:15.046 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:38:09 +0000 (0:00:00.070) 0:00:15.117 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:38:09 +0000 (0:00:00.060) 0:00:15.177 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:38:09 +0000 (0:00:00.039) 0:00:15.216 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:38:11 +0000 (0:00:01.736) 0:00:16.952 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:38:12 +0000 (0:00:01.499) 0:00:18.452 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:38:12 +0000 (0:00:00.060) 0:00:18.512 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:38:12 +0000 (0:00:00.034) 0:00:18.547 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:38:12 +0000 (0:00:00.030) 0:00:18.577 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:38:12 +0000 (0:00:00.073) 0:00:18.650 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: nmstate-1.4.5-2.el8.x86_64", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: NetworkManager-config-server-1:1.40.16-14.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: python3-libnmstate-1.4.5-2.el8.noarch" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:38:18 +0000 (0:00:05.935) 0:00:24.586 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:38:18 +0000 (0:00:00.032) 0:00:24.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:38:18 +0000 (0:00:00.031) 0:00:24.650 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:38:19 +0000 (0:00:00.588) 0:00:25.239 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:38:19 +0000 (0:00:00.031) 0:00:25.270 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:38:19 +0000 (0:00:00.052) 0:00:25.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:38:19 +0000 (0:00:00.029) 0:00:25.352 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:38:19 +0000 (0:00:00.495) 0:00:25.847 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:f8:c0:9d:a5:55", "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::8f8:c0ff:fe9d:a555", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F8:C0:9D:A5:55", "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::ac86:9bff:fe08:bbba", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "AE:86:9B:08:BB:BA", "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::30d0:a184:99c8:e806", "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": "B2:28:AC:12:CF:EE", "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::309a:5ff:feca:d6f7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "32:9A:05:CA:D6:F7", "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::cc1e:4cff:fe01:15a7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "CE:1E:4C:01:15:A7", "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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:38:21 +0000 (0:00:01.783) 0:00:27.631 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:38:21 +0000 (0:00:00.034) 0:00:27.665 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:38:21 +0000 (0:00:00.064) 0:00:27.729 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:f8:c0:9d:a5:55", "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::8f8:c0ff:fe9d:a555", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F8:C0:9D:A5:55", "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::ac86:9bff:fe08:bbba", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "AE:86:9B:08:BB:BA", "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::30d0:a184:99c8:e806", "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": "B2:28:AC:12:CF:EE", "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::309a:5ff:feca:d6f7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "32:9A:05:CA:D6:F7", "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::cc1e:4cff:fe01:15a7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "CE:1E:4C:01:15:A7", "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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:38:21 +0000 (0:00:00.048) 0:00:27.777 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:75 Tuesday 09 January 2024 16:38:22 +0000 (0:00:00.386) 0:00:28.164 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.487747", "end": "2024-01-09 16:38:22.886870", "rc": 0, "start": "2024-01-09 16:38:22.399123" } 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: 101 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: 101 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::ac86:9bff:fe08:bbba prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: AE:86:9B:08:BB:BA mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-01-09 16:38:22,824 root DEBUG NetworkManager version 1.40.16 2024-01-09 16:38:22,825 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-09 16:38:22,826 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-09 16:38:22,826 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-09 16:38:22,828 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-09 16:38:22,829 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-09 16:38:22,829 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-09 16:38:22,831 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-09 16:38:22,832 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-09 16:38:22,832 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:81 Tuesday 09 January 2024 16:38:22 +0000 (0:00:00.734) 0:00:28.898 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.482214", "end": "2024-01-09 16:38:23.614674", "rc": 0, "start": "2024-01-09 16:38:23.132460" } 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::30d0:a184:99c8:e806 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: B2:28:AC:12:CF:EE mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-01-09 16:38:23,551 root DEBUG NetworkManager version 1.40.16 2024-01-09 16:38:23,553 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-09 16:38:23,553 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-09 16:38:23,554 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-09 16:38:23,555 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-09 16:38:23,556 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-09 16:38:23,557 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-09 16:38:23,559 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-09 16:38:23,559 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-09 16:38:23,559 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_typemxl9uwfa/tests/playbooks/tests_network_state.yml:87 Tuesday 09 January 2024 16:38:23 +0000 (0:00:00.685) 0:00:29.584 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:96 Tuesday 09 January 2024 16:38:23 +0000 (0:00:00.034) 0:00:29.618 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:38:23 +0000 (0:00:00.034) 0:00:29.653 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:38:23 +0000 (0:00:00.058) 0:00:29.711 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:38:23 +0000 (0:00:00.042) 0:00:29.754 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:38:23 +0000 (0:00:00.031) 0:00:29.785 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:38:23 +0000 (0:00:00.035) 0:00:29.821 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:38:25 +0000 (0:00:01.697) 0:00:31.518 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:38:26 +0000 (0:00:01.359) 0:00:32.877 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:38:26 +0000 (0:00:00.039) 0:00:32.917 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:38:27 +0000 (0:00:00.036) 0:00:32.953 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:38:27 +0000 (0:00:00.042) 0:00:32.996 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:38:27 +0000 (0:00:00.070) 0:00:33.067 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:38:30 +0000 (0:00:03.090) 0:00:36.158 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:38:30 +0000 (0:00:00.040) 0:00:36.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:38:30 +0000 (0:00:00.032) 0:00:36.231 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:38:30 +0000 (0:00:00.404) 0:00:36.636 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:38:30 +0000 (0:00:00.049) 0:00:36.685 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:38:30 +0000 (0:00:00.093) 0:00:36.779 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:38:30 +0000 (0:00:00.048) 0:00:36.827 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:38:31 +0000 (0:00:00.355) 0:00:37.183 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:f8:c0:9d:a5:55", "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::8f8:c0ff:fe9d:a555", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F8:C0:9D:A5:55", "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::ac86:9bff:fe08:bbba", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "AE:86:9B:08:BB:BA", "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::30d0:a184:99c8:e806", "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": "B2:28:AC:12:CF:EE", "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::309a:5ff:feca:d6f7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "32:9A:05:CA:D6:F7", "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::cc1e:4cff:fe01:15a7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "CE:1E:4C:01:15:A7", "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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:38:31 +0000 (0:00:00.752) 0:00:37.935 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:38:32 +0000 (0:00:00.039) 0:00:37.975 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:38:32 +0000 (0:00:00.032) 0:00:38.008 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:f8:c0:9d:a5:55", "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::8f8:c0ff:fe9d:a555", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F8:C0:9D:A5:55", "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::ac86:9bff:fe08:bbba", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "AE:86:9B:08:BB:BA", "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::30d0:a184:99c8:e806", "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": "B2:28:AC:12:CF:EE", "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::309a:5ff:feca:d6f7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "32:9A:05:CA:D6:F7", "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::cc1e:4cff:fe01:15a7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "CE:1E:4C:01:15:A7", "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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:38:32 +0000 (0:00:00.038) 0:00:38.046 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:117 Tuesday 09 January 2024 16:38:32 +0000 (0:00:00.267) 0:00:38.314 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.495068", "end": "2024-01-09 16:38:33.062189", "rc": 0, "start": "2024-01-09 16:38:32.567121" } 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: 101 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.12.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.12.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: 101 next-hop-address: 0.0.0.0 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 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.14.38 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::8f8:c0ff:fe9d:a555 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:F8:C0:9D:A5:55 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::ac86:9bff:fe08:bbba prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: AE:86:9B:08:BB:BA 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::30d0:a184:99c8:e806 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: B2:28:AC:12:CF:EE 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::309a:5ff:feca:d6f7 prefix-length: 64 mac-address: 32:9A:05:CA:D6:F7 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::cc1e:4cff:fe01:15a7 prefix-length: 64 mac-address: CE:1E:4C:01:15:A7 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-09 16:38:32,987 root DEBUG NetworkManager version 1.40.16 2024-01-09 16:38:32,988 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-09 16:38:32,989 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-09 16:38:32,989 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-09 16:38:32,991 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-09 16:38:32,992 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-09 16:38:32,992 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-09 16:38:32,994 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-09 16:38:32,995 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-09 16:38:32,995 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_typemxl9uwfa/tests/playbooks/tests_network_state.yml:123 Tuesday 09 January 2024 16:38:33 +0000 (0:00:00.719) 0:00:39.034 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:38:33 +0000 (0:00:00.032) 0:00:39.066 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:38:33 +0000 (0:00:00.050) 0:00:39.116 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:38:33 +0000 (0:00:00.089) 0:00:39.206 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:38:33 +0000 (0:00:00.044) 0:00:39.250 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:38:33 +0000 (0:00:00.071) 0:00:39.322 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:38:35 +0000 (0:00:01.689) 0:00:41.012 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:38:36 +0000 (0:00:01.335) 0:00:42.348 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:38:36 +0000 (0:00:00.038) 0:00:42.387 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:38:36 +0000 (0:00:00.058) 0:00:42.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:38:36 +0000 (0:00:00.122) 0:00:42.568 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:38:36 +0000 (0:00:00.060) 0:00:42.629 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:38:39 +0000 (0:00:03.130) 0:00:45.759 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:38:39 +0000 (0:00:00.035) 0:00:45.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:38:39 +0000 (0:00:00.031) 0:00:45.826 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:38:40 +0000 (0:00:00.356) 0:00:46.183 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:38:40 +0000 (0:00:00.031) 0:00:46.214 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:38:40 +0000 (0:00:00.028) 0:00:46.242 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:38:40 +0000 (0:00:00.027) 0:00:46.270 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:38:40 +0000 (0:00:00.428) 0:00:46.699 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0a:f8:c0:9d:a5:55", "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::8f8:c0ff:fe9d:a555", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F8:C0:9D:A5:55", "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::ac86:9bff:fe08:bbba", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "AE:86:9B:08:BB:BA", "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::30d0:a184:99c8:e806", "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": "B2:28:AC:12:CF:EE", "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::309a:5ff:feca:d6f7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "32:9A:05:CA:D6:F7", "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::cc1e:4cff:fe01:15a7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "CE:1E:4C:01:15:A7", "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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:38:41 +0000 (0:00:00.663) 0:00:47.363 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:38:41 +0000 (0:00:00.030) 0:00:47.393 ******* 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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:38:41 +0000 (0:00:00.029) 0:00:47.422 ******* 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": "0a:f8:c0:9d:a5:55", "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::8f8:c0ff:fe9d:a555", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:F8:C0:9D:A5:55", "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::ac86:9bff:fe08:bbba", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "AE:86:9B:08:BB:BA", "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::30d0:a184:99c8:e806", "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": "B2:28:AC:12:CF:EE", "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::309a:5ff:feca:d6f7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "32:9A:05:CA:D6:F7", "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::cc1e:4cff:fe01:15a7", "prefix-length": 64 } ], "enabled": true }, "mac-address": "CE:1E:4C:01:15:A7", "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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:38:41 +0000 (0:00:00.033) 0:00:47.456 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:146 Tuesday 09 January 2024 16:38:41 +0000 (0:00:00.203) 0:00:47.660 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.504830", "end": "2024-01-09 16:38:42.403540", "rc": 0, "start": "2024-01-09 16:38:41.898710" } 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: 101 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.12.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.12.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: 101 next-hop-address: 0.0.0.0 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 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.14.38 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::8f8:c0ff:fe9d:a555 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:F8:C0:9D:A5:55 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::ac86:9bff:fe08:bbba prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: AE:86:9B:08:BB:BA 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::30d0:a184:99c8:e806 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: B2:28:AC:12:CF:EE 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::309a:5ff:feca:d6f7 prefix-length: 64 mac-address: 32:9A:05:CA:D6:F7 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::cc1e:4cff:fe01:15a7 prefix-length: 64 mac-address: CE:1E:4C:01:15:A7 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-09 16:38:42,322 root DEBUG NetworkManager version 1.40.16 2024-01-09 16:38:42,324 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-09 16:38:42,324 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-09 16:38:42,324 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-09 16:38:42,326 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-09 16:38:42,327 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-09 16:38:42,327 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-09 16:38:42,329 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-09 16:38:42,330 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-09 16:38:42,330 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_typemxl9uwfa/tests/playbooks/tests_network_state.yml:152 Tuesday 09 January 2024 16:38:42 +0000 (0:00:00.714) 0:00:48.375 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003178", "end": "2024-01-09 16:38:42.616769", "rc": 0, "start": "2024-01-09 16:38:42.613591" } 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_typemxl9uwfa/tests/playbooks/tests_network_state.yml:158 Tuesday 09 January 2024 16:38:42 +0000 (0:00:00.216) 0:00:48.591 ******* 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_typemxl9uwfa/tests/playbooks/tests_network_state.yml:166 Tuesday 09 January 2024 16:38:42 +0000 (0:00:00.060) 0:00:48.651 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:176 Tuesday 09 January 2024 16:38:42 +0000 (0:00:00.027) 0:00:48.679 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:38:42 +0000 (0:00:00.051) 0:00:48.730 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.012387", "end": "2024-01-09 16:38:42.972582", "rc": 0, "start": "2024-01-09 16:38:42.960195" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:178 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.218) 0:00:48.948 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.051) 0:00:49.000 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.048) 0:00:49.049 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.204) 0:00:49.253 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:180 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.027) 0:00:49.280 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:184 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.033) 0:00:49.314 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.106) 0:00:49.420 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.014991", "end": "2024-01-09 16:38:43.678150", "rc": 0, "start": "2024-01-09 16:38:43.663159" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:186 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.232) 0:00:49.653 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.055) 0:00:49.708 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:38:43 +0000 (0:00:00.042) 0:00:49.751 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:38:44 +0000 (0:00:00.211) 0:00:49.963 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=107 changed=4 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Tuesday 09 January 2024 16:38:44 +0000 (0:00:00.012) 0:00:49.976 ******* =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.94s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Install iproute --------------------------------------------------------- 3.46s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.13s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.13s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.09s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Configure networking state ----------------- 1.78s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 8 ----------------------------------------------------------- 1.43s /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-route_typemxl9uwfa/tests/tests_network_state_nm.yml:6 ------------ linux-system-roles.network : Configure networking state ----------------- 0.75s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Get the ethtest0 state configuration ------------------------------------ 0.73s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:75 ---- Create veth interface ethtest0 ------------------------------------------ 0.72s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface ethtest1 ------------------------------------------ 0.72s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Get the route configuration --------------------------------------------- 0.72s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:117 --- Get the DNS configuration from nmstatectl ------------------------------- 0.71s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_network_state.yml:146 --- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---