# 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-bond_options_rewritexl6ptndw/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-bond_options_rewritexl6ptndw/tests/tests_network_state_nm.yml:6 Wednesday 14 February 2024 02:39:26 +0000 (0:00:00.016) 0:00:00.016 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tests_network_state_nm.yml:9 Wednesday 14 February 2024 02:39:27 +0000 (0:00:00.776) 0:00:00.792 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:39:27 +0000 (0:00:00.019) 0:00:00.811 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:39:27 +0000 (0:00:00.373) 0:00:01.185 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:39:27 +0000 (0:00:00.291) 0:00:01.476 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:39:27 +0000 (0:00:00.039) 0:00:01.515 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:39:27 +0000 (0:00:00.041) 0:00:01.557 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:39:27 +0000 (0:00:00.076) 0:00:01.633 **** 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-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:39:28 +0000 (0:00:00.295) 0:00:01.929 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:39:28 +0000 (0:00:00.012) 0:00:01.942 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:39:28 +0000 (0:00:00.011) 0:00:01.953 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.264244", "end": "2024-02-14 02:39:28.763681", "rc": 0, "start": "2024-02-14 02:39:28.499437" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:39:28 +0000 (0:00:00.530) 0:00:02.484 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tests_network_state_nm.yml:11 Wednesday 14 February 2024 02:39:28 +0000 (0:00:00.013) 0:00:02.497 **** 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-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:3 Wednesday 14 February 2024 02:39:28 +0000 (0:00:00.032) 0:00:02.530 **** ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:12 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.522) 0:00:03.052 **** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:16 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.040) 0:00:03.092 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.057) 0:00:03.150 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.042) 0:00:03.193 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003778", "end": "2024-02-14 02:39:29.770274", "rc": 0, "start": "2024-02-14 02:39:29.766496" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.279) 0:00:03.472 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.052) 0:00:03.525 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:18 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.043) 0:00:03.568 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.060) 0:00:03.629 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.012) 0:00:03.641 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:39:29 +0000 (0:00:00.012) 0:00:03.654 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:39:30 +0000 (0:00:00.024) 0:00:03.678 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:39:30 +0000 (0:00:00.020) 0:00:03.698 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003489", "end": "2024-02-14 02:39:30.249850", "rc": 0, "start": "2024-02-14 02:39:30.246361" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:39:30 +0000 (0:00:00.240) 0:00:03.939 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:39:30 +0000 (0:00:00.019) 0:00:03.959 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:39:30 +0000 (0:00:00.017) 0:00:03.977 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:39:33 +0000 (0:00:03.177) 0:00:07.154 **** 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.008724", "end": "2024-02-14 02:39:33.695234", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-14 02:39:33.686510" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004868", "end": "2024-02-14 02:39:33.943132", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-14 02:39:33.938264" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004861", "end": "2024-02-14 02:39:34.159159", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-14 02:39:34.154298" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:39:34 +0000 (0:00:00.696) 0:00:07.850 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024431", "end": "2024-02-14 02:39:34.397818", "rc": 0, "start": "2024-02-14 02:39:34.373387" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:39:34 +0000 (0:00:00.262) 0:00:08.113 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:39:34 +0000 (0:00:00.027) 0:00:08.140 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:39:34 +0000 (0:00:00.054) 0:00:08.195 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:39:34 +0000 (0:00:00.111) 0:00:08.306 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:39:34 +0000 (0:00:00.027) 0:00:08.334 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:22 Wednesday 14 February 2024 02:39:34 +0000 (0:00:00.076) 0:00:08.410 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:39:34 +0000 (0:00:00.091) 0:00:08.502 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:39:34 +0000 (0:00:00.044) 0:00:08.547 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878373.6906219, "block_size": 4096, "blocks": 0, "ctime": 1707878373.6906219, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34186, "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": 1707878373.6906219, "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-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.336) 0:00:08.883 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:24 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.023) 0:00:08.907 **** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:28 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.017) 0:00:08.925 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.035) 0:00:08.960 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.016) 0:00:08.976 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003741", "end": "2024-02-14 02:39:35.504341", "rc": 0, "start": "2024-02-14 02:39:35.500600" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.250) 0:00:09.227 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.049) 0:00:09.277 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:30 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.017) 0:00:09.295 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.079) 0:00:09.375 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.015) 0:00:09.390 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.018) 0:00:09.409 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.038) 0:00:09.447 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:39:35 +0000 (0:00:00.029) 0:00:09.477 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003607", "end": "2024-02-14 02:39:36.006195", "rc": 0, "start": "2024-02-14 02:39:36.002588" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:39:36 +0000 (0:00:00.223) 0:00:09.700 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:39:36 +0000 (0:00:00.014) 0:00:09.715 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:39:36 +0000 (0:00:00.013) 0:00:09.729 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:39:38 +0000 (0:00:02.860) 0:00:12.589 **** 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.012027", "end": "2024-02-14 02:39:39.139340", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-02-14 02:39:39.127313" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004174", "end": "2024-02-14 02:39:39.376640", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-02-14 02:39:39.372466" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004992", "end": "2024-02-14 02:39:39.602279", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-02-14 02:39:39.597287" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:39:39 +0000 (0:00:00.702) 0:00:13.292 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.024382", "end": "2024-02-14 02:39:39.858407", "rc": 0, "start": "2024-02-14 02:39:39.834025" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:39:39 +0000 (0:00:00.286) 0:00:13.579 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:39:39 +0000 (0:00:00.052) 0:00:13.631 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:39:39 +0000 (0:00:00.030) 0:00:13.661 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.022) 0:00:13.683 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.031) 0:00:13.714 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:34 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.029) 0:00:13.744 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.051) 0:00:13.796 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.026) 0:00:13.822 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878379.1313107, "block_size": 4096, "blocks": 0, "ctime": 1707878379.1313107, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34772, "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": 1707878379.1313107, "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-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.258) 0:00:14.081 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.026) 0:00:14.108 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.100) 0:00:14.209 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.023) 0:00:14.233 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.025) 0:00:14.259 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:39:40 +0000 (0:00:00.039) 0:00:14.298 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:39:42 +0000 (0:00:01.836) 0:00:16.135 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:39:44 +0000 (0:00:01.709) 0:00:17.844 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:39:44 +0000 (0:00:00.031) 0:00:17.876 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:39:44 +0000 (0:00:00.030) 0:00:17.907 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:39:44 +0000 (0:00:00.035) 0:00:17.943 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:39:44 +0000 (0:00:00.051) 0:00:17.995 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: nmstate-1.4.5-2.el8.x86_64", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: python3-libnmstate-1.4.5-2.el8.noarch", "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: NetworkManager-config-server-1:1.40.16-14.el8.noarch" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:39:49 +0000 (0:00:05.570) 0:00:23.565 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:39:49 +0000 (0:00:00.046) 0:00:23.611 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:39:49 +0000 (0:00:00.036) 0:00:23.648 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:39:50 +0000 (0:00:00.615) 0:00:24.264 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:39:50 +0000 (0:00:00.076) 0:00:24.340 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:39:50 +0000 (0:00:00.092) 0:00:24.433 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:39:50 +0000 (0:00:00.066) 0:00:24.499 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:39:51 +0000 (0:00:00.828) 0:00:25.327 **** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:eb:0a:54:7d:8f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::ceb:aff:fe54:7d8f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:EB:0A:54:7D:8F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::cc46:feff:fe3a:53d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CE:46:FE:3A:53:D4", "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::4a8c:5312:997:11f4", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:53:A3:88:42:25", "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::68d6:feff:fe5c:1781", "prefix-length": 64 } ], "enabled": true }, "mac-address": "6A:D6:FE:5C:17:81", "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::5076:9eff:feda:bf38", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:76:9E:DA:BF:38", "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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:39:52 +0000 (0:00:01.021) 0:00:26.349 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:39:52 +0000 (0:00:00.053) 0:00:26.402 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:39:52 +0000 (0:00:00.067) 0:00:26.470 **** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:eb:0a:54:7d:8f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::ceb:aff:fe54:7d8f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:EB:0A:54:7D:8F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::cc46:feff:fe3a:53d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CE:46:FE:3A:53:D4", "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::4a8c:5312:997:11f4", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:53:A3:88:42:25", "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::68d6:feff:fe5c:1781", "prefix-length": 64 } ], "enabled": true }, "mac-address": "6A:D6:FE:5C:17:81", "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::5076:9eff:feda:bf38", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:76:9E:DA:BF:38", "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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:39:52 +0000 (0:00:00.048) 0:00:26.519 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:75 Wednesday 14 February 2024 02:39:53 +0000 (0:00:00.309) 0:00:26.828 **** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.505794", "end": "2024-02-14 02:39:53.857819", "rc": 0, "start": "2024-02-14 02:39:53.352025" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::cc46:feff:fe3a:53d4 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: CE:46:FE:3A:53:D4 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-02-14 02:39:53,790 root DEBUG NetworkManager version 1.40.16 2024-02-14 02:39:53,792 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-14 02:39:53,792 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-14 02:39:53,792 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-14 02:39:53,794 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-14 02:39:53,795 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-14 02:39:53,795 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-14 02:39:53,797 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-14 02:39:53,797 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-14 02:39:53,798 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:81 Wednesday 14 February 2024 02:39:53 +0000 (0:00:00.727) 0:00:27.555 **** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.517876", "end": "2024-02-14 02:39:54.589722", "rc": 0, "start": "2024-02-14 02:39:54.071846" } 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::4a8c:5312:997:11f4 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: B2:53:A3:88:42:25 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-02-14 02:39:54,521 root DEBUG NetworkManager version 1.40.16 2024-02-14 02:39:54,522 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-14 02:39:54,523 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-14 02:39:54,523 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-14 02:39:54,525 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-14 02:39:54,525 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-14 02:39:54,526 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-14 02:39:54,528 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-14 02:39:54,528 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-14 02:39:54,528 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-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:87 Wednesday 14 February 2024 02:39:54 +0000 (0:00:00.732) 0:00:28.288 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:96 Wednesday 14 February 2024 02:39:54 +0000 (0:00:00.051) 0:00:28.339 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:39:54 +0000 (0:00:00.081) 0:00:28.421 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:39:54 +0000 (0:00:00.082) 0:00:28.503 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:39:54 +0000 (0:00:00.144) 0:00:28.648 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:39:55 +0000 (0:00:00.035) 0:00:28.684 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:39:55 +0000 (0:00:00.050) 0:00:28.734 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:39:56 +0000 (0:00:01.712) 0:00:30.447 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:39:58 +0000 (0:00:01.450) 0:00:31.897 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:39:58 +0000 (0:00:00.059) 0:00:31.957 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:39:58 +0000 (0:00:00.030) 0:00:31.987 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:39:58 +0000 (0:00:00.031) 0:00:32.019 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:39:58 +0000 (0:00:00.051) 0:00:32.070 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:01 +0000 (0:00:02.822) 0:00:34.893 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:01 +0000 (0:00:00.074) 0:00:34.967 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:01 +0000 (0:00:00.094) 0:00:35.062 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:01 +0000 (0:00:00.467) 0:00:35.529 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:01 +0000 (0:00:00.079) 0:00:35.609 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:01 +0000 (0:00:00.039) 0:00:35.648 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:02 +0000 (0:00:00.053) 0:00:35.702 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:02 +0000 (0:00:00.534) 0:00:36.236 **** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:eb:0a:54:7d:8f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::ceb:aff:fe54:7d8f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:EB:0A:54:7D:8F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::cc46:feff:fe3a:53d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CE:46:FE:3A:53:D4", "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::4a8c:5312:997:11f4", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:53:A3:88:42:25", "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::68d6:feff:fe5c:1781", "prefix-length": 64 } ], "enabled": true }, "mac-address": "6A:D6:FE:5C:17:81", "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::5076:9eff:feda:bf38", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:76:9E:DA:BF:38", "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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:03 +0000 (0:00:00.738) 0:00:36.974 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:03 +0000 (0:00:00.054) 0:00:37.029 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:03 +0000 (0:00:00.043) 0:00:37.072 **** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:eb:0a:54:7d:8f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::ceb:aff:fe54:7d8f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:EB:0A:54:7D:8F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::cc46:feff:fe3a:53d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CE:46:FE:3A:53:D4", "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::4a8c:5312:997:11f4", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:53:A3:88:42:25", "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::68d6:feff:fe5c:1781", "prefix-length": 64 } ], "enabled": true }, "mac-address": "6A:D6:FE:5C:17:81", "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::5076:9eff:feda:bf38", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:76:9E:DA:BF:38", "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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:03 +0000 (0:00:00.077) 0:00:37.149 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:117 Wednesday 14 February 2024 02:40:03 +0000 (0:00:00.286) 0:00:37.436 **** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.518499", "end": "2024-02-14 02:40:04.495101", "rc": 0, "start": "2024-02-14 02:40:03.976602" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.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: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.43.115 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::ceb:aff:fe54:7d8f prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:EB:0A:54:7D:8F mtu: 9001 wait-ip: any - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::cc46:feff:fe3a:53d4 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: CE:46:FE:3A:53:D4 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::4a8c:5312:997:11f4 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: B2:53:A3:88:42:25 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::68d6:feff:fe5c:1781 prefix-length: 64 mac-address: 6A:D6:FE:5C:17:81 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::5076:9eff:feda:bf38 prefix-length: 64 mac-address: 52:76:9E:DA:BF:38 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-14 02:40:04,413 root DEBUG NetworkManager version 1.40.16 2024-02-14 02:40:04,415 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-14 02:40:04,415 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-14 02:40:04,415 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-14 02:40:04,417 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-14 02:40:04,418 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-14 02:40:04,418 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-14 02:40:04,420 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-14 02:40:04,421 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-14 02:40:04,421 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:123 Wednesday 14 February 2024 02:40:04 +0000 (0:00:00.816) 0:00:38.253 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:04 +0000 (0:00:00.063) 0:00:38.316 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:04 +0000 (0:00:00.081) 0:00:38.398 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:04 +0000 (0:00:00.044) 0:00:38.443 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:04 +0000 (0:00:00.115) 0:00:38.559 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:04 +0000 (0:00:00.032) 0:00:38.592 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:06 +0000 (0:00:01.741) 0:00:40.333 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:08 +0000 (0:00:01.508) 0:00:41.842 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:08 +0000 (0:00:00.036) 0:00:41.879 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:08 +0000 (0:00:00.066) 0:00:41.945 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:08 +0000 (0:00:00.052) 0:00:41.997 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:08 +0000 (0:00:00.054) 0:00:42.052 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:11 +0000 (0:00:02.888) 0:00:44.940 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:11 +0000 (0:00:00.036) 0:00:44.977 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:11 +0000 (0:00:00.069) 0:00:45.046 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:11 +0000 (0:00:00.505) 0:00:45.551 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:11 +0000 (0:00:00.048) 0:00:45.600 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:11 +0000 (0:00:00.047) 0:00:45.648 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:12 +0000 (0:00:00.028) 0:00:45.676 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:12 +0000 (0:00:00.422) 0:00:46.099 **** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:eb:0a:54:7d:8f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::ceb:aff:fe54:7d8f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:EB:0A:54:7D:8F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::cc46:feff:fe3a:53d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CE:46:FE:3A:53:D4", "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::4a8c:5312:997:11f4", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:53:A3:88:42:25", "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::68d6:feff:fe5c:1781", "prefix-length": 64 } ], "enabled": true }, "mac-address": "6A:D6:FE:5C:17:81", "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::5076:9eff:feda:bf38", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:76:9E:DA:BF:38", "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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:13 +0000 (0:00:00.709) 0:00:46.808 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:13 +0000 (0:00:00.035) 0:00:46.844 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:13 +0000 (0:00:00.039) 0:00:46.883 **** 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:eb:0a:54:7d:8f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::ceb:aff:fe54:7d8f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:EB:0A:54:7D:8F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::cc46:feff:fe3a:53d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CE:46:FE:3A:53:D4", "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::4a8c:5312:997:11f4", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:53:A3:88:42:25", "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::68d6:feff:fe5c:1781", "prefix-length": 64 } ], "enabled": true }, "mac-address": "6A:D6:FE:5C:17:81", "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::5076:9eff:feda:bf38", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:76:9E:DA:BF:38", "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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:13 +0000 (0:00:00.041) 0:00:46.924 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:146 Wednesday 14 February 2024 02:40:13 +0000 (0:00:00.228) 0:00:47.153 **** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.519949", "end": "2024-02-14 02:40:14.194287", "rc": 0, "start": "2024-02-14 02:40:13.674338" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.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: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.43.115 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::ceb:aff:fe54:7d8f prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:EB:0A:54:7D:8F mtu: 9001 wait-ip: any - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::cc46:feff:fe3a:53d4 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: CE:46:FE:3A:53:D4 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::4a8c:5312:997:11f4 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: B2:53:A3:88:42:25 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::68d6:feff:fe5c:1781 prefix-length: 64 mac-address: 6A:D6:FE:5C:17:81 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::5076:9eff:feda:bf38 prefix-length: 64 mac-address: 52:76:9E:DA:BF:38 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-14 02:40:14,111 root DEBUG NetworkManager version 1.40.16 2024-02-14 02:40:14,113 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-14 02:40:14,113 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-14 02:40:14,113 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-14 02:40:14,115 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-14 02:40:14,116 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-14 02:40:14,116 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-14 02:40:14,118 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-14 02:40:14,119 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-14 02:40:14,119 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-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:152 Wednesday 14 February 2024 02:40:14 +0000 (0:00:00.742) 0:00:47.895 **** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003476", "end": "2024-02-14 02:40:14.441424", "rc": 0, "start": "2024-02-14 02:40:14.437948" } 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-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:158 Wednesday 14 February 2024 02:40:14 +0000 (0:00:00.248) 0:00:48.144 **** 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-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:166 Wednesday 14 February 2024 02:40:14 +0000 (0:00:00.030) 0:00:48.174 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:14 +0000 (0:00:00.035) 0:00:48.209 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:14 +0000 (0:00:00.057) 0:00:48.267 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:14 +0000 (0:00:00.053) 0:00:48.320 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:14 +0000 (0:00:00.034) 0:00:48.355 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:14 +0000 (0:00:00.089) 0:00:48.445 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:16 +0000 (0:00:01.729) 0:00:50.174 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:18 +0000 (0:00:01.568) 0:00:51.743 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:18 +0000 (0:00:00.044) 0:00:51.787 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:18 +0000 (0:00:00.045) 0:00:51.833 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:18 +0000 (0:00:00.038) 0:00:51.871 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:18 +0000 (0:00:00.051) 0:00:51.923 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:21 +0000 (0:00:02.826) 0:00:54.750 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:21 +0000 (0:00:00.053) 0:00:54.804 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:21 +0000 (0:00:00.099) 0:00:54.903 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:21 +0000 (0:00:00.599) 0:00:55.503 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:21 +0000 (0:00:00.082) 0:00:55.586 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:21 +0000 (0:00:00.065) 0:00:55.652 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:22 +0000 (0:00:00.104) 0:00:55.756 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:22 +0000 (0:00:00.501) 0:00:56.258 **** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:eb:0a:54:7d:8f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::ceb:aff:fe54:7d8f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:EB:0A:54:7D:8F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::cc46:feff:fe3a:53d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CE:46:FE:3A:53:D4", "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::4a8c:5312:997:11f4", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:53:A3:88:42:25", "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::68d6:feff:fe5c:1781", "prefix-length": 64 } ], "enabled": true }, "mac-address": "6A:D6:FE:5C:17:81", "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::5076:9eff:feda:bf38", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:76:9E:DA:BF:38", "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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:23 +0000 (0:00:00.695) 0:00:56.954 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:23 +0000 (0:00:00.034) 0:00:56.988 **** 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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:23 +0000 (0:00:00.039) 0:00:57.028 **** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:eb:0a:54:7d:8f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::ceb:aff:fe54:7d8f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:EB:0A:54:7D:8F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::cc46:feff:fe3a:53d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CE:46:FE:3A:53:D4", "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::4a8c:5312:997:11f4", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "B2:53:A3:88:42:25", "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::68d6:feff:fe5c:1781", "prefix-length": 64 } ], "enabled": true }, "mac-address": "6A:D6:FE:5C:17:81", "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::5076:9eff:feda:bf38", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:76:9E:DA:BF:38", "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-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:23 +0000 (0:00:00.064) 0:00:57.093 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:184 Wednesday 14 February 2024 02:40:23 +0000 (0:00:00.265) 0:00:57.358 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:40:23 +0000 (0:00:00.096) 0:00:57.454 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.011107", "end": "2024-02-14 02:40:24.078722", "rc": 0, "start": "2024-02-14 02:40:24.067615" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:186 Wednesday 14 February 2024 02:40:24 +0000 (0:00:00.374) 0:00:57.829 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:40:24 +0000 (0:00:00.112) 0:00:57.941 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:24 +0000 (0:00:00.056) 0:00:57.997 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:40:24 +0000 (0:00:00.311) 0:00:58.309 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:188 Wednesday 14 February 2024 02:40:24 +0000 (0:00:00.033) 0:00:58.343 **** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:192 Wednesday 14 February 2024 02:40:24 +0000 (0:00:00.030) 0:00:58.374 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:40:24 +0000 (0:00:00.061) 0:00:58.436 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011202", "end": "2024-02-14 02:40:24.972364", "rc": 0, "start": "2024-02-14 02:40:24.961162" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:194 Wednesday 14 February 2024 02:40:25 +0000 (0:00:00.265) 0:00:58.701 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:40:25 +0000 (0:00:00.066) 0:00:58.768 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:25 +0000 (0:00:00.039) 0:00:58.807 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:40:25 +0000 (0:00:00.230) 0:00:59.038 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:196 Wednesday 14 February 2024 02:40:25 +0000 (0:00:00.029) 0:00:59.067 **** included: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:40:25 +0000 (0:00:00.165) 0:00:59.233 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.010009", "end": "2024-02-14 02:40:25.779151", "rc": 0, "start": "2024-02-14 02:40:25.769142" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:eb:0a:54:7d:8f brd ff:ff:ff:ff:ff:ff inet 10.31.43.115/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3043sec preferred_lft 3043sec inet6 fe80::ceb:aff:fe54:7d8f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.115 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.115 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:40:25 +0000 (0:00:00.247) 0:00:59.481 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.146624", "end": "2024-02-14 02:40:26.179109", "rc": 0, "start": "2024-02-14 02:40:26.032485" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5350 0 --:--:-- --:--:-- --:--:-- 5350 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 4619 0 --:--:-- --:--:-- --:--:-- 4619 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=122 changed=5 unreachable=0 failed=0 skipped=62 rescued=0 ignored=0 Wednesday 14 February 2024 02:40:26 +0000 (0:00:00.404) 0:00:59.885 **** =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.57s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Install iproute --------------------------------------------------------- 3.18s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.89s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Install iproute --------------------------------------------------------- 2.86s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.83s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.82s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Check which services are running ----------- 1.84s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.71s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.57s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.51s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking state ----------------- 1.02s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 linux-system-roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:125 Get the route configuration --------------------------------------------- 0.82s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:117 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/tests_network_state_nm.yml:6 -- Get the DNS configuration from nmstatectl ------------------------------- 0.74s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/playbooks/tests_network_state.yml:146 linux-system-roles.network : Configure networking state ----------------- 0.74s /WORKDIR/git-bond_options_rewritexl6ptndw/tests/roles/linux-system-roles.network/tasks/main.yml:137 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---