# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_network_state_nm.yml ******************************************* 2 plays in /WORKDIR/git-test_network_state_fixwx_8ohmo/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-test_network_state_fixwx_8ohmo/tests/tests_network_state_nm.yml:5 Monday 27 November 2023 23:55:40 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tests_network_state_nm.yml:9 Monday 27 November 2023 23:55:40 +0000 (0:00:00.865) 0:00:00.880 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/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-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:3 Monday 27 November 2023 23:55:40 +0000 (0:00:00.013) 0:00:00.894 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:20 Monday 27 November 2023 23:55:41 +0000 (0:00:00.373) 0:00:01.267 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:25 Monday 27 November 2023 23:55:41 +0000 (0:00:00.274) 0:00:01.542 ******* skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:32 Monday 27 November 2023 23:55:41 +0000 (0:00:00.019) 0:00:01.562 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:57 Monday 27 November 2023 23:55:41 +0000 (0:00:00.009) 0:00:01.571 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:8 Monday 27 November 2023 23:55:41 +0000 (0:00:00.015) 0:00:01.586 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:24 Monday 27 November 2023 23:55:41 +0000 (0:00:00.262) 0:00:01.849 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:30 Monday 27 November 2023 23:55:41 +0000 (0:00:00.010) 0:00:01.859 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:35 Monday 27 November 2023 23:55:41 +0000 (0:00:00.009) 0:00:01.869 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.387282", "end": "2023-11-27 23:55:42.494870", "rc": 0, "start": "2023-11-27 23:55:42.107588" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:40 Monday 27 November 2023 23:55:42 +0000 (0:00:00.581) 0:00:02.451 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tests_network_state_nm.yml:11 Monday 27 November 2023 23:55:42 +0000 (0:00:00.010) 0:00:02.461 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for configuring network using network state variable] *************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:3 Monday 27 November 2023 23:55:42 +0000 (0:00:00.019) 0:00:02.480 ******* ok: [sut] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:12 Monday 27 November 2023 23:55:44 +0000 (0:00:01.675) 0:00:04.155 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:16 Monday 27 November 2023 23:55:44 +0000 (0:00:00.026) 0:00:04.182 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 23:55:44 +0000 (0:00:00.050) 0:00:04.233 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 23:55:44 +0000 (0:00:00.027) 0:00:04.260 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004163", "end": "2023-11-27 23:55:44.513307", "rc": 0, "start": "2023-11-27 23:55:44.509144" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 23:55:44 +0000 (0:00:00.208) 0:00:04.469 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 23:55:44 +0000 (0:00:00.022) 0:00:04.491 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:18 Monday 27 November 2023 23:55:44 +0000 (0:00:00.021) 0:00:04.513 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 23:55:44 +0000 (0:00:00.040) 0:00:04.553 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 23:55:44 +0000 (0:00:00.023) 0:00:04.576 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 23:55:44 +0000 (0:00:00.021) 0:00:04.598 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 23:55:44 +0000 (0:00:00.025) 0:00:04.623 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 23:55:44 +0000 (0:00:00.034) 0:00:04.658 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004151", "end": "2023-11-27 23:55:44.913844", "rc": 0, "start": "2023-11-27 23:55:44.909693" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 23:55:44 +0000 (0:00:00.211) 0:00:04.870 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 23:55:44 +0000 (0:00:00.023) 0:00:04.893 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 23:55:44 +0000 (0:00:00.021) 0:00:04.915 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 23:55:46 +0000 (0:00:01.694) 0:00:06.609 ******* 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.014741", "end": "2023-11-27 23:55:46.881381", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2023-11-27 23:55:46.866640" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.008388", "end": "2023-11-27 23:55:47.120603", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2023-11-27 23:55:47.112215" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.010302", "end": "2023-11-27 23:55:47.321884", "item": "ip link set ethtest0 up", "rc": 0, "start": "2023-11-27 23:55:47.311582" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:30 Monday 27 November 2023 23:55:47 +0000 (0:00:00.671) 0:00:07.281 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.025678", "end": "2023-11-27 23:55:47.558557", "rc": 0, "start": "2023-11-27 23:55:47.532879" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:38 Monday 27 November 2023 23:55:47 +0000 (0:00:00.234) 0:00:07.515 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:44 Monday 27 November 2023 23:55:47 +0000 (0:00:00.022) 0:00:07.538 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 27 November 2023 23:55:47 +0000 (0:00:00.022) 0:00:07.560 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:55 Monday 27 November 2023 23:55:47 +0000 (0:00:00.022) 0:00:07.583 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 27 November 2023 23:55:47 +0000 (0:00:00.022) 0:00:07.606 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:22 Monday 27 November 2023 23:55:47 +0000 (0:00:00.021) 0:00:07.627 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/assert_device_present.yml:3 Monday 27 November 2023 23:55:47 +0000 (0:00:00.036) 0:00:07.663 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 27 November 2023 23:55:47 +0000 (0:00:00.023) 0:00:07.687 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701129346.870979, "block_size": 4096, "blocks": 0, "ctime": 1701129346.870979, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34318, "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": 1701129346.870979, "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-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/assert_device_present.yml:5 Monday 27 November 2023 23:55:47 +0000 (0:00:00.205) 0:00:07.893 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:24 Monday 27 November 2023 23:55:47 +0000 (0:00:00.025) 0:00:07.918 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:28 Monday 27 November 2023 23:55:48 +0000 (0:00:00.026) 0:00:07.945 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 23:55:48 +0000 (0:00:00.046) 0:00:07.991 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 23:55:48 +0000 (0:00:00.024) 0:00:08.017 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003992", "end": "2023-11-27 23:55:48.269874", "rc": 0, "start": "2023-11-27 23:55:48.265882" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 23:55:48 +0000 (0:00:00.209) 0:00:08.226 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 23:55:48 +0000 (0:00:00.023) 0:00:08.249 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:30 Monday 27 November 2023 23:55:48 +0000 (0:00:00.030) 0:00:08.280 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 23:55:48 +0000 (0:00:00.043) 0:00:08.323 ******* skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 23:55:48 +0000 (0:00:00.022) 0:00:08.345 ******* skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 23:55:48 +0000 (0:00:00.021) 0:00:08.366 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 23:55:48 +0000 (0:00:00.023) 0:00:08.390 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 23:55:48 +0000 (0:00:00.021) 0:00:08.412 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004071", "end": "2023-11-27 23:55:48.663682", "rc": 0, "start": "2023-11-27 23:55:48.659611" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 23:55:48 +0000 (0:00:00.206) 0:00:08.619 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 23:55:48 +0000 (0:00:00.022) 0:00:08.641 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 23:55:48 +0000 (0:00:00.020) 0:00:08.662 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 23:55:50 +0000 (0:00:01.449) 0:00:10.111 ******* 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.015984", "end": "2023-11-27 23:55:50.390261", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2023-11-27 23:55:50.374277" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.009782", "end": "2023-11-27 23:55:50.628404", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2023-11-27 23:55:50.618622" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.009228", "end": "2023-11-27 23:55:50.826369", "item": "ip link set ethtest1 up", "rc": 0, "start": "2023-11-27 23:55:50.817141" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:30 Monday 27 November 2023 23:55:50 +0000 (0:00:00.674) 0:00:10.786 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.027118", "end": "2023-11-27 23:55:51.066961", "rc": 0, "start": "2023-11-27 23:55:51.039843" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:38 Monday 27 November 2023 23:55:51 +0000 (0:00:00.238) 0:00:11.025 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:44 Monday 27 November 2023 23:55:51 +0000 (0:00:00.021) 0:00:11.046 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 27 November 2023 23:55:51 +0000 (0:00:00.023) 0:00:11.070 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:55 Monday 27 November 2023 23:55:51 +0000 (0:00:00.021) 0:00:11.091 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 27 November 2023 23:55:51 +0000 (0:00:00.021) 0:00:11.113 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:34 Monday 27 November 2023 23:55:51 +0000 (0:00:00.020) 0:00:11.133 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/assert_device_present.yml:3 Monday 27 November 2023 23:55:51 +0000 (0:00:00.040) 0:00:11.174 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 27 November 2023 23:55:51 +0000 (0:00:00.023) 0:00:11.198 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701129350.3788166, "block_size": 4096, "blocks": 0, "ctime": 1701129350.3788166, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34904, "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": 1701129350.3788166, "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-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/assert_device_present.yml:5 Monday 27 November 2023 23:55:51 +0000 (0:00:00.207) 0:00:11.405 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 23:55:51 +0000 (0:00:00.027) 0:00:11.433 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 23:55:51 +0000 (0:00:00.035) 0:00:11.468 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 23:55:51 +0000 (0:00:00.035) 0:00:11.504 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 23:55:51 +0000 (0:00:00.212) 0:00:11.716 ******* skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 23:55:51 +0000 (0:00:00.029) 0:00:11.746 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 23:55:53 +0000 (0:00:01.949) 0:00:13.695 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 23:55:55 +0000 (0:00:01.523) 0:00:15.219 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 23:55:55 +0000 (0:00:00.040) 0:00:15.260 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 23:55:55 +0000 (0:00:00.037) 0:00:15.297 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 23:55:55 +0000 (0:00:00.065) 0:00:15.363 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 23:55:55 +0000 (0:00:00.068) 0:00:15.432 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-libnmstate-1.4.4-3.el8.noarch", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: nmstate-1.4.4-3.el8.x86_64", "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: NetworkManager-config-server-1:1.40.16-9.el8.noarch" ] } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 23:55:59 +0000 (0:00:03.582) 0:00:19.015 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' and ansible_distribution_major_version | int > 34 or ansible_distribution != 'Fedora' and ansible_distribution_major_version | int > 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 23:55:59 +0000 (0:00:00.055) 0:00:19.070 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 23:55:59 +0000 (0:00:00.053) 0:00:19.124 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 23:55:59 +0000 (0:00:00.632) 0:00:19.756 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 23:55:59 +0000 (0:00:00.054) 0:00:19.811 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 23:55:59 +0000 (0:00:00.039) 0:00:19.850 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 23:55:59 +0000 (0:00:00.036) 0:00:19.886 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 23:56:00 +0000 (0:00:00.514) 0:00:20.401 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:1e:5e:c3:ef:8d", "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::101e:5eff:fec3:ef8d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:1E:5E:C3:EF:8D", "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::c8e3:14ff:feca:b6d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CA:E3:14:CA:B6:D4", "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::bf89:14cd:df94:abca", "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:21:A3:FB:F6:F8", "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::883a:62ff:fe74:f59b", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:3A:62:74:F5:9B", "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::405:13ff:fe87:eeef", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:05:13:87:EE:EF", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 23:56:01 +0000 (0:00:00.912) 0:00:21.313 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 23:56:01 +0000 (0:00:00.045) 0:00:21.358 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 23:56:01 +0000 (0:00:00.045) 0:00:21.404 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:1e:5e:c3:ef:8d", "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::101e:5eff:fec3:ef8d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:1E:5E:C3:EF:8D", "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::c8e3:14ff:feca:b6d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CA:E3:14:CA:B6:D4", "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::bf89:14cd:df94:abca", "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:21:A3:FB:F6:F8", "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::883a:62ff:fe74:f59b", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:3A:62:74:F5:9B", "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::405:13ff:fe87:eeef", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:05:13:87:EE:EF", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 23:56:01 +0000 (0:00:00.053) 0:00:21.457 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:75 Monday 27 November 2023 23:56:01 +0000 (0:00:00.330) 0:00:21.787 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.493625", "end": "2023-11-27 23:56:02.531091", "rc": 0, "start": "2023-11-27 23:56:02.037466" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::c8e3:14ff:feca:b6d4 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: CA:E3:14:CA:B6:D4 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2023-11-27 23:56:02,467 root DEBUG NetworkManager version 1.40.16 2023-11-27 23:56:02,469 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-11-27 23:56:02,469 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-11-27 23:56:02,469 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-11-27 23:56:02,471 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-11-27 23:56:02,472 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-11-27 23:56:02,472 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-11-27 23:56:02,475 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-11-27 23:56:02,475 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-11-27 23:56:02,475 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:81 Monday 27 November 2023 23:56:02 +0000 (0:00:00.740) 0:00:22.528 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:01.488787", "end": "2023-11-27 23:56:04.267319", "rc": 0, "start": "2023-11-27 23:56:02.778532" } 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::bf89:14cd:df94:abca 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:21:A3:FB:F6:F8 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2023-11-27 23:56:03,203 root DEBUG NetworkManager version 1.40.16 2023-11-27 23:56:03,204 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-11-27 23:56:03,205 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-11-27 23:56:03,205 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-11-27 23:56:03,207 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-11-27 23:56:03,208 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-11-27 23:56:03,208 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-11-27 23:56:03,210 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-11-27 23:56:03,211 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-11-27 23:56:03,211 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-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:87 Monday 27 November 2023 23:56:04 +0000 (0:00:01.707) 0:00:24.235 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:94 Monday 27 November 2023 23:56:04 +0000 (0:00:00.037) 0:00:24.272 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 23:56:04 +0000 (0:00:00.038) 0:00:24.310 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 23:56:04 +0000 (0:00:00.055) 0:00:24.366 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 23:56:04 +0000 (0:00:00.045) 0:00:24.412 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 23:56:04 +0000 (0:00:00.227) 0:00:24.639 ******* skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 23:56:04 +0000 (0:00:00.046) 0:00:24.686 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 23:56:06 +0000 (0:00:01.814) 0:00:26.500 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 23:56:07 +0000 (0:00:01.308) 0:00:27.809 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 23:56:07 +0000 (0:00:00.038) 0:00:27.848 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 23:56:07 +0000 (0:00:00.039) 0:00:27.888 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 23:56:07 +0000 (0:00:00.039) 0:00:27.927 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 23:56:08 +0000 (0:00:00.093) 0:00:28.020 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 23:56:09 +0000 (0:00:01.498) 0:00:29.519 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' and ansible_distribution_major_version | int > 34 or ansible_distribution != 'Fedora' and ansible_distribution_major_version | int > 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 23:56:09 +0000 (0:00:00.041) 0:00:29.561 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 23:56:09 +0000 (0:00:00.039) 0:00:29.600 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 23:56:10 +0000 (0:00:00.411) 0:00:30.012 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 23:56:10 +0000 (0:00:00.045) 0:00:30.057 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 23:56:10 +0000 (0:00:00.036) 0:00:30.094 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 23:56:10 +0000 (0:00:00.035) 0:00:30.130 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 23:56:10 +0000 (0:00:00.365) 0:00:30.495 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:1e:5e:c3:ef:8d", "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::101e:5eff:fec3:ef8d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:1E:5E:C3:EF:8D", "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::c8e3:14ff:feca:b6d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CA:E3:14:CA:B6:D4", "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::bf89:14cd:df94:abca", "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:21:A3:FB:F6:F8", "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::883a:62ff:fe74:f59b", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:3A:62:74:F5:9B", "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::405:13ff:fe87:eeef", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:05:13:87:EE:EF", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 23:56:11 +0000 (0:00:00.686) 0:00:31.182 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 23:56:11 +0000 (0:00:00.039) 0:00:31.222 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 23:56:11 +0000 (0:00:00.038) 0:00:31.261 ******* ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "12:1e:5e:c3:ef:8d", "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::101e:5eff:fec3:ef8d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:1E:5E:C3:EF:8D", "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::c8e3:14ff:feca:b6d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CA:E3:14:CA:B6:D4", "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::bf89:14cd:df94:abca", "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:21:A3:FB:F6:F8", "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::883a:62ff:fe74:f59b", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:3A:62:74:F5:9B", "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::405:13ff:fe87:eeef", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:05:13:87:EE:EF", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 23:56:11 +0000 (0:00:00.047) 0:00:31.308 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:113 Monday 27 November 2023 23:56:11 +0000 (0:00:00.233) 0:00:31.542 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:01.502879", "end": "2023-11-27 23:56:13.294053", "rc": 0, "start": "2023-11-27 23:56:11.791174" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.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: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.9.185 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::101e:5eff:fec3:ef8d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 12:1E:5E:C3:EF:8D 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::c8e3:14ff:feca:b6d4 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: CA:E3:14:CA:B6:D4 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::bf89:14cd:df94:abca 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:21:A3:FB:F6:F8 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::883a:62ff:fe74:f59b prefix-length: 64 mac-address: 8A:3A:62:74:F5:9B 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::405:13ff:fe87:eeef prefix-length: 64 mac-address: 06:05:13:87:EE:EF mtu: 1500 veth: peer: ethtest1 STDERR: 2023-11-27 23:56:12,216 root DEBUG NetworkManager version 1.40.16 2023-11-27 23:56:12,218 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-11-27 23:56:12,218 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-11-27 23:56:12,218 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-11-27 23:56:12,220 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-11-27 23:56:12,221 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-11-27 23:56:12,221 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-11-27 23:56:12,223 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-11-27 23:56:12,224 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-11-27 23:56:12,224 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:119 Monday 27 November 2023 23:56:13 +0000 (0:00:01.721) 0:00:33.264 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set the DNS processing mode and the resolv.conf management mode] ********* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:129 Monday 27 November 2023 23:56:13 +0000 (0:00:00.039) 0:00:33.303 ******* changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [Get /etc/resolv.conf status] ********************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:135 Monday 27 November 2023 23:56:13 +0000 (0:00:00.367) 0:00:33.671 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701128942.3761685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "82cc940d4187f3604f06caaecc9260e54f3eeb8b", "ctime": 1701128939.035158, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 904, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1701128879.0269706, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 144, "uid": 0, "version": "3780381150", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Remove /etc/resolv.conf symlink] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:140 Monday 27 November 2023 23:56:13 +0000 (0:00:00.228) 0:00:33.900 ******* skipping: [sut] => { "changed": false, "false_condition": "links.stat.islnk is defined and links.stat.islnk", "skip_reason": "Conditional result was False" } TASK [Restart the NetworkManager] ********************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:146 Monday 27 November 2023 23:56:13 +0000 (0:00:00.035) 0:00:33.935 ******* changed: [sut] => { "changed": true, "name": "NetworkManager", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2023-11-27 23:45:03 UTC", "ActiveEnterTimestampMonotonic": "352981774", "ActiveExitTimestamp": "Mon 2023-11-27 23:45:03 UTC", "ActiveExitTimestampMonotonic": "352925667", "ActiveState": "active", "After": "sysinit.target network-pre.target cloud-init-local.service basic.target dbus.socket system.slice systemd-journald.socket dbus.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Mon 2023-11-27 23:45:03 UTC", "AssertTimestampMonotonic": "352951750", "Before": "cloud-init.service network.service network.target multi-user.target shutdown.target NetworkManager-wait-online.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.NetworkManager", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_dac_override cap_kill cap_setgid cap_setuid cap_net_bind_service cap_net_admin cap_net_raw cap_sys_module cap_sys_chroot cap_audit_write", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2023-11-27 23:45:03 UTC", "ConditionTimestampMonotonic": "352951749", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/NetworkManager.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Network Manager", "DevicePolicy": "auto", "Documentation": "man:NetworkManager(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "6092", "ExecMainStartTimestamp": "Mon 2023-11-27 23:45:03 UTC", "ExecMainStartTimestampMonotonic": "352953259", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/busctl ; argv[]=/usr/bin/busctl call org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager Reload u 0 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/NetworkManager ; argv[]=/usr/sbin/NetworkManager --no-daemon ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/NetworkManager.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "NetworkManager.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2023-11-27 23:45:03 UTC", "InactiveEnterTimestampMonotonic": "352950589", "InactiveExitTimestamp": "Mon 2023-11-27 23:45:03 UTC", "InactiveExitTimestampMonotonic": "352953422", "InvocationID": "37bbcc8a89544a5ca2ef3c06473ccdb7", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "process", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "65536", "LimitNOFILESoft": "65536", "LimitNPROC": "13957", "LimitNPROCSoft": "13957", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13957", "LimitSIGPENDINGSoft": "13957", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "6092", "MemoryAccounting": "yes", "MemoryCurrent": "5107712", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "NetworkManager.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "read-only", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "yes", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "RequiredBy": "NetworkManager-wait-online.service", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2023-11-27 23:45:03 UTC", "StateChangeTimestampMonotonic": "352981774", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22331", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target", "WatchdogTimestamp": "Mon 2023-11-27 23:45:03 UTC", "WatchdogTimestampMonotonic": "352981770", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 23:56:14 +0000 (0:00:00.463) 0:00:34.399 ******* included: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 23:56:14 +0000 (0:00:00.066) 0:00:34.465 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 23:56:14 +0000 (0:00:00.046) 0:00:34.512 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 23:56:14 +0000 (0:00:00.361) 0:00:34.873 ******* skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 23:56:14 +0000 (0:00:00.046) 0:00:34.920 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 23:56:16 +0000 (0:00:01.788) 0:00:36.709 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 23:56:18 +0000 (0:00:01.313) 0:00:38.022 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 23:56:18 +0000 (0:00:00.043) 0:00:38.066 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 23:56:18 +0000 (0:00:00.044) 0:00:38.111 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 23:56:18 +0000 (0:00:00.068) 0:00:38.180 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 23:56:18 +0000 (0:00:00.074) 0:00:38.254 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 23:56:19 +0000 (0:00:01.499) 0:00:39.754 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' and ansible_distribution_major_version | int > 34 or ansible_distribution != 'Fedora' and ansible_distribution_major_version | int > 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 23:56:19 +0000 (0:00:00.043) 0:00:39.797 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 23:56:19 +0000 (0:00:00.044) 0:00:39.841 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 23:56:20 +0000 (0:00:00.409) 0:00:40.251 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 23:56:20 +0000 (0:00:00.042) 0:00:40.293 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 23:56:20 +0000 (0:00:00.036) 0:00:40.329 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 23:56:20 +0000 (0:00:00.036) 0:00:40.366 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 23:56:20 +0000 (0:00:00.360) 0:00:40.726 ******* changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "12:1e:5e:c3:ef:8d", "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::101e:5eff:fec3:ef8d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:1E:5E:C3:EF:8D", "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::c8e3:14ff:feca:b6d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CA:E3:14:CA:B6:D4", "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::bf89:14cd:df94:abca", "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:21:A3:FB:F6:F8", "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::883a:62ff:fe74:f59b", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:3A:62:74:F5:9B", "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::405:13ff:fe87:eeef", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:05:13:87:EE:EF", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 23:56:21 +0000 (0:00:00.671) 0:00:41.397 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 23:56:21 +0000 (0:00:00.055) 0:00:41.452 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 23:56:21 +0000 (0:00:00.040) 0:00:41.493 ******* 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:1e:5e:c3:ef:8d", "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::101e:5eff:fec3:ef8d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "12:1E:5E:C3:EF:8D", "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::c8e3:14ff:feca:b6d4", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "CA:E3:14:CA:B6:D4", "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::bf89:14cd:df94:abca", "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:21:A3:FB:F6:F8", "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::883a:62ff:fe74:f59b", "prefix-length": 64 } ], "enabled": true }, "mac-address": "8A:3A:62:74:F5:9B", "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::405:13ff:fe87:eeef", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:05:13:87:EE:EF", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 23:56:21 +0000 (0:00:00.048) 0:00:41.542 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:164 Monday 27 November 2023 23:56:21 +0000 (0:00:00.232) 0:00:41.774 ******* ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.499268", "end": "2023-11-27 23:56:22.520207", "rc": 0, "start": "2023-11-27 23:56:22.020939" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org - us-east-1.aws.redhat.com server: - 2001:4860:4860::8888 - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 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: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.9.185 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::101e:5eff:fec3:ef8d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 12:1E:5E:C3:EF:8D 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::c8e3:14ff:feca:b6d4 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: CA:E3:14:CA:B6:D4 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::bf89:14cd:df94:abca 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:21:A3:FB:F6:F8 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::883a:62ff:fe74:f59b prefix-length: 64 mac-address: 8A:3A:62:74:F5:9B 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::405:13ff:fe87:eeef prefix-length: 64 mac-address: 06:05:13:87:EE:EF mtu: 1500 veth: peer: ethtest1 STDERR: 2023-11-27 23:56:22,445 root DEBUG NetworkManager version 1.40.16 2023-11-27 23:56:22,446 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-11-27 23:56:22,447 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-11-27 23:56:22,447 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-11-27 23:56:22,449 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-11-27 23:56:22,450 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-11-27 23:56:22,450 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-11-27 23:56:22,452 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-11-27 23:56:22,453 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-11-27 23:56:22,453 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the nmstatectl contains the specified DNS configuration] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:170 Monday 27 November 2023 23:56:22 +0000 (0:00:00.715) 0:00:42.490 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the DNS configuration from the file `/etc/resolv.conf`] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:178 Monday 27 November 2023 23:56:22 +0000 (0:00:00.127) 0:00:42.617 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/resolv.conf" ], "delta": "0:00:00.003540", "end": "2023-11-27 23:56:22.872836", "rc": 0, "start": "2023-11-27 23:56:22.869296" } STDOUT: # 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 [Assert that the file `/etc/resolv.conf` contains the specified DNS configuration] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:185 Monday 27 November 2023 23:56:22 +0000 (0:00:00.224) 0:00:42.841 ******* fatal: [sut]: FAILED! => { "assertion": "resolvconf.stdout is search(\"example.com\") and resolvconf.stdout is search(\"example.org\") and resolvconf.stdout is search(\"2001:4860:4860::8888\")", "changed": false, "evaluated_to": false } MSG: the file `/etc/resolv.conf` does not contain the specified DNS configuration to retry, use: --limit @/tmp/tests_network_state_nm.retry PLAY RECAP ********************************************************************* sut : ok=98 changed=6 unreachable=0 failed=1 skipped=50 rescued=0 ignored=0 Monday 27 November 2023 23:56:22 +0000 (0:00:00.027) 0:00:42.869 ******* =============================================================================== fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.58s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 fedora.linux_system_roles.network : Check which services are running ---- 1.95s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Get the route configuration --------------------------------------------- 1.72s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:113 Get the ethtest1 state configuration ------------------------------------ 1.71s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:81 Install iproute --------------------------------------------------------- 1.69s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.68s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.50s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 1.50s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Install iproute --------------------------------------------------------- 1.45s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Configure networking state ---------- 0.91s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tests_network_state_nm.yml:5 Get the ethtest0 state configuration ------------------------------------ 0.74s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:75 Get the DNS configuration from nmstatectl ------------------------------- 0.72s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_network_state.yml:164 fedora.linux_system_roles.network : Configure networking state ---------- 0.69s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Create veth interface ethtest1 ------------------------------------------ 0.67s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---