# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_network_state_nm.yml ******************************************* 2 plays in /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tests_network_state_nm.yml:6 Friday 09 February 2024 13:49:06 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_network_state_nm.yml:9 Friday 09 February 2024 13:49:06 +0000 (0:00:00.710) 0:00:00.723 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 13:49:06 +0000 (0:00:00.019) 0:00:00.743 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 13:49:07 +0000 (0:00:00.379) 0:00:01.123 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 13:49:07 +0000 (0:00:00.292) 0:00:01.415 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 13:49:07 +0000 (0:00:00.030) 0:00:01.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 13:49:07 +0000 (0:00:00.026) 0:00:01.471 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 13:49:07 +0000 (0:00:00.047) 0:00:01.519 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 13:49:07 +0000 (0:00:00.264) 0:00:01.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 13:49:07 +0000 (0:00:00.010) 0:00:01.794 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 13:49:07 +0000 (0:00:00.010) 0:00:01.805 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.269481", "end": "2024-02-09 13:49:08.357904", "rc": 0, "start": "2024-02-09 13:49:08.088423" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 13:49:08 +0000 (0:00:00.476) 0:00:02.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_network_state_nm.yml:11 Friday 09 February 2024 13:49:08 +0000 (0:00:00.010) 0:00:02.292 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for configuring network using network state variable] *************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:3 Friday 09 February 2024 13:49:08 +0000 (0:00:00.011) 0:00:02.304 ******* ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:12 Friday 09 February 2024 13:49:08 +0000 (0:00:00.514) 0:00:02.818 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:16 Friday 09 February 2024 13:49:08 +0000 (0:00:00.012) 0:00:02.830 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:49:08 +0000 (0:00:00.021) 0:00:02.852 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:49:08 +0000 (0:00:00.014) 0:00:02.866 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003700", "end": "2024-02-09 13:49:09.152231", "rc": 0, "start": "2024-02-09 13:49:09.148531" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:49:09 +0000 (0:00:00.209) 0:00:03.076 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:49:09 +0000 (0:00:00.013) 0:00:03.089 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:18 Friday 09 February 2024 13:49:09 +0000 (0:00:00.011) 0:00:03.101 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:49:09 +0000 (0:00:00.026) 0:00:03.127 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:49:09 +0000 (0:00:00.010) 0:00:03.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:49:09 +0000 (0:00:00.010) 0:00:03.148 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:49:09 +0000 (0:00:00.014) 0:00:03.162 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:49:09 +0000 (0:00:00.013) 0:00:03.175 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003653", "end": "2024-02-09 13:49:09.463484", "rc": 0, "start": "2024-02-09 13:49:09.459831" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:49:09 +0000 (0:00:00.210) 0:00:03.386 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:49:09 +0000 (0:00:00.012) 0:00:03.399 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:49:09 +0000 (0:00:00.011) 0:00:03.411 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:49:12 +0000 (0:00:03.008) 0:00:06.419 ******* 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.014122", "end": "2024-02-09 13:49:12.723807", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-09 13:49:12.709685" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004755", "end": "2024-02-09 13:49:12.965521", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-09 13:49:12.960766" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004728", "end": "2024-02-09 13:49:13.172583", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-09 13:49:13.167855" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:49:13 +0000 (0:00:00.676) 0:00:07.096 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.025386", "end": "2024-02-09 13:49:13.404440", "rc": 0, "start": "2024-02-09 13:49:13.379054" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:49:13 +0000 (0:00:00.232) 0:00:07.329 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:49:13 +0000 (0:00:00.012) 0:00:07.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:49:13 +0000 (0:00:00.012) 0:00:07.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:49:13 +0000 (0:00:00.011) 0:00:07.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:49:13 +0000 (0:00:00.011) 0:00:07.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:22 Friday 09 February 2024 13:49:13 +0000 (0:00:00.010) 0:00:07.388 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:49:13 +0000 (0:00:00.024) 0:00:07.412 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:49:13 +0000 (0:00:00.048) 0:00:07.461 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486552.7142944, "block_size": 4096, "blocks": 0, "ctime": 1707486552.7142944, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25444, "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": 1707486552.7142944, "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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:49:13 +0000 (0:00:00.209) 0:00:07.670 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:24 Friday 09 February 2024 13:49:13 +0000 (0:00:00.015) 0:00:07.686 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:28 Friday 09 February 2024 13:49:13 +0000 (0:00:00.013) 0:00:07.699 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:49:13 +0000 (0:00:00.026) 0:00:07.725 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:49:13 +0000 (0:00:00.014) 0:00:07.740 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003903", "end": "2024-02-09 13:49:14.025560", "rc": 0, "start": "2024-02-09 13:49:14.021657" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:49:14 +0000 (0:00:00.208) 0:00:07.948 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:49:14 +0000 (0:00:00.013) 0:00:07.961 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:30 Friday 09 February 2024 13:49:14 +0000 (0:00:00.012) 0:00:07.974 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:49:14 +0000 (0:00:00.026) 0:00:08.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:49:14 +0000 (0:00:00.011) 0:00:08.012 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:49:14 +0000 (0:00:00.012) 0:00:08.025 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:49:14 +0000 (0:00:00.013) 0:00:08.039 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:49:14 +0000 (0:00:00.013) 0:00:08.052 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003484", "end": "2024-02-09 13:49:14.336761", "rc": 0, "start": "2024-02-09 13:49:14.333277" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:49:14 +0000 (0:00:00.206) 0:00:08.259 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:49:14 +0000 (0:00:00.013) 0:00:08.272 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:49:14 +0000 (0:00:00.011) 0:00:08.284 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:49:17 +0000 (0:00:02.783) 0:00:11.067 ******* 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.006632", "end": "2024-02-09 13:49:17.364900", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-02-09 13:49:17.358268" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004395", "end": "2024-02-09 13:49:17.611205", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-02-09 13:49:17.606810" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004634", "end": "2024-02-09 13:49:17.818596", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-02-09 13:49:17.813962" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:49:17 +0000 (0:00:00.675) 0:00:11.743 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.025305", "end": "2024-02-09 13:49:18.053050", "rc": 0, "start": "2024-02-09 13:49:18.027745" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:49:18 +0000 (0:00:00.234) 0:00:11.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:49:18 +0000 (0:00:00.013) 0:00:11.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:49:18 +0000 (0:00:00.011) 0:00:12.002 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:49:18 +0000 (0:00:00.011) 0:00:12.014 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:49:18 +0000 (0:00:00.011) 0:00:12.025 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:34 Friday 09 February 2024 13:49:18 +0000 (0:00:00.011) 0:00:12.037 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:49:18 +0000 (0:00:00.025) 0:00:12.063 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:49:18 +0000 (0:00:00.015) 0:00:12.078 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486557.3625498, "block_size": 4096, "blocks": 0, "ctime": 1707486557.3625498, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26030, "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": 1707486557.3625498, "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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:49:18 +0000 (0:00:00.207) 0:00:12.285 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:49:18 +0000 (0:00:00.012) 0:00:12.298 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:49:18 +0000 (0:00:00.073) 0:00:12.372 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:49:18 +0000 (0:00:00.021) 0:00:12.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:49:18 +0000 (0:00:00.019) 0:00:12.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:49:18 +0000 (0:00:00.019) 0:00:12.433 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:49:20 +0000 (0:00:01.677) 0:00:14.111 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:49:21 +0000 (0:00:01.604) 0:00:15.715 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:49:21 +0000 (0:00:00.030) 0:00:15.745 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:49:21 +0000 (0:00:00.032) 0:00:15.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:49:21 +0000 (0:00:00.036) 0:00:15.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:49:21 +0000 (0:00:00.052) 0:00:15.867 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: python3-libnmstate-1.4.5-2.el8.noarch", "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: nmstate-1.4.5-2.el8.x86_64", "Installed: NetworkManager-config-server-1:1.40.16-14.el8.noarch", "Installed: python3-varlink-29.0.0-1.el8.noarch" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:49:27 +0000 (0:00:05.727) 0:00:21.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:49:27 +0000 (0:00:00.033) 0:00:21.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:49:27 +0000 (0:00:00.032) 0:00:21.660 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:49:28 +0000 (0:00:00.568) 0:00:22.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:49:28 +0000 (0:00:00.033) 0:00:22.262 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:49:28 +0000 (0:00:00.038) 0:00:22.301 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:49:28 +0000 (0:00:00.103) 0:00:22.404 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:49:29 +0000 (0:00:00.513) 0:00:22.918 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:b7:92:16:de:27", "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::cb7:92ff:fe16:de27", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:B7:92:16:DE:27", "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::ce1:99ff:feba:618d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E1:99:BA:61:8D", "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::903d:acd5:26bb:76dc", "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": "12:25:A3:0F:C5:DD", "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::90bb:76ff:fe24:1719", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:BB:76:24:17:19", "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::5088:91ff:fe5f:37", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:88:91:5F:00:37", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:49:29 +0000 (0:00:00.856) 0:00:23.775 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:49:29 +0000 (0:00:00.030) 0:00:23.805 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:49:29 +0000 (0:00:00.031) 0:00:23.837 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:b7:92:16:de:27", "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::cb7:92ff:fe16:de27", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:B7:92:16:DE:27", "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::ce1:99ff:feba:618d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E1:99:BA:61:8D", "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::903d:acd5:26bb:76dc", "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": "12:25:A3:0F:C5:DD", "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::90bb:76ff:fe24:1719", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:BB:76:24:17:19", "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::5088:91ff:fe5f:37", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:88:91:5F:00:37", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:49:29 +0000 (0:00:00.034) 0:00:23.871 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:75 Friday 09 February 2024 13:49:30 +0000 (0:00:00.297) 0:00:24.168 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.509574", "end": "2024-02-09 13:49:30.957898", "rc": 0, "start": "2024-02-09 13:49:30.448324" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::ce1:99ff:feba:618d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:E1:99:BA:61:8D mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-02-09 13:49:30,889 root DEBUG NetworkManager version 1.40.16 2024-02-09 13:49:30,891 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-09 13:49:30,891 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-09 13:49:30,892 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-09 13:49:30,893 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-09 13:49:30,894 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-09 13:49:30,894 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-09 13:49:30,896 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-09 13:49:30,897 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-09 13:49:30,897 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:81 Friday 09 February 2024 13:49:30 +0000 (0:00:00.727) 0:00:24.896 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.514446", "end": "2024-02-09 13:49:31.699525", "rc": 0, "start": "2024-02-09 13:49:31.185079" } 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::903d:acd5:26bb:76dc 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: 12:25:A3:0F:C5:DD mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-02-09 13:49:31,629 root DEBUG NetworkManager version 1.40.16 2024-02-09 13:49:31,631 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-09 13:49:31,631 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-09 13:49:31,631 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-09 13:49:31,632 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-09 13:49:31,634 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-09 13:49:31,634 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-09 13:49:31,636 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-09 13:49:31,637 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-09 13:49:31,637 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_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:87 Friday 09 February 2024 13:49:31 +0000 (0:00:00.741) 0:00:25.637 ******* 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_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:96 Friday 09 February 2024 13:49:31 +0000 (0:00:00.029) 0:00:25.667 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:49:31 +0000 (0:00:00.029) 0:00:25.697 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:49:31 +0000 (0:00:00.047) 0:00:25.744 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:49:31 +0000 (0:00:00.038) 0:00:25.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:49:31 +0000 (0:00:00.032) 0:00:25.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:49:31 +0000 (0:00:00.031) 0:00:25.846 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:49:33 +0000 (0:00:01.612) 0:00:27.459 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:49:35 +0000 (0:00:01.445) 0:00:28.905 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:49:35 +0000 (0:00:00.031) 0:00:28.936 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:49:35 +0000 (0:00:00.031) 0:00:28.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:49:35 +0000 (0:00:00.033) 0:00:29.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:49:35 +0000 (0:00:00.052) 0:00:29.053 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:49:37 +0000 (0:00:02.771) 0:00:31.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:49:37 +0000 (0:00:00.032) 0:00:31.857 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:49:37 +0000 (0:00:00.032) 0:00:31.889 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:49:38 +0000 (0:00:00.389) 0:00:32.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:49:38 +0000 (0:00:00.032) 0:00:32.311 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:49:38 +0000 (0:00:00.028) 0:00:32.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:49:38 +0000 (0:00:00.028) 0:00:32.367 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:49:38 +0000 (0:00:00.410) 0:00:32.778 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:b7:92:16:de:27", "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::cb7:92ff:fe16:de27", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:B7:92:16:DE:27", "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::ce1:99ff:feba:618d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E1:99:BA:61:8D", "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::903d:acd5:26bb:76dc", "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": "12:25:A3:0F:C5:DD", "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::90bb:76ff:fe24:1719", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:BB:76:24:17:19", "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::5088:91ff:fe5f:37", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:88:91:5F:00:37", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:49:39 +0000 (0:00:00.687) 0:00:33.465 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:49:39 +0000 (0:00:00.040) 0:00:33.506 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:49:39 +0000 (0:00:00.035) 0:00:33.541 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:b7:92:16:de:27", "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::cb7:92ff:fe16:de27", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:B7:92:16:DE:27", "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::ce1:99ff:feba:618d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E1:99:BA:61:8D", "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::903d:acd5:26bb:76dc", "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": "12:25:A3:0F:C5:DD", "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::90bb:76ff:fe24:1719", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:BB:76:24:17:19", "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::5088:91ff:fe5f:37", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:88:91:5F:00:37", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:49:39 +0000 (0:00:00.035) 0:00:33.576 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:117 Friday 09 February 2024 13:49:39 +0000 (0:00:00.224) 0:00:33.801 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.516317", "end": "2024-02-09 13:49:40.601047", "rc": 0, "start": "2024-02-09 13:49:40.084730" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.41.91 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::cb7:92ff:fe16:de27 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:B7:92:16:DE:27 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::ce1:99ff:feba:618d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:E1:99:BA:61:8D 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::903d:acd5:26bb:76dc 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: 12:25:A3:0F:C5:DD 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::90bb:76ff:fe24:1719 prefix-length: 64 mac-address: 92:BB:76:24:17:19 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::5088:91ff:fe5f:37 prefix-length: 64 mac-address: 52:88:91:5F:00:37 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-09 13:49:40,520 root DEBUG NetworkManager version 1.40.16 2024-02-09 13:49:40,522 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-09 13:49:40,522 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-09 13:49:40,522 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-09 13:49:40,524 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-09 13:49:40,525 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-09 13:49:40,525 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-09 13:49:40,527 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-09 13:49:40,528 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-09 13:49:40,528 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_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:123 Friday 09 February 2024 13:49:40 +0000 (0:00:00.746) 0:00:34.547 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:49:40 +0000 (0:00:00.036) 0:00:34.583 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:49:40 +0000 (0:00:00.085) 0:00:34.669 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:49:40 +0000 (0:00:00.050) 0:00:34.719 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:49:40 +0000 (0:00:00.053) 0:00:34.773 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:49:40 +0000 (0:00:00.043) 0:00:34.816 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:49:42 +0000 (0:00:01.650) 0:00:36.467 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:49:44 +0000 (0:00:01.537) 0:00:38.005 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:49:44 +0000 (0:00:00.059) 0:00:38.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:49:44 +0000 (0:00:00.034) 0:00:38.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:49:44 +0000 (0:00:00.059) 0:00:38.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:49:44 +0000 (0:00:00.062) 0:00:38.221 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:49:47 +0000 (0:00:02.781) 0:00:41.003 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:49:47 +0000 (0:00:00.030) 0:00:41.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:49:47 +0000 (0:00:00.032) 0:00:41.066 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:49:47 +0000 (0:00:00.390) 0:00:41.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:49:47 +0000 (0:00:00.031) 0:00:41.489 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:49:47 +0000 (0:00:00.029) 0:00:41.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:49:47 +0000 (0:00:00.030) 0:00:41.549 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:49:48 +0000 (0:00:00.380) 0:00:41.929 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:b7:92:16:de:27", "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::cb7:92ff:fe16:de27", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:B7:92:16:DE:27", "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::ce1:99ff:feba:618d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E1:99:BA:61:8D", "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::903d:acd5:26bb:76dc", "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": "12:25:A3:0F:C5:DD", "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::90bb:76ff:fe24:1719", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:BB:76:24:17:19", "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::5088:91ff:fe5f:37", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:88:91:5F:00:37", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:49:48 +0000 (0:00:00.700) 0:00:42.630 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:49:48 +0000 (0:00:00.031) 0:00:42.662 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:49:48 +0000 (0:00:00.032) 0:00:42.695 ******* 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:b7:92:16:de:27", "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::cb7:92ff:fe16:de27", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:B7:92:16:DE:27", "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::ce1:99ff:feba:618d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E1:99:BA:61:8D", "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::903d:acd5:26bb:76dc", "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": "12:25:A3:0F:C5:DD", "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::90bb:76ff:fe24:1719", "prefix-length": 64 } ], "enabled": true }, "mac-address": "92:BB:76:24:17:19", "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::5088:91ff:fe5f:37", "prefix-length": 64 } ], "enabled": true }, "mac-address": "52:88:91:5F:00:37", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:49:48 +0000 (0:00:00.034) 0:00:42.729 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:146 Friday 09 February 2024 13:49:49 +0000 (0:00:00.222) 0:00:42.952 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.523348", "end": "2024-02-09 13:49:49.759235", "rc": 0, "start": "2024-02-09 13:49:49.235887" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.41.91 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::cb7:92ff:fe16:de27 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:B7:92:16:DE:27 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::ce1:99ff:feba:618d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:E1:99:BA:61:8D 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::903d:acd5:26bb:76dc 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: 12:25:A3:0F:C5:DD 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::90bb:76ff:fe24:1719 prefix-length: 64 mac-address: 92:BB:76:24:17:19 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::5088:91ff:fe5f:37 prefix-length: 64 mac-address: 52:88:91:5F:00:37 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-09 13:49:49,676 root DEBUG NetworkManager version 1.40.16 2024-02-09 13:49:49,677 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-09 13:49:49,678 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-09 13:49:49,678 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-09 13:49:49,679 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-09 13:49:49,680 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-09 13:49:49,681 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-09 13:49:49,683 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-09 13:49:49,683 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-09 13:49:49,684 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_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:152 Friday 09 February 2024 13:49:49 +0000 (0:00:00.753) 0:00:43.706 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003541", "end": "2024-02-09 13:49:49.998171", "rc": 0, "start": "2024-02-09 13:49:49.994630" } 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_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:158 Friday 09 February 2024 13:49:50 +0000 (0:00:00.227) 0:00:43.933 ******* 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_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:166 Friday 09 February 2024 13:49:50 +0000 (0:00:00.030) 0:00:43.963 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:176 Friday 09 February 2024 13:49:50 +0000 (0:00:00.029) 0:00:43.993 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 13:49:50 +0000 (0:00:00.054) 0:00:44.048 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.015915", "end": "2024-02-09 13:49:50.349172", "rc": 0, "start": "2024-02-09 13:49:50.333257" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:178 Friday 09 February 2024 13:49:50 +0000 (0:00:00.243) 0:00:44.291 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 13:49:50 +0000 (0:00:00.051) 0:00:44.343 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:49:50 +0000 (0:00:00.038) 0:00:44.381 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 13:49:50 +0000 (0:00:00.254) 0:00:44.636 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:180 Friday 09 February 2024 13:49:50 +0000 (0:00:00.029) 0:00:44.666 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:184 Friday 09 February 2024 13:49:50 +0000 (0:00:00.027) 0:00:44.693 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 13:49:50 +0000 (0:00:00.050) 0:00:44.744 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.016196", "end": "2024-02-09 13:49:51.045341", "rc": 0, "start": "2024-02-09 13:49:51.029145" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:186 Friday 09 February 2024 13:49:51 +0000 (0:00:00.240) 0:00:44.984 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 13:49:51 +0000 (0:00:00.055) 0:00:45.040 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:49:51 +0000 (0:00:00.042) 0:00:45.082 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 13:49:51 +0000 (0:00:00.225) 0:00:45.308 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=107 changed=4 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Friday 09 February 2024 13:49:51 +0000 (0:00:00.013) 0:00:45.321 ******* =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.73s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Install iproute --------------------------------------------------------- 3.01s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.78s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.78s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.77s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.60s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.54s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking state ----------------- 0.86s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Get the DNS configuration from nmstatectl ------------------------------- 0.75s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:146 Get the route configuration --------------------------------------------- 0.75s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:117 Get the ethtest1 state configuration ------------------------------------ 0.74s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:81 Get the ethtest0 state configuration ------------------------------------ 0.73s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_network_state.yml:75 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_network_state_nm.yml:6 -- linux-system-roles.network : Configure networking state ----------------- 0.70s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 linux-system-roles.network : Configure networking state ----------------- 0.69s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Create veth interface ethtest0 ------------------------------------------ 0.68s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---