# 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_rewritesu48y8_s/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_rewritesu48y8_s/tests/tests_network_state_nm.yml:6 Friday 09 February 2024 20:03:55 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tests_network_state_nm.yml:9 Friday 09 February 2024 20:03:55 +0000 (0:00:00.608) 0:00:00.621 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/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_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 20:03:55 +0000 (0:00:00.011) 0:00:00.632 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 20:03:56 +0000 (0:00:00.337) 0:00:00.969 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 20:03:56 +0000 (0:00:00.261) 0:00:01.231 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 20:03:56 +0000 (0:00:00.026) 0:00:01.257 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 20:03:56 +0000 (0:00:00.020) 0:00:01.278 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 20:03:56 +0000 (0:00:00.034) 0:00:01.313 ******* 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_rewritesu48y8_s/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 20:03:56 +0000 (0:00:00.246) 0:00:01.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 20:03:56 +0000 (0:00:00.012) 0:00:01.572 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 20:03:56 +0000 (0:00:00.014) 0:00:01.587 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244729", "end": "2024-02-09 20:03:57.155963", "rc": 0, "start": "2024-02-09 20:03:56.911234" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 20:03:57 +0000 (0:00:00.431) 0:00:02.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tests_network_state_nm.yml:11 Friday 09 February 2024 20:03:57 +0000 (0:00:00.009) 0:00:02.028 ******* 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_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:3 Friday 09 February 2024 20:03:57 +0000 (0:00:00.010) 0:00:02.038 ******* ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:12 Friday 09 February 2024 20:03:57 +0000 (0:00:00.499) 0:00:02.537 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:16 Friday 09 February 2024 20:03:57 +0000 (0:00:00.013) 0:00:02.550 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:03:57 +0000 (0:00:00.022) 0:00:02.573 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:03:57 +0000 (0:00:00.014) 0:00:02.588 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003372", "end": "2024-02-09 20:03:57.915618", "rc": 0, "start": "2024-02-09 20:03:57.912246" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:03:57 +0000 (0:00:00.190) 0:00:02.778 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:03:57 +0000 (0:00:00.012) 0:00:02.791 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:18 Friday 09 February 2024 20:03:57 +0000 (0:00:00.012) 0:00:02.803 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:03:57 +0000 (0:00:00.026) 0:00:02.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:03:57 +0000 (0:00:00.012) 0:00:02.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:03:58 +0000 (0:00:00.011) 0:00:02.854 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:03:58 +0000 (0:00:00.014) 0:00:02.868 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:03:58 +0000 (0:00:00.013) 0:00:02.881 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003488", "end": "2024-02-09 20:03:58.207772", "rc": 0, "start": "2024-02-09 20:03:58.204284" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:03:58 +0000 (0:00:00.189) 0:00:03.071 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:03:58 +0000 (0:00:00.011) 0:00:03.083 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:03:58 +0000 (0:00:00.011) 0:00:03.094 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 20:04:00 +0000 (0:00:02.716) 0:00:05.811 ******* 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.014368", "end": "2024-02-09 20:04:01.154319", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-09 20:04:01.139951" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003904", "end": "2024-02-09 20:04:01.382097", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-09 20:04:01.378193" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004294", "end": "2024-02-09 20:04:01.570031", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-09 20:04:01.565737" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 20:04:01 +0000 (0:00:00.623) 0:00:06.435 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024405", "end": "2024-02-09 20:04:01.782383", "rc": 0, "start": "2024-02-09 20:04:01.757978" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 20:04:01 +0000 (0:00:00.211) 0:00:06.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 20:04:01 +0000 (0:00:00.011) 0:00:06.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 20:04:01 +0000 (0:00:00.013) 0:00:06.671 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:04:01 +0000 (0:00:00.012) 0:00:06.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 20:04:01 +0000 (0:00:00.011) 0:00:06.696 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:22 Friday 09 February 2024 20:04:01 +0000 (0:00:00.010) 0:00:06.707 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:04:01 +0000 (0:00:00.025) 0:00:06.732 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:04:01 +0000 (0:00:00.015) 0:00:06.748 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707509041.1437125, "block_size": 4096, "blocks": 0, "ctime": 1707509041.1437125, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34342, "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": 1707509041.1437125, "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_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:04:02 +0000 (0:00:00.206) 0:00:06.954 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:24 Friday 09 February 2024 20:04:02 +0000 (0:00:00.035) 0:00:06.990 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:28 Friday 09 February 2024 20:04:02 +0000 (0:00:00.037) 0:00:07.027 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:04:02 +0000 (0:00:00.025) 0:00:07.053 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:04:02 +0000 (0:00:00.033) 0:00:07.086 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-02-09 20:04:02.443762", "rc": 0, "start": "2024-02-09 20:04:02.440296" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:04:02 +0000 (0:00:00.220) 0:00:07.307 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:04:02 +0000 (0:00:00.013) 0:00:07.321 ******* 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_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:30 Friday 09 February 2024 20:04:02 +0000 (0:00:00.011) 0:00:07.332 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:04:02 +0000 (0:00:00.058) 0:00:07.390 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:04:02 +0000 (0:00:00.014) 0:00:07.405 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:04:02 +0000 (0:00:00.014) 0:00:07.419 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:04:02 +0000 (0:00:00.053) 0:00:07.472 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:04:02 +0000 (0:00:00.015) 0:00:07.487 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003317", "end": "2024-02-09 20:04:02.814888", "rc": 0, "start": "2024-02-09 20:04:02.811571" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:04:02 +0000 (0:00:00.206) 0:00:07.694 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:04:02 +0000 (0:00:00.034) 0:00:07.729 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:04:02 +0000 (0:00:00.013) 0:00:07.742 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 20:04:05 +0000 (0:00:02.717) 0:00:10.460 ******* ok: [sut] => (item=ip link add ethtest1 type veth peer name peerethtest1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest1", "type", "veth", "peer", "name", "peerethtest1" ], "delta": "0:00:00.012367", "end": "2024-02-09 20:04:05.800959", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-02-09 20:04:05.788592" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003582", "end": "2024-02-09 20:04:06.015170", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-02-09 20:04:06.011588" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004153", "end": "2024-02-09 20:04:06.197270", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-02-09 20:04:06.193117" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 20:04:06 +0000 (0:00:00.600) 0:00:11.060 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.024729", "end": "2024-02-09 20:04:06.407403", "rc": 0, "start": "2024-02-09 20:04:06.382674" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 20:04:06 +0000 (0:00:00.210) 0:00:11.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 20:04:06 +0000 (0:00:00.012) 0:00:11.284 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 20:04:06 +0000 (0:00:00.011) 0:00:11.295 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:04:06 +0000 (0:00:00.011) 0:00:11.307 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 20:04:06 +0000 (0:00:00.012) 0:00:11.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:34 Friday 09 February 2024 20:04:06 +0000 (0:00:00.010) 0:00:11.330 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:04:06 +0000 (0:00:00.025) 0:00:11.355 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:04:06 +0000 (0:00:00.013) 0:00:11.368 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707509045.7924685, "block_size": 4096, "blocks": 0, "ctime": 1707509045.7924685, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34928, "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": 1707509045.7924685, "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_rewritesu48y8_s/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:04:06 +0000 (0:00:00.183) 0:00:11.552 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 20:04:06 +0000 (0:00:00.013) 0:00:11.565 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 20:04:06 +0000 (0:00:00.072) 0:00:11.638 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 20:04:06 +0000 (0:00:00.021) 0:00:11.659 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 20:04:06 +0000 (0:00:00.020) 0:00:11.679 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 20:04:06 +0000 (0:00:00.023) 0:00:11.703 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 20:04:08 +0000 (0:00:01.574) 0:00:13.278 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 20:04:09 +0000 (0:00:01.479) 0:00:14.757 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 20:04:09 +0000 (0:00:00.029) 0:00:14.787 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 20:04:09 +0000 (0:00:00.030) 0:00:14.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 20:04:10 +0000 (0:00:00.031) 0:00:14.849 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 20:04:10 +0000 (0:00:00.052) 0:00:14.902 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: python3-varlink-29.0.0-1.el8.noarch", "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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 20:04:15 +0000 (0:00:05.241) 0:00:20.143 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 20:04:15 +0000 (0:00:00.030) 0:00:20.173 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 20:04:15 +0000 (0:00:00.031) 0:00:20.205 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 20:04:15 +0000 (0:00:00.535) 0:00:20.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 20:04:15 +0000 (0:00:00.031) 0:00:20.772 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 20:04:15 +0000 (0:00:00.026) 0:00:20.799 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 20:04:15 +0000 (0:00:00.027) 0:00:20.826 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 20:04:16 +0000 (0:00:00.473) 0:00:21.300 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:d4:d7:ae:cf:d3", "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::cd4:d7ff:feae:cfd3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:D4:D7:AE:CF:D3", "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::4462:f8ff:fecf:28cd", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "46:62:F8:CF:28:CD", "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::3b3c:d3e8:dacf:eb25", "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": "EE:26:EC:D0:93:80", "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::4884:28ff:fee3:894", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:84:28:E3:08:94", "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::d0d5:b7ff:fe73:fa74", "prefix-length": 64 } ], "enabled": true }, "mac-address": "D2:D5:B7:73:FA:74", "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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 20:04:18 +0000 (0:00:01.751) 0:00:23.051 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 20:04:18 +0000 (0:00:00.030) 0:00:23.082 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 20:04:18 +0000 (0:00:00.031) 0:00:23.113 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:d4:d7:ae:cf:d3", "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::cd4:d7ff:feae:cfd3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:D4:D7:AE:CF:D3", "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::4462:f8ff:fecf:28cd", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "46:62:F8:CF:28:CD", "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::3b3c:d3e8:dacf:eb25", "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": "EE:26:EC:D0:93:80", "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::4884:28ff:fee3:894", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:84:28:E3:08:94", "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::d0d5:b7ff:fe73:fa74", "prefix-length": 64 } ], "enabled": true }, "mac-address": "D2:D5:B7:73:FA:74", "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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 20:04:18 +0000 (0:00:00.036) 0:00:23.150 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:75 Friday 09 February 2024 20:04:18 +0000 (0:00:00.306) 0:00:23.456 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.484904", "end": "2024-02-09 20:04:19.268364", "rc": 0, "start": "2024-02-09 20:04:18.783460" } 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::4462:f8ff:fecf:28cd prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 46:62:F8:CF:28:CD mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-02-09 20:04:19,208 root DEBUG NetworkManager version 1.40.16 2024-02-09 20:04:19,209 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-09 20:04:19,209 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-09 20:04:19,210 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-09 20:04:19,211 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-09 20:04:19,212 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-09 20:04:19,213 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-09 20:04:19,215 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-09 20:04:19,215 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-09 20:04:19,215 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:81 Friday 09 February 2024 20:04:19 +0000 (0:00:00.720) 0:00:24.176 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.473688", "end": "2024-02-09 20:04:20.002836", "rc": 0, "start": "2024-02-09 20:04:19.529148" } 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::3b3c:d3e8:dacf:eb25 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: EE:26:EC:D0:93:80 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-02-09 20:04:19,941 root DEBUG NetworkManager version 1.40.16 2024-02-09 20:04:19,943 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-09 20:04:19,943 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-09 20:04:19,943 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-09 20:04:19,945 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-09 20:04:19,946 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-09 20:04:19,946 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-09 20:04:19,948 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-09 20:04:19,949 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-09 20:04:19,949 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_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:87 Friday 09 February 2024 20:04:20 +0000 (0:00:00.701) 0:00:24.878 ******* 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_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:96 Friday 09 February 2024 20:04:20 +0000 (0:00:00.027) 0:00:24.905 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 20:04:20 +0000 (0:00:00.024) 0:00:24.929 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 20:04:20 +0000 (0:00:00.044) 0:00:24.974 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 20:04:20 +0000 (0:00:00.037) 0:00:25.012 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 20:04:20 +0000 (0:00:00.033) 0:00:25.045 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 20:04:20 +0000 (0:00:00.039) 0:00:25.085 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 20:04:21 +0000 (0:00:01.560) 0:00:26.645 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 20:04:23 +0000 (0:00:01.313) 0:00:27.958 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 20:04:23 +0000 (0:00:00.029) 0:00:27.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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 20:04:23 +0000 (0:00:00.030) 0:00:28.019 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 20:04:23 +0000 (0:00:00.034) 0:00:28.053 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 20:04:23 +0000 (0:00:00.064) 0:00:28.117 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 20:04:25 +0000 (0:00:02.524) 0:00:30.642 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 20:04:25 +0000 (0:00:00.029) 0:00:30.671 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 20:04:25 +0000 (0:00:00.029) 0:00:30.701 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 20:04:26 +0000 (0:00:00.349) 0:00:31.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 20:04:26 +0000 (0:00:00.034) 0:00:31.085 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 20:04:26 +0000 (0:00:00.043) 0:00:31.128 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 20:04:26 +0000 (0:00:00.053) 0:00:31.182 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 20:04:26 +0000 (0:00:00.431) 0:00:31.613 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:d4:d7:ae:cf:d3", "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::cd4:d7ff:feae:cfd3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:D4:D7:AE:CF:D3", "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::4462:f8ff:fecf:28cd", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "46:62:F8:CF:28:CD", "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::3b3c:d3e8:dacf:eb25", "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": "EE:26:EC:D0:93:80", "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::4884:28ff:fee3:894", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:84:28:E3:08:94", "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::d0d5:b7ff:fe73:fa74", "prefix-length": 64 } ], "enabled": true }, "mac-address": "D2:D5:B7:73:FA:74", "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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 20:04:27 +0000 (0:00:00.648) 0:00:32.261 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 20:04:27 +0000 (0:00:00.036) 0:00:32.298 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 20:04:27 +0000 (0:00:00.029) 0:00:32.327 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:d4:d7:ae:cf:d3", "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::cd4:d7ff:feae:cfd3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:D4:D7:AE:CF:D3", "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::4462:f8ff:fecf:28cd", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "46:62:F8:CF:28:CD", "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::3b3c:d3e8:dacf:eb25", "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": "EE:26:EC:D0:93:80", "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::4884:28ff:fee3:894", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:84:28:E3:08:94", "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::d0d5:b7ff:fe73:fa74", "prefix-length": 64 } ], "enabled": true }, "mac-address": "D2:D5:B7:73:FA:74", "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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 20:04:27 +0000 (0:00:00.046) 0:00:32.374 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:117 Friday 09 February 2024 20:04:27 +0000 (0:00:00.208) 0:00:32.583 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.488363", "end": "2024-02-09 20:04:28.393696", "rc": 0, "start": "2024-02-09 20:04:27.905333" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.41.73 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::cd4:d7ff:feae:cfd3 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:D4:D7:AE:CF:D3 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::4462:f8ff:fecf:28cd prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 46:62:F8:CF:28:CD 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::3b3c:d3e8:dacf:eb25 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: EE:26:EC:D0:93:80 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::4884:28ff:fee3:894 prefix-length: 64 mac-address: 4A:84:28:E3:08:94 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::d0d5:b7ff:fe73:fa74 prefix-length: 64 mac-address: D2:D5:B7:73:FA:74 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-09 20:04:28,319 root DEBUG NetworkManager version 1.40.16 2024-02-09 20:04:28,321 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-09 20:04:28,321 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-09 20:04:28,321 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-09 20:04:28,323 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-09 20:04:28,324 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-09 20:04:28,325 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-09 20:04:28,326 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-09 20:04:28,327 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-09 20:04:28,327 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_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:123 Friday 09 February 2024 20:04:28 +0000 (0:00:00.686) 0:00:33.270 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 20:04:28 +0000 (0:00:00.030) 0:00:33.300 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 20:04:28 +0000 (0:00:00.045) 0:00:33.346 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 20:04:28 +0000 (0:00:00.038) 0:00:33.384 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 20:04:28 +0000 (0:00:00.073) 0:00:33.458 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 20:04:28 +0000 (0:00:00.034) 0:00:33.492 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 20:04:30 +0000 (0:00:01.547) 0:00:35.039 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 20:04:31 +0000 (0:00:01.312) 0:00:36.352 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 20:04:31 +0000 (0:00:00.071) 0:00:36.423 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 20:04:31 +0000 (0:00:00.038) 0:00:36.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 20:04:31 +0000 (0:00:00.040) 0:00:36.502 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 20:04:31 +0000 (0:00:00.054) 0:00:36.556 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 20:04:34 +0000 (0:00:02.482) 0:00:39.039 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 20:04:34 +0000 (0:00:00.039) 0:00:39.079 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 20:04:34 +0000 (0:00:00.030) 0:00:39.109 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 20:04:34 +0000 (0:00:00.374) 0:00:39.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 20:04:34 +0000 (0:00:00.031) 0:00:39.516 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 20:04:34 +0000 (0:00:00.032) 0:00:39.549 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 20:04:34 +0000 (0:00:00.030) 0:00:39.579 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 20:04:35 +0000 (0:00:00.351) 0:00:39.931 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:d4:d7:ae:cf:d3", "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::cd4:d7ff:feae:cfd3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:D4:D7:AE:CF:D3", "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::4462:f8ff:fecf:28cd", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "46:62:F8:CF:28:CD", "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::3b3c:d3e8:dacf:eb25", "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": "EE:26:EC:D0:93:80", "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::4884:28ff:fee3:894", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:84:28:E3:08:94", "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::d0d5:b7ff:fe73:fa74", "prefix-length": 64 } ], "enabled": true }, "mac-address": "D2:D5:B7:73:FA:74", "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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 20:04:35 +0000 (0:00:00.634) 0:00:40.566 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 20:04:35 +0000 (0:00:00.031) 0:00:40.597 ******* 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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 20:04:35 +0000 (0:00:00.029) 0:00:40.627 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:d4:d7:ae:cf:d3", "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::cd4:d7ff:feae:cfd3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:D4:D7:AE:CF:D3", "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::4462:f8ff:fecf:28cd", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "46:62:F8:CF:28:CD", "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::3b3c:d3e8:dacf:eb25", "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": "EE:26:EC:D0:93:80", "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::4884:28ff:fee3:894", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:84:28:E3:08:94", "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::d0d5:b7ff:fe73:fa74", "prefix-length": 64 } ], "enabled": true }, "mac-address": "D2:D5:B7:73:FA:74", "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_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 20:04:35 +0000 (0:00:00.033) 0:00:40.660 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:146 Friday 09 February 2024 20:04:36 +0000 (0:00:00.199) 0:00:40.860 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.487517", "end": "2024-02-09 20:04:36.675241", "rc": 0, "start": "2024-02-09 20:04:36.187724" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.41.73 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::cd4:d7ff:feae:cfd3 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:D4:D7:AE:CF:D3 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::4462:f8ff:fecf:28cd prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 46:62:F8:CF:28:CD 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::3b3c:d3e8:dacf:eb25 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: EE:26:EC:D0:93:80 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::4884:28ff:fee3:894 prefix-length: 64 mac-address: 4A:84:28:E3:08:94 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::d0d5:b7ff:fe73:fa74 prefix-length: 64 mac-address: D2:D5:B7:73:FA:74 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-09 20:04:36,600 root DEBUG NetworkManager version 1.40.16 2024-02-09 20:04:36,602 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-09 20:04:36,602 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-09 20:04:36,603 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-09 20:04:36,604 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-09 20:04:36,605 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-09 20:04:36,605 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-09 20:04:36,607 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-09 20:04:36,608 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-09 20:04:36,608 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_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:152 Friday 09 February 2024 20:04:36 +0000 (0:00:00.691) 0:00:41.551 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003187", "end": "2024-02-09 20:04:36.880611", "rc": 0, "start": "2024-02-09 20:04:36.877424" } 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_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:158 Friday 09 February 2024 20:04:36 +0000 (0:00:00.204) 0:00:41.755 ******* 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_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:166 Friday 09 February 2024 20:04:36 +0000 (0:00:00.027) 0:00:41.783 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:176 Friday 09 February 2024 20:04:36 +0000 (0:00:00.026) 0:00:41.810 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 20:04:37 +0000 (0:00:00.049) 0:00:41.859 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.011475", "end": "2024-02-09 20:04:37.195766", "rc": 0, "start": "2024-02-09 20:04:37.184291" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:178 Friday 09 February 2024 20:04:37 +0000 (0:00:00.219) 0:00:42.079 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:04:37 +0000 (0:00:00.051) 0:00:42.130 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:04:37 +0000 (0:00:00.039) 0:00:42.169 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:04:37 +0000 (0:00:00.229) 0:00:42.399 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:180 Friday 09 February 2024 20:04:37 +0000 (0:00:00.026) 0:00:42.426 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:184 Friday 09 February 2024 20:04:37 +0000 (0:00:00.025) 0:00:42.451 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 20:04:37 +0000 (0:00:00.051) 0:00:42.502 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.013838", "end": "2024-02-09 20:04:37.840360", "rc": 0, "start": "2024-02-09 20:04:37.826522" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:186 Friday 09 February 2024 20:04:37 +0000 (0:00:00.218) 0:00:42.721 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 20:04:37 +0000 (0:00:00.051) 0:00:42.772 ******* included: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:04:37 +0000 (0:00:00.036) 0:00:42.808 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 20:04:38 +0000 (0:00:00.199) 0:00:43.008 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=107 changed=4 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Friday 09 February 2024 20:04:38 +0000 (0:00:00.014) 0:00:43.022 ******* =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.24s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 Install iproute --------------------------------------------------------- 2.72s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.72s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.52s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.48s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Configure networking state ----------------- 1.75s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.48s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the ethtest0 state configuration ------------------------------------ 0.72s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:75 Get the ethtest1 state configuration ------------------------------------ 0.70s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:81 Get the DNS configuration from nmstatectl ------------------------------- 0.69s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:146 Get the route configuration --------------------------------------------- 0.69s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tests_network_state.yml:117 linux-system-roles.network : Configure networking state ----------------- 0.65s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 linux-system-roles.network : Configure networking state ----------------- 0.63s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/roles/linux-system-roles.network/tasks/main.yml:137 Create veth interface ethtest0 ------------------------------------------ 0.62s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewritesu48y8_s/tests/tests_network_state_nm.yml:6 -- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---