# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_network_state_nm.yml ******************************************* 2 plays in /WORKDIR/git-bond_options_rewritep6fl2l2k/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_rewritep6fl2l2k/tests/tests_network_state_nm.yml:6 Tuesday 13 February 2024 01:46:09 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_network_state_nm.yml:9 Tuesday 13 February 2024 01:46:10 +0000 (0:00:00.916) 0:00:00.927 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/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_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 01:46:10 +0000 (0:00:00.010) 0:00:00.938 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 01:46:11 +0000 (0:00:00.390) 0:00:01.329 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 01:46:11 +0000 (0:00:00.270) 0:00:01.600 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 01:46:11 +0000 (0:00:00.015) 0:00:01.615 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 01:46:11 +0000 (0:00:00.008) 0:00:01.624 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 01:46:11 +0000 (0:00:00.020) 0:00:01.645 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 01:46:11 +0000 (0:00:00.269) 0:00:01.915 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 01:46:11 +0000 (0:00:00.008) 0:00:01.923 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 01:46:11 +0000 (0:00:00.008) 0:00:01.932 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.275082", "end": "2024-02-13 01:46:12.136120", "rc": 0, "start": "2024-02-13 01:46:11.861038" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 01:46:12 +0000 (0:00:00.487) 0:00:02.419 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_network_state_nm.yml:11 Tuesday 13 February 2024 01:46:12 +0000 (0:00:00.008) 0:00:02.428 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for configuring network using network state variable] *************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:3 Tuesday 13 February 2024 01:46:12 +0000 (0:00:00.017) 0:00:02.446 ****** ok: [sut] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:12 Tuesday 13 February 2024 01:46:12 +0000 (0:00:00.715) 0:00:03.161 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:16 Tuesday 13 February 2024 01:46:12 +0000 (0:00:00.019) 0:00:03.180 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 01:46:12 +0000 (0:00:00.028) 0:00:03.208 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 01:46:12 +0000 (0:00:00.018) 0:00:03.227 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003988", "end": "2024-02-13 01:46:13.168825", "rc": 0, "start": "2024-02-13 01:46:13.164837" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.223) 0:00:03.451 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.021) 0:00:03.472 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:18 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.019) 0:00:03.492 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.032) 0:00:03.524 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.018) 0:00:03.542 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.017) 0:00:03.560 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.019) 0:00:03.579 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.018) 0:00:03.598 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004041", "end": "2024-02-13 01:46:13.541012", "rc": 0, "start": "2024-02-13 01:46:13.536971" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.226) 0:00:03.824 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.018) 0:00:03.843 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 01:46:13 +0000 (0:00:00.017) 0:00:03.861 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 01:46:16 +0000 (0:00:03.279) 0:00:07.140 ****** 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.017278", "end": "2024-02-13 01:46:17.101986", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-13 01:46:17.084708" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004659", "end": "2024-02-13 01:46:17.369352", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-13 01:46:17.364693" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.005135", "end": "2024-02-13 01:46:17.587097", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-13 01:46:17.581962" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 01:46:17 +0000 (0:00:00.731) 0:00:07.871 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.064366", "end": "2024-02-13 01:46:17.875725", "rc": 0, "start": "2024-02-13 01:46:17.811359" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 01:46:17 +0000 (0:00:00.292) 0:00:08.163 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 01:46:17 +0000 (0:00:00.017) 0:00:08.181 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 01:46:17 +0000 (0:00:00.017) 0:00:08.198 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 01:46:17 +0000 (0:00:00.016) 0:00:08.215 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 01:46:17 +0000 (0:00:00.016) 0:00:08.232 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:22 Tuesday 13 February 2024 01:46:17 +0000 (0:00:00.018) 0:00:08.250 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.030) 0:00:08.281 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.019) 0:00:08.300 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707788777.0997806, "block_size": 4096, "blocks": 0, "ctime": 1707788777.0997806, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21682, "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": 1707788777.0997806, "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_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.225) 0:00:08.525 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:24 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.020) 0:00:08.545 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:28 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.019) 0:00:08.565 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.030) 0:00:08.595 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.018) 0:00:08.614 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004300", "end": "2024-02-13 01:46:18.556926", "rc": 0, "start": "2024-02-13 01:46:18.552626" } STDOUT: eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.225) 0:00:08.840 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.019) 0:00:08.859 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:30 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.018) 0:00:08.877 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.031) 0:00:08.909 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.018) 0:00:08.927 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.015) 0:00:08.943 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.019) 0:00:08.963 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.018) 0:00:08.982 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003939", "end": "2024-02-13 01:46:18.921925", "rc": 0, "start": "2024-02-13 01:46:18.917986" } STDOUT: eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.222) 0:00:09.205 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.019) 0:00:09.224 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 01:46:18 +0000 (0:00:00.018) 0:00:09.242 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 01:46:21 +0000 (0:00:02.805) 0:00:12.047 ****** 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.011957", "end": "2024-02-13 01:46:22.003472", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-02-13 01:46:21.991515" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004716", "end": "2024-02-13 01:46:22.252733", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-02-13 01:46:22.248017" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004880", "end": "2024-02-13 01:46:22.465004", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-02-13 01:46:22.460124" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 01:46:22 +0000 (0:00:00.700) 0:00:12.748 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.026675", "end": "2024-02-13 01:46:22.714390", "rc": 0, "start": "2024-02-13 01:46:22.687715" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 01:46:22 +0000 (0:00:00.251) 0:00:13.000 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 01:46:22 +0000 (0:00:00.020) 0:00:13.020 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 01:46:22 +0000 (0:00:00.017) 0:00:13.038 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 01:46:22 +0000 (0:00:00.017) 0:00:13.056 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 01:46:22 +0000 (0:00:00.017) 0:00:13.073 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:34 Tuesday 13 February 2024 01:46:22 +0000 (0:00:00.017) 0:00:13.091 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 01:46:22 +0000 (0:00:00.031) 0:00:13.123 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 01:46:22 +0000 (0:00:00.019) 0:00:13.142 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707788781.9958904, "block_size": 4096, "blocks": 0, "ctime": 1707788781.9958904, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22268, "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": 1707788781.9958904, "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_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 01:46:23 +0000 (0:00:00.220) 0:00:13.362 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 01:46:23 +0000 (0:00:00.020) 0:00:13.383 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 01:46:23 +0000 (0:00:00.027) 0:00:13.411 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 01:46:23 +0000 (0:00:00.022) 0:00:13.433 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 01:46:23 +0000 (0:00:00.022) 0:00:13.456 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 01:46:23 +0000 (0:00:00.023) 0:00:13.480 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 01:46:24 +0000 (0:00:01.721) 0:00:15.201 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 01:46:26 +0000 (0:00:01.655) 0:00:16.857 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 01:46:26 +0000 (0:00:00.031) 0:00:16.888 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 01:46:26 +0000 (0:00:00.030) 0:00:16.918 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 01:46:26 +0000 (0:00:00.032) 0:00:16.951 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 01:46:26 +0000 (0:00:00.049) 0:00:17.000 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: python3-libnmstate-1.4.5-2.el8.noarch", "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: nmstate-1.4.5-2.el8.x86_64", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: NetworkManager-config-server-1:1.40.16-14.el8.noarch" ] } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 01:46:32 +0000 (0:00:05.484) 0:00:22.485 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' and ansible_distribution_major_version | int > 34 or ansible_distribution != 'Fedora' and ansible_distribution_major_version | int > 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 01:46:32 +0000 (0:00:00.033) 0:00:22.518 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 01:46:32 +0000 (0:00:00.033) 0:00:22.552 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 01:46:32 +0000 (0:00:00.581) 0:00:23.133 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 01:46:32 +0000 (0:00:00.034) 0:00:23.167 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 01:46:32 +0000 (0:00:00.027) 0:00:23.195 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 01:46:32 +0000 (0:00:00.028) 0:00:23.223 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 01:46:33 +0000 (0:00:00.563) 0:00:23.786 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e7:f9:17:fb:21", "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::ce7:f9ff:fe17:fb21", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E7:F9:17:FB:21", "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::49a:81ff:feb8:8f47", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "06:9A:81:B8:8F:47", "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::df46:f690:1cad:d9ac", "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": "82:7E:3A:CA:0A:EC", "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::a0a9:22ff:fe7a:1233", "prefix-length": 64 } ], "enabled": true }, "mac-address": "A2:A9:22:7A:12:33", "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::4836:d8ff:fea7:711f", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:36:D8:A7:71:1F", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 01:46:35 +0000 (0:00:01.860) 0:00:25.646 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 01:46:35 +0000 (0:00:00.032) 0:00:25.678 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 01:46:35 +0000 (0:00:00.030) 0:00:25.709 ****** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e7:f9:17:fb:21", "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::ce7:f9ff:fe17:fb21", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E7:F9:17:FB:21", "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::49a:81ff:feb8:8f47", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "06:9A:81:B8:8F:47", "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::df46:f690:1cad:d9ac", "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": "82:7E:3A:CA:0A:EC", "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::a0a9:22ff:fe7a:1233", "prefix-length": 64 } ], "enabled": true }, "mac-address": "A2:A9:22:7A:12:33", "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::4836:d8ff:fea7:711f", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:36:D8:A7:71:1F", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 01:46:35 +0000 (0:00:00.038) 0:00:25.748 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:75 Tuesday 13 February 2024 01:46:35 +0000 (0:00:00.322) 0:00:26.070 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.511371", "end": "2024-02-13 01:46:36.518628", "rc": 0, "start": "2024-02-13 01:46:36.007257" } 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::49a:81ff:feb8:8f47 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 06:9A:81:B8:8F:47 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-02-13 01:46:36,449 root DEBUG NetworkManager version 1.40.16 2024-02-13 01:46:36,451 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-13 01:46:36,451 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-13 01:46:36,451 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-13 01:46:36,453 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-13 01:46:36,454 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-13 01:46:36,454 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-13 01:46:36,456 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-13 01:46:36,457 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-13 01:46:36,457 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:81 Tuesday 13 February 2024 01:46:36 +0000 (0:00:00.744) 0:00:26.814 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.510585", "end": "2024-02-13 01:46:37.260011", "rc": 0, "start": "2024-02-13 01:46:36.749426" } 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::df46:f690:1cad:d9ac 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: 82:7E:3A:CA:0A:EC mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-02-13 01:46:37,190 root DEBUG NetworkManager version 1.40.16 2024-02-13 01:46:37,191 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-13 01:46:37,192 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-13 01:46:37,192 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-13 01:46:37,194 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-13 01:46:37,194 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-13 01:46:37,195 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-13 01:46:37,197 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-13 01:46:37,197 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-13 01:46:37,197 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_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:87 Tuesday 13 February 2024 01:46:37 +0000 (0:00:00.738) 0:00:27.553 ****** 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_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:94 Tuesday 13 February 2024 01:46:37 +0000 (0:00:00.032) 0:00:27.586 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 01:46:37 +0000 (0:00:00.030) 0:00:27.616 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 01:46:37 +0000 (0:00:00.096) 0:00:27.713 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 01:46:37 +0000 (0:00:00.037) 0:00:27.750 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 01:46:37 +0000 (0:00:00.036) 0:00:27.787 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 01:46:37 +0000 (0:00:00.036) 0:00:27.824 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 01:46:39 +0000 (0:00:01.646) 0:00:29.470 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 01:46:40 +0000 (0:00:01.504) 0:00:30.975 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 01:46:40 +0000 (0:00:00.031) 0:00:31.006 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 01:46:40 +0000 (0:00:00.038) 0:00:31.044 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 01:46:40 +0000 (0:00:00.033) 0:00:31.077 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 01:46:40 +0000 (0:00:00.053) 0:00:31.131 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 01:46:43 +0000 (0:00:02.808) 0:00:33.939 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' and ansible_distribution_major_version | int > 34 or ansible_distribution != 'Fedora' and ansible_distribution_major_version | int > 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 01:46:43 +0000 (0:00:00.032) 0:00:33.971 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 01:46:43 +0000 (0:00:00.034) 0:00:34.005 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 01:46:44 +0000 (0:00:00.430) 0:00:34.436 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 01:46:44 +0000 (0:00:00.092) 0:00:34.529 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 01:46:44 +0000 (0:00:00.031) 0:00:34.560 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 01:46:44 +0000 (0:00:00.029) 0:00:34.589 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 01:46:44 +0000 (0:00:00.382) 0:00:34.972 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e7:f9:17:fb:21", "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::ce7:f9ff:fe17:fb21", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E7:F9:17:FB:21", "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::49a:81ff:feb8:8f47", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "06:9A:81:B8:8F:47", "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::df46:f690:1cad:d9ac", "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": "82:7E:3A:CA:0A:EC", "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::a0a9:22ff:fe7a:1233", "prefix-length": 64 } ], "enabled": true }, "mac-address": "A2:A9:22:7A:12:33", "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::4836:d8ff:fea7:711f", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:36:D8:A7:71:1F", "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 [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 01:46:45 +0000 (0:00:00.692) 0:00:35.665 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 01:46:45 +0000 (0:00:00.032) 0:00:35.697 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 01:46:45 +0000 (0:00:00.032) 0:00:35.729 ****** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e7:f9:17:fb:21", "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::ce7:f9ff:fe17:fb21", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E7:F9:17:FB:21", "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::49a:81ff:feb8:8f47", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "06:9A:81:B8:8F:47", "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::df46:f690:1cad:d9ac", "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": "82:7E:3A:CA:0A:EC", "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::a0a9:22ff:fe7a:1233", "prefix-length": 64 } ], "enabled": true }, "mac-address": "A2:A9:22:7A:12:33", "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::4836:d8ff:fea7:711f", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:36:D8:A7:71:1F", "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 [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 01:46:45 +0000 (0:00:00.038) 0:00:35.768 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:113 Tuesday 13 February 2024 01:46:45 +0000 (0:00:00.239) 0:00:36.008 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.528252", "end": "2024-02-13 01:46:46.472944", "rc": 0, "start": "2024-02-13 01:46:45.944692" } 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.93 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::ce7:f9ff:fe17:fb21 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:E7:F9:17:FB:21 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::49a:81ff:feb8:8f47 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 06:9A:81:B8:8F:47 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::df46:f690:1cad:d9ac 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: 82:7E:3A:CA:0A:EC 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::a0a9:22ff:fe7a:1233 prefix-length: 64 mac-address: A2:A9:22:7A:12:33 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::4836:d8ff:fea7:711f prefix-length: 64 mac-address: 4A:36:D8:A7:71:1F mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-13 01:46:46,389 root DEBUG NetworkManager version 1.40.16 2024-02-13 01:46:46,391 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-13 01:46:46,391 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-13 01:46:46,391 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-13 01:46:46,393 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-13 01:46:46,394 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-13 01:46:46,394 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-13 01:46:46,396 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-13 01:46:46,397 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-13 01:46:46,397 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_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:119 Tuesday 13 February 2024 01:46:46 +0000 (0:00:00.759) 0:00:36.767 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 01:46:46 +0000 (0:00:00.033) 0:00:36.801 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 01:46:46 +0000 (0:00:00.045) 0:00:36.846 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 01:46:46 +0000 (0:00:00.037) 0:00:36.884 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 01:46:46 +0000 (0:00:00.033) 0:00:36.918 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 01:46:46 +0000 (0:00:00.033) 0:00:36.951 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 01:46:48 +0000 (0:00:01.689) 0:00:38.640 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 01:46:49 +0000 (0:00:01.488) 0:00:40.128 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 01:46:49 +0000 (0:00:00.032) 0:00:40.161 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 01:46:49 +0000 (0:00:00.031) 0:00:40.193 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 01:46:49 +0000 (0:00:00.031) 0:00:40.225 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 01:46:50 +0000 (0:00:00.052) 0:00:40.277 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 01:46:52 +0000 (0:00:02.792) 0:00:43.069 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' and ansible_distribution_major_version | int > 34 or ansible_distribution != 'Fedora' and ansible_distribution_major_version | int > 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 01:46:52 +0000 (0:00:00.032) 0:00:43.102 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 01:46:52 +0000 (0:00:00.032) 0:00:43.134 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 01:46:53 +0000 (0:00:00.424) 0:00:43.559 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 01:46:53 +0000 (0:00:00.034) 0:00:43.593 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 01:46:53 +0000 (0:00:00.029) 0:00:43.623 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 01:46:53 +0000 (0:00:00.028) 0:00:43.652 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 01:46:53 +0000 (0:00:00.405) 0:00:44.057 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:e7:f9:17:fb:21", "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::ce7:f9ff:fe17:fb21", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E7:F9:17:FB:21", "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::49a:81ff:feb8:8f47", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "06:9A:81:B8:8F:47", "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::df46:f690:1cad:d9ac", "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": "82:7E:3A:CA:0A:EC", "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::a0a9:22ff:fe7a:1233", "prefix-length": 64 } ], "enabled": true }, "mac-address": "A2:A9:22:7A:12:33", "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::4836:d8ff:fea7:711f", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:36:D8:A7:71:1F", "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 [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 01:46:54 +0000 (0:00:00.700) 0:00:44.757 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 01:46:54 +0000 (0:00:00.060) 0:00:44.818 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 01:46:54 +0000 (0:00:00.033) 0:00:44.851 ****** 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:e7:f9:17:fb:21", "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::ce7:f9ff:fe17:fb21", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E7:F9:17:FB:21", "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::49a:81ff:feb8:8f47", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "06:9A:81:B8:8F:47", "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::df46:f690:1cad:d9ac", "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": "82:7E:3A:CA:0A:EC", "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::a0a9:22ff:fe7a:1233", "prefix-length": 64 } ], "enabled": true }, "mac-address": "A2:A9:22:7A:12:33", "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::4836:d8ff:fea7:711f", "prefix-length": 64 } ], "enabled": true }, "mac-address": "4A:36:D8:A7:71:1F", "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 [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 01:46:54 +0000 (0:00:00.038) 0:00:44.890 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:142 Tuesday 13 February 2024 01:46:54 +0000 (0:00:00.240) 0:00:45.130 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.533189", "end": "2024-02-13 01:46:55.602367", "rc": 0, "start": "2024-02-13 01:46:55.069178" } 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.93 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::ce7:f9ff:fe17:fb21 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:E7:F9:17:FB:21 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::49a:81ff:feb8:8f47 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 06:9A:81:B8:8F:47 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::df46:f690:1cad:d9ac 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: 82:7E:3A:CA:0A:EC 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::a0a9:22ff:fe7a:1233 prefix-length: 64 mac-address: A2:A9:22:7A:12:33 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::4836:d8ff:fea7:711f prefix-length: 64 mac-address: 4A:36:D8:A7:71:1F mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-13 01:46:55,517 root DEBUG NetworkManager version 1.40.16 2024-02-13 01:46:55,518 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-13 01:46:55,519 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-13 01:46:55,519 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-13 01:46:55,521 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-13 01:46:55,521 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-13 01:46:55,522 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-13 01:46:55,524 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-13 01:46:55,524 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-13 01:46:55,525 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_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:148 Tuesday 13 February 2024 01:46:55 +0000 (0:00:00.766) 0:00:45.897 ****** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003786", "end": "2024-02-13 01:46:55.838794", "rc": 0, "start": "2024-02-13 01:46:55.835008" } 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_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:153 Tuesday 13 February 2024 01:46:55 +0000 (0:00:00.234) 0:00:46.131 ****** 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_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:161 Tuesday 13 February 2024 01:46:55 +0000 (0:00:00.032) 0:00:46.163 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:169 Tuesday 13 February 2024 01:46:55 +0000 (0:00:00.034) 0:00:46.197 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 01:46:55 +0000 (0:00:00.051) 0:00:46.249 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.014320", "end": "2024-02-13 01:46:56.204657", "rc": 0, "start": "2024-02-13 01:46:56.190337" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:171 Tuesday 13 February 2024 01:46:56 +0000 (0:00:00.256) 0:00:46.505 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 01:46:56 +0000 (0:00:00.052) 0:00:46.558 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 01:46:56 +0000 (0:00:00.038) 0:00:46.596 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 01:46:56 +0000 (0:00:00.257) 0:00:46.854 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:173 Tuesday 13 February 2024 01:46:56 +0000 (0:00:00.031) 0:00:46.885 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:177 Tuesday 13 February 2024 01:46:56 +0000 (0:00:00.028) 0:00:46.914 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 01:46:56 +0000 (0:00:00.050) 0:00:46.964 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011724", "end": "2024-02-13 01:46:56.914868", "rc": 0, "start": "2024-02-13 01:46:56.903144" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:179 Tuesday 13 February 2024 01:46:56 +0000 (0:00:00.250) 0:00:47.214 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 01:46:57 +0000 (0:00:00.051) 0:00:47.266 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 01:46:57 +0000 (0:00:00.039) 0:00:47.305 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 01:46:57 +0000 (0:00:00.229) 0:00:47.535 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:181 Tuesday 13 February 2024 01:46:57 +0000 (0:00:00.030) 0:00:47.566 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 01:46:57 +0000 (0:00:00.051) 0:00:47.617 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\ntype -p resolvectl && resolvectl\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.018018", "end": "2024-02-13 01:46:57.577775", "rc": 1, "start": "2024-02-13 01:46:57.559757" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:e7:f9:17:fb:21 brd ff:ff:ff:ff:ff:ff inet 10.31.41.93/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2784sec preferred_lft 2784sec inet6 fe80::ce7:f9ff:fe17:fb21/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.93 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.93 metric 100 RESOLV # Generated by NetworkManager search example.com example.org testing-farm nameserver 2001:4860:4860::8888 /usr/bin/resolvectl STDERR: Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found. MSG: non-zero return code to retry, use: --limit @/tmp/tests_network_state_nm.retry PLAY RECAP ********************************************************************* sut : ok=108 changed=4 unreachable=0 failed=1 skipped=51 rescued=0 ignored=0 Tuesday 13 February 2024 01:46:57 +0000 (0:00:00.241) 0:00:47.858 ****** =============================================================================== fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.48s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Install iproute --------------------------------------------------------- 3.28s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.81s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Install iproute --------------------------------------------------------- 2.81s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.79s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 fedora.linux_system_roles.network : Configure networking state ---------- 1.86s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_network_state_nm.yml:6 -- Get the DNS configuration from nmstatectl ------------------------------- 0.77s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:142 Get the route configuration --------------------------------------------- 0.76s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:113 Get the ethtest0 state configuration ------------------------------------ 0.74s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:75 Get the ethtest1 state configuration ------------------------------------ 0.74s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:81 Create veth interface ethtest0 ------------------------------------------ 0.73s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_network_state.yml:3 Create veth interface ethtest1 ------------------------------------------ 0.70s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---