# 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_type0_yg41s7/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_type0_yg41s7/tests/tests_network_state_nm.yml:6 Friday 12 January 2024 18:23:37 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/tests_network_state_nm.yml:9 Friday 12 January 2024 18:23:38 +0000 (0:00:00.708) 0:00:00.722 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:23:38 +0000 (0:00:00.012) 0:00:00.734 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 18:23:38 +0000 (0:00:00.323) 0:00:01.058 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 18:23:39 +0000 (0:00:00.278) 0:00:01.336 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 18:23:39 +0000 (0:00:00.043) 0:00:01.380 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 18:23:39 +0000 (0:00:00.021) 0:00:01.402 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:23:39 +0000 (0:00:00.034) 0:00:01.437 ******** 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_type0_yg41s7/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:23:39 +0000 (0:00:00.243) 0:00:01.681 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:23:39 +0000 (0:00:00.010) 0:00:01.692 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:23:39 +0000 (0:00:00.010) 0:00:01.702 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.246066", "end": "2024-01-12 18:23:39.798201", "rc": 0, "start": "2024-01-12 18:23:39.552135" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:23:39 +0000 (0:00:00.431) 0:00:02.134 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tests_network_state_nm.yml:11 Friday 12 January 2024 18:23:39 +0000 (0:00:00.017) 0:00:02.151 ******** 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_type0_yg41s7/tests/playbooks/tests_network_state.yml:3 Friday 12 January 2024 18:23:39 +0000 (0:00:00.012) 0:00:02.163 ******** ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:12 Friday 12 January 2024 18:23:40 +0000 (0:00:00.558) 0:00:02.722 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:16 Friday 12 January 2024 18:23:40 +0000 (0:00:00.012) 0:00:02.734 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:23:40 +0000 (0:00:00.020) 0:00:02.755 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:23:40 +0000 (0:00:00.013) 0:00:02.768 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003332", "end": "2024-01-12 18:23:40.619734", "rc": 0, "start": "2024-01-12 18:23:40.616402" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:23:40 +0000 (0:00:00.185) 0:00:02.954 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:23:40 +0000 (0:00:00.012) 0:00:02.967 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:18 Friday 12 January 2024 18:23:40 +0000 (0:00:00.010) 0:00:02.978 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 18:23:40 +0000 (0:00:00.027) 0:00:03.005 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 18:23:40 +0000 (0:00:00.012) 0:00:03.017 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 18:23:40 +0000 (0:00:00.012) 0:00:03.029 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:23:40 +0000 (0:00:00.014) 0:00:03.044 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:23:40 +0000 (0:00:00.014) 0:00:03.059 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003484", "end": "2024-01-12 18:23:40.913650", "rc": 0, "start": "2024-01-12 18:23:40.910166" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:23:40 +0000 (0:00:00.187) 0:00:03.247 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:23:40 +0000 (0:00:00.013) 0:00:03.260 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 18:23:40 +0000 (0:00:00.012) 0:00:03.272 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 18:23:44 +0000 (0:00:03.449) 0:00:06.722 ******** 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.015454", "end": "2024-01-12 18:23:44.593169", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-01-12 18:23:44.577715" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003707", "end": "2024-01-12 18:23:44.810910", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-01-12 18:23:44.807203" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004190", "end": "2024-01-12 18:23:44.994331", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-01-12 18:23:44.990141" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 18:23:45 +0000 (0:00:00.606) 0:00:07.328 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.023394", "end": "2024-01-12 18:23:45.203093", "rc": 0, "start": "2024-01-12 18:23:45.179699" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 18:23:45 +0000 (0:00:00.209) 0:00:07.538 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 18:23:45 +0000 (0:00:00.012) 0:00:07.551 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 18:23:45 +0000 (0:00:00.011) 0:00:07.563 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 18:23:45 +0000 (0:00:00.011) 0:00:07.574 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 18:23:45 +0000 (0:00:00.012) 0:00:07.587 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:22 Friday 12 January 2024 18:23:45 +0000 (0:00:00.010) 0:00:07.598 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:23:45 +0000 (0:00:00.023) 0:00:07.621 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:23:45 +0000 (0:00:00.013) 0:00:07.635 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083824.581438, "block_size": 4096, "blocks": 0, "ctime": 1705083824.581438, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34573, "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": 1705083824.581438, "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_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:23:45 +0000 (0:00:00.191) 0:00:07.827 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:24 Friday 12 January 2024 18:23:45 +0000 (0:00:00.016) 0:00:07.844 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:28 Friday 12 January 2024 18:23:45 +0000 (0:00:00.014) 0:00:07.858 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:23:45 +0000 (0:00:00.031) 0:00:07.890 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:23:45 +0000 (0:00:00.016) 0:00:07.907 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003213", "end": "2024-01-12 18:23:45.771628", "rc": 0, "start": "2024-01-12 18:23:45.768415" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:23:45 +0000 (0:00:00.199) 0:00:08.106 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:23:45 +0000 (0:00:00.012) 0:00:08.118 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:30 Friday 12 January 2024 18:23:45 +0000 (0:00:00.016) 0:00:08.135 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 18:23:45 +0000 (0:00:00.031) 0:00:08.166 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 18:23:45 +0000 (0:00:00.012) 0:00:08.179 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 18:23:45 +0000 (0:00:00.013) 0:00:08.192 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:23:45 +0000 (0:00:00.014) 0:00:08.207 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:23:45 +0000 (0:00:00.014) 0:00:08.221 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003197", "end": "2024-01-12 18:23:46.074514", "rc": 0, "start": "2024-01-12 18:23:46.071317" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:23:46 +0000 (0:00:00.186) 0:00:08.408 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:23:46 +0000 (0:00:00.013) 0:00:08.422 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 18:23:46 +0000 (0:00:00.012) 0:00:08.435 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 18:23:49 +0000 (0:00:03.025) 0:00:11.460 ******** 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.012489", "end": "2024-01-12 18:23:49.330263", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-01-12 18:23:49.317774" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003905", "end": "2024-01-12 18:23:49.548147", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-01-12 18:23:49.544242" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004233", "end": "2024-01-12 18:23:49.732535", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-01-12 18:23:49.728302" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 18:23:49 +0000 (0:00:00.606) 0:00:12.067 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.023309", "end": "2024-01-12 18:23:49.941867", "rc": 0, "start": "2024-01-12 18:23:49.918558" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 18:23:49 +0000 (0:00:00.209) 0:00:12.277 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 18:23:49 +0000 (0:00:00.012) 0:00:12.290 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 18:23:49 +0000 (0:00:00.012) 0:00:12.303 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 18:23:49 +0000 (0:00:00.011) 0:00:12.314 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 18:23:50 +0000 (0:00:00.011) 0:00:12.325 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:34 Friday 12 January 2024 18:23:50 +0000 (0:00:00.010) 0:00:12.336 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:23:50 +0000 (0:00:00.026) 0:00:12.362 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:23:50 +0000 (0:00:00.015) 0:00:12.378 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705083829.321503, "block_size": 4096, "blocks": 0, "ctime": 1705083829.321503, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35159, "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": 1705083829.321503, "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_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:23:50 +0000 (0:00:00.186) 0:00:12.565 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:23:50 +0000 (0:00:00.013) 0:00:12.578 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:23:50 +0000 (0:00:00.073) 0:00:12.651 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:23:50 +0000 (0:00:00.023) 0:00:12.675 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:23:50 +0000 (0:00:00.019) 0:00:12.695 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:23:50 +0000 (0:00:00.020) 0:00:12.715 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:23:52 +0000 (0:00:01.674) 0:00:14.389 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:23:53 +0000 (0:00:01.436) 0:00:15.826 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:23:53 +0000 (0:00:00.029) 0:00:15.855 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:23:53 +0000 (0:00:00.032) 0:00:15.888 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:23:53 +0000 (0:00:00.028) 0:00:15.917 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:23:53 +0000 (0:00:00.050) 0:00:15.967 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:23:59 +0000 (0:00:05.584) 0:00:21.551 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:23:59 +0000 (0:00:00.030) 0:00:21.582 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:23:59 +0000 (0:00:00.031) 0:00:21.613 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:23:59 +0000 (0:00:00.484) 0:00:22.097 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:23:59 +0000 (0:00:00.032) 0:00:22.129 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:23:59 +0000 (0:00:00.029) 0:00:22.159 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:23:59 +0000 (0:00:00.055) 0:00:22.214 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:24:00 +0000 (0:00:00.459) 0:00:22.674 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:b9:e1:ef:ce:f3", "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::8b9:e1ff:feef:cef3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B9:E1:EF:CE:F3", "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::143b:5aff:fe05:6233", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "16:3B:5A:05:62:33", "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::1818:b8d8:7040:b755", "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": "9E:9C:30:9D:87:AD", "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::78b0:b7ff:feab:ed8d", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:B0:B7:AB:ED:8D", "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::90c8:8aff:fe2b:79cf", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:C8:8A:2B:79:CF", "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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:24:02 +0000 (0:00:01.754) 0:00:24.429 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:24:02 +0000 (0:00:00.030) 0:00:24.459 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:24:02 +0000 (0:00:00.032) 0:00:24.491 ******** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:b9:e1:ef:ce:f3", "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::8b9:e1ff:feef:cef3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B9:E1:EF:CE:F3", "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::143b:5aff:fe05:6233", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "16:3B:5A:05:62:33", "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::1818:b8d8:7040:b755", "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": "9E:9C:30:9D:87:AD", "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::78b0:b7ff:feab:ed8d", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:B0:B7:AB:ED:8D", "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::90c8:8aff:fe2b:79cf", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:C8:8A:2B:79:CF", "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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:24:02 +0000 (0:00:00.039) 0:00:24.531 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:75 Friday 12 January 2024 18:24:02 +0000 (0:00:00.297) 0:00:24.829 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.481855", "end": "2024-01-12 18:24:03.167365", "rc": 0, "start": "2024-01-12 18:24:02.685510" } 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::143b:5aff:fe05:6233 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 16:3B:5A:05:62:33 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-01-12 18:24:03,104 root DEBUG NetworkManager version 1.40.16 2024-01-12 18:24:03,106 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-12 18:24:03,106 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-12 18:24:03,107 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-12 18:24:03,108 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-12 18:24:03,109 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-12 18:24:03,110 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-12 18:24:03,112 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-12 18:24:03,112 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-12 18:24:03,112 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:81 Friday 12 January 2024 18:24:03 +0000 (0:00:00.684) 0:00:25.513 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.477361", "end": "2024-01-12 18:24:03.842947", "rc": 0, "start": "2024-01-12 18:24:03.365586" } 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::1818:b8d8:7040:b755 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: 9E:9C:30:9D:87:AD mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-01-12 18:24:03,781 root DEBUG NetworkManager version 1.40.16 2024-01-12 18:24:03,783 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-12 18:24:03,783 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-12 18:24:03,783 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-12 18:24:03,785 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-12 18:24:03,786 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-12 18:24:03,786 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-12 18:24:03,788 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-12 18:24:03,789 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-12 18:24:03,789 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_type0_yg41s7/tests/playbooks/tests_network_state.yml:87 Friday 12 January 2024 18:24:03 +0000 (0:00:00.675) 0:00:26.189 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:96 Friday 12 January 2024 18:24:03 +0000 (0:00:00.026) 0:00:26.216 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:24:03 +0000 (0:00:00.025) 0:00:26.242 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:24:03 +0000 (0:00:00.046) 0:00:26.289 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:24:04 +0000 (0:00:00.039) 0:00:26.328 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:24:04 +0000 (0:00:00.032) 0:00:26.361 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:24:04 +0000 (0:00:00.031) 0:00:26.392 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:24:05 +0000 (0:00:01.606) 0:00:27.998 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:24:06 +0000 (0:00:01.308) 0:00:29.307 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:24:07 +0000 (0:00:00.030) 0:00:29.338 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:24:07 +0000 (0:00:00.028) 0:00:29.366 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:24:07 +0000 (0:00:00.030) 0:00:29.397 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:24:07 +0000 (0:00:00.054) 0:00:29.451 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:24:10 +0000 (0:00:03.063) 0:00:32.515 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:24:10 +0000 (0:00:00.031) 0:00:32.547 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:24:10 +0000 (0:00:00.031) 0:00:32.579 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:24:10 +0000 (0:00:00.346) 0:00:32.925 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:24:10 +0000 (0:00:00.031) 0:00:32.956 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:24:10 +0000 (0:00:00.029) 0:00:32.985 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:24:10 +0000 (0:00:00.069) 0:00:33.055 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:24:11 +0000 (0:00:00.341) 0:00:33.397 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:b9:e1:ef:ce:f3", "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::8b9:e1ff:feef:cef3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B9:E1:EF:CE:F3", "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::143b:5aff:fe05:6233", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "16:3B:5A:05:62:33", "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::1818:b8d8:7040:b755", "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": "9E:9C:30:9D:87:AD", "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::78b0:b7ff:feab:ed8d", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:B0:B7:AB:ED:8D", "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::90c8:8aff:fe2b:79cf", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:C8:8A:2B:79:CF", "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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:24:11 +0000 (0:00:00.639) 0:00:34.036 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:24:11 +0000 (0:00:00.031) 0:00:34.067 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:24:11 +0000 (0:00:00.047) 0:00:34.114 ******** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:b9:e1:ef:ce:f3", "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::8b9:e1ff:feef:cef3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B9:E1:EF:CE:F3", "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::143b:5aff:fe05:6233", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "16:3B:5A:05:62:33", "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::1818:b8d8:7040:b755", "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": "9E:9C:30:9D:87:AD", "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::78b0:b7ff:feab:ed8d", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:B0:B7:AB:ED:8D", "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::90c8:8aff:fe2b:79cf", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:C8:8A:2B:79:CF", "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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:24:11 +0000 (0:00:00.041) 0:00:34.156 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:117 Friday 12 January 2024 18:24:12 +0000 (0:00:00.215) 0:00:34.371 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.487489", "end": "2024-01-12 18:24:12.713376", "rc": 0, "start": "2024-01-12 18:24:12.225887" } 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.12.26 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::8b9:e1ff:feef:cef3 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:B9:E1:EF:CE:F3 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::143b:5aff:fe05:6233 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 16:3B:5A:05:62:33 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::1818:b8d8:7040:b755 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: 9E:9C:30:9D:87:AD 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::78b0:b7ff:feab:ed8d prefix-length: 64 mac-address: 7A:B0:B7:AB:ED:8D 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::90c8:8aff:fe2b:79cf prefix-length: 64 mac-address: 92:C8:8A:2B:79:CF mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-12 18:24:12,640 root DEBUG NetworkManager version 1.40.16 2024-01-12 18:24:12,641 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-12 18:24:12,642 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-12 18:24:12,642 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-12 18:24:12,643 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-12 18:24:12,644 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-12 18:24:12,645 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-12 18:24:12,647 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-12 18:24:12,648 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-12 18:24:12,648 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_type0_yg41s7/tests/playbooks/tests_network_state.yml:123 Friday 12 January 2024 18:24:12 +0000 (0:00:00.689) 0:00:35.060 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:24:12 +0000 (0:00:00.031) 0:00:35.092 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:24:12 +0000 (0:00:00.074) 0:00:35.166 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:24:12 +0000 (0:00:00.037) 0:00:35.204 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:24:12 +0000 (0:00:00.032) 0:00:35.236 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:24:12 +0000 (0:00:00.033) 0:00:35.270 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:24:14 +0000 (0:00:01.611) 0:00:36.882 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:24:15 +0000 (0:00:01.313) 0:00:38.195 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:24:15 +0000 (0:00:00.028) 0:00:38.224 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:24:15 +0000 (0:00:00.030) 0:00:38.254 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:24:15 +0000 (0:00:00.029) 0:00:38.283 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:24:16 +0000 (0:00:00.049) 0:00:38.333 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:24:19 +0000 (0:00:03.048) 0:00:41.382 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:24:19 +0000 (0:00:00.039) 0:00:41.421 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:24:19 +0000 (0:00:00.032) 0:00:41.454 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:24:19 +0000 (0:00:00.354) 0:00:41.808 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:24:19 +0000 (0:00:00.033) 0:00:41.842 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:24:19 +0000 (0:00:00.027) 0:00:41.870 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:24:19 +0000 (0:00:00.030) 0:00:41.900 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:24:19 +0000 (0:00:00.347) 0:00:42.248 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0a:b9:e1:ef:ce:f3", "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::8b9:e1ff:feef:cef3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B9:E1:EF:CE:F3", "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::143b:5aff:fe05:6233", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "16:3B:5A:05:62:33", "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::1818:b8d8:7040:b755", "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": "9E:9C:30:9D:87:AD", "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::78b0:b7ff:feab:ed8d", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:B0:B7:AB:ED:8D", "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::90c8:8aff:fe2b:79cf", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:C8:8A:2B:79:CF", "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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:24:20 +0000 (0:00:00.638) 0:00:42.886 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:24:20 +0000 (0:00:00.030) 0:00:42.917 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:24:20 +0000 (0:00:00.030) 0:00:42.947 ******** 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:b9:e1:ef:ce:f3", "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::8b9:e1ff:feef:cef3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B9:E1:EF:CE:F3", "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::143b:5aff:fe05:6233", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "16:3B:5A:05:62:33", "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::1818:b8d8:7040:b755", "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": "9E:9C:30:9D:87:AD", "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::78b0:b7ff:feab:ed8d", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:B0:B7:AB:ED:8D", "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::90c8:8aff:fe2b:79cf", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:C8:8A:2B:79:CF", "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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:24:20 +0000 (0:00:00.034) 0:00:42.982 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:146 Friday 12 January 2024 18:24:20 +0000 (0:00:00.200) 0:00:43.182 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.492455", "end": "2024-01-12 18:24:21.528380", "rc": 0, "start": "2024-01-12 18:24:21.035925" } 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.12.26 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::8b9:e1ff:feef:cef3 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:B9:E1:EF:CE:F3 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::143b:5aff:fe05:6233 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 16:3B:5A:05:62:33 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::1818:b8d8:7040:b755 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: 9E:9C:30:9D:87:AD 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::78b0:b7ff:feab:ed8d prefix-length: 64 mac-address: 7A:B0:B7:AB:ED:8D 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::90c8:8aff:fe2b:79cf prefix-length: 64 mac-address: 92:C8:8A:2B:79:CF mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-12 18:24:21,455 root DEBUG NetworkManager version 1.40.16 2024-01-12 18:24:21,456 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-12 18:24:21,457 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-12 18:24:21,457 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-12 18:24:21,458 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-12 18:24:21,459 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-12 18:24:21,459 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-12 18:24:21,462 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-12 18:24:21,462 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-12 18:24:21,462 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_type0_yg41s7/tests/playbooks/tests_network_state.yml:152 Friday 12 January 2024 18:24:21 +0000 (0:00:00.693) 0:00:43.875 ******** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003047", "end": "2024-01-12 18:24:21.730969", "rc": 0, "start": "2024-01-12 18:24:21.727922" } 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_type0_yg41s7/tests/playbooks/tests_network_state.yml:158 Friday 12 January 2024 18:24:21 +0000 (0:00:00.200) 0:00:44.076 ******** 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_type0_yg41s7/tests/playbooks/tests_network_state.yml:166 Friday 12 January 2024 18:24:21 +0000 (0:00:00.026) 0:00:44.103 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:176 Friday 12 January 2024 18:24:21 +0000 (0:00:00.027) 0:00:44.130 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:24:21 +0000 (0:00:00.075) 0:00:44.206 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.014855", "end": "2024-01-12 18:24:22.075109", "rc": 0, "start": "2024-01-12 18:24:22.060254" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:178 Friday 12 January 2024 18:24:22 +0000 (0:00:00.222) 0:00:44.428 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:24:22 +0000 (0:00:00.053) 0:00:44.482 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:24:22 +0000 (0:00:00.038) 0:00:44.520 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:24:22 +0000 (0:00:00.199) 0:00:44.720 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:180 Friday 12 January 2024 18:24:22 +0000 (0:00:00.029) 0:00:44.749 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:184 Friday 12 January 2024 18:24:22 +0000 (0:00:00.036) 0:00:44.785 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:24:22 +0000 (0:00:00.062) 0:00:44.848 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.014030", "end": "2024-01-12 18:24:22.714942", "rc": 0, "start": "2024-01-12 18:24:22.700912" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:186 Friday 12 January 2024 18:24:22 +0000 (0:00:00.217) 0:00:45.065 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:24:22 +0000 (0:00:00.090) 0:00:45.156 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:24:22 +0000 (0:00:00.039) 0:00:45.196 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:24:23 +0000 (0:00:00.215) 0:00:45.411 ******** 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 Friday 12 January 2024 18:24:23 +0000 (0:00:00.012) 0:00:45.423 ******** =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.58s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Install iproute --------------------------------------------------------- 3.45s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.06s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.05s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking state ----------------- 1.75s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-route_type0_yg41s7/tests/tests_network_state_nm.yml:6 ------------ Get the DNS configuration from nmstatectl ------------------------------- 0.69s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:146 --- Get the route configuration --------------------------------------------- 0.69s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:117 --- Get the ethtest0 state configuration ------------------------------------ 0.68s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:75 ---- Get the ethtest1 state configuration ------------------------------------ 0.68s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_network_state.yml:81 ---- linux-system-roles.network : Configure networking state ----------------- 0.64s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 linux-system-roles.network : Configure networking state ----------------- 0.64s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Create veth interface ethtest1 ------------------------------------------ 0.61s /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/manage_test_interface.yml:24 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---