# 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-network-state-in-defaultskmg18_oa/.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-network-state-in-defaultskmg18_oa/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-network-state-in-defaultskmg18_oa/tests/tests_network_state_nm.yml:6 Wednesday 03 July 2024 22:54:27 +0000 (0:00:00.020) 0:00:00.020 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/tests_network_state_nm.yml:9 Wednesday 03 July 2024 22:54:28 +0000 (0:00:00.943) 0:00:00.964 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/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-network-state-in-defaultskmg18_oa/tests/tasks/el_repo_setup.yml:3 Wednesday 03 July 2024 22:54:28 +0000 (0:00:00.011) 0:00:00.975 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/tasks/el_repo_setup.yml:17 Wednesday 03 July 2024 22:54:28 +0000 (0:00:00.359) 0:00:01.335 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/tasks/el_repo_setup.yml:22 Wednesday 03 July 2024 22:54:29 +0000 (0:00:00.260) 0:00:01.595 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/tasks/el_repo_setup.yml:26 Wednesday 03 July 2024 22:54:29 +0000 (0:00:00.016) 0:00:01.611 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/tasks/el_repo_setup.yml:51 Wednesday 03 July 2024 22:54:29 +0000 (0:00:00.016) 0:00:01.627 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/tasks/enable_epel.yml:8 Wednesday 03 July 2024 22:54:29 +0000 (0:00:00.031) 0:00:01.659 ******** 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-network-state-in-defaultskmg18_oa/tests/tasks/enable_epel.yml:24 Wednesday 03 July 2024 22:54:29 +0000 (0:00:00.282) 0:00:01.942 ******** 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-network-state-in-defaultskmg18_oa/tests/tasks/enable_epel.yml:30 Wednesday 03 July 2024 22:54:29 +0000 (0:00:00.008) 0:00:01.950 ******** 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-network-state-in-defaultskmg18_oa/tests/tasks/enable_epel.yml:35 Wednesday 03 July 2024 22:54:29 +0000 (0:00:00.008) 0:00:01.959 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.255788", "end": "2024-07-03 22:54:30.042457", "rc": 0, "start": "2024-07-03 22:54:29.786669" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/tasks/enable_epel.yml:40 Wednesday 03 July 2024 22:54:30 +0000 (0:00:00.445) 0:00:02.404 ******** 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-network-state-in-defaultskmg18_oa/tests/tests_network_state_nm.yml:11 Wednesday 03 July 2024 22:54:30 +0000 (0:00:00.008) 0:00:02.413 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:3 Wednesday 03 July 2024 22:54:30 +0000 (0:00:00.016) 0:00:02.430 ******** ok: [sut] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:12 Wednesday 03 July 2024 22:54:30 +0000 (0:00:00.646) 0:00:03.076 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:16 Wednesday 03 July 2024 22:54:30 +0000 (0:00:00.023) 0:00:03.099 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:54:30 +0000 (0:00:00.033) 0:00:03.133 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:54:30 +0000 (0:00:00.021) 0:00:03.155 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003370", "end": "2024-07-03 22:54:30.991965", "rc": 0, "start": "2024-07-03 22:54:30.988595" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.198) 0:00:03.353 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.030) 0:00:03.384 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:18 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.022) 0:00:03.406 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.040) 0:00:03.446 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.025) 0:00:03.472 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.027) 0:00:03.500 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.027) 0:00:03.527 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.028) 0:00:03.555 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003451", "end": "2024-07-03 22:54:31.398292", "rc": 0, "start": "2024-07-03 22:54:31.394841" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.205) 0:00:03.761 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.019) 0:00:03.780 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 03 July 2024 22:54:31 +0000 (0:00:00.020) 0:00:03.801 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 03 July 2024 22:54:34 +0000 (0:00:03.101) 0:00:06.903 ******** 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.013859", "end": "2024-07-03 22:54:34.812995", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-07-03 22:54:34.799136" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003660", "end": "2024-07-03 22:54:35.036868", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-07-03 22:54:35.033208" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003921", "end": "2024-07-03 22:54:35.222586", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-07-03 22:54:35.218665" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.681) 0:00:07.584 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024165", "end": "2024-07-03 22:54:35.448035", "rc": 0, "start": "2024-07-03 22:54:35.423870" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.228) 0:00:07.813 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.025) 0:00:07.838 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.024) 0:00:07.862 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.023) 0:00:07.886 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.021) 0:00:07.907 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:22 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.019) 0:00:07.927 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.044) 0:00:07.971 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.021) 0:00:07.992 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047274.8028097, "block_size": 4096, "blocks": 0, "ctime": 1720047274.8028097, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33175, "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": 1720047274.8028097, "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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.204) 0:00:08.197 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:24 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.033) 0:00:08.230 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:28 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.023) 0:00:08.254 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.036) 0:00:08.291 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:54:35 +0000 (0:00:00.020) 0:00:08.312 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003392", "end": "2024-07-03 22:54:36.149418", "rc": 0, "start": "2024-07-03 22:54:36.146026" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.200) 0:00:08.512 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.048) 0:00:08.560 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:30 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.031) 0:00:08.592 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.040) 0:00:08.632 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.020) 0:00:08.653 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.031) 0:00:08.684 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.036) 0:00:08.720 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.022) 0:00:08.742 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003345", "end": "2024-07-03 22:54:36.602016", "rc": 0, "start": "2024-07-03 22:54:36.598671" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.221) 0:00:08.964 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.020) 0:00:08.984 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 03 July 2024 22:54:36 +0000 (0:00:00.019) 0:00:09.004 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 03 July 2024 22:54:39 +0000 (0:00:02.665) 0:00:11.669 ******** 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.012363", "end": "2024-07-03 22:54:39.522080", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-07-03 22:54:39.509717" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003802", "end": "2024-07-03 22:54:39.745871", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-07-03 22:54:39.742069" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004181", "end": "2024-07-03 22:54:39.934457", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-07-03 22:54:39.930276" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 July 2024 22:54:39 +0000 (0:00:00.628) 0:00:12.298 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.022927", "end": "2024-07-03 22:54:40.158604", "rc": 0, "start": "2024-07-03 22:54:40.135677" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.223) 0:00:12.521 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.023) 0:00:12.544 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.021) 0:00:12.565 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.023) 0:00:12.588 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.019) 0:00:12.608 ******** 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-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:34 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.019) 0:00:12.627 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.038) 0:00:12.666 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.038) 0:00:12.705 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047279.5135465, "block_size": 4096, "blocks": 0, "ctime": 1720047279.5135465, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33761, "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": 1720047279.5135465, "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-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.205) 0:00:12.911 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.020) 0:00:12.931 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/.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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.030) 0:00:12.962 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.025) 0:00:12.987 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.024) 0:00:13.012 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 03 July 2024 22:54:40 +0000 (0:00:00.024) 0:00:13.037 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 03 July 2024 22:54:42 +0000 (0:00:01.770) 0:00:14.807 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 July 2024 22:54:44 +0000 (0:00:01.543) 0:00:16.351 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 July 2024 22:54:44 +0000 (0:00:00.035) 0:00:16.386 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 July 2024 22:54:44 +0000 (0:00:00.031) 0:00:16.418 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 03 July 2024 22:54:44 +0000 (0:00:00.088) 0:00:16.506 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 03 July 2024 22:54:44 +0000 (0:00:00.033) 0:00:16.540 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 03 July 2024 22:54:44 +0000 (0:00:00.037) 0:00:16.577 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 03 July 2024 22:54:44 +0000 (0:00:00.043) 0:00:16.620 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 03 July 2024 22:54:44 +0000 (0:00:00.041) 0:00:16.662 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 03 July 2024 22:54:44 +0000 (0:00:00.067) 0:00:16.729 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: nmstate-1.4.6-2.el8.x86_64", "Installed: python3-libnmstate-1.4.6-2.el8.noarch", "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: NetworkManager-config-server-1:1.40.16-15.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 03 July 2024 22:54:48 +0000 (0:00:04.579) 0:00:21.309 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 03 July 2024 22:54:48 +0000 (0:00:00.032) 0:00:21.341 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 03 July 2024 22:54:49 +0000 (0:00:00.034) 0:00:21.375 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 July 2024 22:54:49 +0000 (0:00:00.544) 0:00:21.920 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 03 July 2024 22:54:49 +0000 (0:00:00.041) 0:00:21.961 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 03 July 2024 22:54:49 +0000 (0:00:00.035) 0:00:21.997 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 03 July 2024 22:54:49 +0000 (0:00:00.035) 0:00:22.032 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 03 July 2024 22:54:50 +0000 (0:00:00.546) 0:00:22.578 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:ff:e2:f6:c5:0d", "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::8ff:e2ff:fef6:c50d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:FF:E2:F6:C5:0D", "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::809e:25ff:fed4:a326", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "82:9E:25:D4:A3:26", "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::1641:4703:5ad9:ef3b", "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": "6A:00:52:BD:6D:E8", "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::4bf:79ff:fe0a:faeb", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:BF:79:0A:FA:EB", "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::84be:e1ff:fe57:905c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "86:BE:E1:57:90:5C", "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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 03 July 2024 22:54:51 +0000 (0:00:00.846) 0:00:23.424 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 03 July 2024 22:54:51 +0000 (0:00:00.034) 0:00:23.459 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 03 July 2024 22:54:51 +0000 (0:00:00.068) 0:00:23.528 ******** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:ff:e2:f6:c5:0d", "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::8ff:e2ff:fef6:c50d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:FF:E2:F6:C5:0D", "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::809e:25ff:fed4:a326", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "82:9E:25:D4:A3:26", "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::1641:4703:5ad9:ef3b", "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": "6A:00:52:BD:6D:E8", "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::4bf:79ff:fe0a:faeb", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:BF:79:0A:FA:EB", "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::84be:e1ff:fe57:905c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "86:BE:E1:57:90:5C", "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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 03 July 2024 22:54:51 +0000 (0:00:00.053) 0:00:23.581 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:75 Wednesday 03 July 2024 22:54:51 +0000 (0:00:00.290) 0:00:23.872 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.483387", "end": "2024-07-03 22:54:52.191066", "rc": 0, "start": "2024-07-03 22:54:51.707679" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::809e:25ff:fed4:a326 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 82:9E:25:D4:A3:26 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-07-03 22:54:52,128 root DEBUG NetworkManager version 1.40.16 2024-07-03 22:54:52,129 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-07-03 22:54:52,130 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-07-03 22:54:52,130 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-07-03 22:54:52,132 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-07-03 22:54:52,132 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-07-03 22:54:52,133 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-07-03 22:54:52,135 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-07-03 22:54:52,136 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-07-03 22:54:52,136 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:81 Wednesday 03 July 2024 22:54:52 +0000 (0:00:00.693) 0:00:24.565 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.480689", "end": "2024-07-03 22:54:52.884132", "rc": 0, "start": "2024-07-03 22:54:52.403443" } 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::1641:4703:5ad9:ef3b 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: 6A:00:52:BD:6D:E8 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-07-03 22:54:52,822 root DEBUG NetworkManager version 1.40.16 2024-07-03 22:54:52,823 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-07-03 22:54:52,824 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-07-03 22:54:52,824 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-07-03 22:54:52,826 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-07-03 22:54:52,826 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-07-03 22:54:52,827 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-07-03 22:54:52,829 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-07-03 22:54:52,830 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-07-03 22:54:52,830 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-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:87 Wednesday 03 July 2024 22:54:52 +0000 (0:00:00.691) 0:00:25.257 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:94 Wednesday 03 July 2024 22:54:52 +0000 (0:00:00.032) 0:00:25.290 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 July 2024 22:54:52 +0000 (0:00:00.035) 0:00:25.325 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/.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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:54:53 +0000 (0:00:00.047) 0:00:25.373 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 03 July 2024 22:54:53 +0000 (0:00:00.039) 0:00:25.413 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 03 July 2024 22:54:53 +0000 (0:00:00.047) 0:00:25.460 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 03 July 2024 22:54:53 +0000 (0:00:00.035) 0:00:25.496 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 03 July 2024 22:54:54 +0000 (0:00:01.583) 0:00:27.079 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 July 2024 22:54:56 +0000 (0:00:01.441) 0:00:28.521 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 July 2024 22:54:56 +0000 (0:00:00.069) 0:00:28.591 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 July 2024 22:54:56 +0000 (0:00:00.032) 0:00:28.623 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 03 July 2024 22:54:56 +0000 (0:00:00.032) 0:00:28.655 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 03 July 2024 22:54:56 +0000 (0:00:00.031) 0:00:28.687 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 03 July 2024 22:54:56 +0000 (0:00:00.037) 0:00:28.724 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 03 July 2024 22:54:56 +0000 (0:00:00.031) 0:00:28.755 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 03 July 2024 22:54:56 +0000 (0:00:00.036) 0:00:28.792 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 03 July 2024 22:54:56 +0000 (0:00:00.054) 0:00:28.846 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 03 July 2024 22:54:59 +0000 (0:00:02.789) 0:00:31.636 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 03 July 2024 22:54:59 +0000 (0:00:00.032) 0:00:31.668 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 03 July 2024 22:54:59 +0000 (0:00:00.035) 0:00:31.704 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 July 2024 22:54:59 +0000 (0:00:00.398) 0:00:32.102 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 03 July 2024 22:54:59 +0000 (0:00:00.046) 0:00:32.148 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 03 July 2024 22:54:59 +0000 (0:00:00.037) 0:00:32.186 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 03 July 2024 22:54:59 +0000 (0:00:00.052) 0:00:32.239 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 03 July 2024 22:55:00 +0000 (0:00:00.395) 0:00:32.635 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:ff:e2:f6:c5:0d", "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::8ff:e2ff:fef6:c50d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:FF:E2:F6:C5:0D", "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::809e:25ff:fed4:a326", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "82:9E:25:D4:A3:26", "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::1641:4703:5ad9:ef3b", "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": "6A:00:52:BD:6D:E8", "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::4bf:79ff:fe0a:faeb", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:BF:79:0A:FA:EB", "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::84be:e1ff:fe57:905c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "86:BE:E1:57:90:5C", "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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 03 July 2024 22:55:01 +0000 (0:00:00.728) 0:00:33.363 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 03 July 2024 22:55:01 +0000 (0:00:00.041) 0:00:33.405 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 03 July 2024 22:55:01 +0000 (0:00:00.049) 0:00:33.455 ******** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:ff:e2:f6:c5:0d", "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::8ff:e2ff:fef6:c50d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:FF:E2:F6:C5:0D", "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::809e:25ff:fed4:a326", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "82:9E:25:D4:A3:26", "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::1641:4703:5ad9:ef3b", "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": "6A:00:52:BD:6D:E8", "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::4bf:79ff:fe0a:faeb", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:BF:79:0A:FA:EB", "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::84be:e1ff:fe57:905c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "86:BE:E1:57:90:5C", "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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 03 July 2024 22:55:01 +0000 (0:00:00.083) 0:00:33.539 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:113 Wednesday 03 July 2024 22:55:01 +0000 (0:00:00.260) 0:00:33.799 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.501842", "end": "2024-07-03 22:55:02.164278", "rc": 0, "start": "2024-07-03 22:55:01.662436" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.12.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.12.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.13.128 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::8ff:e2ff:fef6:c50d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:FF:E2:F6:C5:0D 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::809e:25ff:fed4:a326 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 82:9E:25:D4:A3:26 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::1641:4703:5ad9:ef3b 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: 6A:00:52:BD:6D:E8 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::4bf:79ff:fe0a:faeb prefix-length: 64 mac-address: 06:BF:79:0A:FA:EB 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::84be:e1ff:fe57:905c prefix-length: 64 mac-address: 86:BE:E1:57:90:5C mtu: 1500 veth: peer: ethtest1 STDERR: 2024-07-03 22:55:02,086 root DEBUG NetworkManager version 1.40.16 2024-07-03 22:55:02,087 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-07-03 22:55:02,088 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-07-03 22:55:02,088 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-07-03 22:55:02,090 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-07-03 22:55:02,090 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-07-03 22:55:02,091 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-07-03 22:55:02,093 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-07-03 22:55:02,093 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-07-03 22:55:02,094 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:119 Wednesday 03 July 2024 22:55:02 +0000 (0:00:00.743) 0:00:34.543 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 July 2024 22:55:02 +0000 (0:00:00.045) 0:00:34.588 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/.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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:55:02 +0000 (0:00:00.053) 0:00:34.642 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 03 July 2024 22:55:02 +0000 (0:00:00.051) 0:00:34.694 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 03 July 2024 22:55:02 +0000 (0:00:00.040) 0:00:34.734 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 03 July 2024 22:55:02 +0000 (0:00:00.042) 0:00:34.777 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 03 July 2024 22:55:04 +0000 (0:00:01.572) 0:00:36.349 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 July 2024 22:55:05 +0000 (0:00:01.395) 0:00:37.744 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 July 2024 22:55:05 +0000 (0:00:00.104) 0:00:37.849 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 July 2024 22:55:05 +0000 (0:00:00.033) 0:00:37.882 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 03 July 2024 22:55:05 +0000 (0:00:00.030) 0:00:37.913 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 03 July 2024 22:55:05 +0000 (0:00:00.032) 0:00:37.946 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 03 July 2024 22:55:05 +0000 (0:00:00.035) 0:00:37.981 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 03 July 2024 22:55:05 +0000 (0:00:00.029) 0:00:38.011 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 03 July 2024 22:55:05 +0000 (0:00:00.037) 0:00:38.048 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 03 July 2024 22:55:05 +0000 (0:00:00.067) 0:00:38.115 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 03 July 2024 22:55:08 +0000 (0:00:02.668) 0:00:40.784 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 03 July 2024 22:55:08 +0000 (0:00:00.084) 0:00:40.868 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 03 July 2024 22:55:08 +0000 (0:00:00.037) 0:00:40.905 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 July 2024 22:55:08 +0000 (0:00:00.387) 0:00:41.292 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 03 July 2024 22:55:08 +0000 (0:00:00.038) 0:00:41.331 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 03 July 2024 22:55:09 +0000 (0:00:00.032) 0:00:41.363 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 03 July 2024 22:55:09 +0000 (0:00:00.031) 0:00:41.394 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 03 July 2024 22:55:09 +0000 (0:00:00.428) 0:00:41.823 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0a:ff:e2:f6:c5:0d", "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::8ff:e2ff:fef6:c50d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:FF:E2:F6:C5:0D", "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::809e:25ff:fed4:a326", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "82:9E:25:D4:A3:26", "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::1641:4703:5ad9:ef3b", "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": "6A:00:52:BD:6D:E8", "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::4bf:79ff:fe0a:faeb", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:BF:79:0A:FA:EB", "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::84be:e1ff:fe57:905c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "86:BE:E1:57:90:5C", "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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 03 July 2024 22:55:10 +0000 (0:00:00.719) 0:00:42.543 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 03 July 2024 22:55:10 +0000 (0:00:00.056) 0:00:42.599 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 03 July 2024 22:55:10 +0000 (0:00:00.099) 0:00:42.699 ******** 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": "0a:ff:e2:f6:c5:0d", "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::8ff:e2ff:fef6:c50d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:FF:E2:F6:C5:0D", "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::809e:25ff:fed4:a326", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "82:9E:25:D4:A3:26", "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::1641:4703:5ad9:ef3b", "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": "6A:00:52:BD:6D:E8", "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::4bf:79ff:fe0a:faeb", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:BF:79:0A:FA:EB", "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::84be:e1ff:fe57:905c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "86:BE:E1:57:90:5C", "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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 03 July 2024 22:55:10 +0000 (0:00:00.049) 0:00:42.748 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:142 Wednesday 03 July 2024 22:55:10 +0000 (0:00:00.224) 0:00:42.973 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.495632", "end": "2024-07-03 22:55:11.315369", "rc": 0, "start": "2024-07-03 22:55:10.819737" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.12.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.12.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.13.128 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::8ff:e2ff:fef6:c50d prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:FF:E2:F6:C5:0D 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::809e:25ff:fed4:a326 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 82:9E:25:D4:A3:26 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::1641:4703:5ad9:ef3b 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: 6A:00:52:BD:6D:E8 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::4bf:79ff:fe0a:faeb prefix-length: 64 mac-address: 06:BF:79:0A:FA:EB 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::84be:e1ff:fe57:905c prefix-length: 64 mac-address: 86:BE:E1:57:90:5C mtu: 1500 veth: peer: ethtest1 STDERR: 2024-07-03 22:55:11,238 root DEBUG NetworkManager version 1.40.16 2024-07-03 22:55:11,239 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-07-03 22:55:11,240 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-07-03 22:55:11,240 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-07-03 22:55:11,242 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-07-03 22:55:11,243 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-07-03 22:55:11,243 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-07-03 22:55:11,245 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-07-03 22:55:11,246 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-07-03 22:55:11,246 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the DNS configuration from the file `/run/NetworkManager/no-stub-resolv.conf`] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:148 Wednesday 03 July 2024 22:55:11 +0000 (0:00:00.715) 0:00:43.688 ******** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003174", "end": "2024-07-03 22:55:11.530051", "rc": 0, "start": "2024-07-03 22:55:11.526877" } STDOUT: # Generated by NetworkManager search example.com example.org testing-farm nameserver 2001:4860:4860::8888 TASK [Assert that the nmstatectl contains the specified DNS configuration] ***** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:153 Wednesday 03 July 2024 22:55:11 +0000 (0:00:00.215) 0:00:43.904 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the file `/run/NetworkManager/no-stub-resolv.conf` contains the specified DNS configuration] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:161 Wednesday 03 July 2024 22:55:11 +0000 (0:00:00.033) 0:00:43.937 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 July 2024 22:55:11 +0000 (0:00:00.032) 0:00:43.969 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/.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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:55:11 +0000 (0:00:00.047) 0:00:44.017 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 03 July 2024 22:55:11 +0000 (0:00:00.038) 0:00:44.056 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 03 July 2024 22:55:11 +0000 (0:00:00.036) 0:00:44.092 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 03 July 2024 22:55:11 +0000 (0:00:00.034) 0:00:44.127 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 03 July 2024 22:55:13 +0000 (0:00:01.658) 0:00:45.786 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 July 2024 22:55:14 +0000 (0:00:01.512) 0:00:47.298 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 July 2024 22:55:15 +0000 (0:00:00.047) 0:00:47.346 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 July 2024 22:55:15 +0000 (0:00:00.038) 0:00:47.384 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 03 July 2024 22:55:15 +0000 (0:00:00.081) 0:00:47.466 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 03 July 2024 22:55:15 +0000 (0:00:00.033) 0:00:47.499 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 03 July 2024 22:55:15 +0000 (0:00:00.040) 0:00:47.540 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 03 July 2024 22:55:15 +0000 (0:00:00.032) 0:00:47.573 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 03 July 2024 22:55:15 +0000 (0:00:00.035) 0:00:47.609 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 03 July 2024 22:55:15 +0000 (0:00:00.092) 0:00:47.701 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 03 July 2024 22:55:18 +0000 (0:00:02.684) 0:00:50.386 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 03 July 2024 22:55:18 +0000 (0:00:00.032) 0:00:50.418 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 03 July 2024 22:55:18 +0000 (0:00:00.046) 0:00:50.465 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 July 2024 22:55:18 +0000 (0:00:00.444) 0:00:50.910 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 03 July 2024 22:55:18 +0000 (0:00:00.038) 0:00:50.949 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 03 July 2024 22:55:18 +0000 (0:00:00.037) 0:00:50.986 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 03 July 2024 22:55:18 +0000 (0:00:00.110) 0:00:51.097 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 03 July 2024 22:55:19 +0000 (0:00:00.378) 0:00:51.475 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:ff:e2:f6:c5:0d", "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::8ff:e2ff:fef6:c50d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:FF:E2:F6:C5:0D", "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::809e:25ff:fed4:a326", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "82:9E:25:D4:A3:26", "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::1641:4703:5ad9:ef3b", "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": "6A:00:52:BD:6D:E8", "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::4bf:79ff:fe0a:faeb", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:BF:79:0A:FA:EB", "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::84be:e1ff:fe57:905c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "86:BE:E1:57:90:5C", "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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 03 July 2024 22:55:19 +0000 (0:00:00.655) 0:00:52.131 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 03 July 2024 22:55:19 +0000 (0:00:00.034) 0:00:52.165 ******** 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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 03 July 2024 22:55:19 +0000 (0:00:00.038) 0:00:52.204 ******** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:ff:e2:f6:c5:0d", "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::8ff:e2ff:fef6:c50d", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:FF:E2:F6:C5:0D", "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::809e:25ff:fed4:a326", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "82:9E:25:D4:A3:26", "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::1641:4703:5ad9:ef3b", "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": "6A:00:52:BD:6D:E8", "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::4bf:79ff:fe0a:faeb", "prefix-length": 64 } ], "enabled": true }, "mac-address": "06:BF:79:0A:FA:EB", "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::84be:e1ff:fe57:905c", "prefix-length": 64 } ], "enabled": true }, "mac-address": "86:BE:E1:57:90:5C", "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-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 03 July 2024 22:55:19 +0000 (0:00:00.042) 0:00:52.247 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:177 Wednesday 03 July 2024 22:55:20 +0000 (0:00:00.235) 0:00:52.482 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 July 2024 22:55:20 +0000 (0:00:00.064) 0:00:52.546 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.014130", "end": "2024-07-03 22:55:20.407254", "rc": 0, "start": "2024-07-03 22:55:20.393124" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:179 Wednesday 03 July 2024 22:55:20 +0000 (0:00:00.241) 0:00:52.788 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 22:55:20 +0000 (0:00:00.061) 0:00:52.849 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:55:20 +0000 (0:00:00.042) 0:00:52.892 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 22:55:20 +0000 (0:00:00.224) 0:00:53.116 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:181 Wednesday 03 July 2024 22:55:20 +0000 (0:00:00.064) 0:00:53.180 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:185 Wednesday 03 July 2024 22:55:20 +0000 (0:00:00.030) 0:00:53.211 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 July 2024 22:55:20 +0000 (0:00:00.056) 0:00:53.268 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.010978", "end": "2024-07-03 22:55:21.118214", "rc": 0, "start": "2024-07-03 22:55:21.107236" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:187 Wednesday 03 July 2024 22:55:21 +0000 (0:00:00.227) 0:00:53.495 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 22:55:21 +0000 (0:00:00.061) 0:00:53.557 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:55:21 +0000 (0:00:00.041) 0:00:53.598 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 22:55:21 +0000 (0:00:00.207) 0:00:53.806 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:189 Wednesday 03 July 2024 22:55:21 +0000 (0:00:00.032) 0:00:53.839 ******** included: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 03 July 2024 22:55:21 +0000 (0:00:00.060) 0:00:53.899 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009034", "end": "2024-07-03 22:55:21.755069", "rc": 0, "start": "2024-07-03 22:55:21.746035" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:e2:f6:c5:0d brd ff:ff:ff:ff:ff:ff inet 10.31.13.128/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2282sec preferred_lft 2282sec inet6 fe80::8ff:e2ff:fef6:c50d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.128 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.128 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 03 July 2024 22:55:21 +0000 (0:00:00.233) 0:00:54.132 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.314290", "end": "2024-07-03 22:55:22.289425", "rc": 0, "start": "2024-07-03 22:55:21.975135" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1286 0 --:--:-- --:--:-- --:--:-- 1286 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 5705 0 --:--:-- --:--:-- --:--:-- 5705 PLAY RECAP ********************************************************************* sut : ok=122 changed=5 unreachable=0 failed=0 skipped=78 rescued=0 ignored=0 Wednesday 03 July 2024 22:55:22 +0000 (0:00:00.594) 0:00:54.727 ******** =============================================================================== fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 4.58s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Install iproute --------------------------------------------------------- 3.10s /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.79s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.68s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.67s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Install iproute --------------------------------------------------------- 2.67s /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.94s /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/tests_network_state_nm.yml:6 fedora.linux_system_roles.network : Configure networking state ---------- 0.85s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Get the route configuration --------------------------------------------- 0.74s /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:113 fedora.linux_system_roles.network : Configure networking state ---------- 0.73s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 fedora.linux_system_roles.network : Configure networking state ---------- 0.72s /WORKDIR/git-network-state-in-defaultskmg18_oa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Get the DNS configuration from nmstatectl ------------------------------- 0.72s /WORKDIR/git-network-state-in-defaultskmg18_oa/tests/playbooks/tests_network_state.yml:142 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---