[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.10] 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/collections-TD5 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_ethtool_ring_initscripts.yml *********************************** 2 plays in /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_ring_initscripts.yml:5 Wednesday 14 August 2024 17:00:04 -0400 (0:00:00.009) 0:00:00.009 ****** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_ring_initscripts.yml:8 Wednesday 14 August 2024 17:00:05 -0400 (0:00:01.175) 0:00:01.185 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 14 August 2024 17:00:05 -0400 (0:00:00.031) 0:00:01.217 ****** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 14 August 2024 17:00:06 -0400 (0:00:00.524) 0:00:01.741 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 14 August 2024 17:00:06 -0400 (0:00:00.419) 0:00:02.161 ****** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 14 August 2024 17:00:06 -0400 (0:00:00.032) 0:00:02.193 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 14 August 2024 17:00:06 -0400 (0:00:00.020) 0:00:02.213 ****** included: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 14 August 2024 17:00:06 -0400 (0:00:00.090) 0:00:02.304 ****** 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 [Create EPEL-7] *********************************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:25 Wednesday 14 August 2024 17:00:07 -0400 (0:00:00.459) 0:00:02.764 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 14 August 2024 17:00:07 -0400 (0:00:00.019) 0:00:02.783 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:43 Wednesday 14 August 2024 17:00:07 -0400 (0:00:00.018) 0:00:02.802 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:48 Wednesday 14 August 2024 17:00:07 -0400 (0:00:00.027) 0:00:02.829 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.227506", "end": "2024-08-14 17:00:07.781911", "rc": 0, "start": "2024-08-14 17:00:07.554405" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:53 Wednesday 14 August 2024 17:00:07 -0400 (0:00:00.630) 0:00:03.460 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_ring_initscripts.yml:10 Wednesday 14 August 2024 17:00:07 -0400 (0:00:00.030) 0:00:03.490 ****** ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing ethtool ring settings] ********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:3 Wednesday 14 August 2024 17:00:07 -0400 (0:00:00.075) 0:00:03.565 ****** ok: [managed_node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:9 Wednesday 14 August 2024 17:00:08 -0400 (0:00:00.828) 0:00:04.394 ****** ok: [managed_node1] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:15 Wednesday 14 August 2024 17:00:08 -0400 (0:00:00.072) 0:00:04.466 ****** ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:18 Wednesday 14 August 2024 17:00:08 -0400 (0:00:00.054) 0:00:04.521 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 17:00:08 -0400 (0:00:00.056) 0:00:04.577 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.058) 0:00:04.636 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003106", "end": "2024-08-14 17:00:09.358577", "rc": 0, "start": "2024-08-14 17:00:09.355471" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.361) 0:00:04.997 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.035) 0:00:05.032 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:20 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.035) 0:00:05.068 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.043) 0:00:05.111 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.032) 0:00:05.144 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.031) 0:00:05.175 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.037) 0:00:05.213 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.035) 0:00:05.249 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003111", "end": "2024-08-14 17:00:09.953585", "rc": 0, "start": "2024-08-14 17:00:09.950474" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 17:00:09 -0400 (0:00:00.343) 0:00:05.593 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 17:00:10 -0400 (0:00:00.048) 0:00:05.641 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 17:00:10 -0400 (0:00:00.041) 0:00:05.683 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 17:00:13 -0400 (0:00:03.356) 0:00:09.039 ****** ok: [managed_node1] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.011128", "end": "2024-08-14 17:00:13.793077", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-08-14 17:00:13.781949" } ok: [managed_node1] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003560", "end": "2024-08-14 17:00:14.139942", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-08-14 17:00:14.136382" } ok: [managed_node1] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.003896", "end": "2024-08-14 17:00:14.515663", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-08-14 17:00:14.511767" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 17:00:14 -0400 (0:00:01.114) 0:00:10.153 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.020171", "end": "2024-08-14 17:00:14.874332", "rc": 0, "start": "2024-08-14 17:00:14.854161" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 17:00:14 -0400 (0:00:00.368) 0:00:10.522 ****** 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 testnic1] ***************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 17:00:14 -0400 (0:00:00.055) 0:00:10.578 ****** 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 testnic1] ***************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 17:00:15 -0400 (0:00:00.065) 0:00:10.644 ****** 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 testnic1] ******************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 17:00:15 -0400 (0:00:00.073) 0:00:10.718 ****** 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 testnic1] ******************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 17:00:15 -0400 (0:00:00.041) 0:00:10.759 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:24 Wednesday 14 August 2024 17:00:15 -0400 (0:00:00.037) 0:00:10.797 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 17:00:15 -0400 (0:00:00.049) 0:00:10.847 ****** included: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface testnic1] ***************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 17:00:15 -0400 (0:00:00.042) 0:00:10.889 ****** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1723669213.785419, "block_size": 4096, "blocks": 0, "ctime": 1723669213.785419, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30407, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1723669213.785419, "nlink": 1, "path": "/sys/class/net/testnic1", "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 - 'testnic1'] *********************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 17:00:15 -0400 (0:00:00.416) 0:00:11.306 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:26 Wednesday 14 August 2024 17:00:15 -0400 (0:00:00.058) 0:00:11.364 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can create a profile without any ring option.] ******************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:34 Wednesday 14 August 2024 17:00:18 -0400 (0:00:02.941) 0:00:14.306 ****** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:00:18 -0400 (0:00:00.036) 0:00:14.342 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:00:18 -0400 (0:00:00.056) 0:00:14.399 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:00:18 -0400 (0:00:00.057) 0:00:14.456 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:00:18 -0400 (0:00:00.054) 0:00:14.511 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:00:18 -0400 (0:00:00.057) 0:00:14.568 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:00:21 -0400 (0:00:02.074) 0:00:16.643 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:00:23 -0400 (0:00:02.002) 0:00:18.646 ****** ok: [managed_node1] => {} MSG: Using network provider: initscripts 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.084) 0:00:18.730 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.078) 0:00:18.808 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.083) 0:00:18.892 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.080) 0:00:18.972 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.099) 0:00:19.072 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.093) 0:00:19.165 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.072) 0:00:19.237 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.090) 0:00:19.328 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.050) 0:00:19.378 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.053) 0:00:19.431 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:00:23 -0400 (0:00:00.086) 0:00:19.518 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:00:24 -0400 (0:00:00.078) 0:00:19.597 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:00:24 -0400 (0:00:00.076) 0:00:19.673 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:00:24 -0400 (0:00:00.767) 0:00:20.441 ****** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-26390z9qhhw4c/tmpaxzgkcwa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:00:25 -0400 (0:00:00.380) 0:00:20.821 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:00:25 -0400 (0:00:00.723) 0:00:21.545 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:00:26 -0400 (0:00:00.048) 0:00:21.594 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:00:26 -0400 (0:00:00.054) 0:00:21.649 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:00:26 -0400 (0:00:00.064) 0:00:21.714 ****** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:00:26 -0400 (0:00:00.072) 0:00:21.786 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:50 Wednesday 14 August 2024 17:00:26 -0400 (0:00:00.660) 0:00:22.447 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:56 Wednesday 14 August 2024 17:00:27 -0400 (0:00:00.176) 0:00:22.624 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:61 Wednesday 14 August 2024 17:00:27 -0400 (0:00:00.078) 0:00:22.703 ****** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003020", "end": "2024-08-14 17:00:27.458481", "rc": 1, "start": "2024-08-14 17:00:27.455461" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:68 Wednesday 14 August 2024 17:00:27 -0400 (0:00:00.413) 0:00:23.116 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:74 Wednesday 14 August 2024 17:00:27 -0400 (0:00:00.071) 0:00:23.187 ****** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:00:27 -0400 (0:00:00.052) 0:00:23.240 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:00:27 -0400 (0:00:00.107) 0:00:23.347 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:00:27 -0400 (0:00:00.177) 0:00:23.525 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:00:28 -0400 (0:00:00.109) 0:00:23.634 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:00:28 -0400 (0:00:00.144) 0:00:23.779 ****** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:00:29 -0400 (0:00:01.773) 0:00:25.552 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:00:31 -0400 (0:00:01.563) 0:00:27.116 ****** ok: [managed_node1] => {} MSG: Using network provider: initscripts 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:00:31 -0400 (0:00:00.067) 0:00:27.184 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:00:31 -0400 (0:00:00.069) 0:00:27.253 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:00:31 -0400 (0:00:00.134) 0:00:27.387 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:00:31 -0400 (0:00:00.050) 0:00:27.438 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:00:31 -0400 (0:00:00.059) 0:00:27.497 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:00:31 -0400 (0:00:00.053) 0:00:27.550 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:00:32 -0400 (0:00:00.067) 0:00:27.617 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:00:32 -0400 (0:00:00.103) 0:00:27.720 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:00:32 -0400 (0:00:00.080) 0:00:27.801 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:00:32 -0400 (0:00:00.079) 0:00:27.880 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:00:32 -0400 (0:00:00.067) 0:00:27.947 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:00:32 -0400 (0:00:00.053) 0:00:28.001 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:00:32 -0400 (0:00:00.049) 0:00:28.050 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:00:33 -0400 (0:00:00.577) 0:00:28.628 ****** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-26390z9qhhw4c/tmpkqpq54qb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:00:33 -0400 (0:00:00.384) 0:00:29.013 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nnetlink error: Operation not supported\nRTNETLINK answers: File exists\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:00:33 -0400 (0:00:00.562) 0:00:29.575 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.049) 0:00:29.625 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.066) 0:00:29.692 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.132) 0:00:29.825 ****** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.085) 0:00:29.910 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:96 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.514) 0:00:30.424 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:102 Wednesday 14 August 2024 17:00:34 -0400 (0:00:00.084) 0:00:30.509 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:107 Wednesday 14 August 2024 17:00:35 -0400 (0:00:00.137) 0:00:30.646 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:113 Wednesday 14 August 2024 17:00:35 -0400 (0:00:00.123) 0:00:30.769 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:118 Wednesday 14 August 2024 17:00:35 -0400 (0:00:00.093) 0:00:30.863 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:124 Wednesday 14 August 2024 17:00:35 -0400 (0:00:00.098) 0:00:30.962 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:129 Wednesday 14 August 2024 17:00:35 -0400 (0:00:00.079) 0:00:31.041 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:135 Wednesday 14 August 2024 17:00:35 -0400 (0:00:00.065) 0:00:31.106 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:141 Wednesday 14 August 2024 17:00:35 -0400 (0:00:00.056) 0:00:31.163 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:01.004080", "end": "2024-08-14 17:00:36.878761", "rc": 0, "start": "2024-08-14 17:00:35.874681" } STDOUT: ETHTOOL_OPTS="-G testnic1 rx 128 rx-jumbo 128 rx-mini 128 tx 128" TASK [Assert ethtool.ring option set in profile] ******************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:148 Wednesday 14 August 2024 17:00:36 -0400 (0:00:01.392) 0:00:32.555 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:158 Wednesday 14 August 2024 17:00:37 -0400 (0:00:00.059) 0:00:32.614 ****** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:00:37 -0400 (0:00:00.063) 0:00:32.678 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:00:37 -0400 (0:00:00.077) 0:00:32.756 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:00:37 -0400 (0:00:00.132) 0:00:32.888 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:00:37 -0400 (0:00:00.081) 0:00:32.970 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:00:37 -0400 (0:00:00.065) 0:00:33.036 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:00:39 -0400 (0:00:01.628) 0:00:34.665 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:00:40 -0400 (0:00:01.440) 0:00:36.105 ****** ok: [managed_node1] => {} MSG: Using network provider: initscripts 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:00:40 -0400 (0:00:00.062) 0:00:36.168 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:00:40 -0400 (0:00:00.056) 0:00:36.225 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:00:40 -0400 (0:00:00.050) 0:00:36.276 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:00:40 -0400 (0:00:00.053) 0:00:36.329 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:00:40 -0400 (0:00:00.061) 0:00:36.391 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:00:40 -0400 (0:00:00.049) 0:00:36.440 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:00:40 -0400 (0:00:00.060) 0:00:36.501 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:00:41 -0400 (0:00:00.111) 0:00:36.612 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:00:41 -0400 (0:00:00.077) 0:00:36.690 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:00:41 -0400 (0:00:00.182) 0:00:36.873 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:00:41 -0400 (0:00:00.104) 0:00:36.978 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:00:41 -0400 (0:00:00.146) 0:00:37.125 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:00:41 -0400 (0:00:00.107) 0:00:37.232 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:00:42 -0400 (0:00:00.726) 0:00:37.959 ****** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-26390z9qhhw4c/tmpexmpmeu3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:00:42 -0400 (0:00:00.489) 0:00:38.449 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nRTNETLINK answers: File exists\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:00:43 -0400 (0:00:00.629) 0:00:39.078 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:00:43 -0400 (0:00:00.059) 0:00:39.138 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:00:43 -0400 (0:00:00.054) 0:00:39.193 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:00:43 -0400 (0:00:00.055) 0:00:39.249 ****** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:00:43 -0400 (0:00:00.050) 0:00:39.299 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:173 Wednesday 14 August 2024 17:00:44 -0400 (0:00:00.417) 0:00:39.716 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:179 Wednesday 14 August 2024 17:00:44 -0400 (0:00:00.083) 0:00:39.800 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:184 Wednesday 14 August 2024 17:00:44 -0400 (0:00:00.056) 0:00:39.857 ****** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.002916", "end": "2024-08-14 17:00:44.563470", "rc": 1, "start": "2024-08-14 17:00:44.560554" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:191 Wednesday 14 August 2024 17:00:44 -0400 (0:00:00.379) 0:00:40.237 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 17:00:44 -0400 (0:00:00.137) 0:00:40.374 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 17:00:44 -0400 (0:00:00.126) 0:00:40.501 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 17:00:44 -0400 (0:00:00.079) 0:00:40.581 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 17:00:45 -0400 (0:00:00.061) 0:00:40.643 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 17:00:45 -0400 (0:00:00.062) 0:00:40.706 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 17:00:46 -0400 (0:00:01.639) 0:00:42.345 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 17:00:48 -0400 (0:00:01.421) 0:00:43.767 ****** ok: [managed_node1] => {} MSG: Using network provider: initscripts 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.068) 0:00:43.835 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.104) 0:00:43.940 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.080) 0:00:44.021 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.105) 0:00:44.127 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.090) 0:00:44.218 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.060) 0:00:44.278 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.105) 0:00:44.384 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.084) 0:00:44.468 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.054) 0:00:44.523 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 17:00:48 -0400 (0:00:00.065) 0:00:44.588 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 17:00:49 -0400 (0:00:00.092) 0:00:44.681 ****** 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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 17:00:49 -0400 (0:00:00.087) 0:00:44.768 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 17:00:49 -0400 (0:00:00.078) 0:00:44.847 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 17:00:49 -0400 (0:00:00.610) 0:00:45.458 ****** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-26390z9qhhw4c/tmpp9sdfs9i" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 17:00:50 -0400 (0:00:00.365) 0:00:45.823 ****** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 17:00:50 -0400 (0:00:00.461) 0:00:46.285 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 17:00:50 -0400 (0:00:00.049) 0:00:46.334 ****** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 17:00:50 -0400 (0:00:00.057) 0:00:46.392 ****** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 17:00:50 -0400 (0:00:00.054) 0:00:46.447 ****** skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 17:00:50 -0400 (0:00:00.048) 0:00:46.495 ****** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:210 Wednesday 14 August 2024 17:00:51 -0400 (0:00:00.369) 0:00:46.865 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 17:00:51 -0400 (0:00:00.141) 0:00:47.006 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 17:00:51 -0400 (0:00:00.090) 0:00:47.096 ****** 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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 17:00:51 -0400 (0:00:00.144) 0:00:47.241 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 17:00:51 -0400 (0:00:00.197) 0:00:47.438 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 17:00:52 -0400 (0:00:00.182) 0:00:47.620 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003151", "end": "2024-08-14 17:00:52.472349", "rc": 0, "start": "2024-08-14 17:00:52.469198" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 17:00:52 -0400 (0:00:00.525) 0:00:48.145 ****** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 17:00:52 -0400 (0:00:00.070) 0:00:48.216 ****** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 17:00:52 -0400 (0:00:00.063) 0:00:48.279 ****** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 17:00:55 -0400 (0:00:02.959) 0:00:51.239 ****** skipping: [managed_node1] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 17:00:55 -0400 (0:00:00.102) 0:00:51.341 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 17:00:55 -0400 (0:00:00.093) 0:00:51.435 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.009177", "end": "2024-08-14 17:00:56.193799", "rc": 0, "start": "2024-08-14 17:00:56.184622" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 17:00:56 -0400 (0:00:00.474) 0:00:51.910 ****** 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 testnic1] ***************************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 17:00:56 -0400 (0:00:00.080) 0:00:51.991 ****** 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 testnic1] ******************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 17:00:56 -0400 (0:00:00.088) 0:00:52.079 ****** 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 testnic1] ******************************************* task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 17:00:56 -0400 (0:00:00.125) 0:00:52.205 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:214 Wednesday 14 August 2024 17:00:56 -0400 (0:00:00.055) 0:00:52.260 ****** included: /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 August 2024 17:00:56 -0400 (0:00:00.082) 0:00:52.343 ****** 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.008236", "end": "2024-08-14 17:00:57.062006", "rc": 0, "start": "2024-08-14 17:00:57.053770" } 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:1f:89:74:cf:6f brd ff:ff:ff:ff:ff:ff inet 10.31.40.20/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2849sec preferred_lft 2849sec inet6 fe80::c1f:89ff:fe74:cf6f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.20 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.20 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/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 August 2024 17:00:57 -0400 (0:00:00.446) 0:00:52.790 ****** 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.254987", "end": "2024-08-14 17:00:57.801916", "rc": 0, "start": "2024-08-14 17:00:57.546929" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1425 0 --:--:-- --:--:-- --:--:-- 1425 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 15315 0 --:--:-- --:--:-- --:--:-- 15315 PLAY RECAP ********************************************************************* managed_node1 : ok=91 changed=4 unreachable=0 failed=0 skipped=100 rescued=0 ignored=2 Wednesday 14 August 2024 17:00:57 -0400 (0:00:00.717) 0:00:53.507 ****** =============================================================================== Install iproute --------------------------------------------------------- 3.36s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 2.94s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 2.07s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 2.00s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-TD5/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/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get profile's ethtool.ring options -------------------------------------- 1.39s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:141 Gathering Facts --------------------------------------------------------- 1.18s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/tests_ethtool_ring_initscripts.yml:5 Create veth interface testnic1 ------------------------------------------ 1.11s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.83s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_ethtool_ring.yml:3 fedora.linux_system_roles.network : Enable network service -------------- 0.77s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 fedora.linux_system_roles.network : Enable network service -------------- 0.73s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.72s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Verify DNS and network connectivity ------------------------------------- 0.72s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.66s /tmp/collections-TD5/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192