[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.V0D2Xyq8C0 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.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tests_network_state_nm.yml:6 Sunday 04 August 2024 14:03:39 -0400 (0:00:00.008) 0:00:00.008 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tests_network_state_nm.yml:9 Sunday 04 August 2024 14:03:40 -0400 (0:00:01.025) 0:00:01.033 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Sunday 04 August 2024 14:03:40 -0400 (0:00:00.018) 0:00:01.052 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Sunday 04 August 2024 14:03:40 -0400 (0:00:00.495) 0:00:01.547 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Sunday 04 August 2024 14:03:41 -0400 (0:00:00.426) 0:00:01.974 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Sunday 04 August 2024 14:03:41 -0400 (0:00:00.024) 0:00:01.998 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Sunday 04 August 2024 14:03:41 -0400 (0:00:00.014) 0:00:02.013 ********* included: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Sunday 04 August 2024 14:03:41 -0400 (0:00:00.048) 0:00:02.062 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Sunday 04 August 2024 14:03:41 -0400 (0:00:00.434) 0:00:02.496 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Sunday 04 August 2024 14:03:41 -0400 (0:00:00.015) 0:00:02.512 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Sunday 04 August 2024 14:03:41 -0400 (0:00:00.015) 0:00:02.527 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.213361", "end": "2024-08-04 14:03:42.065627", "rc": 0, "start": "2024-08-04 14:03:41.852266" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Sunday 04 August 2024 14:03:42 -0400 (0:00:00.536) 0:00:03.064 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tests_network_state_nm.yml:11 Sunday 04 August 2024 14:03:42 -0400 (0:00:00.014) 0:00:03.078 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:3 Sunday 04 August 2024 14:03:42 -0400 (0:00:00.029) 0:00:03.107 ********* ok: [managed_node1] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:12 Sunday 04 August 2024 14:03:42 -0400 (0:00:00.751) 0:00:03.859 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:16 Sunday 04 August 2024 14:03:42 -0400 (0:00:00.040) 0:00:03.900 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.069) 0:00:03.969 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.045) 0:00:04.015 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002804", "end": "2024-08-04 14:03:43.365207", "rc": 0, "start": "2024-08-04 14:03:43.362403" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.347) 0:00:04.362 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.041) 0:00:04.404 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:18 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.040) 0:00:04.445 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.076) 0:00:04.521 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.038) 0:00:04.559 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.038) 0:00:04.598 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.044) 0:00:04.642 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:03:43 -0400 (0:00:00.044) 0:00:04.687 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002809", "end": "2024-08-04 14:03:44.037246", "rc": 0, "start": "2024-08-04 14:03:44.034437" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:03:44 -0400 (0:00:00.347) 0:00:05.034 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:03:44 -0400 (0:00:00.043) 0:00:05.078 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 14:03:44 -0400 (0:00:00.044) 0:00:05.122 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 14:03:47 -0400 (0:00:02.928) 0:00:08.051 ********* 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.011202", "end": "2024-08-04 14:03:47.415424", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-08-04 14:03:47.404222" } 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.003264", "end": "2024-08-04 14:03:47.765489", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-08-04 14:03:47.762225" } 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.003770", "end": "2024-08-04 14:03:48.079552", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-08-04 14:03:48.075782" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 14:03:48 -0400 (0:00:01.026) 0:00:09.078 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.019822", "end": "2024-08-04 14:03:48.445946", "rc": 0, "start": "2024-08-04 14:03:48.426124" } TASK [Delete veth interface ethtest0] ****************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 14:03:48 -0400 (0:00:00.368) 0:00:09.446 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 14:03:48 -0400 (0:00:00.040) 0:00:09.487 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 14:03:48 -0400 (0:00:00.040) 0:00:09.527 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 14:03:48 -0400 (0:00:00.040) 0:00:09.567 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 14:03:48 -0400 (0:00:00.039) 0:00:09.607 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:22 Sunday 04 August 2024 14:03:48 -0400 (0:00:00.039) 0:00:09.647 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 14:03:48 -0400 (0:00:00.071) 0:00:09.719 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 14:03:48 -0400 (0:00:00.045) 0:00:09.765 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722794627.4074745, "block_size": 4096, "blocks": 0, "ctime": 1722794627.4074745, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 56544, "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": 1722794627.4074745, "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.350) 0:00:10.115 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:24 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.046) 0:00:10.162 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:28 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.044) 0:00:10.206 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.076) 0:00:10.282 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.043) 0:00:10.326 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002935", "end": "2024-08-04 14:03:49.674993", "rc": 0, "start": "2024-08-04 14:03:49.672058" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.347) 0:00:10.673 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.042) 0:00:10.715 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:30 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.042) 0:00:10.758 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.078) 0:00:10.836 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.041) 0:00:10.877 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Sunday 04 August 2024 14:03:49 -0400 (0:00:00.040) 0:00:10.918 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Sunday 04 August 2024 14:03:50 -0400 (0:00:00.050) 0:00:10.969 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Sunday 04 August 2024 14:03:50 -0400 (0:00:00.045) 0:00:11.014 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002706", "end": "2024-08-04 14:03:50.364833", "rc": 0, "start": "2024-08-04 14:03:50.362127" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Sunday 04 August 2024 14:03:50 -0400 (0:00:00.347) 0:00:11.362 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Sunday 04 August 2024 14:03:50 -0400 (0:00:00.042) 0:00:11.405 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Sunday 04 August 2024 14:03:50 -0400 (0:00:00.042) 0:00:11.447 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Sunday 04 August 2024 14:03:53 -0400 (0:00:02.554) 0:00:14.002 ********* 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.009954", "end": "2024-08-04 14:03:53.366711", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-08-04 14:03:53.356757" } 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.003340", "end": "2024-08-04 14:03:53.712624", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-08-04 14:03:53.709284" } 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.003047", "end": "2024-08-04 14:03:54.023598", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-08-04 14:03:54.020551" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Sunday 04 August 2024 14:03:54 -0400 (0:00:01.019) 0:00:15.022 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.019993", "end": "2024-08-04 14:03:54.388092", "rc": 0, "start": "2024-08-04 14:03:54.368099" } TASK [Delete veth interface ethtest1] ****************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Sunday 04 August 2024 14:03:54 -0400 (0:00:00.364) 0:00:15.386 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Sunday 04 August 2024 14:03:54 -0400 (0:00:00.040) 0:00:15.427 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Sunday 04 August 2024 14:03:54 -0400 (0:00:00.041) 0:00:15.469 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Sunday 04 August 2024 14:03:54 -0400 (0:00:00.041) 0:00:15.510 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Sunday 04 August 2024 14:03:54 -0400 (0:00:00.040) 0:00:15.551 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:34 Sunday 04 August 2024 14:03:54 -0400 (0:00:00.040) 0:00:15.591 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Sunday 04 August 2024 14:03:54 -0400 (0:00:00.078) 0:00:15.669 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 14:03:54 -0400 (0:00:00.044) 0:00:15.714 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722794633.3599946, "block_size": 4096, "blocks": 0, "ctime": 1722794633.3599946, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 57130, "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": 1722794633.3599946, "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Sunday 04 August 2024 14:03:55 -0400 (0:00:00.345) 0:00:16.059 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:03:55 -0400 (0:00:00.043) 0:00:16.103 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:03:55 -0400 (0:00:00.056) 0:00:16.160 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:03:55 -0400 (0:00:00.049) 0:00:16.209 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:03:55 -0400 (0:00:00.049) 0:00:16.259 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:03:55 -0400 (0:00:00.049) 0:00:16.308 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:03:56 -0400 (0:00:01.637) 0:00:17.945 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:03:58 -0400 (0:00:01.676) 0:00:19.621 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:03:58 -0400 (0:00:00.062) 0:00:19.684 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:03:58 -0400 (0:00:00.113) 0:00:19.797 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:03:58 -0400 (0:00:00.062) 0:00:19.860 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:03:58 -0400 (0:00:00.059) 0:00:19.919 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:03:59 -0400 (0:00:00.070) 0:00:19.989 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:03:59 -0400 (0:00:00.060) 0:00:20.050 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:03:59 -0400 (0:00:00.065) 0:00:20.115 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:03:59 -0400 (0:00:00.100) 0:00:20.216 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:04:03 -0400 (0:00:04.676) 0:00:24.892 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:04:04 -0400 (0:00:00.063) 0:00:24.955 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:04:04 -0400 (0:00:00.070) 0:00:25.025 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:04:04 -0400 (0:00:00.816) 0:00:25.842 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:04:04 -0400 (0:00:00.067) 0:00:25.910 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:04:05 -0400 (0:00:00.062) 0:00:25.972 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:04:05 -0400 (0:00:00.061) 0:00:26.034 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:04:05 -0400 (0:00:00.702) 0:00:26.736 ********* changed: [managed_node1] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e3:92:bf:a8:1b", "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::ce3:92ff:febf:a81b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E3:92:BF:A8:1B", "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::c53:d6ff:fe03:1f61", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:53:D6:03:1F:61", "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::f732:ec86:7c7c:a7e", "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": "1E:F9:C9:69:6D:D8", "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::1ce8:c6ff:fe60:b502", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1E:E8:C6:60:B5:02", "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::e8b6:5cff:fe96:cc2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EA:B6:5C:96:0C:C2", "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:04:07 -0400 (0:00:01.935) 0:00:28.672 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:04:07 -0400 (0:00:00.064) 0:00:28.736 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:04:07 -0400 (0:00:00.139) 0:00:28.876 ********* ok: [managed_node1] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e3:92:bf:a8:1b", "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::ce3:92ff:febf:a81b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E3:92:BF:A8:1B", "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::c53:d6ff:fe03:1f61", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:53:D6:03:1F:61", "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::f732:ec86:7c7c:a7e", "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": "1E:F9:C9:69:6D:D8", "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::1ce8:c6ff:fe60:b502", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1E:E8:C6:60:B5:02", "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::e8b6:5cff:fe96:cc2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EA:B6:5C:96:0C:C2", "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:04:07 -0400 (0:00:00.073) 0:00:28.950 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:75 Sunday 04 August 2024 14:04:08 -0400 (0:00:00.479) 0:00:29.430 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.413909", "end": "2024-08-04 14:04:09.198684", "rc": 0, "start": "2024-08-04 14:04:08.784775" } 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::c53:d6ff:fe03:1f61 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:53:D6:03:1F:61 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-08-04 14:04:09,140 root DEBUG NetworkManager version 1.40.16 2024-08-04 14:04:09,141 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-08-04 14:04:09,141 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-08-04 14:04:09,142 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-08-04 14:04:09,143 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-08-04 14:04:09,144 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-08-04 14:04:09,144 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-08-04 14:04:09,146 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-08-04 14:04:09,146 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-08-04 14:04:09,146 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:81 Sunday 04 August 2024 14:04:09 -0400 (0:00:00.787) 0:00:30.217 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.407279", "end": "2024-08-04 14:04:09.971958", "rc": 0, "start": "2024-08-04 14:04:09.564679" } 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::f732:ec86:7c7c:a7e 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: 1E:F9:C9:69:6D:D8 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-08-04 14:04:09,916 root DEBUG NetworkManager version 1.40.16 2024-08-04 14:04:09,917 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-08-04 14:04:09,917 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-08-04 14:04:09,917 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-08-04 14:04:09,919 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-08-04 14:04:09,919 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-08-04 14:04:09,920 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-08-04 14:04:09,921 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-08-04 14:04:09,922 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-08-04 14:04:09,922 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:87 Sunday 04 August 2024 14:04:10 -0400 (0:00:00.772) 0:00:30.989 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:94 Sunday 04 August 2024 14:04:10 -0400 (0:00:00.063) 0:00:31.052 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:04:10 -0400 (0:00:00.065) 0:00:31.118 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:04:10 -0400 (0:00:00.088) 0:00:31.206 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:04:10 -0400 (0:00:00.073) 0:00:31.279 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:04:10 -0400 (0:00:00.066) 0:00:31.346 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:04:10 -0400 (0:00:00.069) 0:00:31.415 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:04:12 -0400 (0:00:01.547) 0:00:32.963 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:04:13 -0400 (0:00:01.507) 0:00:34.471 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:04:13 -0400 (0:00:00.065) 0:00:34.536 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:04:13 -0400 (0:00:00.063) 0:00:34.599 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:04:13 -0400 (0:00:00.061) 0:00:34.661 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:04:13 -0400 (0:00:00.063) 0:00:34.725 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:04:13 -0400 (0:00:00.068) 0:00:34.794 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:04:13 -0400 (0:00:00.061) 0:00:34.855 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:04:13 -0400 (0:00:00.071) 0:00:34.926 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:04:14 -0400 (0:00:00.101) 0:00:35.028 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:04:16 -0400 (0:00:02.581) 0:00:37.609 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:04:16 -0400 (0:00:00.065) 0:00:37.675 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:04:16 -0400 (0:00:00.068) 0:00:37.743 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:04:17 -0400 (0:00:00.546) 0:00:38.289 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:04:17 -0400 (0:00:00.069) 0:00:38.359 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:04:17 -0400 (0:00:00.059) 0:00:38.418 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:04:17 -0400 (0:00:00.062) 0:00:38.481 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:04:18 -0400 (0:00:00.589) 0:00:39.070 ********* changed: [managed_node1] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e3:92:bf:a8:1b", "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::ce3:92ff:febf:a81b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E3:92:BF:A8:1B", "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::c53:d6ff:fe03:1f61", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:53:D6:03:1F:61", "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::f732:ec86:7c7c:a7e", "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": "1E:F9:C9:69:6D:D8", "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::1ce8:c6ff:fe60:b502", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1E:E8:C6:60:B5:02", "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::e8b6:5cff:fe96:cc2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EA:B6:5C:96:0C:C2", "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:04:18 -0400 (0:00:00.736) 0:00:39.807 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:04:18 -0400 (0:00:00.067) 0:00:39.875 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:04:18 -0400 (0:00:00.066) 0:00:39.941 ********* ok: [managed_node1] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e3:92:bf:a8:1b", "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::ce3:92ff:febf:a81b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E3:92:BF:A8:1B", "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::c53:d6ff:fe03:1f61", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:53:D6:03:1F:61", "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::f732:ec86:7c7c:a7e", "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": "1E:F9:C9:69:6D:D8", "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::1ce8:c6ff:fe60:b502", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1E:E8:C6:60:B5:02", "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::e8b6:5cff:fe96:cc2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EA:B6:5C:96:0C:C2", "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:04:19 -0400 (0:00:00.072) 0:00:40.013 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:113 Sunday 04 August 2024 14:04:19 -0400 (0:00:00.386) 0:00:40.399 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.419035", "end": "2024-08-04 14:04:20.166274", "rc": 0, "start": "2024-08-04 14:04:19.747239" } 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.42.51 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::ce3:92ff:febf:a81b prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:E3:92:BF:A8:1B 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::c53:d6ff:fe03:1f61 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:53:D6:03:1F:61 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::f732:ec86:7c7c:a7e 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: 1E:F9:C9:69:6D:D8 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::1ce8:c6ff:fe60:b502 prefix-length: 64 mac-address: 1E:E8:C6:60:B5:02 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::e8b6:5cff:fe96:cc2 prefix-length: 64 mac-address: EA:B6:5C:96:0C:C2 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-08-04 14:04:20,100 root DEBUG NetworkManager version 1.40.16 2024-08-04 14:04:20,101 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-08-04 14:04:20,101 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-08-04 14:04:20,102 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-08-04 14:04:20,103 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-08-04 14:04:20,103 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-08-04 14:04:20,104 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-08-04 14:04:20,105 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-08-04 14:04:20,106 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-08-04 14:04:20,106 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:119 Sunday 04 August 2024 14:04:20 -0400 (0:00:00.784) 0:00:41.184 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:04:20 -0400 (0:00:00.070) 0:00:41.255 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:04:20 -0400 (0:00:00.089) 0:00:41.344 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:04:20 -0400 (0:00:00.073) 0:00:41.417 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:04:20 -0400 (0:00:00.067) 0:00:41.485 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:04:20 -0400 (0:00:00.066) 0:00:41.551 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:04:22 -0400 (0:00:01.556) 0:00:43.108 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:04:23 -0400 (0:00:01.505) 0:00:44.614 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:04:23 -0400 (0:00:00.063) 0:00:44.677 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:04:23 -0400 (0:00:00.064) 0:00:44.742 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:04:23 -0400 (0:00:00.062) 0:00:44.804 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:04:23 -0400 (0:00:00.061) 0:00:44.865 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:04:23 -0400 (0:00:00.072) 0:00:44.938 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:04:24 -0400 (0:00:00.062) 0:00:45.001 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:04:24 -0400 (0:00:00.066) 0:00:45.068 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:04:24 -0400 (0:00:00.101) 0:00:45.169 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:04:26 -0400 (0:00:02.573) 0:00:47.743 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:04:26 -0400 (0:00:00.062) 0:00:47.806 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:04:26 -0400 (0:00:00.070) 0:00:47.877 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:04:27 -0400 (0:00:00.552) 0:00:48.429 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:04:27 -0400 (0:00:00.068) 0:00:48.498 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:04:27 -0400 (0:00:00.065) 0:00:48.563 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:04:27 -0400 (0:00:00.061) 0:00:48.625 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:04:28 -0400 (0:00:00.587) 0:00:49.212 ********* changed: [managed_node1] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:e3:92:bf:a8:1b", "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::ce3:92ff:febf:a81b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E3:92:BF:A8:1B", "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::c53:d6ff:fe03:1f61", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:53:D6:03:1F:61", "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::f732:ec86:7c7c:a7e", "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": "1E:F9:C9:69:6D:D8", "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::1ce8:c6ff:fe60:b502", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1E:E8:C6:60:B5:02", "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::e8b6:5cff:fe96:cc2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EA:B6:5C:96:0C:C2", "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:04:28 -0400 (0:00:00.739) 0:00:49.952 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:04:29 -0400 (0:00:00.066) 0:00:50.019 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:04:29 -0400 (0:00:00.066) 0:00:50.086 ********* 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:e3:92:bf:a8:1b", "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::ce3:92ff:febf:a81b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E3:92:BF:A8:1B", "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::c53:d6ff:fe03:1f61", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:53:D6:03:1F:61", "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::f732:ec86:7c7c:a7e", "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": "1E:F9:C9:69:6D:D8", "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::1ce8:c6ff:fe60:b502", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1E:E8:C6:60:B5:02", "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::e8b6:5cff:fe96:cc2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EA:B6:5C:96:0C:C2", "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:04:29 -0400 (0:00:00.077) 0:00:50.163 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:142 Sunday 04 August 2024 14:04:29 -0400 (0:00:00.386) 0:00:50.550 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.421823", "end": "2024-08-04 14:04:30.323390", "rc": 0, "start": "2024-08-04 14:04:29.901567" } 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.42.51 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::ce3:92ff:febf:a81b prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:E3:92:BF:A8:1B 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::c53:d6ff:fe03:1f61 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:53:D6:03:1F:61 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::f732:ec86:7c7c:a7e 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: 1E:F9:C9:69:6D:D8 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::1ce8:c6ff:fe60:b502 prefix-length: 64 mac-address: 1E:E8:C6:60:B5:02 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::e8b6:5cff:fe96:cc2 prefix-length: 64 mac-address: EA:B6:5C:96:0C:C2 mtu: 1500 veth: peer: ethtest1 STDERR: 2024-08-04 14:04:30,256 root DEBUG NetworkManager version 1.40.16 2024-08-04 14:04:30,258 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-08-04 14:04:30,258 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-08-04 14:04:30,258 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-08-04 14:04:30,260 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-08-04 14:04:30,260 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-08-04 14:04:30,261 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-08-04 14:04:30,262 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-08-04 14:04:30,263 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-08-04 14:04:30,263 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:148 Sunday 04 August 2024 14:04:30 -0400 (0:00:00.793) 0:00:51.343 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:01.003794", "end": "2024-08-04 14:04:31.698694", "rc": 0, "start": "2024-08-04 14:04:30.694900" } 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:153 Sunday 04 August 2024 14:04:31 -0400 (0:00:01.372) 0:00:52.715 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:161 Sunday 04 August 2024 14:04:31 -0400 (0:00:00.064) 0:00:52.780 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 04 August 2024 14:04:31 -0400 (0:00:00.067) 0:00:52.847 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 04 August 2024 14:04:31 -0400 (0:00:00.089) 0:00:52.937 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 04 August 2024 14:04:32 -0400 (0:00:00.074) 0:00:53.012 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 04 August 2024 14:04:32 -0400 (0:00:00.068) 0:00:53.080 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 04 August 2024 14:04:32 -0400 (0:00:00.067) 0:00:53.148 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 04 August 2024 14:04:33 -0400 (0:00:01.633) 0:00:54.781 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 04 August 2024 14:04:35 -0400 (0:00:01.430) 0:00:56.212 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 04 August 2024 14:04:35 -0400 (0:00:00.065) 0:00:56.277 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 04 August 2024 14:04:35 -0400 (0:00:00.066) 0:00:56.343 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Sunday 04 August 2024 14:04:35 -0400 (0:00:00.064) 0:00:56.408 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Sunday 04 August 2024 14:04:35 -0400 (0:00:00.062) 0:00:56.471 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Sunday 04 August 2024 14:04:35 -0400 (0:00:00.073) 0:00:56.544 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Sunday 04 August 2024 14:04:35 -0400 (0:00:00.062) 0:00:56.607 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Sunday 04 August 2024 14:04:35 -0400 (0:00:00.068) 0:00:56.675 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Sunday 04 August 2024 14:04:35 -0400 (0:00:00.102) 0:00:56.777 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Sunday 04 August 2024 14:04:38 -0400 (0:00:02.574) 0:00:59.352 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Sunday 04 August 2024 14:04:38 -0400 (0:00:00.063) 0:00:59.415 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Sunday 04 August 2024 14:04:38 -0400 (0:00:00.071) 0:00:59.486 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 04 August 2024 14:04:39 -0400 (0:00:00.551) 0:01:00.038 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Sunday 04 August 2024 14:04:39 -0400 (0:00:00.154) 0:01:00.192 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Sunday 04 August 2024 14:04:39 -0400 (0:00:00.063) 0:01:00.256 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Sunday 04 August 2024 14:04:39 -0400 (0:00:00.061) 0:01:00.317 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Sunday 04 August 2024 14:04:39 -0400 (0:00:00.514) 0:01:00.831 ********* changed: [managed_node1] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e3:92:bf:a8:1b", "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::ce3:92ff:febf:a81b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E3:92:BF:A8:1B", "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::c53:d6ff:fe03:1f61", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:53:D6:03:1F:61", "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::f732:ec86:7c7c:a7e", "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": "1E:F9:C9:69:6D:D8", "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::1ce8:c6ff:fe60:b502", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1E:E8:C6:60:B5:02", "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::e8b6:5cff:fe96:cc2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EA:B6:5C:96:0C:C2", "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Sunday 04 August 2024 14:04:40 -0400 (0:00:00.735) 0:01:01.567 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Sunday 04 August 2024 14:04:40 -0400 (0:00:00.066) 0:01:01.633 ********* 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Sunday 04 August 2024 14:04:40 -0400 (0:00:00.066) 0:01:01.699 ********* ok: [managed_node1] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:e3:92:bf:a8:1b", "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::ce3:92ff:febf:a81b", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:E3:92:BF:A8:1B", "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::c53:d6ff:fe03:1f61", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:53:D6:03:1F:61", "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::f732:ec86:7c7c:a7e", "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": "1E:F9:C9:69:6D:D8", "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::1ce8:c6ff:fe60:b502", "prefix-length": 64 } ], "enabled": true }, "mac-address": "1E:E8:C6:60:B5:02", "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::e8b6:5cff:fe96:cc2", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EA:B6:5C:96:0C:C2", "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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Sunday 04 August 2024 14:04:40 -0400 (0:00:00.077) 0:01:01.777 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:177 Sunday 04 August 2024 14:04:41 -0400 (0:00:00.385) 0:01:02.163 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Sunday 04 August 2024 14:04:41 -0400 (0:00:00.115) 0:01:02.279 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.012059", "end": "2024-08-04 14:04:41.641791", "rc": 0, "start": "2024-08-04 14:04:41.629732" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:179 Sunday 04 August 2024 14:04:41 -0400 (0:00:00.386) 0:01:02.666 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 14:04:41 -0400 (0:00:00.116) 0:01:02.782 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 14:04:41 -0400 (0:00:00.113) 0:01:02.896 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 14:04:42 -0400 (0:00:00.366) 0:01:03.262 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:181 Sunday 04 August 2024 14:04:42 -0400 (0:00:00.064) 0:01:03.326 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:185 Sunday 04 August 2024 14:04:42 -0400 (0:00:00.060) 0:01:03.387 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Sunday 04 August 2024 14:04:42 -0400 (0:00:00.116) 0:01:03.503 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012246", "end": "2024-08-04 14:04:42.865333", "rc": 0, "start": "2024-08-04 14:04:42.853087" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:187 Sunday 04 August 2024 14:04:42 -0400 (0:00:00.382) 0:01:03.885 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Sunday 04 August 2024 14:04:43 -0400 (0:00:00.112) 0:01:03.998 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Sunday 04 August 2024 14:04:43 -0400 (0:00:00.078) 0:01:04.076 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Sunday 04 August 2024 14:04:43 -0400 (0:00:00.364) 0:01:04.441 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:189 Sunday 04 August 2024 14:04:43 -0400 (0:00:00.062) 0:01:04.503 ********* included: /tmp/tmp.V0D2Xyq8C0/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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Sunday 04 August 2024 14:04:43 -0400 (0:00:00.114) 0:01:04.617 ********* 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.007646", "end": "2024-08-04 14:04:44.022443", "rc": 0, "start": "2024-08-04 14:04:44.014797" } 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:e3:92:bf:a8:1b brd ff:ff:ff:ff:ff:ff inet 10.31.42.51/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 1923sec preferred_lft 1923sec inet6 fe80::ce3:92ff:febf:a81b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.51 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.51 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.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Sunday 04 August 2024 14:04:44 -0400 (0:00:00.455) 0:01:05.073 ********* 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.163346", "end": "2024-08-04 14:04:44.590191", "rc": 0, "start": "2024-08-04 14:04:44.426845" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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:2701:4000:5211:dead:beef:fe:fed3 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 4121 0 --:--:-- --:--:-- --:--:-- 4121 % 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 7275 0 --:--:-- --:--:-- --:--:-- 7275 PLAY RECAP ********************************************************************* managed_node1 : ok=122 changed=5 unreachable=0 failed=0 skipped=78 rescued=0 ignored=0 Sunday 04 August 2024 14:04:44 -0400 (0:00:00.590) 0:01:05.664 ********* =============================================================================== fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 4.68s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Install iproute --------------------------------------------------------- 2.93s /tmp/tmp.V0D2Xyq8C0/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 --- 2.58s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.57s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.57s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Install iproute --------------------------------------------------------- 2.55s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking state ---------- 1.94s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the DNS configuration from the file `/run/NetworkManager/no-stub-resolv.conf` --- 1.37s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_network_state.yml:148 Create veth interface ethtest0 ------------------------------------------ 1.03s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/tests_network_state_nm.yml:6 Create veth interface ethtest1 ------------------------------------------ 1.02s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.82s /tmp/tmp.V0D2Xyq8C0/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122