[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. ansible-playbook [core 2.16.9] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.cYm5uKljqe executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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 /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tests_network_state_nm.yml PLAY [Run playbook 'playbooks/tests_network_state.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tests_network_state_nm.yml:6 Tuesday 30 July 2024 13:59:55 -0400 (0:00:00.008) 0:00:00.008 ********** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tests_network_state_nm.yml:9 Tuesday 30 July 2024 13:59:56 -0400 (0:00:01.195) 0:00:01.204 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 30 July 2024 13:59:56 -0400 (0:00:00.020) 0:00:01.224 ********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 30 July 2024 13:59:57 -0400 (0:00:00.592) 0:00:01.817 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 30 July 2024 13:59:57 -0400 (0:00:00.510) 0:00:02.328 ********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 30 July 2024 13:59:57 -0400 (0:00:00.025) 0:00:02.353 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 30 July 2024 13:59:58 -0400 (0:00:00.015) 0:00:02.369 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 30 July 2024 13:59:58 -0400 (0:00:00.044) 0:00:02.413 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Tuesday 30 July 2024 13:59:58 -0400 (0:00:00.517) 0:00:02.931 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Tuesday 30 July 2024 13:59:58 -0400 (0:00:00.015) 0:00:02.947 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Tuesday 30 July 2024 13:59:58 -0400 (0:00:00.016) 0:00:02.963 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.292066", "end": "2024-07-30 13:59:59.231219", "rc": 0, "start": "2024-07-30 13:59:58.939153" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Tuesday 30 July 2024 13:59:59 -0400 (0:00:00.689) 0:00:03.652 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tests_network_state_nm.yml:11 Tuesday 30 July 2024 13:59:59 -0400 (0:00:00.015) 0:00:03.668 ********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for configuring network using network state variable] *************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:3 Tuesday 30 July 2024 13:59:59 -0400 (0:00:00.032) 0:00:03.700 ********** ok: [managed_node1] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:12 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.882) 0:00:04.582 ********** ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:16 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.034) 0:00:04.617 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.064) 0:00:04.682 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.040) 0:00:04.722 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003520", "end": "2024-07-30 14:00:00.712242", "rc": 0, "start": "2024-07-30 14:00:00.708722" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.410) 0:00:05.132 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.036) 0:00:05.168 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:18 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.034) 0:00:05.203 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.073) 0:00:05.277 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.031) 0:00:05.309 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 14:00:00 -0400 (0:00:00.032) 0:00:05.341 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:00:01 -0400 (0:00:00.038) 0:00:05.379 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:00:01 -0400 (0:00:00.036) 0:00:05.416 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003774", "end": "2024-07-30 14:00:01.410319", "rc": 0, "start": "2024-07-30 14:00:01.406545" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:00:01 -0400 (0:00:00.416) 0:00:05.832 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:00:01 -0400 (0:00:00.037) 0:00:05.870 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 14:00:01 -0400 (0:00:00.039) 0:00:05.910 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 14:00:04 -0400 (0:00:03.385) 0:00:09.295 ********** ok: [managed_node1] => (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.012743", "end": "2024-07-30 14:00:05.305075", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-07-30 14:00:05.292332" } ok: [managed_node1] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004668", "end": "2024-07-30 14:00:05.743694", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-07-30 14:00:05.739026" } ok: [managed_node1] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004425", "end": "2024-07-30 14:00:06.129482", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-07-30 14:00:06.125057" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 14:00:06 -0400 (0:00:01.256) 0:00:10.551 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.026768", "end": "2024-07-30 14:00:06.568930", "rc": 0, "start": "2024-07-30 14:00:06.542162" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 14:00:06 -0400 (0:00:00.441) 0:00:10.993 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 14:00:06 -0400 (0:00:00.033) 0:00:11.026 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 14:00:06 -0400 (0:00:00.033) 0:00:11.060 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 14:00:06 -0400 (0:00:00.033) 0:00:11.094 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 14:00:06 -0400 (0:00:00.033) 0:00:11.128 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:22 Tuesday 30 July 2024 14:00:06 -0400 (0:00:00.033) 0:00:11.161 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 14:00:06 -0400 (0:00:00.067) 0:00:11.229 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:00:06 -0400 (0:00:00.037) 0:00:11.266 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362405.2962232, "block_size": 4096, "blocks": 0, "ctime": 1722362405.2962232, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 56468, "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": 1722362405.2962232, "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 14:00:07 -0400 (0:00:00.408) 0:00:11.674 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:24 Tuesday 30 July 2024 14:00:07 -0400 (0:00:00.041) 0:00:11.715 ********** ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:28 Tuesday 30 July 2024 14:00:07 -0400 (0:00:00.038) 0:00:11.754 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:00:07 -0400 (0:00:00.072) 0:00:11.826 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:00:07 -0400 (0:00:00.038) 0:00:11.865 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003629", "end": "2024-07-30 14:00:07.852581", "rc": 0, "start": "2024-07-30 14:00:07.848952" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:00:07 -0400 (0:00:00.409) 0:00:12.274 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:00:07 -0400 (0:00:00.035) 0:00:12.310 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:30 Tuesday 30 July 2024 14:00:07 -0400 (0:00:00.035) 0:00:12.345 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Tuesday 30 July 2024 14:00:08 -0400 (0:00:00.076) 0:00:12.421 ********** skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Tuesday 30 July 2024 14:00:08 -0400 (0:00:00.032) 0:00:12.454 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Tuesday 30 July 2024 14:00:08 -0400 (0:00:00.034) 0:00:12.488 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 July 2024 14:00:08 -0400 (0:00:00.044) 0:00:12.532 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 July 2024 14:00:08 -0400 (0:00:00.039) 0:00:12.571 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003492", "end": "2024-07-30 14:00:08.559573", "rc": 0, "start": "2024-07-30 14:00:08.556081" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 July 2024 14:00:08 -0400 (0:00:00.407) 0:00:12.979 ********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 July 2024 14:00:08 -0400 (0:00:00.037) 0:00:13.016 ********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Tuesday 30 July 2024 14:00:08 -0400 (0:00:00.035) 0:00:13.052 ********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Tuesday 30 July 2024 14:00:11 -0400 (0:00:03.028) 0:00:16.080 ********** ok: [managed_node1] => (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.006151", "end": "2024-07-30 14:00:12.080399", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-07-30 14:00:12.074248" } ok: [managed_node1] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004022", "end": "2024-07-30 14:00:12.519190", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-07-30 14:00:12.515168" } ok: [managed_node1] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004406", "end": "2024-07-30 14:00:12.905716", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-07-30 14:00:12.901310" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Tuesday 30 July 2024 14:00:12 -0400 (0:00:01.248) 0:00:17.329 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.027069", "end": "2024-07-30 14:00:13.343608", "rc": 0, "start": "2024-07-30 14:00:13.316539" } TASK [Delete veth interface ethtest1] ****************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Tuesday 30 July 2024 14:00:13 -0400 (0:00:00.436) 0:00:17.766 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Tuesday 30 July 2024 14:00:13 -0400 (0:00:00.034) 0:00:17.800 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Tuesday 30 July 2024 14:00:13 -0400 (0:00:00.035) 0:00:17.835 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Tuesday 30 July 2024 14:00:13 -0400 (0:00:00.034) 0:00:17.870 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Tuesday 30 July 2024 14:00:13 -0400 (0:00:00.034) 0:00:17.904 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:34 Tuesday 30 July 2024 14:00:13 -0400 (0:00:00.033) 0:00:17.938 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 July 2024 14:00:13 -0400 (0:00:00.074) 0:00:18.013 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface ethtest1] ***************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:00:13 -0400 (0:00:00.038) 0:00:18.051 ********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722362412.0782168, "block_size": 4096, "blocks": 0, "ctime": 1722362412.0782168, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 57054, "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": 1722362412.0782168, "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 July 2024 14:00:14 -0400 (0:00:00.406) 0:00:18.458 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:00:14 -0400 (0:00:00.038) 0:00:18.496 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:00:14 -0400 (0:00:00.052) 0:00:18.548 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:00:14 -0400 (0:00:00.044) 0:00:18.593 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:00:14 -0400 (0:00:00.045) 0:00:18.638 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:00:14 -0400 (0:00:00.044) 0:00:18.683 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:00:16 -0400 (0:00:02.114) 0:00:20.798 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:00:18 -0400 (0:00:01.968) 0:00:22.766 ********** ok: [managed_node1] => {} 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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:00:18 -0400 (0:00:00.058) 0:00:22.824 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:00:18 -0400 (0:00:00.084) 0:00:22.909 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:00:18 -0400 (0:00:00.056) 0:00:22.966 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:00:18 -0400 (0:00:00.054) 0:00:23.020 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:00:18 -0400 (0:00:00.063) 0:00:23.084 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:00:18 -0400 (0:00:00.055) 0:00:23.140 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:00:18 -0400 (0:00:00.061) 0:00:23.202 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:00:18 -0400 (0:00:00.098) 0:00:23.300 ********** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: nmstate-1.4.6-2.el8.x86_64", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: python3-libnmstate-1.4.6-2.el8.noarch", "Installed: python3-nispor-1.2.10-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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:00:24 -0400 (0:00:05.217) 0:00:28.517 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:00:24 -0400 (0:00:00.057) 0:00:28.575 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:00:24 -0400 (0:00:00.063) 0:00:28.638 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:00:25 -0400 (0:00:00.897) 0:00:29.536 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:00:25 -0400 (0:00:00.063) 0:00:29.599 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:00:25 -0400 (0:00:00.055) 0:00:29.654 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:00:25 -0400 (0:00:00.056) 0:00:29.711 ********** ok: [managed_node1] => { "_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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:00:26 -0400 (0:00:00.826) 0:00:30.537 ********** changed: [managed_node1] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:fb:86:ed:e8:f3", "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::cfb:86ff:feed:e8f3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:FB:86:ED:E8:F3", "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::69:edff:fe36:12d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:69:ED:36:12:D5", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::96b5:7d8b:1365:b6f3", "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": "22:7A:89:C2:7A:74", "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::786d:8fff:fe40:bf1", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:6D:8F:40:0B:F1", "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::38e8:10ff:fe98:e558", "prefix-length": 64 } ], "enabled": true }, "mac-address": "3A:E8:10:98:E5:58", "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:00:27 -0400 (0:00:01.163) 0:00:31.701 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:00:27 -0400 (0:00:00.060) 0:00:31.762 ********** ok: [managed_node1] => { "__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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:00:27 -0400 (0:00:00.152) 0:00:31.914 ********** ok: [managed_node1] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:fb:86:ed:e8:f3", "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::cfb:86ff:feed:e8f3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:FB:86:ED:E8:F3", "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::69:edff:fe36:12d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:69:ED:36:12:D5", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::96b5:7d8b:1365:b6f3", "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": "22:7A:89:C2:7A:74", "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::786d:8fff:fe40:bf1", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:6D:8F:40:0B:F1", "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::38e8:10ff:fe98:e558", "prefix-length": 64 } ], "enabled": true }, "mac-address": "3A:E8:10:98:E5:58", "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:00:27 -0400 (0:00:00.068) 0:00:31.982 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:75 Tuesday 30 July 2024 14:00:28 -0400 (0:00:00.557) 0:00:32.539 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.535924", "end": "2024-07-30 14:00:29.063735", "rc": 0, "start": "2024-07-30 14:00:28.527811" } 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::69:edff:fe36:12d5 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 02:69:ED:36:12:D5 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-07-30 14:00:28,983 root DEBUG NetworkManager version 1.40.16 2024-07-30 14:00:28,985 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-07-30 14:00:28,985 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-07-30 14:00:28,986 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-07-30 14:00:28,988 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-07-30 14:00:28,989 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-07-30 14:00:28,989 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-07-30 14:00:28,992 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-07-30 14:00:28,992 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-07-30 14:00:28,992 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:81 Tuesday 30 July 2024 14:00:29 -0400 (0:00:00.965) 0:00:33.505 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.532684", "end": "2024-07-30 14:00:30.020788", "rc": 0, "start": "2024-07-30 14:00:29.488104" } 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::96b5:7d8b:1365:b6f3 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: 22:7A:89:C2:7A:74 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-07-30 14:00:29,942 root DEBUG NetworkManager version 1.40.16 2024-07-30 14:00:29,944 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-07-30 14:00:29,944 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-07-30 14:00:29,944 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-07-30 14:00:29,947 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-07-30 14:00:29,948 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-07-30 14:00:29,948 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-07-30 14:00:29,950 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-07-30 14:00:29,951 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-07-30 14:00:29,951 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the ethtest0 state configuration contains the specified settings] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:87 Tuesday 30 July 2024 14:00:30 -0400 (0:00:00.955) 0:00:34.460 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:94 Tuesday 30 July 2024 14:00:30 -0400 (0:00:00.059) 0:00:34.519 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:00:30 -0400 (0:00:00.058) 0:00:34.578 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:00:30 -0400 (0:00:00.086) 0:00:34.664 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:00:30 -0400 (0:00:00.068) 0:00:34.733 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:00:30 -0400 (0:00:00.062) 0:00:34.795 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:00:30 -0400 (0:00:00.064) 0:00:34.860 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:00:32 -0400 (0:00:02.000) 0:00:36.861 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:00:34 -0400 (0:00:01.776) 0:00:38.638 ********** ok: [managed_node1] => {} 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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:00:34 -0400 (0:00:00.058) 0:00:38.696 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:00:34 -0400 (0:00:00.057) 0:00:38.754 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:00:34 -0400 (0:00:00.056) 0:00:38.810 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:00:34 -0400 (0:00:00.056) 0:00:38.867 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:00:34 -0400 (0:00:00.064) 0:00:38.931 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:00:34 -0400 (0:00:00.054) 0:00:38.985 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:00:34 -0400 (0:00:00.062) 0:00:39.048 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:00:34 -0400 (0:00:00.095) 0:00:39.144 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:00:37 -0400 (0:00:03.078) 0:00:42.223 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:00:37 -0400 (0:00:00.059) 0:00:42.282 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:00:37 -0400 (0:00:00.064) 0:00:42.346 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:00:38 -0400 (0:00:00.647) 0:00:42.993 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:00:38 -0400 (0:00:00.064) 0:00:43.058 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:00:38 -0400 (0:00:00.055) 0:00:43.113 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:00:38 -0400 (0:00:00.057) 0:00:43.171 ********** ok: [managed_node1] => { "_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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:00:39 -0400 (0:00:00.704) 0:00:43.876 ********** changed: [managed_node1] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:fb:86:ed:e8:f3", "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::cfb:86ff:feed:e8f3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:FB:86:ED:E8:F3", "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::69:edff:fe36:12d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:69:ED:36:12:D5", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::96b5:7d8b:1365:b6f3", "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": "22:7A:89:C2:7A:74", "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::786d:8fff:fe40:bf1", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:6D:8F:40:0B:F1", "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::38e8:10ff:fe98:e558", "prefix-length": 64 } ], "enabled": true }, "mac-address": "3A:E8:10:98:E5:58", "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:00:40 -0400 (0:00:00.915) 0:00:44.791 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:00:40 -0400 (0:00:00.064) 0:00:44.855 ********** ok: [managed_node1] => { "__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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:00:40 -0400 (0:00:00.061) 0:00:44.917 ********** ok: [managed_node1] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:fb:86:ed:e8:f3", "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::cfb:86ff:feed:e8f3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:FB:86:ED:E8:F3", "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::69:edff:fe36:12d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:69:ED:36:12:D5", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::96b5:7d8b:1365:b6f3", "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": "22:7A:89:C2:7A:74", "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::786d:8fff:fe40:bf1", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:6D:8F:40:0B:F1", "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::38e8:10ff:fe98:e558", "prefix-length": 64 } ], "enabled": true }, "mac-address": "3A:E8:10:98:E5:58", "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:00:40 -0400 (0:00:00.068) 0:00:44.985 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:113 Tuesday 30 July 2024 14:00:41 -0400 (0:00:00.457) 0:00:45.443 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.551422", "end": "2024-07-30 14:00:41.984823", "rc": 0, "start": "2024-07-30 14:00:41.433401" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.41.126 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::cfb:86ff:feed:e8f3 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:FB:86:ED:E8:F3 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::69:edff:fe36:12d5 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 02:69:ED:36:12:D5 mtu: 1500 veth: peer: peerethtest0 wait-ip: any - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::96b5:7d8b:1365:b6f3 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: 22:7A:89:C2:7A:74 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::786d:8fff:fe40:bf1 prefix-length: 64 mac-address: 7A:6D:8F:40:0B:F1 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::38e8:10ff:fe98:e558 prefix-length: 64 mac-address: 3A:E8:10:98:E5:58 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-07-30 14:00:41,890 root DEBUG NetworkManager version 1.40.16 2024-07-30 14:00:41,892 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-07-30 14:00:41,892 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-07-30 14:00:41,892 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-07-30 14:00:41,894 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-07-30 14:00:41,895 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-07-30 14:00:41,896 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-07-30 14:00:41,898 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-07-30 14:00:41,899 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-07-30 14:00:41,899 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:119 Tuesday 30 July 2024 14:00:42 -0400 (0:00:00.984) 0:00:46.427 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:00:42 -0400 (0:00:00.067) 0:00:46.495 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:00:42 -0400 (0:00:00.087) 0:00:46.582 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:00:42 -0400 (0:00:00.069) 0:00:46.652 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:00:42 -0400 (0:00:00.063) 0:00:46.715 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:00:42 -0400 (0:00:00.063) 0:00:46.779 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:00:44 -0400 (0:00:02.023) 0:00:48.802 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:00:46 -0400 (0:00:01.768) 0:00:50.570 ********** ok: [managed_node1] => {} 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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:00:46 -0400 (0:00:00.060) 0:00:50.630 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:00:46 -0400 (0:00:00.058) 0:00:50.689 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:00:46 -0400 (0:00:00.058) 0:00:50.747 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:00:46 -0400 (0:00:00.056) 0:00:50.803 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:00:46 -0400 (0:00:00.065) 0:00:50.869 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:00:46 -0400 (0:00:00.057) 0:00:50.926 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:00:46 -0400 (0:00:00.063) 0:00:50.989 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:00:46 -0400 (0:00:00.098) 0:00:51.088 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:00:49 -0400 (0:00:03.072) 0:00:54.160 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:00:49 -0400 (0:00:00.058) 0:00:54.218 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:00:49 -0400 (0:00:00.064) 0:00:54.283 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:00:50 -0400 (0:00:00.642) 0:00:54.925 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:00:50 -0400 (0:00:00.064) 0:00:54.989 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:00:50 -0400 (0:00:00.056) 0:00:55.045 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:00:50 -0400 (0:00:00.056) 0:00:55.102 ********** ok: [managed_node1] => { "_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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:00:51 -0400 (0:00:00.698) 0:00:55.800 ********** changed: [managed_node1] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:fb:86:ed:e8:f3", "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::cfb:86ff:feed:e8f3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:FB:86:ED:E8:F3", "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::69:edff:fe36:12d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:69:ED:36:12:D5", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::96b5:7d8b:1365:b6f3", "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": "22:7A:89:C2:7A:74", "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::786d:8fff:fe40:bf1", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:6D:8F:40:0B:F1", "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::38e8:10ff:fe98:e558", "prefix-length": 64 } ], "enabled": true }, "mac-address": "3A:E8:10:98:E5:58", "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:00:52 -0400 (0:00:00.912) 0:00:56.713 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:00:52 -0400 (0:00:00.061) 0:00:56.774 ********** ok: [managed_node1] => { "__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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:00:52 -0400 (0:00:00.061) 0:00:56.836 ********** ok: [managed_node1] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:fb:86:ed:e8:f3", "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::cfb:86ff:feed:e8f3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:FB:86:ED:E8:F3", "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::69:edff:fe36:12d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:69:ED:36:12:D5", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::96b5:7d8b:1365:b6f3", "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": "22:7A:89:C2:7A:74", "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::786d:8fff:fe40:bf1", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:6D:8F:40:0B:F1", "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::38e8:10ff:fe98:e558", "prefix-length": 64 } ], "enabled": true }, "mac-address": "3A:E8:10:98:E5:58", "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:00:52 -0400 (0:00:00.070) 0:00:56.907 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:142 Tuesday 30 July 2024 14:00:52 -0400 (0:00:00.451) 0:00:57.358 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.541484", "end": "2024-07-30 14:00:53.887027", "rc": 0, "start": "2024-07-30 14:00:53.345543" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.41.126 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::cfb:86ff:feed:e8f3 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:FB:86:ED:E8:F3 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::69:edff:fe36:12d5 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 02:69:ED:36:12:D5 mtu: 1500 veth: peer: peerethtest0 wait-ip: any - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::96b5:7d8b:1365:b6f3 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: 22:7A:89:C2:7A:74 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::786d:8fff:fe40:bf1 prefix-length: 64 mac-address: 7A:6D:8F:40:0B:F1 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::38e8:10ff:fe98:e558 prefix-length: 64 mac-address: 3A:E8:10:98:E5:58 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-07-30 14:00:53,798 root DEBUG NetworkManager version 1.40.16 2024-07-30 14:00:53,800 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-07-30 14:00:53,800 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-07-30 14:00:53,800 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-07-30 14:00:53,803 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-07-30 14:00:53,803 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-07-30 14:00:53,804 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-07-30 14:00:53,806 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-07-30 14:00:53,807 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-07-30 14:00:53,807 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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:148 Tuesday 30 July 2024 14:00:53 -0400 (0:00:00.971) 0:00:58.329 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003257", "end": "2024-07-30 14:00:54.318201", "rc": 0, "start": "2024-07-30 14:00:54.314944" } STDOUT: # Generated by NetworkManager search example.com example.org us-east-1.aws.redhat.com nameserver 2001:4860:4860::8888 TASK [Assert that the nmstatectl contains the specified DNS configuration] ***** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:153 Tuesday 30 July 2024 14:00:54 -0400 (0:00:00.428) 0:00:58.758 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the file `/run/NetworkManager/no-stub-resolv.conf` contains the specified DNS configuration] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:161 Tuesday 30 July 2024 14:00:54 -0400 (0:00:00.061) 0:00:58.820 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 July 2024 14:00:54 -0400 (0:00:00.061) 0:00:58.881 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 July 2024 14:00:54 -0400 (0:00:00.088) 0:00:58.970 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 July 2024 14:00:54 -0400 (0:00:00.069) 0:00:59.039 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 July 2024 14:00:54 -0400 (0:00:00.063) 0:00:59.102 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 July 2024 14:00:54 -0400 (0:00:00.062) 0:00:59.165 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 July 2024 14:00:56 -0400 (0:00:02.099) 0:01:01.265 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 July 2024 14:00:58 -0400 (0:00:01.697) 0:01:02.963 ********** ok: [managed_node1] => {} 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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 July 2024 14:00:58 -0400 (0:00:00.059) 0:01:03.022 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 July 2024 14:00:58 -0400 (0:00:00.057) 0:01:03.080 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 30 July 2024 14:00:58 -0400 (0:00:00.058) 0:01:03.138 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 July 2024 14:00:58 -0400 (0:00:00.056) 0:01:03.195 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 30 July 2024 14:00:58 -0400 (0:00:00.065) 0:01:03.260 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 30 July 2024 14:00:58 -0400 (0:00:00.057) 0:01:03.317 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 30 July 2024 14:00:59 -0400 (0:00:00.063) 0:01:03.380 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 30 July 2024 14:00:59 -0400 (0:00:00.097) 0:01:03.478 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 30 July 2024 14:01:02 -0400 (0:00:03.129) 0:01:06.608 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 July 2024 14:01:02 -0400 (0:00:00.057) 0:01:06.666 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 30 July 2024 14:01:02 -0400 (0:00:00.063) 0:01:06.730 ********** ok: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 30 July 2024 14:01:03 -0400 (0:00:00.646) 0:01:07.376 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 July 2024 14:01:03 -0400 (0:00:00.168) 0:01:07.545 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 30 July 2024 14:01:03 -0400 (0:00:00.057) 0:01:07.603 ********** skipping: [managed_node1] => { "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 30 July 2024 14:01:03 -0400 (0:00:00.056) 0:01:07.659 ********** ok: [managed_node1] => { "_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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 30 July 2024 14:01:03 -0400 (0:00:00.607) 0:01:08.267 ********** changed: [managed_node1] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:fb:86:ed:e8:f3", "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::cfb:86ff:feed:e8f3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:FB:86:ED:E8:F3", "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::69:edff:fe36:12d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:69:ED:36:12:D5", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::96b5:7d8b:1365:b6f3", "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": "22:7A:89:C2:7A:74", "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::786d:8fff:fe40:bf1", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:6D:8F:40:0B:F1", "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::38e8:10ff:fe98:e558", "prefix-length": 64 } ], "enabled": true }, "mac-address": "3A:E8:10:98:E5:58", "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 30 July 2024 14:01:04 -0400 (0:00:00.917) 0:01:09.185 ********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 30 July 2024 14:01:04 -0400 (0:00:00.061) 0:01:09.246 ********** ok: [managed_node1] => { "__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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 30 July 2024 14:01:04 -0400 (0:00:00.060) 0:01:09.307 ********** ok: [managed_node1] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:fb:86:ed:e8:f3", "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::cfb:86ff:feed:e8f3", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:FB:86:ED:E8:F3", "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::69:edff:fe36:12d5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:69:ED:36:12:D5", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::96b5:7d8b:1365:b6f3", "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": "22:7A:89:C2:7A:74", "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::786d:8fff:fe40:bf1", "prefix-length": 64 } ], "enabled": true }, "mac-address": "7A:6D:8F:40:0B:F1", "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::38e8:10ff:fe98:e558", "prefix-length": 64 } ], "enabled": true }, "mac-address": "3A:E8:10:98:E5:58", "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: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 30 July 2024 14:01:05 -0400 (0:00:00.069) 0:01:09.377 ********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:177 Tuesday 30 July 2024 14:01:05 -0400 (0:00:00.451) 0:01:09.829 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 30 July 2024 14:01:05 -0400 (0:00:00.110) 0:01:09.940 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.014957", "end": "2024-07-30 14:01:05.946252", "rc": 0, "start": "2024-07-30 14:01:05.931295" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:179 Tuesday 30 July 2024 14:01:06 -0400 (0:00:00.460) 0:01:10.400 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 14:01:06 -0400 (0:00:00.114) 0:01:10.514 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface ethtest1] ***************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:01:06 -0400 (0:00:00.123) 0:01:10.638 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 14:01:06 -0400 (0:00:00.434) 0:01:11.073 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:181 Tuesday 30 July 2024 14:01:06 -0400 (0:00:00.058) 0:01:11.131 ********** ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:185 Tuesday 30 July 2024 14:01:06 -0400 (0:00:00.055) 0:01:11.186 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 30 July 2024 14:01:06 -0400 (0:00:00.112) 0:01:11.299 ********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011063", "end": "2024-07-30 14:01:07.299170", "rc": 0, "start": "2024-07-30 14:01:07.288107" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:187 Tuesday 30 July 2024 14:01:07 -0400 (0:00:00.448) 0:01:11.747 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 30 July 2024 14:01:07 -0400 (0:00:00.111) 0:01:11.858 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface ethtest0] ***************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 July 2024 14:01:07 -0400 (0:00:00.074) 0:01:11.932 ********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 30 July 2024 14:01:07 -0400 (0:00:00.435) 0:01:12.368 ********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:189 Tuesday 30 July 2024 14:01:08 -0400 (0:00:00.056) 0:01:12.424 ********** included: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 30 July 2024 14:01:08 -0400 (0:00:00.113) 0:01:12.537 ********** ok: [managed_node1] => { "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.010272", "end": "2024-07-30 14:01:08.540703", "rc": 0, "start": "2024-07-30 14:01:08.530431" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:fb:86:ed:e8:f3 brd ff:ff:ff:ff:ff:ff inet 10.31.41.126/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3507sec preferred_lft 3507sec inet6 fe80::cfb:86ff:feed:e8f3/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.126 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.126 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 nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 30 July 2024 14:01:08 -0400 (0:00:00.499) 0:01:13.037 ********** ok: [managed_node1] => { "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.313002", "end": "2024-07-30 14:01:09.345272", "rc": 0, "start": "2024-07-30 14:01:09.032270" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 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.fedoraproject.org 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1425 0 --:--:-- --:--:-- --:--:-- 1425 % 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 3986 0 --:--:-- --:--:-- --:--:-- 3986 PLAY RECAP ********************************************************************* managed_node1 : ok=122 changed=5 unreachable=0 failed=0 skipped=78 rescued=0 ignored=0 Tuesday 30 July 2024 14:01:09 -0400 (0:00:00.811) 0:01:13.848 ********** =============================================================================== fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.22s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Install iproute --------------------------------------------------------- 3.39s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.13s /tmp/tmp.cYm5uKljqe/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 --- 3.08s /tmp/tmp.cYm5uKljqe/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 --- 3.07s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Install iproute --------------------------------------------------------- 3.03s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.10s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.00s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.97s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface ethtest0 ------------------------------------------ 1.26s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Create veth interface ethtest1 ------------------------------------------ 1.25s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.20s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/tests_network_state_nm.yml:6 fedora.linux_system_roles.network : Configure networking state ---------- 1.16s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Get the route configuration --------------------------------------------- 0.98s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:113 Get the DNS configuration from nmstatectl ------------------------------- 0.97s /tmp/tmp.cYm5uKljqe/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:142