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/collections-l8O/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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Monday 12 August 2024 05:07:30 -0400 (0:00:00.022) 0:00:00.022 ********* ok: [managed_node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Monday 12 August 2024 05:07:31 -0400 (0:00:01.186) 0:00:01.208 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 12 August 2024 05:07:31 -0400 (0:00:00.019) 0:00:01.228 ********* ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 12 August 2024 05:07:32 -0400 (0:00:00.482) 0:00:01.710 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 12 August 2024 05:07:32 -0400 (0:00:00.472) 0:00:02.183 ********* ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 12 August 2024 05:07:32 -0400 (0:00:00.046) 0:00:02.229 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 12 August 2024 05:07:32 -0400 (0:00:00.046) 0:00:02.276 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 12 August 2024 05:07:32 -0400 (0:00:00.092) 0:00:02.369 ********* ok: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Monday 12 August 2024 05:07:33 -0400 (0:00:00.422) 0:00:02.791 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Monday 12 August 2024 05:07:33 -0400 (0:00:00.017) 0:00:02.809 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Monday 12 August 2024 05:07:33 -0400 (0:00:00.017) 0:00:02.827 ********* [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_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.217764", "end": "2024-08-12 05:07:33.737790", "rc": 0, "start": "2024-08-12 05:07:33.520026" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Monday 12 August 2024 05:07:33 -0400 (0:00:00.542) 0:00:03.370 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Monday 12 August 2024 05:07:33 -0400 (0:00:00.016) 0:00:03.386 ********* ok: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Monday 12 August 2024 05:07:33 -0400 (0:00:00.020) 0:00:03.406 ********* ok: [managed_node3] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Monday 12 August 2024 05:07:34 -0400 (0:00:00.599) 0:00:04.006 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:07:34 -0400 (0:00:00.042) 0:00:04.049 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:07:34 -0400 (0:00:00.023) 0:00:04.072 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002829", "end": "2024-08-12 05:07:34.764689", "rc": 0, "start": "2024-08-12 05:07:34.761860" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:07:34 -0400 (0:00:00.323) 0:00:04.395 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:07:34 -0400 (0:00:00.020) 0:00:04.416 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Monday 12 August 2024 05:07:34 -0400 (0:00:00.018) 0:00:04.435 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:07:34 -0400 (0:00:00.063) 0:00:04.498 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:07:34 -0400 (0:00:00.018) 0:00:04.516 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:07:34 -0400 (0:00:00.017) 0:00:04.534 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:07:34 -0400 (0:00:00.023) 0:00:04.558 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:07:34 -0400 (0:00:00.023) 0:00:04.581 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002719", "end": "2024-08-12 05:07:35.273401", "rc": 0, "start": "2024-08-12 05:07:35.270682" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:07:35 -0400 (0:00:00.323) 0:00:04.905 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:07:35 -0400 (0:00:00.020) 0:00:04.925 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:07:35 -0400 (0:00:00.018) 0:00:04.944 ********* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:07:49 -0400 (0:00:13.849) 0:00:18.794 ********* ok: [managed_node3] => (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.017668", "end": "2024-08-12 05:07:49.520270", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-12 05:07:49.502602" } ok: [managed_node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003392", "end": "2024-08-12 05:07:49.879646", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-12 05:07:49.876254" } ok: [managed_node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003516", "end": "2024-08-12 05:07:50.212349", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-12 05:07:50.208833" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:07:50 -0400 (0:00:01.052) 0:00:19.846 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024635", "end": "2024-08-12 05:07:50.603320", "rc": 0, "start": "2024-08-12 05:07:50.578685" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:07:50 -0400 (0:00:00.392) 0:00:20.238 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:07:50 -0400 (0:00:00.020) 0:00:20.258 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:07:50 -0400 (0:00:00.021) 0:00:20.280 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:07:50 -0400 (0:00:00.020) 0:00:20.300 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:07:50 -0400 (0:00:00.020) 0:00:20.321 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Monday 12 August 2024 05:07:50 -0400 (0:00:00.026) 0:00:20.348 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:07:50 -0400 (0:00:00.062) 0:00:20.410 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:07:50 -0400 (0:00:00.029) 0:00:20.439 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723453669.511796, "block_size": 4096, "blocks": 0, "ctime": 1723453669.511796, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21679, "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": 1723453669.511796, "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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:07:51 -0400 (0:00:00.344) 0:00:20.783 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Monday 12 August 2024 05:07:51 -0400 (0:00:00.041) 0:00:20.825 ********* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:07:51 -0400 (0:00:00.022) 0:00:20.847 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:07:51 -0400 (0:00:00.040) 0:00:20.887 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:07:51 -0400 (0:00:00.023) 0:00:20.910 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:07:51 -0400 (0:00:00.018) 0:00:20.929 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:07:51 -0400 (0:00:00.017) 0:00:20.947 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:07:52 -0400 (0:00:01.571) 0:00:22.519 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:07:54 -0400 (0:00:01.679) 0:00:24.198 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:07:54 -0400 (0:00:00.037) 0:00:24.236 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:07:54 -0400 (0:00:00.035) 0:00:24.272 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:07:54 -0400 (0:00:00.037) 0:00:24.310 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:07:54 -0400 (0:00:00.037) 0:00:24.348 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:07:54 -0400 (0:00:00.048) 0:00:24.396 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:07:54 -0400 (0:00:00.039) 0:00:24.436 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:07:54 -0400 (0:00:00.049) 0:00:24.486 ********* changed: [managed_node3] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:07:59 -0400 (0:00:04.338) 0:00:28.824 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:07:59 -0400 (0:00:00.040) 0:00:28.865 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:07:59 -0400 (0:00:00.045) 0:00:28.910 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:07:59 -0400 (0:00:00.045) 0:00:28.955 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:07:59 -0400 (0:00:00.036) 0:00:28.992 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:07:59 -0400 (0:00:00.045) 0:00:29.037 ********* changed: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:08:00 -0400 (0:00:01.061) 0:00:30.099 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8650ygn__lx9/tmp999qn0yj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:08:00 -0400 (0:00:00.389) 0:00:30.489 ********* changed: [managed_node3] => { "_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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:08:07 -0400 (0:00:06.901) 0:00:37.390 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:08:07 -0400 (0:00:00.040) 0:00:37.431 ********* ok: [managed_node3] => { "__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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:08:07 -0400 (0:00:00.043) 0:00:37.474 ********* ok: [managed_node3] => { "__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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:08:07 -0400 (0:00:00.054) 0:00:37.529 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:08:07 -0400 (0:00:00.049) 0:00:37.579 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Monday 12 August 2024 05:08:08 -0400 (0:00:00.462) 0:00:38.041 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:08:08 -0400 (0:00:00.123) 0:00:38.165 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:08:08 -0400 (0:00:00.083) 0:00:38.249 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723453669.511796, "block_size": 4096, "blocks": 0, "ctime": 1723453669.511796, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21679, "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": 1723453669.511796, "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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:08:09 -0400 (0:00:00.421) 0:00:38.670 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Monday 12 August 2024 05:08:09 -0400 (0:00:00.049) 0:00:38.720 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:08:09 -0400 (0:00:00.089) 0:00:38.809 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:08:09 -0400 (0:00:00.062) 0:00:38.872 ********* ok: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:08:09 -0400 (0:00:00.035) 0:00:38.908 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723453681.5307267, "block_size": 4096, "blocks": 8, "ctime": 1723453681.5137265, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301247, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723453681.5137265, "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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:08:09 -0400 (0:00:00.344) 0:00:39.252 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:08:09 -0400 (0:00:00.038) 0:00:39.291 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017404", "end": "2024-08-12 05:08:10.018744", "rc": 1, "start": "2024-08-12 05:08:10.001340" } 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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:08:10 -0400 (0:00:00.375) 0:00:39.666 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:08:10 -0400 (0:00:00.038) 0:00:39.705 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002693", "end": "2024-08-12 05:08:10.405983", "rc": 0, "start": "2024-08-12 05:08:10.403290" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:08:10 -0400 (0:00:00.351) 0:00:40.056 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:08:10 -0400 (0:00:00.046) 0:00:40.103 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002821", "end": "2024-08-12 05:08:10.805247", "rc": 0, "start": "2024-08-12 05:08:10.802426" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:08:10 -0400 (0:00:00.373) 0:00:40.477 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:08:10 -0400 (0:00:00.082) 0:00:40.560 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:08:11 -0400 (0:00:00.067) 0:00:40.627 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:08:11 -0400 (0:00:00.059) 0:00:40.687 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Monday 12 August 2024 05:08:11 -0400 (0:00:00.050) 0:00:40.738 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003076", "end": "2024-08-12 05:08:11.447610", "rc": 0, "start": "2024-08-12 05:08:11.444534" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.187 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.187 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Monday 12 August 2024 05:08:11 -0400 (0:00:00.358) 0:00:41.096 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Monday 12 August 2024 05:08:11 -0400 (0:00:00.039) 0:00:41.135 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003363", "end": "2024-08-12 05:08:11.833690", "rc": 0, "start": "2024-08-12 05:08:11.830327" } 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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Monday 12 August 2024 05:08:11 -0400 (0:00:00.384) 0:00:41.520 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Monday 12 August 2024 05:08:11 -0400 (0:00:00.035) 0:00:41.555 ********* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:08:12 -0400 (0:00:00.037) 0:00:41.593 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:08:12 -0400 (0:00:00.064) 0:00:41.657 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:08:12 -0400 (0:00:00.044) 0:00:41.701 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:08:12 -0400 (0:00:00.036) 0:00:41.738 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:08:12 -0400 (0:00:00.036) 0:00:41.774 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:08:13 -0400 (0:00:01.504) 0:00:43.279 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:08:15 -0400 (0:00:01.437) 0:00:44.716 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:08:15 -0400 (0:00:00.039) 0:00:44.755 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:08:15 -0400 (0:00:00.036) 0:00:44.792 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:08:15 -0400 (0:00:00.036) 0:00:44.829 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:08:15 -0400 (0:00:00.037) 0:00:44.866 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:08:15 -0400 (0:00:00.042) 0:00:44.909 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:08:15 -0400 (0:00:00.037) 0:00:44.947 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:08:15 -0400 (0:00:00.042) 0:00:44.989 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:08:15 -0400 (0:00:00.072) 0:00:45.062 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:08:15 -0400 (0:00:00.036) 0:00:45.099 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:08:15 -0400 (0:00:00.036) 0:00:45.135 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:08:15 -0400 (0:00:00.040) 0:00:45.176 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:08:15 -0400 (0:00:00.082) 0:00:45.259 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:08:15 -0400 (0:00:00.036) 0:00:45.295 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:08:16 -0400 (0:00:00.508) 0:00:45.804 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8650ygn__lx9/tmpgrqvd6d6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:08:16 -0400 (0:00:00.383) 0:00:46.187 ********* changed: [managed_node3] => { "_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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:08:17 -0400 (0:00:00.600) 0:00:46.787 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:08:17 -0400 (0:00:00.057) 0:00:46.845 ********* ok: [managed_node3] => { "__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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:08:17 -0400 (0:00:00.068) 0:00:46.913 ********* ok: [managed_node3] => { "__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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:08:17 -0400 (0:00:00.050) 0:00:46.964 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:08:17 -0400 (0:00:00.062) 0:00:47.026 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Monday 12 August 2024 05:08:17 -0400 (0:00:00.411) 0:00:47.438 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:08:18 -0400 (0:00:00.224) 0:00:47.662 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:08:18 -0400 (0:00:00.048) 0:00:47.710 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:08:18 -0400 (0:00:00.046) 0:00:47.756 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:08:18 -0400 (0:00:00.065) 0:00:47.822 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:08:18 -0400 (0:00:00.078) 0:00:47.901 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002600", "end": "2024-08-12 05:08:18.617968", "rc": 0, "start": "2024-08-12 05:08:18.615368" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:08:18 -0400 (0:00:00.387) 0:00:48.289 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:08:18 -0400 (0:00:00.061) 0:00:48.350 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:08:18 -0400 (0:00:00.059) 0:00:48.410 ********* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:08:21 -0400 (0:00:03.082) 0:00:51.492 ********* skipping: [managed_node3] => (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_node3] => (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_node3] => (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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:08:21 -0400 (0:00:00.077) 0:00:51.570 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:08:22 -0400 (0:00:00.064) 0:00:51.635 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010229", "end": "2024-08-12 05:08:22.541035", "rc": 0, "start": "2024-08-12 05:08:22.530806" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:08:22 -0400 (0:00:00.589) 0:00:52.224 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:08:22 -0400 (0:00:00.048) 0:00:52.273 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:08:22 -0400 (0:00:00.060) 0:00:52.333 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:08:22 -0400 (0:00:00.062) 0:00:52.396 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Monday 12 August 2024 05:08:22 -0400 (0:00:00.050) 0:00:52.446 ********* ok: [managed_node3] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Monday 12 August 2024 05:08:22 -0400 (0:00:00.054) 0:00:52.501 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:08:23 -0400 (0:00:00.141) 0:00:52.642 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:08:23 -0400 (0:00:00.036) 0:00:52.679 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:08:23 -0400 (0:00:00.034) 0:00:52.713 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:08:23 -0400 (0:00:00.071) 0:00:52.785 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:08:23 -0400 (0:00:00.056) 0:00:52.842 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002975", "end": "2024-08-12 05:08:23.556105", "rc": 0, "start": "2024-08-12 05:08:23.553130" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:08:23 -0400 (0:00:00.365) 0:00:53.207 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:08:23 -0400 (0:00:00.037) 0:00:53.244 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:08:23 -0400 (0:00:00.038) 0:00:53.283 ********* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:08:26 -0400 (0:00:02.946) 0:00:56.229 ********* ok: [managed_node3] => (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.010513", "end": "2024-08-12 05:08:27.020669", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-12 05:08:27.010156" } ok: [managed_node3] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003310", "end": "2024-08-12 05:08:27.396307", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-12 05:08:27.392997" } ok: [managed_node3] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003869", "end": "2024-08-12 05:08:27.721860", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-12 05:08:27.717991" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:08:27 -0400 (0:00:01.174) 0:00:57.404 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019034", "end": "2024-08-12 05:08:28.156644", "rc": 0, "start": "2024-08-12 05:08:28.137610" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:08:28 -0400 (0:00:00.416) 0:00:57.821 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:08:28 -0400 (0:00:00.046) 0:00:57.867 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:08:28 -0400 (0:00:00.050) 0:00:57.918 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:08:28 -0400 (0:00:00.039) 0:00:57.958 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:08:28 -0400 (0:00:00.079) 0:00:58.037 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:08:28 -0400 (0:00:00.042) 0:00:58.079 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:08:28 -0400 (0:00:00.094) 0:00:58.174 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:08:28 -0400 (0:00:00.068) 0:00:58.243 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:08:28 -0400 (0:00:00.061) 0:00:58.305 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:08:28 -0400 (0:00:00.056) 0:00:58.362 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:08:30 -0400 (0:00:01.562) 0:00:59.924 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:08:31 -0400 (0:00:01.487) 0:01:01.411 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:08:31 -0400 (0:00:00.089) 0:01:01.501 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:08:32 -0400 (0:00:00.132) 0:01:01.634 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:08:32 -0400 (0:00:00.117) 0:01:01.751 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:08:32 -0400 (0:00:00.076) 0:01:01.828 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:08:32 -0400 (0:00:00.079) 0:01:01.907 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:08:32 -0400 (0:00:00.052) 0:01:01.959 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:08:32 -0400 (0:00:00.053) 0:01:02.013 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:08:32 -0400 (0:00:00.089) 0:01:02.102 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:08:32 -0400 (0:00:00.042) 0:01:02.145 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:08:32 -0400 (0:00:00.056) 0:01:02.201 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:08:32 -0400 (0:00:00.064) 0:01:02.266 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:08:32 -0400 (0:00:00.043) 0:01:02.309 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:08:32 -0400 (0:00:00.042) 0:01:02.351 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:08:33 -0400 (0:00:00.512) 0:01:02.863 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8650ygn__lx9/tmp6gqjyznx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:08:33 -0400 (0:00:00.368) 0:01:03.232 ********* changed: [managed_node3] => { "_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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:08:40 -0400 (0:00:06.662) 0:01:09.895 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:08:40 -0400 (0:00:00.068) 0:01:09.964 ********* ok: [managed_node3] => { "__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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:08:40 -0400 (0:00:00.069) 0:01:10.033 ********* ok: [managed_node3] => { "__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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:08:40 -0400 (0:00:00.062) 0:01:10.096 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:08:40 -0400 (0:00:00.057) 0:01:10.154 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Monday 12 August 2024 05:08:40 -0400 (0:00:00.363) 0:01:10.517 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:08:41 -0400 (0:00:00.158) 0:01:10.676 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:08:41 -0400 (0:00:00.070) 0:01:10.746 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723453707.0134888, "block_size": 4096, "blocks": 0, "ctime": 1723453707.0134888, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22265, "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": 1723453707.0134888, "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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:08:41 -0400 (0:00:00.380) 0:01:11.127 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Monday 12 August 2024 05:08:41 -0400 (0:00:00.068) 0:01:11.196 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:08:41 -0400 (0:00:00.151) 0:01:11.348 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:08:41 -0400 (0:00:00.107) 0:01:11.456 ********* ok: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:08:41 -0400 (0:00:00.062) 0:01:11.519 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723453714.0631034, "block_size": 4096, "blocks": 8, "ctime": 1723453714.0461032, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301239, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723453714.0461032, "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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:08:42 -0400 (0:00:00.401) 0:01:11.921 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:08:42 -0400 (0:00:00.125) 0:01:12.046 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.018081", "end": "2024-08-12 05:08:42.770955", "rc": 1, "start": "2024-08-12 05:08:42.752874" } 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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:08:42 -0400 (0:00:00.384) 0:01:12.430 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:08:42 -0400 (0:00:00.046) 0:01:12.477 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003851", "end": "2024-08-12 05:08:44.193482", "rc": 0, "start": "2024-08-12 05:08:43.189631" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:08:44 -0400 (0:00:01.369) 0:01:13.846 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:08:44 -0400 (0:00:00.044) 0:01:13.890 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002756", "end": "2024-08-12 05:08:44.595004", "rc": 0, "start": "2024-08-12 05:08:44.592248" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:08:44 -0400 (0:00:00.357) 0:01:14.247 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:08:44 -0400 (0:00:00.046) 0:01:14.294 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:08:44 -0400 (0:00:00.041) 0:01:14.336 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:08:44 -0400 (0:00:00.052) 0:01:14.388 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Monday 12 August 2024 05:08:44 -0400 (0:00:00.039) 0:01:14.428 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003181", "end": "2024-08-12 05:08:45.182861", "rc": 0, "start": "2024-08-12 05:08:45.179680" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.187 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.187 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Monday 12 August 2024 05:08:45 -0400 (0:00:00.424) 0:01:14.853 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Monday 12 August 2024 05:08:45 -0400 (0:00:00.064) 0:01:14.917 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003042", "end": "2024-08-12 05:08:45.651865", "rc": 0, "start": "2024-08-12 05:08:45.648823" } 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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Monday 12 August 2024 05:08:45 -0400 (0:00:00.411) 0:01:15.328 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Monday 12 August 2024 05:08:45 -0400 (0:00:00.049) 0:01:15.378 ********* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:08:45 -0400 (0:00:00.065) 0:01:15.443 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:08:45 -0400 (0:00:00.107) 0:01:15.551 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:08:46 -0400 (0:00:00.069) 0:01:15.621 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:08:46 -0400 (0:00:00.055) 0:01:15.677 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:08:46 -0400 (0:00:00.062) 0:01:15.740 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:08:47 -0400 (0:00:01.512) 0:01:17.252 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:08:49 -0400 (0:00:01.580) 0:01:18.832 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:08:49 -0400 (0:00:00.043) 0:01:18.876 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:08:49 -0400 (0:00:00.044) 0:01:18.920 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:08:49 -0400 (0:00:00.044) 0:01:18.964 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:08:49 -0400 (0:00:00.044) 0:01:19.009 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:08:49 -0400 (0:00:00.048) 0:01:19.058 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:08:49 -0400 (0:00:00.056) 0:01:19.115 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:08:49 -0400 (0:00:00.057) 0:01:19.172 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:08:49 -0400 (0:00:00.105) 0:01:19.277 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:08:49 -0400 (0:00:00.064) 0:01:19.342 ********* skipping: [managed_node3] => { "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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:08:49 -0400 (0:00:00.075) 0:01:19.417 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:08:49 -0400 (0:00:00.075) 0:01:19.493 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:08:50 -0400 (0:00:00.118) 0:01:19.611 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:08:50 -0400 (0:00:00.061) 0:01:19.672 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:08:50 -0400 (0:00:00.547) 0:01:20.220 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8650ygn__lx9/tmpd75zzket" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:08:51 -0400 (0:00:00.366) 0:01:20.586 ********* changed: [managed_node3] => { "_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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:08:51 -0400 (0:00:00.629) 0:01:21.215 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:08:51 -0400 (0:00:00.035) 0:01:21.251 ********* ok: [managed_node3] => { "__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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:08:51 -0400 (0:00:00.039) 0:01:21.291 ********* ok: [managed_node3] => { "__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/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:08:51 -0400 (0:00:00.041) 0:01:21.332 ********* skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:08:51 -0400 (0:00:00.035) 0:01:21.369 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Monday 12 August 2024 05:08:52 -0400 (0:00:00.343) 0:01:21.712 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node3 TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Monday 12 August 2024 05:08:52 -0400 (0:00:00.154) 0:01:21.867 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Monday 12 August 2024 05:08:52 -0400 (0:00:00.037) 0:01:21.905 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Monday 12 August 2024 05:08:52 -0400 (0:00:00.035) 0:01:21.940 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:08:52 -0400 (0:00:00.058) 0:01:21.999 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:08:52 -0400 (0:00:00.057) 0:01:22.056 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002723", "end": "2024-08-12 05:08:52.758995", "rc": 0, "start": "2024-08-12 05:08:52.756272" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:08:52 -0400 (0:00:00.351) 0:01:22.408 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:08:52 -0400 (0:00:00.038) 0:01:22.447 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Monday 12 August 2024 05:08:52 -0400 (0:00:00.038) 0:01:22.486 ********* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Monday 12 August 2024 05:08:55 -0400 (0:00:02.797) 0:01:25.283 ********* skipping: [managed_node3] => (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_node3] => (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_node3] => (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/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Monday 12 August 2024 05:08:55 -0400 (0:00:00.055) 0:01:25.339 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Monday 12 August 2024 05:08:55 -0400 (0:00:00.037) 0:01:25.377 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011638", "end": "2024-08-12 05:08:56.092205", "rc": 0, "start": "2024-08-12 05:08:56.080567" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Monday 12 August 2024 05:08:56 -0400 (0:00:00.389) 0:01:25.766 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Monday 12 August 2024 05:08:56 -0400 (0:00:00.063) 0:01:25.830 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Monday 12 August 2024 05:08:56 -0400 (0:00:00.103) 0:01:25.934 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Monday 12 August 2024 05:08:56 -0400 (0:00:00.080) 0:01:26.014 ********* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Monday 12 August 2024 05:08:56 -0400 (0:00:00.072) 0:01:26.087 ********* included: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node3 TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 12 August 2024 05:08:56 -0400 (0:00:00.252) 0:01:26.339 ********* ok: [managed_node3] => { "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.008166", "end": "2024-08-12 05:08:57.064267", "rc": 0, "start": "2024-08-12 05:08:57.056101" } 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 12:2f:96:ce:0b:d3 brd ff:ff:ff:ff:ff:ff inet 10.31.8.187/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3301sec preferred_lft 3301sec inet6 fe80::102f:96ff:fece:bd3/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.187 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.187 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 12 August 2024 05:08:57 -0400 (0:00:00.379) 0:01:26.719 ********* ok: [managed_node3] => { "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.092483", "end": "2024-08-12 05:08:57.517228", "rc": 0, "start": "2024-08-12 05:08:57.424745" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600: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 2600:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 9531 0 --:--:-- --:--:-- --:--:-- 9531 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 9387 0 --:--:-- --:--:-- --:--:-- 9387 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node3 : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Monday 12 August 2024 05:08:57 -0400 (0:00:00.430) 0:01:27.149 ********* =============================================================================== Install iproute -------------------------------------------------------- 13.85s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.90s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.66s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Install packages -------------------- 4.34s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Install iproute --------------------------------------------------------- 3.08s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.80s /tmp/collections-l8O/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.68s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.37s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Gathering Facts --------------------------------------------------------- 1.19s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 1.17s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable network service -------------- 1.06s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Create veth interface veth0 --------------------------------------------- 1.05s /tmp/collections-l8O/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27