# 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-nm_plugin_hotfixy6bs649d/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-nm_plugin_hotfixy6bs649d/tests/tests_network_state_nm.yml:6 Monday 19 February 2024 23:56:38 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tests_network_state_nm.yml:9 Monday 19 February 2024 23:56:39 +0000 (0:00:00.694) 0:00:00.705 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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-nm_plugin_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 23:56:39 +0000 (0:00:00.011) 0:00:00.717 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 23:56:39 +0000 (0:00:00.339) 0:00:01.057 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 23:56:39 +0000 (0:00:00.239) 0:00:01.296 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 23:56:40 +0000 (0:00:00.019) 0:00:01.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 23:56:40 +0000 (0:00:00.017) 0:00:01.333 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 23:56:40 +0000 (0:00:00.030) 0:00:01.364 ******* 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-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 23:56:40 +0000 (0:00:00.232) 0:00:01.597 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 23:56:40 +0000 (0:00:00.011) 0:00:01.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 23:56:40 +0000 (0:00:00.010) 0:00:01.620 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247369", "end": "2024-02-19 23:56:40.733464", "rc": 0, "start": "2024-02-19 23:56:40.486095" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 23:56:40 +0000 (0:00:00.436) 0:00:02.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tests_network_state_nm.yml:11 Monday 19 February 2024 23:56:40 +0000 (0:00:00.011) 0:00:02.067 ******* 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-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:3 Monday 19 February 2024 23:56:40 +0000 (0:00:00.012) 0:00:02.079 ******* ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:12 Monday 19 February 2024 23:56:41 +0000 (0:00:00.480) 0:00:02.560 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:16 Monday 19 February 2024 23:56:41 +0000 (0:00:00.013) 0:00:02.573 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:56:41 +0000 (0:00:00.025) 0:00:02.598 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:56:41 +0000 (0:00:00.014) 0:00:02.613 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003264", "end": "2024-02-19 23:56:41.482553", "rc": 0, "start": "2024-02-19 23:56:41.479289" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:56:41 +0000 (0:00:00.230) 0:00:02.844 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:56:41 +0000 (0:00:00.030) 0:00:02.874 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:18 Monday 19 February 2024 23:56:41 +0000 (0:00:00.026) 0:00:02.901 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:56:41 +0000 (0:00:00.030) 0:00:02.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:56:41 +0000 (0:00:00.012) 0:00:02.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:56:41 +0000 (0:00:00.010) 0:00:02.954 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:56:41 +0000 (0:00:00.014) 0:00:02.968 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:56:41 +0000 (0:00:00.013) 0:00:02.982 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003165", "end": "2024-02-19 23:56:41.849480", "rc": 0, "start": "2024-02-19 23:56:41.846315" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:56:41 +0000 (0:00:00.186) 0:00:03.168 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:56:41 +0000 (0:00:00.013) 0:00:03.181 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:56:41 +0000 (0:00:00.011) 0:00:03.193 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 23:56:44 +0000 (0:00:02.807) 0:00:06.001 ******* 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.012756", "end": "2024-02-19 23:56:44.885526", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-19 23:56:44.872770" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003740", "end": "2024-02-19 23:56:45.107018", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-19 23:56:45.103278" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004320", "end": "2024-02-19 23:56:45.291723", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-19 23:56:45.287403" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 23:56:45 +0000 (0:00:00.611) 0:00:06.612 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024030", "end": "2024-02-19 23:56:45.501433", "rc": 0, "start": "2024-02-19 23:56:45.477403" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 23:56:45 +0000 (0:00:00.210) 0:00:06.822 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 23:56:45 +0000 (0:00:00.012) 0:00:06.835 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 23:56:45 +0000 (0:00:00.011) 0:00:06.846 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:56:45 +0000 (0:00:00.011) 0:00:06.857 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 23:56:45 +0000 (0:00:00.011) 0:00:06.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:22 Monday 19 February 2024 23:56:45 +0000 (0:00:00.011) 0:00:06.880 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:56:45 +0000 (0:00:00.057) 0:00:06.937 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:56:45 +0000 (0:00:00.015) 0:00:06.952 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387004.8763855, "block_size": 4096, "blocks": 0, "ctime": 1708387004.8763855, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32775, "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": 1708387004.8763855, "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-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:56:45 +0000 (0:00:00.187) 0:00:07.139 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:24 Monday 19 February 2024 23:56:45 +0000 (0:00:00.015) 0:00:07.155 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:28 Monday 19 February 2024 23:56:45 +0000 (0:00:00.012) 0:00:07.167 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:56:45 +0000 (0:00:00.026) 0:00:07.194 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:56:45 +0000 (0:00:00.012) 0:00:07.207 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003402", "end": "2024-02-19 23:56:46.076882", "rc": 0, "start": "2024-02-19 23:56:46.073480" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:56:46 +0000 (0:00:00.190) 0:00:07.397 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:56:46 +0000 (0:00:00.015) 0:00:07.413 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:30 Monday 19 February 2024 23:56:46 +0000 (0:00:00.012) 0:00:07.425 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:56:46 +0000 (0:00:00.034) 0:00:07.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:56:46 +0000 (0:00:00.012) 0:00:07.472 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:56:46 +0000 (0:00:00.012) 0:00:07.484 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:56:46 +0000 (0:00:00.016) 0:00:07.500 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:56:46 +0000 (0:00:00.014) 0:00:07.515 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003258", "end": "2024-02-19 23:56:46.385795", "rc": 0, "start": "2024-02-19 23:56:46.382537" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:56:46 +0000 (0:00:00.189) 0:00:07.705 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:56:46 +0000 (0:00:00.013) 0:00:07.718 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:56:46 +0000 (0:00:00.011) 0:00:07.730 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 19 February 2024 23:56:48 +0000 (0:00:02.549) 0:00:10.280 ******* 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.005850", "end": "2024-02-19 23:56:49.155122", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-02-19 23:56:49.149272" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003749", "end": "2024-02-19 23:56:49.378814", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-02-19 23:56:49.375065" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004305", "end": "2024-02-19 23:56:49.562969", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-02-19 23:56:49.558664" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 19 February 2024 23:56:49 +0000 (0:00:00.603) 0:00:10.883 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.025301", "end": "2024-02-19 23:56:49.775408", "rc": 0, "start": "2024-02-19 23:56:49.750107" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 19 February 2024 23:56:49 +0000 (0:00:00.212) 0:00:11.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 19 February 2024 23:56:49 +0000 (0:00:00.012) 0:00:11.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 19 February 2024 23:56:49 +0000 (0:00:00.012) 0:00:11.122 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:56:49 +0000 (0:00:00.011) 0:00:11.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 19 February 2024 23:56:49 +0000 (0:00:00.011) 0:00:11.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:34 Monday 19 February 2024 23:56:49 +0000 (0:00:00.010) 0:00:11.155 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:56:49 +0000 (0:00:00.027) 0:00:11.182 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:56:49 +0000 (0:00:00.014) 0:00:11.196 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708387009.1527483, "block_size": 4096, "blocks": 0, "ctime": 1708387009.1527483, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33361, "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": 1708387009.1527483, "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-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:56:50 +0000 (0:00:00.206) 0:00:11.403 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:56:50 +0000 (0:00:00.013) 0:00:11.417 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:56:50 +0000 (0:00:00.072) 0:00:11.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:56:50 +0000 (0:00:00.022) 0:00:11.512 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:56:50 +0000 (0:00:00.021) 0:00:11.533 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:56:50 +0000 (0:00:00.023) 0:00:11.556 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:56:51 +0000 (0:00:01.574) 0:00:13.130 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:56:53 +0000 (0:00:01.464) 0:00:14.595 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:56:53 +0000 (0:00:00.028) 0:00:14.624 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:56:53 +0000 (0:00:00.027) 0:00:14.651 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:56:53 +0000 (0:00:00.053) 0:00:14.705 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:56:53 +0000 (0:00:00.050) 0:00:14.756 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: python3-libnmstate-1.4.5-2.el8.noarch", "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: NetworkManager-config-server-1:1.40.16-14.el8.noarch", "Installed: nmstate-1.4.5-2.el8.x86_64" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:56:58 +0000 (0:00:04.948) 0:00:19.704 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:56:58 +0000 (0:00:00.031) 0:00:19.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:56:58 +0000 (0:00:00.032) 0:00:19.767 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:56:59 +0000 (0:00:00.556) 0:00:20.324 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:56:59 +0000 (0:00:00.031) 0:00:20.356 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:56:59 +0000 (0:00:00.027) 0:00:20.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:56:59 +0000 (0:00:00.027) 0:00:20.411 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:56:59 +0000 (0:00:00.454) 0:00:20.865 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:de:bc:47:1b:f9", "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::10de:bcff:fe47:1bf9", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:DE:BC:47:1B:F9", "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::5076:f2ff:fecf:86d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:76:F2:CF:86:D5", "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::447f:dd2a:8b9a:8918", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "E6:05:5C:B1:09:AA", "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::8026:28ff:fe61:29da", "prefix-length": 64 } ], "enabled": true }, "mac-address": "82:26:28:61:29:DA", "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::64a8:b1ff:fe2e:4f2c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "66:A8:B1:2E:4F:2C", "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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:57:01 +0000 (0:00:01.763) 0:00:22.629 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:57:01 +0000 (0:00:00.029) 0:00:22.658 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:57:01 +0000 (0:00:00.030) 0:00:22.689 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:de:bc:47:1b:f9", "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::10de:bcff:fe47:1bf9", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:DE:BC:47:1B:F9", "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::5076:f2ff:fecf:86d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:76:F2:CF:86:D5", "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::447f:dd2a:8b9a:8918", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "E6:05:5C:B1:09:AA", "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::8026:28ff:fe61:29da", "prefix-length": 64 } ], "enabled": true }, "mac-address": "82:26:28:61:29:DA", "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::64a8:b1ff:fe2e:4f2c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "66:A8:B1:2E:4F:2C", "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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:57:01 +0000 (0:00:00.057) 0:00:22.747 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:75 Monday 19 February 2024 23:57:01 +0000 (0:00:00.250) 0:00:22.998 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.486944", "end": "2024-02-19 23:57:02.350327", "rc": 0, "start": "2024-02-19 23:57:01.863383" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::5076:f2ff:fecf:86d5 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 52:76:F2:CF:86:D5 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-02-19 23:57:02,287 root DEBUG NetworkManager version 1.40.16 2024-02-19 23:57:02,288 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-19 23:57:02,289 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-19 23:57:02,289 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-19 23:57:02,291 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-19 23:57:02,292 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-19 23:57:02,292 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-19 23:57:02,294 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-19 23:57:02,295 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-19 23:57:02,295 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:81 Monday 19 February 2024 23:57:02 +0000 (0:00:00.684) 0:00:23.682 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.480275", "end": "2024-02-19 23:57:03.031109", "rc": 0, "start": "2024-02-19 23:57:02.550834" } 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::447f:dd2a:8b9a:8918 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: E6:05:5C:B1:09:AA mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-02-19 23:57:02,969 root DEBUG NetworkManager version 1.40.16 2024-02-19 23:57:02,970 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-19 23:57:02,971 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-19 23:57:02,971 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-19 23:57:02,973 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-19 23:57:02,973 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-19 23:57:02,974 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-19 23:57:02,976 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-19 23:57:02,976 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-19 23:57:02,976 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-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:87 Monday 19 February 2024 23:57:03 +0000 (0:00:00.695) 0:00:24.378 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:96 Monday 19 February 2024 23:57:03 +0000 (0:00:00.030) 0:00:24.409 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:57:03 +0000 (0:00:00.026) 0:00:24.435 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:57:03 +0000 (0:00:00.044) 0:00:24.480 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:57:03 +0000 (0:00:00.036) 0:00:24.517 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:57:03 +0000 (0:00:00.031) 0:00:24.548 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:57:03 +0000 (0:00:00.030) 0:00:24.579 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:57:04 +0000 (0:00:01.565) 0:00:26.144 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:57:06 +0000 (0:00:01.331) 0:00:27.476 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:57:06 +0000 (0:00:00.028) 0:00:27.504 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:57:06 +0000 (0:00:00.029) 0:00:27.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:57:06 +0000 (0:00:00.062) 0:00:27.597 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:57:06 +0000 (0:00:00.050) 0:00:27.648 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:57:08 +0000 (0:00:02.534) 0:00:30.182 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:57:08 +0000 (0:00:00.030) 0:00:30.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:57:08 +0000 (0:00:00.032) 0:00:30.244 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:57:09 +0000 (0:00:00.351) 0:00:30.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:57:09 +0000 (0:00:00.030) 0:00:30.626 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:57:09 +0000 (0:00:00.027) 0:00:30.654 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:57:09 +0000 (0:00:00.058) 0:00:30.712 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:57:09 +0000 (0:00:00.342) 0:00:31.054 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:de:bc:47:1b:f9", "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::10de:bcff:fe47:1bf9", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:DE:BC:47:1B:F9", "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::5076:f2ff:fecf:86d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:76:F2:CF:86:D5", "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::447f:dd2a:8b9a:8918", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "E6:05:5C:B1:09:AA", "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::8026:28ff:fe61:29da", "prefix-length": 64 } ], "enabled": true }, "mac-address": "82:26:28:61:29:DA", "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::64a8:b1ff:fe2e:4f2c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "66:A8:B1:2E:4F:2C", "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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:57:10 +0000 (0:00:00.638) 0:00:31.693 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:57:10 +0000 (0:00:00.031) 0:00:31.724 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:57:10 +0000 (0:00:00.029) 0:00:31.754 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:de:bc:47:1b:f9", "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::10de:bcff:fe47:1bf9", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:DE:BC:47:1B:F9", "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::5076:f2ff:fecf:86d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:76:F2:CF:86:D5", "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::447f:dd2a:8b9a:8918", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "E6:05:5C:B1:09:AA", "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::8026:28ff:fe61:29da", "prefix-length": 64 } ], "enabled": true }, "mac-address": "82:26:28:61:29:DA", "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::64a8:b1ff:fe2e:4f2c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "66:A8:B1:2E:4F:2C", "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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:57:10 +0000 (0:00:00.034) 0:00:31.788 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:117 Monday 19 February 2024 23:57:10 +0000 (0:00:00.197) 0:00:31.986 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.487574", "end": "2024-02-19 23:57:11.341501", "rc": 0, "start": "2024-02-19 23:57:10.853927" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.8.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.8.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.11.176 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::10de:bcff:fe47:1bf9 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 12:DE:BC:47:1B:F9 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::5076:f2ff:fecf:86d5 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 52:76:F2:CF:86:D5 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::447f:dd2a:8b9a:8918 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: E6:05:5C:B1:09:AA 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::8026:28ff:fe61:29da prefix-length: 64 mac-address: 82:26:28:61:29:DA 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::64a8:b1ff:fe2e:4f2c prefix-length: 64 mac-address: 66:A8:B1:2E:4F:2C mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-19 23:57:11,267 root DEBUG NetworkManager version 1.40.16 2024-02-19 23:57:11,269 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-19 23:57:11,269 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-19 23:57:11,269 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-19 23:57:11,271 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-19 23:57:11,272 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-19 23:57:11,272 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-19 23:57:11,274 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-19 23:57:11,275 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-19 23:57:11,275 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:123 Monday 19 February 2024 23:57:11 +0000 (0:00:00.688) 0:00:32.674 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:57:11 +0000 (0:00:00.028) 0:00:32.703 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:57:11 +0000 (0:00:00.089) 0:00:32.793 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:57:11 +0000 (0:00:00.039) 0:00:32.832 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:57:11 +0000 (0:00:00.032) 0:00:32.865 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:57:11 +0000 (0:00:00.032) 0:00:32.897 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:57:13 +0000 (0:00:01.520) 0:00:34.418 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:57:14 +0000 (0:00:01.340) 0:00:35.758 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:57:14 +0000 (0:00:00.033) 0:00:35.791 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:57:14 +0000 (0:00:00.029) 0:00:35.821 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:57:14 +0000 (0:00:00.029) 0:00:35.850 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:57:14 +0000 (0:00:00.057) 0:00:35.908 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:57:17 +0000 (0:00:02.626) 0:00:38.534 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:57:17 +0000 (0:00:00.037) 0:00:38.572 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:57:17 +0000 (0:00:00.069) 0:00:38.641 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:57:17 +0000 (0:00:00.350) 0:00:38.991 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:57:17 +0000 (0:00:00.031) 0:00:39.023 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:57:17 +0000 (0:00:00.029) 0:00:39.053 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:57:17 +0000 (0:00:00.031) 0:00:39.084 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:57:18 +0000 (0:00:00.358) 0:00:39.443 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "12:de:bc:47:1b:f9", "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::10de:bcff:fe47:1bf9", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:DE:BC:47:1B:F9", "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::5076:f2ff:fecf:86d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:76:F2:CF:86:D5", "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::447f:dd2a:8b9a:8918", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "E6:05:5C:B1:09:AA", "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::8026:28ff:fe61:29da", "prefix-length": 64 } ], "enabled": true }, "mac-address": "82:26:28:61:29:DA", "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::64a8:b1ff:fe2e:4f2c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "66:A8:B1:2E:4F:2C", "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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:57:18 +0000 (0:00:00.637) 0:00:40.081 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:57:18 +0000 (0:00:00.030) 0:00:40.111 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:57:18 +0000 (0:00:00.031) 0:00:40.142 ******* 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": "12:de:bc:47:1b:f9", "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::10de:bcff:fe47:1bf9", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:DE:BC:47:1B:F9", "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::5076:f2ff:fecf:86d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:76:F2:CF:86:D5", "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::447f:dd2a:8b9a:8918", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "E6:05:5C:B1:09:AA", "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::8026:28ff:fe61:29da", "prefix-length": 64 } ], "enabled": true }, "mac-address": "82:26:28:61:29:DA", "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::64a8:b1ff:fe2e:4f2c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "66:A8:B1:2E:4F:2C", "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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:57:18 +0000 (0:00:00.034) 0:00:40.177 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:146 Monday 19 February 2024 23:57:19 +0000 (0:00:00.198) 0:00:40.376 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.492581", "end": "2024-02-19 23:57:19.736156", "rc": 0, "start": "2024-02-19 23:57:19.243575" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.8.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.8.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.11.176 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::10de:bcff:fe47:1bf9 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 12:DE:BC:47:1B:F9 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::5076:f2ff:fecf:86d5 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 52:76:F2:CF:86:D5 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::447f:dd2a:8b9a:8918 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: E6:05:5C:B1:09:AA 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::8026:28ff:fe61:29da prefix-length: 64 mac-address: 82:26:28:61:29:DA 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::64a8:b1ff:fe2e:4f2c prefix-length: 64 mac-address: 66:A8:B1:2E:4F:2C mtu: 1500 veth: peer: ethtest1 STDERR: 2024-02-19 23:57:19,661 root DEBUG NetworkManager version 1.40.16 2024-02-19 23:57:19,663 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-02-19 23:57:19,663 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-02-19 23:57:19,663 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-02-19 23:57:19,665 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-02-19 23:57:19,666 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-02-19 23:57:19,666 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-02-19 23:57:19,668 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-02-19 23:57:19,669 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-02-19 23:57:19,669 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-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:152 Monday 19 February 2024 23:57:19 +0000 (0:00:00.692) 0:00:41.068 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.002958", "end": "2024-02-19 23:57:19.937541", "rc": 0, "start": "2024-02-19 23:57:19.934583" } 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-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:158 Monday 19 February 2024 23:57:19 +0000 (0:00:00.200) 0:00:41.268 ******* 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-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:166 Monday 19 February 2024 23:57:19 +0000 (0:00:00.028) 0:00:41.297 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:57:20 +0000 (0:00:00.027) 0:00:41.325 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:57:20 +0000 (0:00:00.049) 0:00:41.375 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:57:20 +0000 (0:00:00.039) 0:00:41.414 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:57:20 +0000 (0:00:00.033) 0:00:41.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:57:20 +0000 (0:00:00.033) 0:00:41.482 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:57:21 +0000 (0:00:01.524) 0:00:43.006 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:57:23 +0000 (0:00:01.312) 0:00:44.319 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:57:23 +0000 (0:00:00.028) 0:00:44.348 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:57:23 +0000 (0:00:00.030) 0:00:44.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:57:23 +0000 (0:00:00.032) 0:00:44.411 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:57:23 +0000 (0:00:00.056) 0:00:44.467 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:57:25 +0000 (0:00:02.521) 0:00:46.989 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:57:25 +0000 (0:00:00.029) 0:00:47.019 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:57:25 +0000 (0:00:00.031) 0:00:47.050 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:57:26 +0000 (0:00:00.349) 0:00:47.399 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:57:26 +0000 (0:00:00.032) 0:00:47.431 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:57:26 +0000 (0:00:00.030) 0:00:47.462 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:57:26 +0000 (0:00:00.028) 0:00:47.490 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:57:26 +0000 (0:00:00.379) 0:00:47.870 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:de:bc:47:1b:f9", "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::10de:bcff:fe47:1bf9", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:DE:BC:47:1B:F9", "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::5076:f2ff:fecf:86d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:76:F2:CF:86:D5", "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::447f:dd2a:8b9a:8918", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "E6:05:5C:B1:09:AA", "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::8026:28ff:fe61:29da", "prefix-length": 64 } ], "enabled": true }, "mac-address": "82:26:28:61:29:DA", "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::64a8:b1ff:fe2e:4f2c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "66:A8:B1:2E:4F:2C", "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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:57:27 +0000 (0:00:00.651) 0:00:48.521 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:57:27 +0000 (0:00:00.030) 0:00:48.552 ******* 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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:57:27 +0000 (0:00:00.030) 0:00:48.582 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:de:bc:47:1b:f9", "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::10de:bcff:fe47:1bf9", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:DE:BC:47:1B:F9", "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::5076:f2ff:fecf:86d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:76:F2:CF:86:D5", "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::447f:dd2a:8b9a:8918", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "E6:05:5C:B1:09:AA", "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::8026:28ff:fe61:29da", "prefix-length": 64 } ], "enabled": true }, "mac-address": "82:26:28:61:29:DA", "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::64a8:b1ff:fe2e:4f2c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "66:A8:B1:2E:4F:2C", "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-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:57:27 +0000 (0:00:00.034) 0:00:48.617 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:184 Monday 19 February 2024 23:57:27 +0000 (0:00:00.199) 0:00:48.817 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:57:27 +0000 (0:00:00.052) 0:00:48.869 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.015238", "end": "2024-02-19 23:57:27.751327", "rc": 0, "start": "2024-02-19 23:57:27.736089" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:186 Monday 19 February 2024 23:57:27 +0000 (0:00:00.219) 0:00:49.089 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:57:27 +0000 (0:00:00.096) 0:00:49.185 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:57:27 +0000 (0:00:00.040) 0:00:49.226 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:57:28 +0000 (0:00:00.227) 0:00:49.453 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:188 Monday 19 February 2024 23:57:28 +0000 (0:00:00.029) 0:00:49.483 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:192 Monday 19 February 2024 23:57:28 +0000 (0:00:00.046) 0:00:49.529 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:57:28 +0000 (0:00:00.057) 0:00:49.587 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.009695", "end": "2024-02-19 23:57:28.465286", "rc": 0, "start": "2024-02-19 23:57:28.455591" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:194 Monday 19 February 2024 23:57:28 +0000 (0:00:00.215) 0:00:49.803 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:57:28 +0000 (0:00:00.054) 0:00:49.857 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:57:28 +0000 (0:00:00.039) 0:00:49.897 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:57:28 +0000 (0:00:00.246) 0:00:50.143 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:196 Monday 19 February 2024 23:57:28 +0000 (0:00:00.029) 0:00:50.173 ******* included: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 23:57:28 +0000 (0:00:00.063) 0:00:50.237 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009742", "end": "2024-02-19 23:57:29.113826", "rc": 0, "start": "2024-02-19 23:57:29.104084" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:de:bc:47:1b:f9 brd ff:ff:ff:ff:ff:ff inet 10.31.11.176/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2341sec preferred_lft 2341sec inet6 fe80::10de:bcff:fe47:1bf9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.176 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.176 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 23:57:29 +0000 (0:00:00.207) 0:00:50.445 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.336201", "end": "2024-02-19 23:57:29.650973", "rc": 0, "start": "2024-02-19 23:57:29.314772" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3860 0 --:--:-- --:--:-- --:--:-- 3910 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1259 0 --:--:-- --:--:-- --:--:-- 1259 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=122 changed=5 unreachable=0 failed=0 skipped=62 rescued=0 ignored=0 Monday 19 February 2024 23:57:29 +0000 (0:00:00.524) 0:00:50.970 ******* =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 4.95s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Install iproute --------------------------------------------------------- 2.81s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.63s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 Install iproute --------------------------------------------------------- 2.55s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.53s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.52s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:43 linux-system-roles.network : Configure networking state ----------------- 1.76s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/main.yml:137 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the ethtest1 state configuration ------------------------------------ 0.70s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:81 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/tests_network_state_nm.yml:6 ------ Get the DNS configuration from nmstatectl ------------------------------- 0.69s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:146 Get the route configuration --------------------------------------------- 0.69s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:117 Get the ethtest0 state configuration ------------------------------------ 0.68s /WORKDIR/git-nm_plugin_hotfixy6bs649d/tests/playbooks/tests_network_state.yml:75 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---