# 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_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/tests_network_state_nm.yml:6 Tuesday 06 February 2024 21:26:35 +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_rewriteyaeol4yf/tests/tests_network_state_nm.yml:9 Tuesday 06 February 2024 21:26:35 +0000 (0:00:00.649) 0:00:00.665 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 21:26:35 +0000 (0:00:00.012) 0:00:00.678 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 21:26:36 +0000 (0:00:00.370) 0:00:01.049 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 21:26:36 +0000 (0:00:00.272) 0:00:01.322 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 21:26:36 +0000 (0:00:00.019) 0:00:01.341 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 21:26:36 +0000 (0:00:00.017) 0:00:01.358 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 21:26:36 +0000 (0:00:00.030) 0:00:01.389 ****** 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_rewriteyaeol4yf/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 21:26:36 +0000 (0:00:00.255) 0:00:01.645 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 21:26:36 +0000 (0:00:00.015) 0:00:01.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 21:26:36 +0000 (0:00:00.012) 0:00:01.673 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.271908", "end": "2024-02-06 21:26:37.326219", "rc": 0, "start": "2024-02-06 21:26:37.054311" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 21:26:37 +0000 (0:00:00.511) 0:00:02.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/tests_network_state_nm.yml:11 Tuesday 06 February 2024 21:26:37 +0000 (0:00:00.021) 0:00:02.206 ****** 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_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:3 Tuesday 06 February 2024 21:26:37 +0000 (0:00:00.049) 0:00:02.255 ****** ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:12 Tuesday 06 February 2024 21:26:37 +0000 (0:00:00.530) 0:00:02.786 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:16 Tuesday 06 February 2024 21:26:37 +0000 (0:00:00.020) 0:00:02.806 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.032) 0:00:02.838 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.016) 0:00:02.855 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003809", "end": "2024-02-06 21:26:38.231432", "rc": 0, "start": "2024-02-06 21:26:38.227623" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.231) 0:00:03.087 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.014) 0:00:03.101 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:18 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.012) 0:00:03.113 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.026) 0:00:03.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.010) 0:00:03.151 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.010) 0:00:03.161 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.015) 0:00:03.176 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.013) 0:00:03.190 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003765", "end": "2024-02-06 21:26:38.544609", "rc": 0, "start": "2024-02-06 21:26:38.540844" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.231) 0:00:03.422 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.032) 0:00:03.455 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:26:38 +0000 (0:00:00.037) 0:00:03.492 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 21:26:41 +0000 (0:00:03.154) 0:00:06.646 ****** 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.014826", "end": "2024-02-06 21:26:42.020449", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-06 21:26:42.005623" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004845", "end": "2024-02-06 21:26:42.266705", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-06 21:26:42.261860" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004301", "end": "2024-02-06 21:26:42.501611", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-06 21:26:42.497310" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 21:26:42 +0000 (0:00:00.711) 0:00:07.358 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024771", "end": "2024-02-06 21:26:42.735140", "rc": 0, "start": "2024-02-06 21:26:42.710369" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 21:26:42 +0000 (0:00:00.242) 0:00:07.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 21:26:42 +0000 (0:00:00.016) 0:00:07.617 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 21:26:42 +0000 (0:00:00.011) 0:00:07.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:26:42 +0000 (0:00:00.024) 0:00:07.653 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 21:26:42 +0000 (0:00:00.013) 0:00:07.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:22 Tuesday 06 February 2024 21:26:42 +0000 (0:00:00.011) 0:00:07.678 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:26:42 +0000 (0:00:00.024) 0:00:07.702 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:26:42 +0000 (0:00:00.015) 0:00:07.718 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707254802.0095768, "block_size": 4096, "blocks": 0, "ctime": 1707254802.0095768, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23665, "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": 1707254802.0095768, "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_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.206) 0:00:07.924 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:24 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.044) 0:00:07.968 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:28 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.013) 0:00:07.981 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.023) 0:00:08.005 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.013) 0:00:08.018 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003610", "end": "2024-02-06 21:26:43.374004", "rc": 0, "start": "2024-02-06 21:26:43.370394" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.211) 0:00:08.230 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.016) 0:00:08.246 ****** 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_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:30 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.013) 0:00:08.260 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.045) 0:00:08.305 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.017) 0:00:08.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.012) 0:00:08.335 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.032) 0:00:08.367 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.017) 0:00:08.385 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003861", "end": "2024-02-06 21:26:43.742307", "rc": 0, "start": "2024-02-06 21:26:43.738446" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.212) 0:00:08.598 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.011) 0:00:08.610 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:26:43 +0000 (0:00:00.012) 0:00:08.622 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 21:26:46 +0000 (0:00:02.794) 0:00:11.417 ****** 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.013066", "end": "2024-02-06 21:26:46.790875", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-02-06 21:26:46.777809" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004547", "end": "2024-02-06 21:26:47.033480", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-02-06 21:26:47.028933" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004640", "end": "2024-02-06 21:26:47.242877", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-02-06 21:26:47.238237" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.682) 0:00:12.099 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.024285", "end": "2024-02-06 21:26:47.477460", "rc": 0, "start": "2024-02-06 21:26:47.453175" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.240) 0:00:12.339 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.012) 0:00:12.351 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.014) 0:00:12.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.012) 0:00:12.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.011) 0:00:12.390 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:34 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.015) 0:00:12.405 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.038) 0:00:12.443 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.030) 0:00:12.474 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707254806.7819715, "block_size": 4096, "blocks": 0, "ctime": 1707254806.7819715, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24251, "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": 1707254806.7819715, "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_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.214) 0:00:12.688 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.013) 0:00:12.702 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.075) 0:00:12.778 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.022) 0:00:12.800 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:26:47 +0000 (0:00:00.020) 0:00:12.820 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:26:48 +0000 (0:00:00.019) 0:00:12.840 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:26:49 +0000 (0:00:01.752) 0:00:14.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:26:51 +0000 (0:00:01.682) 0:00:16.275 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:26:51 +0000 (0:00:00.075) 0:00:16.350 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:26:51 +0000 (0:00:00.065) 0:00:16.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:26:51 +0000 (0:00:00.037) 0:00:16.453 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:26:51 +0000 (0:00:00.130) 0:00:16.583 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "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: nmstate-1.4.5-2.el8.x86_64", "Installed: NetworkManager-config-server-1:1.40.16-14.el8.noarch", "Installed: python3-varlink-29.0.0-1.el8.noarch" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:26:57 +0000 (0:00:05.720) 0:00:22.304 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:26:57 +0000 (0:00:00.041) 0:00:22.346 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:26:57 +0000 (0:00:00.048) 0:00:22.394 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:26:58 +0000 (0:00:00.583) 0:00:22.978 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:26:58 +0000 (0:00:00.030) 0:00:23.008 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:26:58 +0000 (0:00:00.027) 0:00:23.036 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:26:58 +0000 (0:00:00.060) 0:00:23.097 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:26:58 +0000 (0:00:00.505) 0:00:23.602 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:4c:27:d6:69:a7", "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::c4c:27ff:fed6:69a7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:4C:27:D6:69:A7", "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::78a7:20ff:fecb:8510", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "7A:A7:20:CB:85:10", "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::b20f:7f57:d563:5cc5", "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": "5E:CD:46:0F:81:7C", "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::b030:cff:fe14:9db5", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:30:0C:14:9D:B5", "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::144b:86ff:feca:20bd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:4B:86:CA:20:BD", "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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:26:59 +0000 (0:00:00.865) 0:00:24.468 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:26:59 +0000 (0:00:00.032) 0:00:24.500 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:26:59 +0000 (0:00:00.033) 0:00:24.534 ****** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:4c:27:d6:69:a7", "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::c4c:27ff:fed6:69a7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:4C:27:D6:69:A7", "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::78a7:20ff:fecb:8510", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "7A:A7:20:CB:85:10", "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::b20f:7f57:d563:5cc5", "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": "5E:CD:46:0F:81:7C", "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::b030:cff:fe14:9db5", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:30:0C:14:9D:B5", "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::144b:86ff:feca:20bd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:4B:86:CA:20:BD", "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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:26:59 +0000 (0:00:00.043) 0:00:24.577 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:75 Tuesday 06 February 2024 21:27:00 +0000 (0:00:00.313) 0:00:24.891 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.519594", "end": "2024-02-06 21:27:00.763271", "rc": 0, "start": "2024-02-06 21:27:00.243677" } 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::78a7:20ff:fecb:8510 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 7A:A7:20:CB:85:10 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-02-06 21:27:00,691 root DEBUG NetworkManager version 1.40.16 2024-02-06 21:27:00,692 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-06 21:27:00,693 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-06 21:27:00,693 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-06 21:27:00,694 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-06 21:27:00,695 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-06 21:27:00,696 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-06 21:27:00,698 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-06 21:27:00,699 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-06 21:27:00,699 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:81 Tuesday 06 February 2024 21:27:00 +0000 (0:00:00.739) 0:00:25.630 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.514504", "end": "2024-02-06 21:27:01.498829", "rc": 0, "start": "2024-02-06 21:27:00.984325" } 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::b20f:7f57:d563:5cc5 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: 5E:CD:46:0F:81:7C mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-02-06 21:27:01,426 root DEBUG NetworkManager version 1.40.16 2024-02-06 21:27:01,428 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-06 21:27:01,428 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-06 21:27:01,429 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-06 21:27:01,430 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-06 21:27:01,431 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-06 21:27:01,432 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-06 21:27:01,434 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-06 21:27:01,434 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-06 21:27:01,434 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_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:87 Tuesday 06 February 2024 21:27:01 +0000 (0:00:00.755) 0:00:26.386 ****** 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_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:96 Tuesday 06 February 2024 21:27:01 +0000 (0:00:00.051) 0:00:26.437 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:27:01 +0000 (0:00:00.025) 0:00:26.462 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:27:01 +0000 (0:00:00.043) 0:00:26.506 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:27:01 +0000 (0:00:00.036) 0:00:26.542 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:27:01 +0000 (0:00:00.030) 0:00:26.572 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:27:01 +0000 (0:00:00.030) 0:00:26.603 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:27:03 +0000 (0:00:01.657) 0:00:28.260 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:27:04 +0000 (0:00:01.477) 0:00:29.738 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:27:04 +0000 (0:00:00.031) 0:00:29.769 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:27:04 +0000 (0:00:00.029) 0:00:29.799 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:27:04 +0000 (0:00:00.028) 0:00:29.828 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:27:05 +0000 (0:00:00.050) 0:00:29.878 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:27:07 +0000 (0:00:02.767) 0:00:32.645 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:27:07 +0000 (0:00:00.032) 0:00:32.678 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:27:07 +0000 (0:00:00.031) 0:00:32.709 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:27:08 +0000 (0:00:00.387) 0:00:33.097 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:27:08 +0000 (0:00:00.032) 0:00:33.130 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:27:08 +0000 (0:00:00.035) 0:00:33.165 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:27:08 +0000 (0:00:00.028) 0:00:33.194 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:27:08 +0000 (0:00:00.383) 0:00:33.578 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:4c:27:d6:69:a7", "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::c4c:27ff:fed6:69a7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:4C:27:D6:69:A7", "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::78a7:20ff:fecb:8510", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "7A:A7:20:CB:85:10", "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::b20f:7f57:d563:5cc5", "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": "5E:CD:46:0F:81:7C", "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::b030:cff:fe14:9db5", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:30:0C:14:9D:B5", "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::144b:86ff:feca:20bd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:4B:86:CA:20:BD", "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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:27:09 +0000 (0:00:00.718) 0:00:34.296 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:27:09 +0000 (0:00:00.068) 0:00:34.364 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:27:09 +0000 (0:00:00.055) 0:00:34.420 ****** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:4c:27:d6:69:a7", "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::c4c:27ff:fed6:69a7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:4C:27:D6:69:A7", "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::78a7:20ff:fecb:8510", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "7A:A7:20:CB:85:10", "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::b20f:7f57:d563:5cc5", "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": "5E:CD:46:0F:81:7C", "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::b030:cff:fe14:9db5", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:30:0C:14:9D:B5", "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::144b:86ff:feca:20bd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:4B:86:CA:20:BD", "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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:27:09 +0000 (0:00:00.044) 0:00:34.464 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:117 Tuesday 06 February 2024 21:27:09 +0000 (0:00:00.234) 0:00:34.698 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.534691", "end": "2024-02-06 21:27:10.602730", "rc": 0, "start": "2024-02-06 21:27:10.068039" } 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.198 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::c4c:27ff:fed6:69a7 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:4C:27:D6:69:A7 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::78a7:20ff:fecb:8510 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 7A:A7:20:CB:85:10 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::b20f:7f57:d563:5cc5 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: 5E:CD:46:0F:81:7C 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::b030:cff:fe14:9db5 prefix-length: 64 mac-address: B2:30:0C:14:9D:B5 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::144b:86ff:feca:20bd prefix-length: 64 mac-address: 16:4B:86:CA:20:BD mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-06 21:27:10,516 root DEBUG NetworkManager version 1.40.16 2024-02-06 21:27:10,518 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-06 21:27:10,519 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-06 21:27:10,519 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-06 21:27:10,521 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-06 21:27:10,521 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-06 21:27:10,522 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-06 21:27:10,524 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-06 21:27:10,524 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-06 21:27:10,524 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_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:123 Tuesday 06 February 2024 21:27:10 +0000 (0:00:00.776) 0:00:35.474 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:27:10 +0000 (0:00:00.030) 0:00:35.505 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:27:10 +0000 (0:00:00.046) 0:00:35.552 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:27:10 +0000 (0:00:00.038) 0:00:35.590 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:27:10 +0000 (0:00:00.032) 0:00:35.623 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:27:10 +0000 (0:00:00.055) 0:00:35.678 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:27:12 +0000 (0:00:01.699) 0:00:37.378 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:27:14 +0000 (0:00:01.495) 0:00:38.873 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:27:14 +0000 (0:00:00.041) 0:00:38.914 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:27:14 +0000 (0:00:00.067) 0:00:38.982 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:27:14 +0000 (0:00:00.045) 0:00:39.027 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:27:14 +0000 (0:00:00.076) 0:00:39.103 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:27:17 +0000 (0:00:02.763) 0:00:41.867 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:27:17 +0000 (0:00:00.033) 0:00:41.900 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:27:17 +0000 (0:00:00.031) 0:00:41.932 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:27:17 +0000 (0:00:00.389) 0:00:42.321 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:27:17 +0000 (0:00:00.031) 0:00:42.353 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:27:17 +0000 (0:00:00.072) 0:00:42.425 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:27:17 +0000 (0:00:00.028) 0:00:42.453 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:27:17 +0000 (0:00:00.372) 0:00:42.826 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:4c:27:d6:69:a7", "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::c4c:27ff:fed6:69a7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:4C:27:D6:69:A7", "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::78a7:20ff:fecb:8510", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "7A:A7:20:CB:85:10", "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::b20f:7f57:d563:5cc5", "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": "5E:CD:46:0F:81:7C", "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::b030:cff:fe14:9db5", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:30:0C:14:9D:B5", "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::144b:86ff:feca:20bd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:4B:86:CA:20:BD", "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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:27:18 +0000 (0:00:00.706) 0:00:43.532 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:27:18 +0000 (0:00:00.030) 0:00:43.563 ****** 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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:27:18 +0000 (0:00:00.032) 0:00:43.595 ****** 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:4c:27:d6:69:a7", "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::c4c:27ff:fed6:69a7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:4C:27:D6:69:A7", "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::78a7:20ff:fecb:8510", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "7A:A7:20:CB:85:10", "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::b20f:7f57:d563:5cc5", "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": "5E:CD:46:0F:81:7C", "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::b030:cff:fe14:9db5", "prefix-length": 64 } ], "enabled": true }, "mac-address": "B2:30:0C:14:9D:B5", "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::144b:86ff:feca:20bd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:4B:86:CA:20:BD", "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_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:27:18 +0000 (0:00:00.035) 0:00:43.630 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:146 Tuesday 06 February 2024 21:27:19 +0000 (0:00:00.222) 0:00:43.853 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.537028", "end": "2024-02-06 21:27:19.743931", "rc": 0, "start": "2024-02-06 21:27:19.206903" } 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.198 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::c4c:27ff:fed6:69a7 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:4C:27:D6:69:A7 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::78a7:20ff:fecb:8510 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 7A:A7:20:CB:85:10 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::b20f:7f57:d563:5cc5 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: 5E:CD:46:0F:81:7C 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::b030:cff:fe14:9db5 prefix-length: 64 mac-address: B2:30:0C:14:9D:B5 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::144b:86ff:feca:20bd prefix-length: 64 mac-address: 16:4B:86:CA:20:BD mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-06 21:27:19,656 root DEBUG NetworkManager version 1.40.16 2024-02-06 21:27:19,657 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-06 21:27:19,658 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-06 21:27:19,658 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-06 21:27:19,659 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-06 21:27:19,661 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-06 21:27:19,661 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-06 21:27:19,663 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-06 21:27:19,664 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-06 21:27:19,664 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_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:152 Tuesday 06 February 2024 21:27:19 +0000 (0:00:00.784) 0:00:44.637 ****** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003634", "end": "2024-02-06 21:27:20.006397", "rc": 0, "start": "2024-02-06 21:27:20.002763" } 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_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:158 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.254) 0:00:44.892 ****** 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_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:166 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.067) 0:00:44.959 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:176 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.046) 0:00:45.006 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.054) 0:00:45.060 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.012360", "end": "2024-02-06 21:27:20.435105", "rc": 0, "start": "2024-02-06 21:27:20.422745" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:178 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.248) 0:00:45.309 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.049) 0:00:45.359 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.037) 0:00:45.396 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.237) 0:00:45.634 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:180 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.027) 0:00:45.661 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:184 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.024) 0:00:45.686 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:27:20 +0000 (0:00:00.093) 0:00:45.779 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011671", "end": "2024-02-06 21:27:21.192947", "rc": 0, "start": "2024-02-06 21:27:21.181276" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:186 Tuesday 06 February 2024 21:27:21 +0000 (0:00:00.341) 0:00:46.121 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:27:21 +0000 (0:00:00.074) 0:00:46.196 ****** included: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:27:21 +0000 (0:00:00.042) 0:00:46.238 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:27:21 +0000 (0:00:00.249) 0:00:46.487 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=107 changed=4 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Tuesday 06 February 2024 21:27:21 +0000 (0:00:00.033) 0:00:46.521 ****** =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.72s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Install iproute --------------------------------------------------------- 3.15s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.79s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.77s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.76s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.68s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.50s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.48s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking state ----------------- 0.87s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Get the DNS configuration from nmstatectl ------------------------------- 0.78s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:146 Get the route configuration --------------------------------------------- 0.78s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:117 Get the ethtest1 state configuration ------------------------------------ 0.76s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:81 Get the ethtest0 state configuration ------------------------------------ 0.74s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tests_network_state.yml:75 linux-system-roles.network : Configure networking state ----------------- 0.72s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Create veth interface ethtest0 ------------------------------------------ 0.71s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Configure networking state ----------------- 0.71s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Create veth interface ethtest1 ------------------------------------------ 0.68s /WORKDIR/git-bond_options_rewriteyaeol4yf/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---