[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.10] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-WNN executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Wednesday 14 August 2024 18:47:48 -0400 (0:00:00.032) 0:00:00.032 ****** ok: [managed_node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Wednesday 14 August 2024 18:47:49 -0400 (0:00:01.530) 0:00:01.563 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 14 August 2024 18:47:49 -0400 (0:00:00.020) 0:00:01.583 ****** ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 14 August 2024 18:47:50 -0400 (0:00:00.545) 0:00:02.129 ****** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 14 August 2024 18:47:50 -0400 (0:00:00.533) 0:00:02.663 ****** ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 14 August 2024 18:47:50 -0400 (0:00:00.037) 0:00:02.700 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 14 August 2024 18:47:50 -0400 (0:00:00.024) 0:00:02.725 ****** included: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 14 August 2024 18:47:51 -0400 (0:00:00.075) 0:00:02.800 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Wednesday 14 August 2024 18:47:51 -0400 (0:00:00.654) 0:00:03.454 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Wednesday 14 August 2024 18:47:51 -0400 (0:00:00.025) 0:00:03.480 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Wednesday 14 August 2024 18:47:51 -0400 (0:00:00.029) 0:00:03.510 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.237579", "end": "2024-08-14 18:47:52.302470", "rc": 0, "start": "2024-08-14 18:47:52.064891" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Wednesday 14 August 2024 18:47:52 -0400 (0:00:00.621) 0:00:04.131 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Wednesday 14 August 2024 18:47:52 -0400 (0:00:00.015) 0:00:04.147 ****** ok: [managed_node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Wednesday 14 August 2024 18:47:52 -0400 (0:00:00.031) 0:00:04.179 ****** ok: [managed_node3] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Wednesday 14 August 2024 18:47:53 -0400 (0:00:00.845) 0:00:05.024 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:47:53 -0400 (0:00:00.074) 0:00:05.099 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:47:53 -0400 (0:00:00.045) 0:00:05.145 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003064", "end": "2024-08-14 18:47:53.688059", "rc": 0, "start": "2024-08-14 18:47:53.684995" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:47:53 -0400 (0:00:00.371) 0:00:05.516 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:47:53 -0400 (0:00:00.042) 0:00:05.559 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Wednesday 14 August 2024 18:47:53 -0400 (0:00:00.043) 0:00:05.603 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:47:53 -0400 (0:00:00.079) 0:00:05.682 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:47:53 -0400 (0:00:00.037) 0:00:05.720 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:47:53 -0400 (0:00:00.037) 0:00:05.757 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:47:54 -0400 (0:00:00.046) 0:00:05.803 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:47:54 -0400 (0:00:00.047) 0:00:05.851 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003061", "end": "2024-08-14 18:47:54.393158", "rc": 0, "start": "2024-08-14 18:47:54.390097" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:47:54 -0400 (0:00:00.373) 0:00:06.224 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:47:54 -0400 (0:00:00.044) 0:00:06.268 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:47:54 -0400 (0:00:00.043) 0:00:06.311 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:48:00 -0400 (0:00:06.023) 0:00:12.334 ****** 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.018211", "end": "2024-08-14 18:48:00.929792", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-14 18:48:00.911581" } 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.003787", "end": "2024-08-14 18:48:01.310308", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-14 18:48:01.306521" } 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.004347", "end": "2024-08-14 18:48:01.645526", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-14 18:48:01.641179" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:48:01 -0400 (0:00:01.141) 0:00:13.476 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023528", "end": "2024-08-14 18:48:02.053416", "rc": 0, "start": "2024-08-14 18:48:02.029888" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.407) 0:00:13.884 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.043) 0:00:13.928 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.039) 0:00:13.967 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.043) 0:00:14.010 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.049) 0:00:14.060 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.042) 0:00:14.102 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.087) 0:00:14.190 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.046) 0:00:14.236 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723675680.9212623, "block_size": 4096, "blocks": 0, "ctime": 1723675680.9212623, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21599, "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": 1723675680.9212623, "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.370) 0:00:14.607 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.042) 0:00:14.649 ****** ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.056) 0:00:14.706 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 18:48:02 -0400 (0:00:00.075) 0:00:14.781 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 18:48:03 -0400 (0:00:00.053) 0:00:14.835 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 18:48:03 -0400 (0:00:00.052) 0:00:14.887 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 18:48:03 -0400 (0:00:00.052) 0:00:14.939 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 18:48:05 -0400 (0:00:01.844) 0:00:16.784 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 18:48:06 -0400 (0:00:01.857) 0:00:18.641 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 18:48:06 -0400 (0:00:00.060) 0:00:18.702 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 18:48:06 -0400 (0:00:00.056) 0:00:18.758 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 18:48:07 -0400 (0:00:00.088) 0:00:18.847 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 18:48:07 -0400 (0:00:00.067) 0:00:18.914 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 18:48:07 -0400 (0:00:00.079) 0:00:18.994 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 18:48:07 -0400 (0:00:00.119) 0:00:19.113 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 18:48:07 -0400 (0:00:00.080) 0:00:19.194 ****** changed: [managed_node3] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 18:48:11 -0400 (0:00:04.199) 0:00:23.393 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 18:48:11 -0400 (0:00:00.067) 0:00:23.461 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 18:48:11 -0400 (0:00:00.060) 0:00:23.521 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 18:48:11 -0400 (0:00:00.069) 0:00:23.591 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 18:48:11 -0400 (0:00:00.070) 0:00:23.661 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 18:48:11 -0400 (0:00:00.066) 0:00:23.727 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 18:48:13 -0400 (0:00:01.131) 0:00:24.859 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8711v_yzy4rd/tmplw4ali_k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 18:48:13 -0400 (0:00:00.405) 0:00:25.265 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 18:48:20 -0400 (0:00:07.019) 0:00:32.285 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 18:48:20 -0400 (0:00:00.058) 0:00:32.343 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 18:48:20 -0400 (0:00:00.065) 0:00:32.408 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 18:48:20 -0400 (0:00:00.063) 0:00:32.472 ****** skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 18:48:20 -0400 (0:00:00.059) 0:00:32.532 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Wednesday 14 August 2024 18:48:21 -0400 (0:00:00.548) 0:00:33.080 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 18:48:21 -0400 (0:00:00.226) 0:00:33.306 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:48:21 -0400 (0:00:00.138) 0:00:33.444 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723675680.9212623, "block_size": 4096, "blocks": 0, "ctime": 1723675680.9212623, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21599, "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": 1723675680.9212623, "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 18:48:22 -0400 (0:00:00.452) 0:00:33.897 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Wednesday 14 August 2024 18:48:22 -0400 (0:00:00.100) 0:00:33.997 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 August 2024 18:48:22 -0400 (0:00:00.188) 0:00:34.185 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 18:48:22 -0400 (0:00:00.172) 0:00:34.358 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 18:48:22 -0400 (0:00:00.070) 0:00:34.429 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723675694.2596483, "block_size": 4096, "blocks": 8, "ctime": 1723675694.2416482, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301879, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723675694.2416482, "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 18:48:23 -0400 (0:00:00.412) 0:00:34.841 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 18:48:23 -0400 (0:00:00.098) 0:00:34.940 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017758", "end": "2024-08-14 18:48:23.532510", "rc": 1, "start": "2024-08-14 18:48:23.514752" } 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 18:48:23 -0400 (0:00:00.471) 0:00:35.412 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 18:48:23 -0400 (0:00:00.076) 0:00:35.488 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002965", "end": "2024-08-14 18:48:24.034475", "rc": 0, "start": "2024-08-14 18:48:24.031510" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 18:48:24 -0400 (0:00:00.417) 0:00:35.906 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 18:48:24 -0400 (0:00:00.177) 0:00:36.083 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003060", "end": "2024-08-14 18:48:24.631391", "rc": 0, "start": "2024-08-14 18:48:24.628331" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 18:48:24 -0400 (0:00:00.395) 0:00:36.479 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 August 2024 18:48:24 -0400 (0:00:00.064) 0:00:36.543 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 August 2024 18:48:24 -0400 (0:00:00.072) 0:00:36.616 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 August 2024 18:48:24 -0400 (0:00:00.097) 0:00:36.714 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Wednesday 14 August 2024 18:48:25 -0400 (0:00:00.097) 0:00:36.811 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003478", "end": "2024-08-14 18:48:25.392366", "rc": 0, "start": "2024-08-14 18:48:25.388888" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.188 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.188 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Wednesday 14 August 2024 18:48:25 -0400 (0:00:00.437) 0:00:37.249 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Wednesday 14 August 2024 18:48:25 -0400 (0:00:00.071) 0:00:37.320 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003649", "end": "2024-08-14 18:48:25.873419", "rc": 0, "start": "2024-08-14 18:48:25.869770" } 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Wednesday 14 August 2024 18:48:25 -0400 (0:00:00.399) 0:00:37.720 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Wednesday 14 August 2024 18:48:25 -0400 (0:00:00.056) 0:00:37.777 ****** ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 18:48:26 -0400 (0:00:00.058) 0:00:37.836 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 18:48:26 -0400 (0:00:00.088) 0:00:37.925 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 18:48:26 -0400 (0:00:00.066) 0:00:37.991 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 18:48:26 -0400 (0:00:00.063) 0:00:38.054 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 18:48:26 -0400 (0:00:00.062) 0:00:38.116 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 18:48:28 -0400 (0:00:01.783) 0:00:39.900 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 18:48:29 -0400 (0:00:01.516) 0:00:41.417 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 18:48:29 -0400 (0:00:00.064) 0:00:41.481 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 18:48:29 -0400 (0:00:00.075) 0:00:41.556 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 18:48:29 -0400 (0:00:00.063) 0:00:41.620 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 18:48:29 -0400 (0:00:00.060) 0:00:41.681 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 18:48:29 -0400 (0:00:00.072) 0:00:41.753 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 18:48:30 -0400 (0:00:00.062) 0:00:41.815 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 18:48:30 -0400 (0:00:00.072) 0:00:41.888 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 18:48:30 -0400 (0:00:00.103) 0:00:41.992 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 18:48:30 -0400 (0:00:00.060) 0:00:42.053 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 18:48:30 -0400 (0:00:00.059) 0:00:42.112 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 18:48:30 -0400 (0:00:00.069) 0:00:42.182 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 18:48:30 -0400 (0:00:00.061) 0:00:42.243 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 18:48:30 -0400 (0:00:00.096) 0:00:42.340 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 18:48:31 -0400 (0:00:00.576) 0:00:42.916 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8711v_yzy4rd/tmp8r95b4gd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 18:48:31 -0400 (0:00:00.415) 0:00:43.331 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 18:48:32 -0400 (0:00:00.718) 0:00:44.050 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 18:48:32 -0400 (0:00:00.062) 0:00:44.113 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 18:48:32 -0400 (0:00:00.108) 0:00:44.221 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 18:48:32 -0400 (0:00:00.142) 0:00:44.363 ****** skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 18:48:32 -0400 (0:00:00.090) 0:00:44.453 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Wednesday 14 August 2024 18:48:33 -0400 (0:00:00.462) 0:00:44.916 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:48:33 -0400 (0:00:00.207) 0:00:45.124 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:48:33 -0400 (0:00:00.095) 0:00:45.220 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:48:33 -0400 (0:00:00.093) 0:00:45.313 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:48:33 -0400 (0:00:00.134) 0:00:45.447 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:48:33 -0400 (0:00:00.131) 0:00:45.579 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003075", "end": "2024-08-14 18:48:34.123185", "rc": 0, "start": "2024-08-14 18:48:34.120110" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:48:34 -0400 (0:00:00.389) 0:00:45.969 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:48:34 -0400 (0:00:00.062) 0:00:46.031 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:48:34 -0400 (0:00:00.062) 0:00:46.093 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:48:37 -0400 (0:00:03.087) 0:00:49.180 ****** skipping: [managed_node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:48:37 -0400 (0:00:00.123) 0:00:49.304 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:48:37 -0400 (0:00:00.098) 0:00:49.403 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011707", "end": "2024-08-14 18:48:38.018077", "rc": 0, "start": "2024-08-14 18:48:38.006370" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:48:38 -0400 (0:00:00.476) 0:00:49.879 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:48:38 -0400 (0:00:00.095) 0:00:49.975 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:48:38 -0400 (0:00:00.088) 0:00:50.063 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:48:38 -0400 (0:00:00.097) 0:00:50.160 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Wednesday 14 August 2024 18:48:38 -0400 (0:00:00.113) 0:00:50.274 ****** ok: [managed_node3] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Wednesday 14 August 2024 18:48:38 -0400 (0:00:00.112) 0:00:50.386 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:48:38 -0400 (0:00:00.216) 0:00:50.603 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:48:38 -0400 (0:00:00.096) 0:00:50.700 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:48:39 -0400 (0:00:00.194) 0:00:50.894 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:48:39 -0400 (0:00:00.086) 0:00:50.980 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:48:39 -0400 (0:00:00.086) 0:00:51.067 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003824", "end": "2024-08-14 18:48:39.614868", "rc": 0, "start": "2024-08-14 18:48:39.611044" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:48:39 -0400 (0:00:00.421) 0:00:51.488 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:48:39 -0400 (0:00:00.116) 0:00:51.605 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:48:39 -0400 (0:00:00.104) 0:00:51.709 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:48:43 -0400 (0:00:03.294) 0:00:55.004 ****** 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.010108", "end": "2024-08-14 18:48:43.782256", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-14 18:48:43.772148" } 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.003513", "end": "2024-08-14 18:48:44.168187", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-14 18:48:44.164674" } 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.003727", "end": "2024-08-14 18:48:44.544476", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-14 18:48:44.540749" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:48:44 -0400 (0:00:01.391) 0:00:56.396 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019986", "end": "2024-08-14 18:48:44.959084", "rc": 0, "start": "2024-08-14 18:48:44.939098" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.413) 0:00:56.809 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.071) 0:00:56.881 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.101) 0:00:56.983 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.086) 0:00:57.069 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.090) 0:00:57.159 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.076) 0:00:57.235 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.171) 0:00:57.407 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.116) 0:00:57.523 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.105) 0:00:57.628 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 18:48:45 -0400 (0:00:00.114) 0:00:57.743 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 18:48:47 -0400 (0:00:01.904) 0:00:59.648 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 18:48:49 -0400 (0:00:01.697) 0:01:01.345 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 18:48:49 -0400 (0:00:00.122) 0:01:01.468 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 18:48:49 -0400 (0:00:00.109) 0:01:01.578 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 18:48:49 -0400 (0:00:00.102) 0:01:01.680 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 18:48:50 -0400 (0:00:00.106) 0:01:01.787 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 18:48:50 -0400 (0:00:00.123) 0:01:01.910 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 18:48:50 -0400 (0:00:00.101) 0:01:02.012 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 18:48:50 -0400 (0:00:00.130) 0:01:02.142 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 18:48:50 -0400 (0:00:00.198) 0:01:02.341 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 18:48:50 -0400 (0:00:00.256) 0:01:02.598 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 18:48:50 -0400 (0:00:00.103) 0:01:02.702 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 18:48:51 -0400 (0:00:00.121) 0:01:02.823 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 18:48:51 -0400 (0:00:00.076) 0:01:02.900 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 18:48:51 -0400 (0:00:00.081) 0:01:02.982 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 18:48:51 -0400 (0:00:00.600) 0:01:03.582 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8711v_yzy4rd/tmp522ay9uu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 18:48:52 -0400 (0:00:00.465) 0:01:04.048 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 18:48:59 -0400 (0:00:07.007) 0:01:11.055 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 18:48:59 -0400 (0:00:00.062) 0:01:11.118 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 18:48:59 -0400 (0:00:00.071) 0:01:11.190 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 18:48:59 -0400 (0:00:00.070) 0:01:11.260 ****** skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 18:48:59 -0400 (0:00:00.064) 0:01:11.324 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Wednesday 14 August 2024 18:49:00 -0400 (0:00:00.781) 0:01:12.106 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 August 2024 18:49:00 -0400 (0:00:00.241) 0:01:12.348 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 August 2024 18:49:00 -0400 (0:00:00.346) 0:01:12.694 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723675723.7759807, "block_size": 4096, "blocks": 0, "ctime": 1723675723.7759807, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22185, "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": 1723675723.7759807, "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 August 2024 18:49:01 -0400 (0:00:00.780) 0:01:13.475 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Wednesday 14 August 2024 18:49:01 -0400 (0:00:00.089) 0:01:13.564 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 August 2024 18:49:01 -0400 (0:00:00.136) 0:01:13.701 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 August 2024 18:49:02 -0400 (0:00:00.140) 0:01:13.841 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 August 2024 18:49:02 -0400 (0:00:00.119) 0:01:13.961 ****** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723675733.0218813, "block_size": 4096, "blocks": 8, "ctime": 1723675733.0038812, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2111745, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723675733.0038812, "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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 August 2024 18:49:02 -0400 (0:00:00.493) 0:01:14.454 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 August 2024 18:49:02 -0400 (0:00:00.080) 0:01:14.535 ****** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017841", "end": "2024-08-14 18:49:03.131929", "rc": 1, "start": "2024-08-14 18:49:03.114088" } 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 August 2024 18:49:03 -0400 (0:00:00.474) 0:01:15.010 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 August 2024 18:49:03 -0400 (0:00:00.105) 0:01:15.115 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003043", "end": "2024-08-14 18:49:03.731580", "rc": 0, "start": "2024-08-14 18:49:03.728537" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 August 2024 18:49:03 -0400 (0:00:00.470) 0:01:15.585 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 August 2024 18:49:03 -0400 (0:00:00.075) 0:01:15.661 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.004162", "end": "2024-08-14 18:49:05.257734", "rc": 0, "start": "2024-08-14 18:49:04.253572" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 August 2024 18:49:05 -0400 (0:00:01.453) 0:01:17.115 ****** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 August 2024 18:49:05 -0400 (0:00:00.143) 0:01:17.259 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 August 2024 18:49:05 -0400 (0:00:00.086) 0:01:17.345 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 August 2024 18:49:05 -0400 (0:00:00.087) 0:01:17.433 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Wednesday 14 August 2024 18:49:05 -0400 (0:00:00.069) 0:01:17.503 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003539", "end": "2024-08-14 18:49:06.060575", "rc": 0, "start": "2024-08-14 18:49:06.057036" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.188 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.188 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Wednesday 14 August 2024 18:49:06 -0400 (0:00:00.416) 0:01:17.920 ****** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Wednesday 14 August 2024 18:49:06 -0400 (0:00:00.083) 0:01:18.003 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003527", "end": "2024-08-14 18:49:06.566792", "rc": 0, "start": "2024-08-14 18:49:06.563265" } 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Wednesday 14 August 2024 18:49:06 -0400 (0:00:00.413) 0:01:18.416 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Wednesday 14 August 2024 18:49:06 -0400 (0:00:00.083) 0:01:18.500 ****** ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 August 2024 18:49:06 -0400 (0:00:00.093) 0:01:18.594 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 August 2024 18:49:06 -0400 (0:00:00.115) 0:01:18.709 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 August 2024 18:49:07 -0400 (0:00:00.076) 0:01:18.786 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 August 2024 18:49:07 -0400 (0:00:00.067) 0:01:18.853 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 August 2024 18:49:07 -0400 (0:00:00.071) 0:01:18.925 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 August 2024 18:49:08 -0400 (0:00:01.807) 0:01:20.732 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 August 2024 18:49:10 -0400 (0:00:01.738) 0:01:22.471 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 August 2024 18:49:10 -0400 (0:00:00.130) 0:01:22.601 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 August 2024 18:49:10 -0400 (0:00:00.108) 0:01:22.710 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.097) 0:01:22.807 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.123) 0:01:22.931 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.131) 0:01:23.063 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.101) 0:01:23.164 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.131) 0:01:23.296 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.135) 0:01:23.432 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.062) 0:01:23.494 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.066) 0:01:23.561 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.077) 0:01:23.638 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.062) 0:01:23.700 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 14 August 2024 18:49:11 -0400 (0:00:00.065) 0:01:23.766 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 14 August 2024 18:49:12 -0400 (0:00:00.644) 0:01:24.411 ****** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8711v_yzy4rd/tmpkmb0apnh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 14 August 2024 18:49:13 -0400 (0:00:00.502) 0:01:24.914 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 14 August 2024 18:49:14 -0400 (0:00:00.928) 0:01:25.842 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 14 August 2024 18:49:14 -0400 (0:00:00.063) 0:01:25.906 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 14 August 2024 18:49:14 -0400 (0:00:00.067) 0:01:25.973 ****** 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-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 14 August 2024 18:49:14 -0400 (0:00:00.098) 0:01:26.072 ****** skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 14 August 2024 18:49:14 -0400 (0:00:00.106) 0:01:26.178 ****** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Wednesday 14 August 2024 18:49:14 -0400 (0:00:00.494) 0:01:26.673 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 August 2024 18:49:15 -0400 (0:00:00.387) 0:01:27.060 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 August 2024 18:49:15 -0400 (0:00:00.208) 0:01:27.269 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 August 2024 18:49:15 -0400 (0:00:00.206) 0:01:27.476 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 August 2024 18:49:15 -0400 (0:00:00.168) 0:01:27.644 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 August 2024 18:49:16 -0400 (0:00:00.165) 0:01:27.810 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003129", "end": "2024-08-14 18:49:16.430534", "rc": 0, "start": "2024-08-14 18:49:16.427405" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 August 2024 18:49:16 -0400 (0:00:00.469) 0:01:28.279 ****** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 August 2024 18:49:16 -0400 (0:00:00.181) 0:01:28.461 ****** ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 August 2024 18:49:16 -0400 (0:00:00.072) 0:01:28.533 ****** ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 August 2024 18:49:19 -0400 (0:00:03.186) 0:01:31.720 ****** skipping: [managed_node3] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 August 2024 18:49:20 -0400 (0:00:00.089) 0:01:31.810 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 August 2024 18:49:20 -0400 (0:00:00.064) 0:01:31.874 ****** ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008796", "end": "2024-08-14 18:49:20.431522", "rc": 0, "start": "2024-08-14 18:49:20.422726" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 August 2024 18:49:20 -0400 (0:00:00.434) 0:01:32.309 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 August 2024 18:49:20 -0400 (0:00:00.103) 0:01:32.412 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 August 2024 18:49:20 -0400 (0:00:00.095) 0:01:32.507 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 August 2024 18:49:20 -0400 (0:00:00.071) 0:01:32.579 ****** skipping: [managed_node3] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Wednesday 14 August 2024 18:49:20 -0400 (0:00:00.074) 0:01:32.653 ****** included: /tmp/collections-WNN/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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 August 2024 18:49:21 -0400 (0:00:00.150) 0:01:32.804 ****** 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.008058", "end": "2024-08-14 18:49:21.399744", "rc": 0, "start": "2024-08-14 18:49:21.391686" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:0a:79:90:63:93 brd ff:ff:ff:ff:ff:ff inet 10.31.42.188/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3276sec preferred_lft 3276sec inet6 fe80::c0a:79ff:fe90:6393/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.188 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.188 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-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 August 2024 18:49:21 -0400 (0:00:00.446) 0:01:33.251 ****** 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.067710", "end": "2024-08-14 18:49:21.863818", "rc": 0, "start": "2024-08-14 18:49:21.796108" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 13863 0 --:--:-- --:--:-- --:--:-- 13863 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 15315 0 --:--:-- --:--:-- --:--:-- 15315 PLAY RECAP ********************************************************************* managed_node3 : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Wednesday 14 August 2024 18:49:22 -0400 (0:00:00.585) 0:01:33.836 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 7.02s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 7.01s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Install iproute --------------------------------------------------------- 6.02s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install packages -------------------- 4.20s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Install iproute --------------------------------------------------------- 3.29s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.19s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.09s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.86s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.53s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the fingerprint comment in ifcfg-veth0 ------------------------------ 1.45s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Create veth interface veth0 --------------------------------------------- 1.39s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 1.14s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable network service -------------- 1.13s /tmp/collections-WNN/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142