# 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_rewritepw2vqfwe/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_rewritepw2vqfwe/tests/tests_network_state_nm.yml:6 Thursday 01 February 2024 01:06:17 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tests_network_state_nm.yml:9 Thursday 01 February 2024 01:06:18 +0000 (0:00:00.620) 0:00:00.635 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/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_rewritepw2vqfwe/tests/tasks/el_repo_setup.yml:3 Thursday 01 February 2024 01:06:18 +0000 (0:00:00.017) 0:00:00.652 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tasks/el_repo_setup.yml:19 Thursday 01 February 2024 01:06:18 +0000 (0:00:00.351) 0:00:01.004 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tasks/el_repo_setup.yml:24 Thursday 01 February 2024 01:06:18 +0000 (0:00:00.270) 0:00:01.275 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tasks/el_repo_setup.yml:28 Thursday 01 February 2024 01:06:18 +0000 (0:00:00.023) 0:00:01.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tasks/el_repo_setup.yml:53 Thursday 01 February 2024 01:06:19 +0000 (0:00:00.021) 0:00:01.320 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tasks/enable_epel.yml:8 Thursday 01 February 2024 01:06:19 +0000 (0:00:00.038) 0:00:01.358 ***** 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_rewritepw2vqfwe/tests/tasks/enable_epel.yml:24 Thursday 01 February 2024 01:06:19 +0000 (0:00:00.255) 0:00:01.614 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tasks/enable_epel.yml:30 Thursday 01 February 2024 01:06:19 +0000 (0:00:00.014) 0:00:01.628 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tasks/enable_epel.yml:35 Thursday 01 February 2024 01:06:19 +0000 (0:00:00.014) 0:00:01.642 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.256605", "end": "2024-02-01 01:06:19.755894", "rc": 0, "start": "2024-02-01 01:06:19.499289" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tasks/enable_epel.yml:40 Thursday 01 February 2024 01:06:19 +0000 (0:00:00.449) 0:00:02.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/tests_network_state_nm.yml:11 Thursday 01 February 2024 01:06:19 +0000 (0:00:00.012) 0:00:02.105 ***** 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_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:3 Thursday 01 February 2024 01:06:19 +0000 (0:00:00.015) 0:00:02.120 ***** ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:12 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.488) 0:00:02.609 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:16 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.014) 0:00:02.624 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.028) 0:00:02.653 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.016) 0:00:02.670 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003458", "end": "2024-02-01 01:06:20.531104", "rc": 0, "start": "2024-02-01 01:06:20.527646" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.197) 0:00:02.867 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.016) 0:00:02.884 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:18 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.016) 0:00:02.901 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.038) 0:00:02.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.017) 0:00:02.957 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.013) 0:00:02.971 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.022) 0:00:02.994 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.021) 0:00:03.015 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003551", "end": "2024-02-01 01:06:20.876865", "rc": 0, "start": "2024-02-01 01:06:20.873314" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.195) 0:00:03.211 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.015) 0:00:03.227 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 01 February 2024 01:06:20 +0000 (0:00:00.014) 0:00:03.241 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 01 February 2024 01:06:24 +0000 (0:00:03.125) 0:00:06.367 ***** 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.014739", "end": "2024-02-01 01:06:24.247737", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-01 01:06:24.232998" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004060", "end": "2024-02-01 01:06:24.472056", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-01 01:06:24.467996" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004395", "end": "2024-02-01 01:06:24.662093", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-01 01:06:24.657698" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 01 February 2024 01:06:24 +0000 (0:00:00.630) 0:00:06.997 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024630", "end": "2024-02-01 01:06:24.880698", "rc": 0, "start": "2024-02-01 01:06:24.856068" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 01 February 2024 01:06:24 +0000 (0:00:00.219) 0:00:07.217 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 01 February 2024 01:06:24 +0000 (0:00:00.016) 0:00:07.234 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 01 February 2024 01:06:24 +0000 (0:00:00.015) 0:00:07.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 01 February 2024 01:06:24 +0000 (0:00:00.015) 0:00:07.265 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 01 February 2024 01:06:24 +0000 (0:00:00.015) 0:00:07.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:22 Thursday 01 February 2024 01:06:24 +0000 (0:00:00.014) 0:00:07.295 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.052) 0:00:07.348 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.020) 0:00:07.369 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706749584.236972, "block_size": 4096, "blocks": 0, "ctime": 1706749584.236972, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35416, "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": 1706749584.236972, "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_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.197) 0:00:07.566 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:24 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.017) 0:00:07.584 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:28 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.016) 0:00:07.600 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.033) 0:00:07.634 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.017) 0:00:07.651 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003558", "end": "2024-02-01 01:06:25.510212", "rc": 0, "start": "2024-02-01 01:06:25.506654" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.194) 0:00:07.845 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.017) 0:00:07.862 ***** 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_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:30 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.015) 0:00:07.877 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.038) 0:00:07.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.013) 0:00:07.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.013) 0:00:07.943 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.018) 0:00:07.962 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.019) 0:00:07.981 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003554", "end": "2024-02-01 01:06:25.842410", "rc": 0, "start": "2024-02-01 01:06:25.838856" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.195) 0:00:08.176 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.015) 0:00:08.192 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 01 February 2024 01:06:25 +0000 (0:00:00.014) 0:00:08.206 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 01 February 2024 01:06:28 +0000 (0:00:02.615) 0:00:10.822 ***** 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.006072", "end": "2024-02-01 01:06:28.694445", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-02-01 01:06:28.688373" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004046", "end": "2024-02-01 01:06:28.923451", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-02-01 01:06:28.919405" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004551", "end": "2024-02-01 01:06:29.118182", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-02-01 01:06:29.113631" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.631) 0:00:11.453 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.025629", "end": "2024-02-01 01:06:29.334886", "rc": 0, "start": "2024-02-01 01:06:29.309257" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.217) 0:00:11.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.015) 0:00:11.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.015) 0:00:11.702 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.015) 0:00:11.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.015) 0:00:11.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:34 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.015) 0:00:11.748 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.036) 0:00:11.784 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.019) 0:00:11.804 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706749588.6923096, "block_size": 4096, "blocks": 0, "ctime": 1706749588.6923096, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36002, "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": 1706749588.6923096, "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_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.191) 0:00:11.996 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.017) 0:00:12.013 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.091) 0:00:12.105 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.028) 0:00:12.133 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.024) 0:00:12.158 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 01 February 2024 01:06:29 +0000 (0:00:00.024) 0:00:12.182 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 01 February 2024 01:06:31 +0000 (0:00:01.715) 0:00:13.898 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 01 February 2024 01:06:33 +0000 (0:00:01.492) 0:00:15.391 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 01 February 2024 01:06:33 +0000 (0:00:00.036) 0:00:15.428 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 01 February 2024 01:06:33 +0000 (0:00:00.035) 0:00:15.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 01 February 2024 01:06:33 +0000 (0:00:00.073) 0:00:15.537 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 01 February 2024 01:06:33 +0000 (0:00:00.060) 0:00:15.598 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: python3-libnmstate-1.4.5-2.el8.noarch", "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: nmstate-1.4.5-2.el8.x86_64", "Installed: NetworkManager-config-server-1:1.40.16-14.el8.noarch" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 01 February 2024 01:06:38 +0000 (0:00:05.162) 0:00:20.760 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:74 Thursday 01 February 2024 01:06:38 +0000 (0:00:00.039) 0:00:20.799 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:88 Thursday 01 February 2024 01:06:38 +0000 (0:00:00.039) 0:00:20.839 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:99 Thursday 01 February 2024 01:06:39 +0000 (0:00:00.566) 0:00:21.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:108 Thursday 01 February 2024 01:06:39 +0000 (0:00:00.039) 0:00:21.445 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:116 Thursday 01 February 2024 01:06:39 +0000 (0:00:00.075) 0:00:21.520 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 01 February 2024 01:06:39 +0000 (0:00:00.034) 0:00:21.554 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 01 February 2024 01:06:39 +0000 (0:00:00.480) 0:00:22.035 ***** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:a7:30:b0:1f:6d", "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::8a7:30ff:feb0:1f6d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:A7:30:B0:1F:6D", "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::e8ec:4eff:fe26:a84f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:EC:4E:26:A8:4F", "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::8ce1:412d:5f1a:7b7e", "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": "E6:73:61:5C:21:E6", "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::4c1a:ceff:fe26:7675", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4E:1A:CE:26:76:75", "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::4406:efff:fee8:4c79", "prefix-length": 64 } ], "enabled": true }, "mac-address": "46:06:EF:E8:4C:79", "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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:143 Thursday 01 February 2024 01:06:41 +0000 (0:00:01.769) 0:00:23.804 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 01 February 2024 01:06:41 +0000 (0:00:00.039) 0:00:23.843 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:152 Thursday 01 February 2024 01:06:41 +0000 (0:00:00.036) 0:00:23.880 ***** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:a7:30:b0:1f:6d", "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::8a7:30ff:feb0:1f6d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:A7:30:B0:1F:6D", "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::e8ec:4eff:fe26:a84f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:EC:4E:26:A8:4F", "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::8ce1:412d:5f1a:7b7e", "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": "E6:73:61:5C:21:E6", "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::4c1a:ceff:fe26:7675", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4E:1A:CE:26:76:75", "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::4406:efff:fee8:4c79", "prefix-length": 64 } ], "enabled": true }, "mac-address": "46:06:EF:E8:4C:79", "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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:158 Thursday 01 February 2024 01:06:41 +0000 (0:00:00.043) 0:00:23.923 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:75 Thursday 01 February 2024 01:06:41 +0000 (0:00:00.306) 0:00:24.230 ***** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:01.482351", "end": "2024-02-01 01:06:43.574129", "rc": 0, "start": "2024-02-01 01:06:42.091778" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::e8ec:4eff:fe26:a84f prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: EA:EC:4E:26:A8:4F mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-02-01 01:06:42,510 root DEBUG NetworkManager version 1.40.16 2024-02-01 01:06:42,512 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-01 01:06:42,512 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-01 01:06:42,512 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-01 01:06:42,514 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-01 01:06:42,515 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-01 01:06:42,515 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-01 01:06:42,517 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-01 01:06:42,518 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-01 01:06:42,518 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:81 Thursday 01 February 2024 01:06:43 +0000 (0:00:01.694) 0:00:25.925 ***** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:01.480320", "end": "2024-02-01 01:06:45.265693", "rc": 0, "start": "2024-02-01 01:06:43.785373" } 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::8ce1:412d:5f1a:7b7e 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: E6:73:61:5C:21:E6 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-02-01 01:06:44,201 root DEBUG NetworkManager version 1.40.16 2024-02-01 01:06:44,202 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-01 01:06:44,203 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-01 01:06:44,203 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-01 01:06:44,205 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-01 01:06:44,205 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-01 01:06:44,206 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-01 01:06:44,208 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-01 01:06:44,209 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-01 01:06:44,209 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_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:87 Thursday 01 February 2024 01:06:45 +0000 (0:00:01.692) 0:00:27.618 ***** 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_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:96 Thursday 01 February 2024 01:06:45 +0000 (0:00:00.034) 0:00:27.652 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 01 February 2024 01:06:45 +0000 (0:00:00.042) 0:00:27.695 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 01 February 2024 01:06:45 +0000 (0:00:00.092) 0:00:27.787 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 01 February 2024 01:06:45 +0000 (0:00:00.048) 0:00:27.836 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 01 February 2024 01:06:45 +0000 (0:00:00.040) 0:00:27.876 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 01 February 2024 01:06:45 +0000 (0:00:00.040) 0:00:27.917 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 01 February 2024 01:06:47 +0000 (0:00:01.651) 0:00:29.569 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 01 February 2024 01:06:48 +0000 (0:00:01.378) 0:00:30.948 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 01 February 2024 01:06:48 +0000 (0:00:00.040) 0:00:30.988 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 01 February 2024 01:06:48 +0000 (0:00:00.048) 0:00:31.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 01 February 2024 01:06:48 +0000 (0:00:00.047) 0:00:31.084 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 01 February 2024 01:06:48 +0000 (0:00:00.081) 0:00:31.166 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 01 February 2024 01:06:51 +0000 (0:00:02.638) 0:00:33.805 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:74 Thursday 01 February 2024 01:06:51 +0000 (0:00:00.039) 0:00:33.844 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:88 Thursday 01 February 2024 01:06:51 +0000 (0:00:00.038) 0:00:33.882 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:99 Thursday 01 February 2024 01:06:51 +0000 (0:00:00.370) 0:00:34.252 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:108 Thursday 01 February 2024 01:06:51 +0000 (0:00:00.038) 0:00:34.291 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:116 Thursday 01 February 2024 01:06:52 +0000 (0:00:00.041) 0:00:34.333 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 01 February 2024 01:06:52 +0000 (0:00:00.035) 0:00:34.368 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 01 February 2024 01:06:52 +0000 (0:00:00.362) 0:00:34.731 ***** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:a7:30:b0:1f:6d", "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::8a7:30ff:feb0:1f6d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:A7:30:B0:1F:6D", "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::e8ec:4eff:fe26:a84f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:EC:4E:26:A8:4F", "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::8ce1:412d:5f1a:7b7e", "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": "E6:73:61:5C:21:E6", "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::4c1a:ceff:fe26:7675", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4E:1A:CE:26:76:75", "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::4406:efff:fee8:4c79", "prefix-length": 64 } ], "enabled": true }, "mac-address": "46:06:EF:E8:4C:79", "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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:143 Thursday 01 February 2024 01:06:53 +0000 (0:00:00.663) 0:00:35.394 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 01 February 2024 01:06:53 +0000 (0:00:00.042) 0:00:35.436 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:152 Thursday 01 February 2024 01:06:53 +0000 (0:00:00.090) 0:00:35.527 ***** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:a7:30:b0:1f:6d", "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::8a7:30ff:feb0:1f6d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:A7:30:B0:1F:6D", "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::e8ec:4eff:fe26:a84f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:EC:4E:26:A8:4F", "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::8ce1:412d:5f1a:7b7e", "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": "E6:73:61:5C:21:E6", "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::4c1a:ceff:fe26:7675", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4E:1A:CE:26:76:75", "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::4406:efff:fee8:4c79", "prefix-length": 64 } ], "enabled": true }, "mac-address": "46:06:EF:E8:4C:79", "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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:158 Thursday 01 February 2024 01:06:53 +0000 (0:00:00.045) 0:00:35.573 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:117 Thursday 01 February 2024 01:06:53 +0000 (0:00:00.208) 0:00:35.781 ***** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:01.490754", "end": "2024-02-01 01:06:55.127389", "rc": 0, "start": "2024-02-01 01:06:53.636635" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.12.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.12.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.14.169 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::8a7:30ff:feb0:1f6d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:A7:30:B0:1F:6D 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::e8ec:4eff:fe26:a84f prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: EA:EC:4E:26:A8:4F 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::8ce1:412d:5f1a:7b7e 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: E6:73:61:5C:21:E6 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::4c1a:ceff:fe26:7675 prefix-length: 64 mac-address: 4E:1A:CE:26:76:75 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::4406:efff:fee8:4c79 prefix-length: 64 mac-address: 46:06:EF:E8:4C:79 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-01 01:06:54,050 root DEBUG NetworkManager version 1.40.16 2024-02-01 01:06:54,052 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-01 01:06:54,053 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-01 01:06:54,053 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-01 01:06:54,054 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-01 01:06:54,055 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-01 01:06:54,055 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-01 01:06:54,057 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-01 01:06:54,058 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-01 01:06:54,058 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_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:123 Thursday 01 February 2024 01:06:55 +0000 (0:00:01.698) 0:00:37.479 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 01 February 2024 01:06:55 +0000 (0:00:00.038) 0:00:37.518 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 01 February 2024 01:06:55 +0000 (0:00:00.060) 0:00:37.579 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 01 February 2024 01:06:55 +0000 (0:00:00.046) 0:00:37.625 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 01 February 2024 01:06:55 +0000 (0:00:00.039) 0:00:37.665 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 01 February 2024 01:06:55 +0000 (0:00:00.064) 0:00:37.729 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 01 February 2024 01:06:57 +0000 (0:00:01.626) 0:00:39.356 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 01 February 2024 01:06:58 +0000 (0:00:01.327) 0:00:40.683 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 01 February 2024 01:06:58 +0000 (0:00:00.035) 0:00:40.719 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 01 February 2024 01:06:58 +0000 (0:00:00.063) 0:00:40.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 01 February 2024 01:06:58 +0000 (0:00:00.037) 0:00:40.820 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 01 February 2024 01:06:58 +0000 (0:00:00.062) 0:00:40.883 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 01 February 2024 01:07:01 +0000 (0:00:02.666) 0:00:43.550 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:74 Thursday 01 February 2024 01:07:01 +0000 (0:00:00.038) 0:00:43.588 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:88 Thursday 01 February 2024 01:07:01 +0000 (0:00:00.042) 0:00:43.631 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:99 Thursday 01 February 2024 01:07:01 +0000 (0:00:00.374) 0:00:44.005 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:108 Thursday 01 February 2024 01:07:01 +0000 (0:00:00.038) 0:00:44.044 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:116 Thursday 01 February 2024 01:07:01 +0000 (0:00:00.075) 0:00:44.119 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 01 February 2024 01:07:01 +0000 (0:00:00.034) 0:00:44.153 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 01 February 2024 01:07:02 +0000 (0:00:00.359) 0:00:44.512 ***** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0a:a7:30:b0:1f:6d", "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::8a7:30ff:feb0:1f6d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:A7:30:B0:1F:6D", "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::e8ec:4eff:fe26:a84f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:EC:4E:26:A8:4F", "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::8ce1:412d:5f1a:7b7e", "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": "E6:73:61:5C:21:E6", "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::4c1a:ceff:fe26:7675", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4E:1A:CE:26:76:75", "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::4406:efff:fee8:4c79", "prefix-length": 64 } ], "enabled": true }, "mac-address": "46:06:EF:E8:4C:79", "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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:143 Thursday 01 February 2024 01:07:02 +0000 (0:00:00.655) 0:00:45.167 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 01 February 2024 01:07:02 +0000 (0:00:00.038) 0:00:45.206 ***** 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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:152 Thursday 01 February 2024 01:07:02 +0000 (0:00:00.036) 0:00:45.242 ***** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0a:a7:30:b0:1f:6d", "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::8a7:30ff:feb0:1f6d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:A7:30:B0:1F:6D", "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::e8ec:4eff:fe26:a84f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "EA:EC:4E:26:A8:4F", "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::8ce1:412d:5f1a:7b7e", "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": "E6:73:61:5C:21:E6", "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::4c1a:ceff:fe26:7675", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4E:1A:CE:26:76:75", "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::4406:efff:fee8:4c79", "prefix-length": 64 } ], "enabled": true }, "mac-address": "46:06:EF:E8:4C:79", "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_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:158 Thursday 01 February 2024 01:07:02 +0000 (0:00:00.040) 0:00:45.283 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:146 Thursday 01 February 2024 01:07:03 +0000 (0:00:00.206) 0:00:45.489 ***** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.492969", "end": "2024-02-01 01:07:03.841812", "rc": 0, "start": "2024-02-01 01:07:03.348843" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.12.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.12.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.14.169 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::8a7:30ff:feb0:1f6d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:A7:30:B0:1F:6D 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::e8ec:4eff:fe26:a84f prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: EA:EC:4E:26:A8:4F 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::8ce1:412d:5f1a:7b7e 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: E6:73:61:5C:21:E6 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::4c1a:ceff:fe26:7675 prefix-length: 64 mac-address: 4E:1A:CE:26:76:75 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::4406:efff:fee8:4c79 prefix-length: 64 mac-address: 46:06:EF:E8:4C:79 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-01 01:07:03,767 root DEBUG NetworkManager version 1.40.16 2024-02-01 01:07:03,768 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-01 01:07:03,769 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-01 01:07:03,769 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-01 01:07:03,771 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-01 01:07:03,771 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-01 01:07:03,772 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-01 01:07:03,774 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-01 01:07:03,774 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-01 01:07:03,774 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_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:152 Thursday 01 February 2024 01:07:03 +0000 (0:00:00.703) 0:00:46.193 ***** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:01.004737", "end": "2024-02-01 01:07:05.058045", "rc": 0, "start": "2024-02-01 01:07:04.053308" } 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_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:158 Thursday 01 February 2024 01:07:05 +0000 (0:00:01.213) 0:00:47.407 ***** 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_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:166 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.035) 0:00:47.442 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:176 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.033) 0:00:47.476 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/delete_interface.yml:3 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.067) 0:00:47.543 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.011556", "end": "2024-02-01 01:07:05.413115", "rc": 0, "start": "2024-02-01 01:07:05.401559" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:178 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.232) 0:00:47.776 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.070) 0:00:47.846 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.046) 0:00:47.893 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.248) 0:00:48.142 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:180 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.035) 0:00:48.177 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:184 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.032) 0:00:48.210 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/delete_interface.yml:3 Thursday 01 February 2024 01:07:05 +0000 (0:00:00.063) 0:00:48.273 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012638", "end": "2024-02-01 01:07:06.146214", "rc": 0, "start": "2024-02-01 01:07:06.133576" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:186 Thursday 01 February 2024 01:07:06 +0000 (0:00:00.226) 0:00:48.499 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 01 February 2024 01:07:06 +0000 (0:00:00.062) 0:00:48.562 ***** included: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 01 February 2024 01:07:06 +0000 (0:00:00.044) 0:00:48.607 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 01 February 2024 01:07:06 +0000 (0:00:00.206) 0:00:48.813 ***** 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 Thursday 01 February 2024 01:07:06 +0000 (0:00:00.015) 0:00:48.829 ***** =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.16s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:43 Install iproute --------------------------------------------------------- 3.13s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.67s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.64s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:43 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking state ----------------- 1.77s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:137 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Get the route configuration --------------------------------------------- 1.70s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:117 Get the ethtest0 state configuration ------------------------------------ 1.69s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:75 Get the ethtest1 state configuration ------------------------------------ 1.69s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:81 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.49s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the DNS configuration from the file `/run/NetworkManager/no-stub-resolv.conf` --- 1.21s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:152 Get the DNS configuration from nmstatectl ------------------------------- 0.70s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/playbooks/tests_network_state.yml:146 linux-system-roles.network : Configure networking state ----------------- 0.66s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:137 linux-system-roles.network : Configure networking state ----------------- 0.66s /WORKDIR/git-bond_options_rewritepw2vqfwe/tests/roles/linux-system-roles.network/tasks/main.yml:137 Create veth interface ethtest1 ------------------------------------------ 0.63s /WORKDIR/git-bond_options_rewritepw2vqfwe/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. ---^---^---^---^---^---