# 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_type_qla6794/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_type_qla6794/tests/tests_network_state_nm.yml:5 Tuesday 02 January 2024 19:44:14 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type_qla6794/tests/tests_network_state_nm.yml:9 Tuesday 02 January 2024 19:44:15 +0000 (0:00:00.695) 0:00:00.708 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/tasks/el_repo_setup.yml:3 Tuesday 02 January 2024 19:44:15 +0000 (0:00:00.011) 0:00:00.719 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:19 Tuesday 02 January 2024 19:44:21 +0000 (0:00:05.409) 0:00:06.129 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:24 Tuesday 02 January 2024 19:44:21 +0000 (0:00:00.267) 0:00:06.396 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:28 Tuesday 02 January 2024 19:44:21 +0000 (0:00:00.020) 0:00:06.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:53 Tuesday 02 January 2024 19:44:21 +0000 (0:00:00.018) 0:00:06.435 ******* included: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:8 Tuesday 02 January 2024 19:44:21 +0000 (0:00:00.031) 0:00:06.467 ******* 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_type_qla6794/tests/tasks/enable_epel.yml:24 Tuesday 02 January 2024 19:44:21 +0000 (0:00:00.261) 0:00:06.728 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:30 Tuesday 02 January 2024 19:44:21 +0000 (0:00:00.011) 0:00:06.739 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:35 Tuesday 02 January 2024 19:44:21 +0000 (0:00:00.012) 0:00:06.751 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.246865", "end": "2024-01-02 19:44:22.146971", "rc": 0, "start": "2024-01-02 19:44:21.900106" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:40 Tuesday 02 January 2024 19:44:22 +0000 (0:00:00.438) 0:00:07.190 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tests_network_state_nm.yml:11 Tuesday 02 January 2024 19:44:22 +0000 (0:00:00.025) 0:00:07.216 ******* 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_type_qla6794/tests/playbooks/tests_network_state.yml:3 Tuesday 02 January 2024 19:44:22 +0000 (0:00:00.013) 0:00:07.230 ******* ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:12 Tuesday 02 January 2024 19:44:22 +0000 (0:00:00.563) 0:00:07.794 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:16 Tuesday 02 January 2024 19:44:22 +0000 (0:00:00.013) 0:00:07.807 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:44:22 +0000 (0:00:00.023) 0:00:07.830 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:44:22 +0000 (0:00:00.016) 0:00:07.847 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003362", "end": "2024-01-02 19:44:22.994785", "rc": 0, "start": "2024-01-02 19:44:22.991423" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.187) 0:00:08.035 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.012) 0:00:08.048 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:18 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.012) 0:00:08.060 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.026) 0:00:08.086 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.012) 0:00:08.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.012) 0:00:08.111 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.016) 0:00:08.128 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.015) 0:00:08.143 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003279", "end": "2024-01-02 19:44:23.292462", "rc": 0, "start": "2024-01-02 19:44:23.289183" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.189) 0:00:08.333 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.012) 0:00:08.346 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:44:23 +0000 (0:00:00.013) 0:00:08.359 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:44:26 +0000 (0:00:03.492) 0:00:11.852 ******* 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.013115", "end": "2024-01-02 19:44:27.017079", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-01-02 19:44:27.003964" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004236", "end": "2024-01-02 19:44:27.241311", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-01-02 19:44:27.237075" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004189", "end": "2024-01-02 19:44:27.431307", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-01-02 19:44:27.427118" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.621) 0:00:12.474 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.023951", "end": "2024-01-02 19:44:27.644808", "rc": 0, "start": "2024-01-02 19:44:27.620857" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.213) 0:00:12.687 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.012) 0:00:12.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.013) 0:00:12.712 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.013) 0:00:12.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.011) 0:00:12.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:22 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.010) 0:00:12.748 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.024) 0:00:12.773 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.036) 0:00:12.809 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224667.0076709, "block_size": 4096, "blocks": 0, "ctime": 1704224667.0076709, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35261, "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": 1704224667.0076709, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:44:27 +0000 (0:00:00.196) 0:00:13.006 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:24 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.017) 0:00:13.023 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:28 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.017) 0:00:13.041 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.040) 0:00:13.082 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.014) 0:00:13.097 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003473", "end": "2024-01-02 19:44:28.248124", "rc": 0, "start": "2024-01-02 19:44:28.244651" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.192) 0:00:13.290 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.013) 0:00:13.303 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:30 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.015) 0:00:13.319 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.028) 0:00:13.347 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.013) 0:00:13.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.012) 0:00:13.372 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.015) 0:00:13.388 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.023) 0:00:13.412 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003318", "end": "2024-01-02 19:44:28.563663", "rc": 0, "start": "2024-01-02 19:44:28.560345" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.195) 0:00:13.607 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.014) 0:00:13.621 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:44:28 +0000 (0:00:00.012) 0:00:13.634 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:44:31 +0000 (0:00:03.038) 0:00:16.672 ******* 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.011870", "end": "2024-01-02 19:44:31.834017", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-01-02 19:44:31.822147" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003851", "end": "2024-01-02 19:44:32.053188", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-01-02 19:44:32.049337" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004185", "end": "2024-01-02 19:44:32.237065", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-01-02 19:44:32.232880" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.606) 0:00:17.278 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.024439", "end": "2024-01-02 19:44:32.449608", "rc": 0, "start": "2024-01-02 19:44:32.425169" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.213) 0:00:17.491 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.014) 0:00:17.506 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.013) 0:00:17.520 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.013) 0:00:17.533 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.013) 0:00:17.547 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:34 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.010) 0:00:17.557 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.026) 0:00:17.583 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.015) 0:00:17.599 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704224671.8256938, "block_size": 4096, "blocks": 0, "ctime": 1704224671.8256938, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35847, "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": 1704224671.8256938, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.194) 0:00:17.794 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.015) 0:00:17.809 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.075) 0:00:17.885 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.022) 0:00:17.907 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.021) 0:00:17.929 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:44:32 +0000 (0:00:00.020) 0:00:17.949 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:44:34 +0000 (0:00:01.690) 0:00:19.640 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:44:36 +0000 (0:00:01.466) 0:00:21.106 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:44:36 +0000 (0:00:00.031) 0:00:21.137 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:44:36 +0000 (0:00:00.029) 0:00:21.167 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:44:36 +0000 (0:00:00.030) 0:00:21.198 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:44:36 +0000 (0:00:00.059) 0:00:21.257 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:44:42 +0000 (0:00:06.224) 0:00:27.482 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:44:42 +0000 (0:00:00.030) 0:00:27.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:44:42 +0000 (0:00:00.032) 0:00:27.545 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:44:43 +0000 (0:00:00.535) 0:00:28.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:44:43 +0000 (0:00:00.031) 0:00:28.111 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:44:43 +0000 (0:00:00.028) 0:00:28.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:44:43 +0000 (0:00:00.030) 0:00:28.170 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:44:43 +0000 (0:00:00.499) 0:00:28.670 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:a3:e9:a5:88:2d", "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::ca3:e9ff:fea5:882d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:A3:E9:A5:88:2D", "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::94a6:dfff:fea2:e815", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:A6:DF:A2:E8:15", "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::c40c:12fb:ebee:c41b", "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": "32:82:FC:CC:4F:C9", "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::88aa:20ff:fee7:3897", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:AA:20:E7:38:97", "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::9049:3dff:fe43:81c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:49:3D:43:81:C6", "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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:44:45 +0000 (0:00:01.750) 0:00:30.420 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:44:45 +0000 (0:00:00.031) 0:00:30.452 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:44:45 +0000 (0:00:00.030) 0:00:30.482 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:a3:e9:a5:88:2d", "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::ca3:e9ff:fea5:882d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:A3:E9:A5:88:2D", "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::94a6:dfff:fea2:e815", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:A6:DF:A2:E8:15", "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::c40c:12fb:ebee:c41b", "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": "32:82:FC:CC:4F:C9", "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::88aa:20ff:fee7:3897", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:AA:20:E7:38:97", "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::9049:3dff:fe43:81c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:49:3D:43:81:C6", "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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:44:45 +0000 (0:00:00.034) 0:00:30.517 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:75 Tuesday 02 January 2024 19:44:45 +0000 (0:00:00.287) 0:00:30.804 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:01.482598", "end": "2024-01-02 19:44:47.432522", "rc": 0, "start": "2024-01-02 19:44:45.949924" } 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::94a6:dfff:fea2:e815 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 96:A6:DF:A2:E8:15 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-01-02 19:44:46,368 root DEBUG NetworkManager version 1.40.16 2024-01-02 19:44:46,370 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-02 19:44:46,370 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-02 19:44:46,371 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-02 19:44:46,373 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-02 19:44:46,373 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-02 19:44:46,374 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-02 19:44:46,376 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-02 19:44:46,376 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-02 19:44:46,376 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:81 Tuesday 02 January 2024 19:44:47 +0000 (0:00:01.734) 0:00:32.539 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.479749", "end": "2024-01-02 19:44:48.165237", "rc": 0, "start": "2024-01-02 19:44:47.685488" } 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::c40c:12fb:ebee:c41b 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: 32:82:FC:CC:4F:C9 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-01-02 19:44:48,103 root DEBUG NetworkManager version 1.40.16 2024-01-02 19:44:48,105 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-02 19:44:48,105 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-02 19:44:48,105 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-02 19:44:48,107 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-02 19:44:48,108 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-02 19:44:48,108 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-02 19:44:48,110 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-02 19:44:48,111 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-02 19:44:48,111 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_type_qla6794/tests/playbooks/tests_network_state.yml:87 Tuesday 02 January 2024 19:44:48 +0000 (0:00:00.681) 0:00:33.220 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:96 Tuesday 02 January 2024 19:44:48 +0000 (0:00:00.028) 0:00:33.249 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:44:48 +0000 (0:00:00.025) 0:00:33.274 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:44:48 +0000 (0:00:00.048) 0:00:33.323 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:44:48 +0000 (0:00:00.038) 0:00:33.361 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:44:48 +0000 (0:00:00.033) 0:00:33.394 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:44:48 +0000 (0:00:00.034) 0:00:33.429 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:44:49 +0000 (0:00:01.543) 0:00:34.972 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:44:51 +0000 (0:00:01.312) 0:00:36.285 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:44:51 +0000 (0:00:00.032) 0:00:36.318 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:44:51 +0000 (0:00:00.031) 0:00:36.349 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:44:51 +0000 (0:00:00.029) 0:00:36.379 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:44:51 +0000 (0:00:00.051) 0:00:36.430 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:44:54 +0000 (0:00:03.054) 0:00:39.484 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:44:54 +0000 (0:00:00.035) 0:00:39.520 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:44:54 +0000 (0:00:00.034) 0:00:39.555 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:44:54 +0000 (0:00:00.358) 0:00:39.913 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:44:54 +0000 (0:00:00.032) 0:00:39.946 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:44:54 +0000 (0:00:00.031) 0:00:39.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:44:55 +0000 (0:00:00.069) 0:00:40.047 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:44:55 +0000 (0:00:00.341) 0:00:40.389 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:a3:e9:a5:88:2d", "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::ca3:e9ff:fea5:882d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:A3:E9:A5:88:2D", "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::94a6:dfff:fea2:e815", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:A6:DF:A2:E8:15", "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::c40c:12fb:ebee:c41b", "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": "32:82:FC:CC:4F:C9", "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::88aa:20ff:fee7:3897", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:AA:20:E7:38:97", "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::9049:3dff:fe43:81c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:49:3D:43:81:C6", "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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:44:55 +0000 (0:00:00.629) 0:00:41.019 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:44:56 +0000 (0:00:00.034) 0:00:41.054 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:44:56 +0000 (0:00:00.039) 0:00:41.093 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:a3:e9:a5:88:2d", "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::ca3:e9ff:fea5:882d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:A3:E9:A5:88:2D", "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::94a6:dfff:fea2:e815", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:A6:DF:A2:E8:15", "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::c40c:12fb:ebee:c41b", "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": "32:82:FC:CC:4F:C9", "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::88aa:20ff:fee7:3897", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:AA:20:E7:38:97", "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::9049:3dff:fe43:81c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:49:3D:43:81:C6", "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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:44:56 +0000 (0:00:00.035) 0:00:41.129 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:117 Tuesday 02 January 2024 19:44:56 +0000 (0:00:00.198) 0:00:41.327 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.485619", "end": "2024-01-02 19:44:56.955572", "rc": 0, "start": "2024-01-02 19:44:56.469953" } 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.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.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.40.145 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::ca3:e9ff:fea5:882d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:A3:E9:A5:88:2D 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::94a6:dfff:fea2:e815 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 96:A6:DF:A2:E8:15 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::c40c:12fb:ebee:c41b 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: 32:82:FC:CC:4F:C9 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::88aa:20ff:fee7:3897 prefix-length: 64 mac-address: 8A:AA:20:E7:38:97 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::9049:3dff:fe43:81c6 prefix-length: 64 mac-address: 92:49:3D:43:81:C6 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-02 19:44:56,882 root DEBUG NetworkManager version 1.40.16 2024-01-02 19:44:56,884 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-02 19:44:56,884 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-02 19:44:56,884 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-02 19:44:56,886 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-02 19:44:56,887 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-02 19:44:56,887 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-02 19:44:56,889 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-02 19:44:56,890 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-02 19:44:56,890 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_type_qla6794/tests/playbooks/tests_network_state.yml:123 Tuesday 02 January 2024 19:44:56 +0000 (0:00:00.683) 0:00:42.010 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:44:57 +0000 (0:00:00.031) 0:00:42.041 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:44:57 +0000 (0:00:00.093) 0:00:42.135 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:44:57 +0000 (0:00:00.039) 0:00:42.175 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:44:57 +0000 (0:00:00.034) 0:00:42.209 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:44:57 +0000 (0:00:00.034) 0:00:42.243 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:44:58 +0000 (0:00:01.562) 0:00:43.806 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:45:00 +0000 (0:00:01.427) 0:00:45.234 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:45:00 +0000 (0:00:00.063) 0:00:45.297 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:45:00 +0000 (0:00:00.050) 0:00:45.348 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:45:00 +0000 (0:00:00.034) 0:00:45.383 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:45:00 +0000 (0:00:00.058) 0:00:45.442 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:45:03 +0000 (0:00:03.052) 0:00:48.494 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:45:03 +0000 (0:00:00.064) 0:00:48.558 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:45:03 +0000 (0:00:00.032) 0:00:48.590 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:45:03 +0000 (0:00:00.355) 0:00:48.946 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:45:03 +0000 (0:00:00.032) 0:00:48.978 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:45:03 +0000 (0:00:00.028) 0:00:49.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:45:04 +0000 (0:00:00.029) 0:00:49.036 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:45:04 +0000 (0:00:00.346) 0:00:49.383 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:a3:e9:a5:88:2d", "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::ca3:e9ff:fea5:882d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:A3:E9:A5:88:2D", "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::94a6:dfff:fea2:e815", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:A6:DF:A2:E8:15", "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::c40c:12fb:ebee:c41b", "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": "32:82:FC:CC:4F:C9", "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::88aa:20ff:fee7:3897", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:AA:20:E7:38:97", "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::9049:3dff:fe43:81c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:49:3D:43:81:C6", "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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:45:05 +0000 (0:00:00.646) 0:00:50.030 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:45:05 +0000 (0:00:00.032) 0:00:50.062 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:45:05 +0000 (0:00:00.032) 0:00:50.094 ******* 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": "0e:a3:e9:a5:88:2d", "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::ca3:e9ff:fea5:882d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:A3:E9:A5:88:2D", "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::94a6:dfff:fea2:e815", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:A6:DF:A2:E8:15", "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::c40c:12fb:ebee:c41b", "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": "32:82:FC:CC:4F:C9", "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::88aa:20ff:fee7:3897", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:AA:20:E7:38:97", "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::9049:3dff:fe43:81c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:49:3D:43:81:C6", "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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:45:05 +0000 (0:00:00.036) 0:00:50.131 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:146 Tuesday 02 January 2024 19:45:05 +0000 (0:00:00.232) 0:00:50.364 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:01.488839", "end": "2024-01-02 19:45:06.996680", "rc": 0, "start": "2024-01-02 19:45:05.507841" } 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.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.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.40.145 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::ca3:e9ff:fea5:882d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:A3:E9:A5:88:2D 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::94a6:dfff:fea2:e815 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 96:A6:DF:A2:E8:15 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::c40c:12fb:ebee:c41b 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: 32:82:FC:CC:4F:C9 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::88aa:20ff:fee7:3897 prefix-length: 64 mac-address: 8A:AA:20:E7:38:97 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::9049:3dff:fe43:81c6 prefix-length: 64 mac-address: 92:49:3D:43:81:C6 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-02 19:45:05,921 root DEBUG NetworkManager version 1.40.16 2024-01-02 19:45:05,922 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-02 19:45:05,923 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-02 19:45:05,923 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-02 19:45:05,925 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-02 19:45:05,925 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-02 19:45:05,926 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-02 19:45:05,928 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-02 19:45:05,928 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-02 19:45:05,929 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_type_qla6794/tests/playbooks/tests_network_state.yml:152 Tuesday 02 January 2024 19:45:07 +0000 (0:00:01.687) 0:00:52.052 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:01.004156", "end": "2024-01-02 19:45:08.201512", "rc": 0, "start": "2024-01-02 19:45:07.197356" } 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_type_qla6794/tests/playbooks/tests_network_state.yml:158 Tuesday 02 January 2024 19:45:08 +0000 (0:00:01.204) 0:00:53.256 ******* 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_type_qla6794/tests/playbooks/tests_network_state.yml:166 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.028) 0:00:53.285 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:176 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.027) 0:00:53.313 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.081) 0:00:53.394 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.014106", "end": "2024-01-02 19:45:08.556097", "rc": 0, "start": "2024-01-02 19:45:08.541991" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:178 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.224) 0:00:53.619 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.052) 0:00:53.671 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.038) 0:00:53.710 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.198) 0:00:53.909 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:180 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.028) 0:00:53.937 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:184 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.031) 0:00:53.969 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 02 January 2024 19:45:08 +0000 (0:00:00.052) 0:00:54.021 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011847", "end": "2024-01-02 19:45:09.176073", "rc": 0, "start": "2024-01-02 19:45:09.164226" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:186 Tuesday 02 January 2024 19:45:09 +0000 (0:00:00.213) 0:00:54.234 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 02 January 2024 19:45:09 +0000 (0:00:00.115) 0:00:54.349 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:45:09 +0000 (0:00:00.048) 0:00:54.397 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 02 January 2024 19:45:09 +0000 (0:00:00.201) 0:00:54.599 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=107 changed=4 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Tuesday 02 January 2024 19:45:09 +0000 (0:00:00.013) 0:00:54.612 ******* =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 6.22s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Gather the minimum subset of ansible_facts required by the network role test --- 5.41s /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:3 --------------- Install iproute --------------------------------------------------------- 3.49s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.05s /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Install iproute --------------------------------------------------------- 3.04s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking state ----------------- 1.75s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Get the ethtest0 state configuration ------------------------------------ 1.73s /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:75 ---- linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Get the DNS configuration from nmstatectl ------------------------------- 1.69s /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:146 --- linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.43s /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the DNS configuration from the file `/run/NetworkManager/no-stub-resolv.conf` --- 1.20s /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:152 --- Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-route_type_qla6794/tests/tests_network_state_nm.yml:5 ------------ Get the route configuration --------------------------------------------- 0.68s /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:117 --- Get the ethtest1 state configuration ------------------------------------ 0.68s /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_network_state.yml:81 ---- linux-system-roles.network : Configure networking state ----------------- 0.65s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---