ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Saturday 03 August 2024 08:36:50 -0400 (0:00:00.017) 0:00:00.017 ******* ok: [managed_node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Saturday 03 August 2024 08:36:50 -0400 (0:00:00.840) 0:00:00.857 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 03 August 2024 08:36:51 -0400 (0:00:00.018) 0:00:00.876 ******* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 03 August 2024 08:36:51 -0400 (0:00:00.464) 0:00:01.340 ******* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 03 August 2024 08:36:51 -0400 (0:00:00.399) 0:00:01.740 ******* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 03 August 2024 08:36:51 -0400 (0:00:00.036) 0:00:01.777 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 03 August 2024 08:36:51 -0400 (0:00:00.032) 0:00:01.810 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 03 August 2024 08:36:52 -0400 (0:00:00.058) 0:00:01.868 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Saturday 03 August 2024 08:36:52 -0400 (0:00:00.391) 0:00:02.260 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Saturday 03 August 2024 08:36:52 -0400 (0:00:00.017) 0:00:02.277 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Saturday 03 August 2024 08:36:52 -0400 (0:00:00.015) 0:00:02.293 ******* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.222250", "end": "2024-08-03 08:36:52.932155", "rc": 0, "start": "2024-08-03 08:36:52.709905" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Saturday 03 August 2024 08:36:52 -0400 (0:00:00.547) 0:00:02.840 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Saturday 03 August 2024 08:36:52 -0400 (0:00:00.015) 0:00:02.856 ******* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Saturday 03 August 2024 08:36:53 -0400 (0:00:00.018) 0:00:02.875 ******* ok: [managed_node1] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Saturday 03 August 2024 08:36:53 -0400 (0:00:00.587) 0:00:03.462 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:36:53 -0400 (0:00:00.039) 0:00:03.502 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:36:53 -0400 (0:00:00.021) 0:00:03.523 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002884", "end": "2024-08-03 08:36:53.940598", "rc": 0, "start": "2024-08-03 08:36:53.937714" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:36:53 -0400 (0:00:00.324) 0:00:03.848 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.020) 0:00:03.869 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.019) 0:00:03.888 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.049) 0:00:03.937 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.018) 0:00:03.955 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.017) 0:00:03.973 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.024) 0:00:03.997 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.022) 0:00:04.020 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002680", "end": "2024-08-03 08:36:54.442487", "rc": 0, "start": "2024-08-03 08:36:54.439807" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.329) 0:00:04.349 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.019) 0:00:04.369 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:36:54 -0400 (0:00:00.018) 0:00:04.388 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:36:57 -0400 (0:00:02.750) 0:00:07.139 ******* ok: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.010455", "end": "2024-08-03 08:36:57.568088", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-03 08:36:57.557633" } ok: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003219", "end": "2024-08-03 08:36:57.915762", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-03 08:36:57.912543" } ok: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003579", "end": "2024-08-03 08:36:58.226784", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-03 08:36:58.223205" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.997) 0:00:08.136 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.159624", "end": "2024-08-03 08:36:58.709111", "rc": 0, "start": "2024-08-03 08:36:58.549487" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.483) 0:00:08.619 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.018) 0:00:08.638 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.018) 0:00:08.657 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.018) 0:00:08.675 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.018) 0:00:08.694 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.017) 0:00:08.711 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.045) 0:00:08.756 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:36:58 -0400 (0:00:00.022) 0:00:08.779 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688617.560771, "block_size": 4096, "blocks": 0, "ctime": 1722688617.560771, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24895, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1722688617.560771, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:36:59 -0400 (0:00:00.324) 0:00:09.103 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Saturday 03 August 2024 08:36:59 -0400 (0:00:00.021) 0:00:09.125 ******* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:36:59 -0400 (0:00:00.017) 0:00:09.143 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:36:59 -0400 (0:00:00.030) 0:00:09.173 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:36:59 -0400 (0:00:00.019) 0:00:09.193 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:36:59 -0400 (0:00:00.017) 0:00:09.211 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:36:59 -0400 (0:00:00.018) 0:00:09.229 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:37:00 -0400 (0:00:01.527) 0:00:10.756 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:37:02 -0400 (0:00:01.598) 0:00:12.355 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:37:02 -0400 (0:00:00.034) 0:00:12.389 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:37:02 -0400 (0:00:00.033) 0:00:12.422 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:37:02 -0400 (0:00:00.033) 0:00:12.456 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:37:02 -0400 (0:00:00.034) 0:00:12.490 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:37:02 -0400 (0:00:00.040) 0:00:12.531 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:37:02 -0400 (0:00:00.032) 0:00:12.563 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:37:02 -0400 (0:00:00.041) 0:00:12.605 ******* changed: [managed_node1] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } lsrpackages: dhcp-client network-scripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:37:06 -0400 (0:00:03.682) 0:00:16.288 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:37:06 -0400 (0:00:00.034) 0:00:16.322 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:37:06 -0400 (0:00:00.035) 0:00:16.357 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:37:06 -0400 (0:00:00.040) 0:00:16.398 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:37:06 -0400 (0:00:00.033) 0:00:16.432 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:37:06 -0400 (0:00:00.033) 0:00:16.466 ******* changed: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:37:07 -0400 (0:00:00.967) 0:00:17.434 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-10816urrlo5o9/tmptvnm9oe6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:37:07 -0400 (0:00:00.353) 0:00:17.787 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:37:14 -0400 (0:00:06.830) 0:00:24.617 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.033) 0:00:24.651 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.036) 0:00:24.688 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "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, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.067) 0:00:24.756 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:37:14 -0400 (0:00:00.033) 0:00:24.790 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Saturday 03 August 2024 08:37:15 -0400 (0:00:00.407) 0:00:25.197 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:37:15 -0400 (0:00:00.077) 0:00:25.274 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:37:15 -0400 (0:00:00.052) 0:00:25.327 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688617.560771, "block_size": 4096, "blocks": 0, "ctime": 1722688617.560771, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24895, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1722688617.560771, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:37:15 -0400 (0:00:00.341) 0:00:25.668 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Saturday 03 August 2024 08:37:15 -0400 (0:00:00.036) 0:00:25.705 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:37:15 -0400 (0:00:00.076) 0:00:25.782 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:37:16 -0400 (0:00:00.096) 0:00:25.878 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:37:16 -0400 (0:00:00.034) 0:00:25.913 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688628.517511, "block_size": 4096, "blocks": 8, "ctime": 1722688628.5005107, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722688628.5005107, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:37:16 -0400 (0:00:00.337) 0:00:26.250 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:37:16 -0400 (0:00:00.034) 0:00:26.285 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.016913", "end": "2024-08-03 08:37:16.716884", "rc": 1, "start": "2024-08-03 08:37:16.699971" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:37:16 -0400 (0:00:00.354) 0:00:26.640 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:37:16 -0400 (0:00:00.036) 0:00:26.677 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002662", "end": "2024-08-03 08:37:17.099527", "rc": 0, "start": "2024-08-03 08:37:17.096865" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:37:17 -0400 (0:00:00.348) 0:00:27.025 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:37:17 -0400 (0:00:00.042) 0:00:27.067 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003594", "end": "2024-08-03 08:37:18.491954", "rc": 0, "start": "2024-08-03 08:37:17.488360" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:37:18 -0400 (0:00:01.386) 0:00:28.453 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.043) 0:00:28.497 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.037) 0:00:28.534 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.038) 0:00:28.573 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Saturday 03 August 2024 08:37:18 -0400 (0:00:00.036) 0:00:28.610 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003073", "end": "2024-08-03 08:37:19.026708", "rc": 0, "start": "2024-08-03 08:37:19.023635" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.178 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.178 metric 100 169.254.0.0/16 dev veth0 scope link metric 1014 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Saturday 03 August 2024 08:37:19 -0400 (0:00:00.340) 0:00:28.950 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Saturday 03 August 2024 08:37:19 -0400 (0:00:00.037) 0:00:28.987 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003101", "end": "2024-08-03 08:37:19.404324", "rc": 0, "start": "2024-08-03 08:37:19.401223" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Saturday 03 August 2024 08:37:19 -0400 (0:00:00.339) 0:00:29.327 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Saturday 03 August 2024 08:37:19 -0400 (0:00:00.034) 0:00:29.361 ******* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:37:19 -0400 (0:00:00.034) 0:00:29.396 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:37:19 -0400 (0:00:00.060) 0:00:29.456 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:37:19 -0400 (0:00:00.041) 0:00:29.497 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:37:19 -0400 (0:00:00.033) 0:00:29.531 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:37:19 -0400 (0:00:00.072) 0:00:29.604 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:37:21 -0400 (0:00:01.477) 0:00:31.082 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:37:22 -0400 (0:00:01.353) 0:00:32.436 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:37:22 -0400 (0:00:00.035) 0:00:32.471 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:37:22 -0400 (0:00:00.034) 0:00:32.505 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:37:22 -0400 (0:00:00.070) 0:00:32.576 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:37:22 -0400 (0:00:00.034) 0:00:32.610 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:37:22 -0400 (0:00:00.040) 0:00:32.651 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:37:22 -0400 (0:00:00.034) 0:00:32.685 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:37:22 -0400 (0:00:00.038) 0:00:32.724 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:37:22 -0400 (0:00:00.069) 0:00:32.793 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:37:22 -0400 (0:00:00.034) 0:00:32.828 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:37:23 -0400 (0:00:00.034) 0:00:32.862 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:37:23 -0400 (0:00:00.039) 0:00:32.902 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:37:23 -0400 (0:00:00.034) 0:00:32.936 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:37:23 -0400 (0:00:00.033) 0:00:32.970 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:37:23 -0400 (0:00:00.495) 0:00:33.466 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-10816urrlo5o9/tmpkw4knd1s" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:37:23 -0400 (0:00:00.353) 0:00:33.820 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:37:24 -0400 (0:00:00.608) 0:00:34.428 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:37:24 -0400 (0:00:00.033) 0:00:34.462 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:37:24 -0400 (0:00:00.036) 0:00:34.499 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:37:24 -0400 (0:00:00.037) 0:00:34.536 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:37:24 -0400 (0:00:00.033) 0:00:34.570 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Saturday 03 August 2024 08:37:25 -0400 (0:00:00.334) 0:00:34.904 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:37:25 -0400 (0:00:00.083) 0:00:34.987 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:37:25 -0400 (0:00:00.034) 0:00:35.022 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:37:25 -0400 (0:00:00.034) 0:00:35.056 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:37:25 -0400 (0:00:00.056) 0:00:35.113 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:37:25 -0400 (0:00:00.101) 0:00:35.214 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002769", "end": "2024-08-03 08:37:25.635181", "rc": 0, "start": "2024-08-03 08:37:25.632412" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:37:25 -0400 (0:00:00.345) 0:00:35.559 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:37:25 -0400 (0:00:00.037) 0:00:35.597 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:37:25 -0400 (0:00:00.036) 0:00:35.633 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:37:28 -0400 (0:00:02.499) 0:00:38.132 ******* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:37:28 -0400 (0:00:00.049) 0:00:38.182 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:37:28 -0400 (0:00:00.033) 0:00:38.215 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013294", "end": "2024-08-03 08:37:28.643253", "rc": 0, "start": "2024-08-03 08:37:28.629959" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:37:28 -0400 (0:00:00.390) 0:00:38.606 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:37:28 -0400 (0:00:00.035) 0:00:38.641 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:37:28 -0400 (0:00:00.039) 0:00:38.681 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:37:28 -0400 (0:00:00.035) 0:00:38.717 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Saturday 03 August 2024 08:37:28 -0400 (0:00:00.034) 0:00:38.751 ******* ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Saturday 03 August 2024 08:37:28 -0400 (0:00:00.036) 0:00:38.787 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:37:29 -0400 (0:00:00.085) 0:00:38.873 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:37:29 -0400 (0:00:00.035) 0:00:38.909 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:37:29 -0400 (0:00:00.034) 0:00:38.943 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:37:29 -0400 (0:00:00.054) 0:00:38.998 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:37:29 -0400 (0:00:00.053) 0:00:39.051 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002692", "end": "2024-08-03 08:37:29.470408", "rc": 0, "start": "2024-08-03 08:37:29.467716" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:37:29 -0400 (0:00:00.387) 0:00:39.439 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:37:29 -0400 (0:00:00.035) 0:00:39.475 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:37:29 -0400 (0:00:00.035) 0:00:39.511 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:37:32 -0400 (0:00:02.513) 0:00:42.025 ******* ok: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.009788", "end": "2024-08-03 08:37:32.459024", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-03 08:37:32.449236" } ok: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003282", "end": "2024-08-03 08:37:32.812953", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-03 08:37:32.809671" } ok: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003499", "end": "2024-08-03 08:37:33.125256", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-03 08:37:33.121757" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:37:33 -0400 (0:00:01.026) 0:00:43.051 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019328", "end": "2024-08-03 08:37:33.488866", "rc": 0, "start": "2024-08-03 08:37:33.469538" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.363) 0:00:43.415 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.038) 0:00:43.453 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.036) 0:00:43.490 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.108) 0:00:43.598 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.037) 0:00:43.635 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.035) 0:00:43.671 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.061) 0:00:43.732 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.043) 0:00:43.776 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.034) 0:00:43.810 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:37:33 -0400 (0:00:00.034) 0:00:43.845 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:37:35 -0400 (0:00:01.466) 0:00:45.312 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:37:36 -0400 (0:00:01.405) 0:00:46.717 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:37:36 -0400 (0:00:00.035) 0:00:46.753 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:37:36 -0400 (0:00:00.034) 0:00:46.787 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:37:36 -0400 (0:00:00.035) 0:00:46.822 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:37:36 -0400 (0:00:00.033) 0:00:46.856 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.043) 0:00:46.900 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.034) 0:00:46.934 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.038) 0:00:46.972 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.068) 0:00:47.041 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.079) 0:00:47.121 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.034) 0:00:47.155 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.042) 0:00:47.198 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.034) 0:00:47.233 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.033) 0:00:47.266 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:37:37 -0400 (0:00:00.506) 0:00:47.772 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-10816urrlo5o9/tmps0ri7im9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:37:38 -0400 (0:00:00.360) 0:00:48.133 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:37:44 -0400 (0:00:06.626) 0:00:54.760 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:37:44 -0400 (0:00:00.033) 0:00:54.793 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:37:45 -0400 (0:00:00.075) 0:00:54.868 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "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, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:37:45 -0400 (0:00:00.037) 0:00:54.906 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:37:45 -0400 (0:00:00.033) 0:00:54.940 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Saturday 03 August 2024 08:37:45 -0400 (0:00:00.331) 0:00:55.272 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 03 August 2024 08:37:45 -0400 (0:00:00.082) 0:00:55.355 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 03 August 2024 08:37:45 -0400 (0:00:00.054) 0:00:55.410 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688652.4523022, "block_size": 4096, "blocks": 0, "ctime": 1722688652.4523022, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25481, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1722688652.4523022, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 03 August 2024 08:37:45 -0400 (0:00:00.339) 0:00:55.749 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Saturday 03 August 2024 08:37:45 -0400 (0:00:00.037) 0:00:55.787 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 03 August 2024 08:37:46 -0400 (0:00:00.083) 0:00:55.871 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 03 August 2024 08:37:46 -0400 (0:00:00.106) 0:00:55.977 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 03 August 2024 08:37:46 -0400 (0:00:00.036) 0:00:56.013 ******* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722688658.67596, "block_size": 4096, "blocks": 8, "ctime": 1722688658.6589599, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2190070, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1722688658.6589599, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 03 August 2024 08:37:46 -0400 (0:00:00.342) 0:00:56.355 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 03 August 2024 08:37:46 -0400 (0:00:00.036) 0:00:56.391 ******* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.016698", "end": "2024-08-03 08:37:46.822994", "rc": 1, "start": "2024-08-03 08:37:46.806296" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 03 August 2024 08:37:46 -0400 (0:00:00.354) 0:00:56.745 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 03 August 2024 08:37:46 -0400 (0:00:00.036) 0:00:56.782 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003713", "end": "2024-08-03 08:37:48.205195", "rc": 0, "start": "2024-08-03 08:37:47.201482" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 03 August 2024 08:37:48 -0400 (0:00:01.351) 0:00:58.133 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 03 August 2024 08:37:48 -0400 (0:00:00.043) 0:00:58.177 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002640", "end": "2024-08-03 08:37:48.612781", "rc": 0, "start": "2024-08-03 08:37:48.610141" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 03 August 2024 08:37:48 -0400 (0:00:00.362) 0:00:58.539 ******* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 03 August 2024 08:37:48 -0400 (0:00:00.044) 0:00:58.583 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 03 August 2024 08:37:48 -0400 (0:00:00.044) 0:00:58.627 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 03 August 2024 08:37:48 -0400 (0:00:00.041) 0:00:58.669 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Saturday 03 August 2024 08:37:48 -0400 (0:00:00.036) 0:00:58.706 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003010", "end": "2024-08-03 08:37:49.125698", "rc": 0, "start": "2024-08-03 08:37:49.122688" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.178 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.178 metric 100 169.254.0.0/16 dev veth0 scope link metric 1016 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Saturday 03 August 2024 08:37:49 -0400 (0:00:00.345) 0:00:59.051 ******* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Saturday 03 August 2024 08:37:49 -0400 (0:00:00.038) 0:00:59.090 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003000", "end": "2024-08-03 08:37:49.508327", "rc": 0, "start": "2024-08-03 08:37:49.505327" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Saturday 03 August 2024 08:37:49 -0400 (0:00:00.340) 0:00:59.431 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Saturday 03 August 2024 08:37:49 -0400 (0:00:00.033) 0:00:59.464 ******* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 03 August 2024 08:37:49 -0400 (0:00:00.033) 0:00:59.497 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 03 August 2024 08:37:49 -0400 (0:00:00.059) 0:00:59.556 ******* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 03 August 2024 08:37:49 -0400 (0:00:00.089) 0:00:59.646 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 03 August 2024 08:37:49 -0400 (0:00:00.034) 0:00:59.680 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 03 August 2024 08:37:49 -0400 (0:00:00.034) 0:00:59.715 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 03 August 2024 08:37:51 -0400 (0:00:01.467) 0:01:01.183 ******* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 03 August 2024 08:37:52 -0400 (0:00:01.357) 0:01:02.541 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 03 August 2024 08:37:52 -0400 (0:00:00.035) 0:01:02.576 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 03 August 2024 08:37:52 -0400 (0:00:00.079) 0:01:02.656 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 03 August 2024 08:37:52 -0400 (0:00:00.034) 0:01:02.690 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 03 August 2024 08:37:52 -0400 (0:00:00.034) 0:01:02.725 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 03 August 2024 08:37:52 -0400 (0:00:00.041) 0:01:02.766 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 03 August 2024 08:37:52 -0400 (0:00:00.034) 0:01:02.800 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 03 August 2024 08:37:52 -0400 (0:00:00.039) 0:01:02.840 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 03 August 2024 08:37:53 -0400 (0:00:00.068) 0:01:02.908 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 03 August 2024 08:37:53 -0400 (0:00:00.033) 0:01:02.942 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 03 August 2024 08:37:53 -0400 (0:00:00.033) 0:01:02.975 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 03 August 2024 08:37:53 -0400 (0:00:00.039) 0:01:03.014 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 03 August 2024 08:37:53 -0400 (0:00:00.034) 0:01:03.048 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 03 August 2024 08:37:53 -0400 (0:00:00.034) 0:01:03.083 ******* 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/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 03 August 2024 08:37:53 -0400 (0:00:00.494) 0:01:03.577 ******* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-10816urrlo5o9/tmpjlbzg_wg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 03 August 2024 08:37:54 -0400 (0:00:00.350) 0:01:03.927 ******* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 03 August 2024 08:37:54 -0400 (0:00:00.645) 0:01:04.573 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 03 August 2024 08:37:54 -0400 (0:00:00.035) 0:01:04.608 ******* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 03 August 2024 08:37:54 -0400 (0:00:00.038) 0:01:04.647 ******* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 03 August 2024 08:37:54 -0400 (0:00:00.039) 0:01:04.686 ******* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 03 August 2024 08:37:54 -0400 (0:00:00.035) 0:01:04.722 ******* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Saturday 03 August 2024 08:37:55 -0400 (0:00:00.338) 0:01:05.060 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Saturday 03 August 2024 08:37:55 -0400 (0:00:00.089) 0:01:05.150 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Saturday 03 August 2024 08:37:55 -0400 (0:00:00.034) 0:01:05.185 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Saturday 03 August 2024 08:37:55 -0400 (0:00:00.035) 0:01:05.220 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 03 August 2024 08:37:55 -0400 (0:00:00.056) 0:01:05.276 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 03 August 2024 08:37:55 -0400 (0:00:00.113) 0:01:05.390 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002623", "end": "2024-08-03 08:37:55.811157", "rc": 0, "start": "2024-08-03 08:37:55.808534" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 03 August 2024 08:37:55 -0400 (0:00:00.345) 0:01:05.735 ******* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 03 August 2024 08:37:55 -0400 (0:00:00.037) 0:01:05.773 ******* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Saturday 03 August 2024 08:37:55 -0400 (0:00:00.037) 0:01:05.811 ******* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Saturday 03 August 2024 08:37:58 -0400 (0:00:02.505) 0:01:08.316 ******* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Saturday 03 August 2024 08:37:58 -0400 (0:00:00.050) 0:01:08.367 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Saturday 03 August 2024 08:37:58 -0400 (0:00:00.035) 0:01:08.402 ******* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010676", "end": "2024-08-03 08:37:58.831494", "rc": 0, "start": "2024-08-03 08:37:58.820818" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Saturday 03 August 2024 08:37:58 -0400 (0:00:00.402) 0:01:08.805 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Saturday 03 August 2024 08:37:58 -0400 (0:00:00.036) 0:01:08.841 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Saturday 03 August 2024 08:37:59 -0400 (0:00:00.036) 0:01:08.878 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Saturday 03 August 2024 08:37:59 -0400 (0:00:00.036) 0:01:08.914 ******* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Saturday 03 August 2024 08:37:59 -0400 (0:00:00.033) 0:01:08.948 ******* included: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 03 August 2024 08:37:59 -0400 (0:00:00.086) 0:01:09.034 ******* 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.007563", "end": "2024-08-03 08:37:59.462717", "rc": 0, "start": "2024-08-03 08:37:59.455154" } 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 02:bf:e3:38:1f:51 brd ff:ff:ff:ff:ff:ff inet 10.31.44.178/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3455sec preferred_lft 3455sec inet6 fe80::bf:e3ff:fe38:1f51/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.178 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.178 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 03 August 2024 08:37:59 -0400 (0:00:00.352) 0:01:09.387 ******* 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.182223", "end": "2024-08-03 08:37:59.997997", "rc": 0, "start": "2024-08-03 08:37:59.815774" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed6 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 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 2118 0 --:--:-- --:--:-- --:--:-- 2118 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 17117 0 --:--:-- --:--:-- --:--:-- 16166 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Saturday 03 August 2024 08:38:00 -0400 (0:00:00.517) 0:01:09.904 ******* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.83s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.63s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Install packages -------------------- 3.68s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Install iproute --------------------------------------------------------- 2.75s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.51s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.51s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.50s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the fingerprint comment in ifcfg-veth0 ------------------------------ 1.39s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.35s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Create veth interface veth0 --------------------------------------------- 1.03s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 1.00s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable network service -------------- 0.97s /tmp/tmp.uWWMcjx9LZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142