[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-Y7K 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-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:5 Thursday 15 August 2024 06:50:08 -0400 (0:00:00.011) 0:00:00.011 ******* ok: [managed_node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:8 Thursday 15 August 2024 06:50:09 -0400 (0:00:01.493) 0:00:01.504 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Thursday 15 August 2024 06:50:09 -0400 (0:00:00.048) 0:00:01.552 ******* ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Thursday 15 August 2024 06:50:10 -0400 (0:00:00.552) 0:00:02.105 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Thursday 15 August 2024 06:50:10 -0400 (0:00:00.404) 0:00:02.510 ******* ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Thursday 15 August 2024 06:50:10 -0400 (0:00:00.030) 0:00:02.540 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Thursday 15 August 2024 06:50:10 -0400 (0:00:00.018) 0:00:02.558 ******* included: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Thursday 15 August 2024 06:50:10 -0400 (0:00:00.048) 0:00:02.607 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Thursday 15 August 2024 06:50:11 -0400 (0:00:00.397) 0:00:03.004 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Thursday 15 August 2024 06:50:11 -0400 (0:00:00.013) 0:00:03.017 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Thursday 15 August 2024 06:50:11 -0400 (0:00:00.013) 0:00:03.031 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.219276", "end": "2024-08-15 06:50:12.728795", "rc": 0, "start": "2024-08-15 06:50:11.509519" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Thursday 15 August 2024 06:50:12 -0400 (0:00:01.528) 0:00:04.559 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tests_auto_gateway_initscripts.yml:10 Thursday 15 August 2024 06:50:12 -0400 (0:00:00.012) 0:00:04.572 ******* ok: [managed_node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:3 Thursday 15 August 2024 06:50:12 -0400 (0:00:00.025) 0:00:04.598 ******* ok: [managed_node3] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:9 Thursday 15 August 2024 06:50:13 -0400 (0:00:00.727) 0:00:05.325 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 06:50:13 -0400 (0:00:00.057) 0:00:05.382 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 06:50:13 -0400 (0:00:00.040) 0:00:05.423 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002620", "end": "2024-08-15 06:50:13.922960", "rc": 0, "start": "2024-08-15 06:50:13.920340" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 06:50:13 -0400 (0:00:00.326) 0:00:05.749 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 06:50:13 -0400 (0:00:00.035) 0:00:05.785 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:11 Thursday 15 August 2024 06:50:14 -0400 (0:00:00.035) 0:00:05.821 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 06:50:14 -0400 (0:00:00.062) 0:00:05.883 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 06:50:14 -0400 (0:00:00.029) 0:00:05.912 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 06:50:14 -0400 (0:00:00.029) 0:00:05.942 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 06:50:14 -0400 (0:00:00.035) 0:00:05.977 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 06:50:14 -0400 (0:00:00.033) 0:00:06.011 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002702", "end": "2024-08-15 06:50:14.505599", "rc": 0, "start": "2024-08-15 06:50:14.502897" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 06:50:14 -0400 (0:00:00.324) 0:00:06.335 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 06:50:14 -0400 (0:00:00.036) 0:00:06.372 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 06:50:14 -0400 (0:00:00.033) 0:00:06.406 ******* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 06:50:20 -0400 (0:00:05.865) 0:00:12.272 ******* 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.013579", "end": "2024-08-15 06:50:20.784665", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-15 06:50:20.771086" } 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.003105", "end": "2024-08-15 06:50:21.123058", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-15 06:50:21.119953" } 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.003131", "end": "2024-08-15 06:50:21.415684", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-15 06:50:21.412553" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 06:50:21 -0400 (0:00:00.972) 0:00:13.244 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.187802", "end": "2024-08-15 06:50:21.928839", "rc": 0, "start": "2024-08-15 06:50:21.741037" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.545) 0:00:13.790 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.055) 0:00:13.845 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.049) 0:00:13.895 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.045) 0:00:13.940 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.042) 0:00:13.983 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:15 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.039) 0:00:14.023 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.059) 0:00:14.082 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.035) 0:00:14.118 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723719020.7800276, "block_size": 4096, "blocks": 0, "ctime": 1723719020.7800276, "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": 1723719020.7800276, "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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.329) 0:00:14.447 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:17 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.035) 0:00:14.483 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.036) 0:00:14.519 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.151) 0:00:14.670 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.061) 0:00:14.731 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 06:50:22 -0400 (0:00:00.052) 0:00:14.784 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 06:50:23 -0400 (0:00:00.044) 0:00:14.828 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 06:50:24 -0400 (0:00:01.920) 0:00:16.749 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 06:50:26 -0400 (0:00:01.608) 0:00:18.358 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 06:50:26 -0400 (0:00:00.049) 0:00:18.407 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 06:50:26 -0400 (0:00:00.051) 0:00:18.458 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 06:50:26 -0400 (0:00:00.066) 0:00:18.525 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 06:50:26 -0400 (0:00:00.053) 0:00:18.579 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 06:50:26 -0400 (0:00:00.065) 0:00:18.644 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 06:50:26 -0400 (0:00:00.109) 0:00:18.754 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 06:50:27 -0400 (0:00:00.057) 0:00:18.812 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 06:50:31 -0400 (0:00:04.030) 0:00:22.842 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 06:50:31 -0400 (0:00:00.053) 0:00:22.896 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 06:50:31 -0400 (0:00:00.048) 0:00:22.944 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 06:50:31 -0400 (0:00:00.054) 0:00:22.999 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 06:50:31 -0400 (0:00:00.048) 0:00:23.047 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 06:50:31 -0400 (0:00:00.045) 0:00:23.093 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 06:50:32 -0400 (0:00:00.959) 0:00:24.052 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8715tosilae7/tmp58ojk530" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 06:50:32 -0400 (0:00:00.351) 0:00:24.404 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 06:50:39 -0400 (0:00:06.802) 0:00:31.207 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 06:50:39 -0400 (0:00:00.046) 0:00:31.253 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 06:50:39 -0400 (0:00:00.051) 0:00:31.304 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 06:50:39 -0400 (0:00:00.049) 0:00:31.353 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 06:50:39 -0400 (0:00:00.047) 0:00:31.401 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:42 Thursday 15 August 2024 06:50:40 -0400 (0:00:00.547) 0:00:31.949 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 06:50:40 -0400 (0:00:00.218) 0:00:32.168 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 06:50:40 -0400 (0:00:00.068) 0:00:32.236 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723719020.7800276, "block_size": 4096, "blocks": 0, "ctime": 1723719020.7800276, "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": 1723719020.7800276, "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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 06:50:40 -0400 (0:00:00.342) 0:00:32.578 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:44 Thursday 15 August 2024 06:50:40 -0400 (0:00:00.050) 0:00:32.629 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 06:50:40 -0400 (0:00:00.089) 0:00:32.719 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 06:50:40 -0400 (0:00:00.068) 0:00:32.787 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 06:50:41 -0400 (0:00:00.048) 0:00:32.836 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723719033.186893, "block_size": 4096, "blocks": 8, "ctime": 1723719033.169893, "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": 1723719033.169893, "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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 06:50:41 -0400 (0:00:00.342) 0:00:33.178 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 06:50:41 -0400 (0:00:00.049) 0:00:33.227 ******* 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-15 06:50:41.741276", "rc": 1, "start": "2024-08-15 06:50:41.723518" } 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 06:50:41 -0400 (0:00:00.357) 0:00:33.584 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 06:50:41 -0400 (0:00:00.048) 0:00:33.633 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003730", "end": "2024-08-15 06:50:43.132040", "rc": 0, "start": "2024-08-15 06:50:42.128310" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 06:50:43 -0400 (0:00:01.367) 0:00:35.000 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 06:50:43 -0400 (0:00:00.226) 0:00:35.227 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.003614", "end": "2024-08-15 06:50:44.763144", "rc": 0, "start": "2024-08-15 06:50:43.759530" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 06:50:44 -0400 (0:00:01.384) 0:00:36.611 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 06:50:44 -0400 (0:00:00.053) 0:00:36.665 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 06:50:44 -0400 (0:00:00.054) 0:00:36.719 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 06:50:44 -0400 (0:00:00.050) 0:00:36.770 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:48 Thursday 15 August 2024 06:50:45 -0400 (0:00:00.048) 0:00:36.819 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003409", "end": "2024-08-15 06:50:45.319791", "rc": 0, "start": "2024-08-15 06:50:45.316382" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.102 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.102 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:52 Thursday 15 August 2024 06:50:45 -0400 (0:00:00.345) 0:00:37.164 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:57 Thursday 15 August 2024 06:50:45 -0400 (0:00:00.050) 0:00:37.215 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003197", "end": "2024-08-15 06:50:45.716897", "rc": 0, "start": "2024-08-15 06:50:45.713700" } 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:61 Thursday 15 August 2024 06:50:45 -0400 (0:00:00.345) 0:00:37.560 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:67 Thursday 15 August 2024 06:50:45 -0400 (0:00:00.047) 0:00:37.608 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 06:50:45 -0400 (0:00:00.047) 0:00:37.655 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 06:50:45 -0400 (0:00:00.073) 0:00:37.729 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 06:50:45 -0400 (0:00:00.052) 0:00:37.782 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 06:50:46 -0400 (0:00:00.051) 0:00:37.834 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 06:50:46 -0400 (0:00:00.050) 0:00:37.884 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 06:50:47 -0400 (0:00:01.585) 0:00:39.470 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 06:50:49 -0400 (0:00:01.448) 0:00:40.919 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.055) 0:00:40.974 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.046) 0:00:41.021 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.048) 0:00:41.069 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.046) 0:00:41.116 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.055) 0:00:41.171 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.047) 0:00:41.219 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.056) 0:00:41.275 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.092) 0:00:41.367 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.048) 0:00:41.416 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.046) 0:00:41.462 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.053) 0:00:41.515 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.047) 0:00:41.563 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 06:50:49 -0400 (0:00:00.078) 0:00:41.642 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 06:50:50 -0400 (0:00:00.539) 0:00:42.182 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8715tosilae7/tmp1zgoqjcx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 06:50:50 -0400 (0:00:00.546) 0:00:42.728 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 06:50:51 -0400 (0:00:00.876) 0:00:43.604 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 06:50:51 -0400 (0:00:00.047) 0:00:43.652 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 06:50:51 -0400 (0:00:00.051) 0:00:43.704 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 06:50:51 -0400 (0:00:00.050) 0:00:43.755 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 06:50:52 -0400 (0:00:00.050) 0:00:43.805 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:79 Thursday 15 August 2024 06:50:52 -0400 (0:00:00.414) 0:00:44.219 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 06:50:52 -0400 (0:00:00.098) 0:00:44.318 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 06:50:52 -0400 (0:00:00.048) 0:00:44.366 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 06:50:52 -0400 (0:00:00.046) 0:00:44.412 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 06:50:52 -0400 (0:00:00.076) 0:00:44.489 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 06:50:52 -0400 (0:00:00.115) 0:00:44.604 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002731", "end": "2024-08-15 06:50:53.230806", "rc": 0, "start": "2024-08-15 06:50:53.228075" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 06:50:53 -0400 (0:00:00.474) 0:00:45.079 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 06:50:53 -0400 (0:00:00.051) 0:00:45.131 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 06:50:53 -0400 (0:00:00.048) 0:00:45.180 ******* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 06:50:56 -0400 (0:00:02.954) 0:00:48.134 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 06:50:56 -0400 (0:00:00.064) 0:00:48.199 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 06:50:56 -0400 (0:00:00.067) 0:00:48.266 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014593", "end": "2024-08-15 06:50:56.814842", "rc": 0, "start": "2024-08-15 06:50:56.800249" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 06:50:56 -0400 (0:00:00.399) 0:00:48.665 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 06:50:56 -0400 (0:00:00.048) 0:00:48.714 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 06:50:56 -0400 (0:00:00.049) 0:00:48.764 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 06:50:57 -0400 (0:00:00.051) 0:00:48.815 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:83 Thursday 15 August 2024 06:50:57 -0400 (0:00:00.064) 0:00:48.879 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:87 Thursday 15 August 2024 06:50:57 -0400 (0:00:00.078) 0:00:48.958 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 06:50:57 -0400 (0:00:00.164) 0:00:49.122 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 06:50:57 -0400 (0:00:00.051) 0:00:49.173 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 06:50:57 -0400 (0:00:00.145) 0:00:49.319 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 06:50:57 -0400 (0:00:00.109) 0:00:49.429 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 06:50:57 -0400 (0:00:00.086) 0:00:49.515 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002697", "end": "2024-08-15 06:50:58.036148", "rc": 0, "start": "2024-08-15 06:50:58.033451" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 06:50:58 -0400 (0:00:00.365) 0:00:49.881 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 06:50:58 -0400 (0:00:00.064) 0:00:49.945 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 06:50:58 -0400 (0:00:00.052) 0:00:49.997 ******* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 06:51:01 -0400 (0:00:02.830) 0:00:52.828 ******* 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.009167", "end": "2024-08-15 06:51:01.442646", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-08-15 06:51:01.433479" } 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.003285", "end": "2024-08-15 06:51:01.776599", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-08-15 06:51:01.773314" } 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.003468", "end": "2024-08-15 06:51:02.077663", "item": "ip link set veth0 up", "rc": 0, "start": "2024-08-15 06:51:02.074195" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 06:51:02 -0400 (0:00:01.096) 0:00:53.924 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020573", "end": "2024-08-15 06:51:02.442425", "rc": 0, "start": "2024-08-15 06:51:02.421852" } TASK [Delete veth interface veth0] ********************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 06:51:02 -0400 (0:00:00.368) 0:00:54.292 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 06:51:02 -0400 (0:00:00.076) 0:00:54.369 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 06:51:02 -0400 (0:00:00.085) 0:00:54.454 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 06:51:02 -0400 (0:00:00.078) 0:00:54.533 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 06:51:02 -0400 (0:00:00.081) 0:00:54.615 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 06:51:02 -0400 (0:00:00.079) 0:00:54.694 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 06:51:03 -0400 (0:00:00.193) 0:00:54.887 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 06:51:03 -0400 (0:00:00.093) 0:00:54.980 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 06:51:03 -0400 (0:00:00.080) 0:00:55.061 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 06:51:03 -0400 (0:00:00.085) 0:00:55.147 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 06:51:04 -0400 (0:00:01.611) 0:00:56.759 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 06:51:06 -0400 (0:00:01.458) 0:00:58.217 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 06:51:06 -0400 (0:00:00.051) 0:00:58.269 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 06:51:06 -0400 (0:00:00.047) 0:00:58.316 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 06:51:06 -0400 (0:00:00.045) 0:00:58.362 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 06:51:06 -0400 (0:00:00.056) 0:00:58.418 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 06:51:06 -0400 (0:00:00.082) 0:00:58.501 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 06:51:06 -0400 (0:00:00.063) 0:00:58.565 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 06:51:06 -0400 (0:00:00.066) 0:00:58.631 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 06:51:06 -0400 (0:00:00.096) 0:00:58.727 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 06:51:07 -0400 (0:00:00.124) 0:00:58.852 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 06:51:07 -0400 (0:00:00.056) 0:00:58.908 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 06:51:07 -0400 (0:00:00.061) 0:00:58.969 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 06:51:07 -0400 (0:00:00.050) 0:00:59.020 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 06:51:07 -0400 (0:00:00.047) 0:00:59.068 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 06:51:07 -0400 (0:00:00.532) 0:00:59.600 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8715tosilae7/tmpuq54xyw6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 06:51:08 -0400 (0:00:00.447) 0:01:00.047 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 06:51:14 -0400 (0:00:06.700) 0:01:06.748 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 06:51:15 -0400 (0:00:00.055) 0:01:06.803 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 06:51:15 -0400 (0:00:00.052) 0:01:06.856 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 06:51:15 -0400 (0:00:00.050) 0:01:06.906 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 06:51:15 -0400 (0:00:00.045) 0:01:06.952 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:108 Thursday 15 August 2024 06:51:15 -0400 (0:00:00.380) 0:01:07.332 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Thursday 15 August 2024 06:51:15 -0400 (0:00:00.111) 0:01:07.444 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Thursday 15 August 2024 06:51:15 -0400 (0:00:00.144) 0:01:07.589 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723719061.4366348, "block_size": 4096, "blocks": 0, "ctime": 1723719061.4366348, "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": 1723719061.4366348, "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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Thursday 15 August 2024 06:51:16 -0400 (0:00:00.380) 0:01:07.970 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:110 Thursday 15 August 2024 06:51:16 -0400 (0:00:00.053) 0:01:08.024 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Thursday 15 August 2024 06:51:16 -0400 (0:00:00.122) 0:01:08.146 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Thursday 15 August 2024 06:51:16 -0400 (0:00:00.097) 0:01:08.243 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Thursday 15 August 2024 06:51:16 -0400 (0:00:00.057) 0:01:08.301 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723719068.7349486, "block_size": 4096, "blocks": 8, "ctime": 1723719068.7179484, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2111744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723719068.7179484, "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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Thursday 15 August 2024 06:51:16 -0400 (0:00:00.344) 0:01:08.645 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Thursday 15 August 2024 06:51:16 -0400 (0:00:00.051) 0:01:08.697 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017179", "end": "2024-08-15 06:51:17.208964", "rc": 1, "start": "2024-08-15 06:51:17.191785" } 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Thursday 15 August 2024 06:51:17 -0400 (0:00:00.354) 0:01:09.051 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Thursday 15 August 2024 06:51:17 -0400 (0:00:00.051) 0:01:09.103 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002459", "end": "2024-08-15 06:51:17.604571", "rc": 0, "start": "2024-08-15 06:51:17.602112" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Thursday 15 August 2024 06:51:17 -0400 (0:00:00.367) 0:01:09.470 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Thursday 15 August 2024 06:51:17 -0400 (0:00:00.084) 0:01:09.555 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002836", "end": "2024-08-15 06:51:18.102377", "rc": 0, "start": "2024-08-15 06:51:18.099541" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Thursday 15 August 2024 06:51:18 -0400 (0:00:00.393) 0:01:09.948 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Thursday 15 August 2024 06:51:18 -0400 (0:00:00.087) 0:01:10.036 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Thursday 15 August 2024 06:51:18 -0400 (0:00:00.052) 0:01:10.088 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Thursday 15 August 2024 06:51:18 -0400 (0:00:00.054) 0:01:10.142 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:114 Thursday 15 August 2024 06:51:18 -0400 (0:00:00.050) 0:01:10.193 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003228", "end": "2024-08-15 06:51:18.695098", "rc": 0, "start": "2024-08-15 06:51:18.691870" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.102 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.102 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:118 Thursday 15 August 2024 06:51:18 -0400 (0:00:00.366) 0:01:10.559 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:123 Thursday 15 August 2024 06:51:18 -0400 (0:00:00.060) 0:01:10.620 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003176", "end": "2024-08-15 06:51:19.124688", "rc": 0, "start": "2024-08-15 06:51:19.121512" } 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:127 Thursday 15 August 2024 06:51:19 -0400 (0:00:00.356) 0:01:10.977 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:133 Thursday 15 August 2024 06:51:19 -0400 (0:00:00.072) 0:01:11.049 ******* ok: [managed_node3] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 15 August 2024 06:51:19 -0400 (0:00:00.060) 0:01:11.110 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 15 August 2024 06:51:19 -0400 (0:00:00.130) 0:01:11.241 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 15 August 2024 06:51:19 -0400 (0:00:00.100) 0:01:11.342 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 15 August 2024 06:51:19 -0400 (0:00:00.059) 0:01:11.401 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 15 August 2024 06:51:19 -0400 (0:00:00.070) 0:01:11.471 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 15 August 2024 06:51:21 -0400 (0:00:01.584) 0:01:13.055 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 15 August 2024 06:51:22 -0400 (0:00:01.605) 0:01:14.661 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 15 August 2024 06:51:22 -0400 (0:00:00.100) 0:01:14.762 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.097) 0:01:14.859 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.082) 0:01:14.942 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.081) 0:01:15.023 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.099) 0:01:15.122 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.061) 0:01:15.184 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.068) 0:01:15.252 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.090) 0:01:15.343 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.046) 0:01:15.389 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.060) 0:01:15.450 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.057) 0:01:15.508 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.046) 0:01:15.554 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 15 August 2024 06:51:23 -0400 (0:00:00.048) 0:01:15.602 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 15 August 2024 06:51:24 -0400 (0:00:00.518) 0:01:16.121 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-8715tosilae7/tmp2jhqivat" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 15 August 2024 06:51:24 -0400 (0:00:00.382) 0:01:16.503 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 15 August 2024 06:51:25 -0400 (0:00:00.725) 0:01:17.229 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 15 August 2024 06:51:25 -0400 (0:00:00.055) 0:01:17.284 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 15 August 2024 06:51:25 -0400 (0:00:00.063) 0:01:17.348 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 15 August 2024 06:51:25 -0400 (0:00:00.054) 0:01:17.402 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 15 August 2024 06:51:25 -0400 (0:00:00.048) 0:01:17.450 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:145 Thursday 15 August 2024 06:51:26 -0400 (0:00:00.433) 0:01:17.883 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:3 Thursday 15 August 2024 06:51:26 -0400 (0:00:00.216) 0:01:18.100 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:8 Thursday 15 August 2024 06:51:26 -0400 (0:00:00.073) 0:01:18.174 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:13 Thursday 15 August 2024 06:51:26 -0400 (0:00:00.057) 0:01:18.231 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Thursday 15 August 2024 06:51:26 -0400 (0:00:00.075) 0:01:18.307 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Thursday 15 August 2024 06:51:26 -0400 (0:00:00.072) 0:01:18.379 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002785", "end": "2024-08-15 06:51:27.008746", "rc": 0, "start": "2024-08-15 06:51:27.005961" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Thursday 15 August 2024 06:51:27 -0400 (0:00:00.478) 0:01:18.858 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Thursday 15 August 2024 06:51:27 -0400 (0:00:00.128) 0:01:18.987 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Thursday 15 August 2024 06:51:27 -0400 (0:00:00.052) 0:01:19.039 ******* ok: [managed_node3] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27 Thursday 15 August 2024 06:51:30 -0400 (0:00:03.076) 0:01:22.116 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:35 Thursday 15 August 2024 06:51:30 -0400 (0:00:00.110) 0:01:22.226 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:43 Thursday 15 August 2024 06:51:30 -0400 (0:00:00.089) 0:01:22.315 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008309", "end": "2024-08-15 06:51:30.862440", "rc": 0, "start": "2024-08-15 06:51:30.854131" } TASK [Create dummy interface veth0] ******************************************** task path: /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:49 Thursday 15 August 2024 06:51:30 -0400 (0:00:00.395) 0:01:22.711 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:54 Thursday 15 August 2024 06:51:30 -0400 (0:00:00.061) 0:01:22.773 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:60 Thursday 15 August 2024 06:51:31 -0400 (0:00:00.050) 0:01:22.824 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:65 Thursday 15 August 2024 06:51:31 -0400 (0:00:00.050) 0:01:22.874 ******* 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_auto_gateway.yml:149 Thursday 15 August 2024 06:51:31 -0400 (0:00:00.047) 0:01:22.922 ******* included: /tmp/collections-Y7K/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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Thursday 15 August 2024 06:51:31 -0400 (0:00:00.100) 0:01:23.023 ******* 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.007645", "end": "2024-08-15 06:51:31.529336", "rc": 0, "start": "2024-08-15 06:51:31.521691" } 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 0a:ff:e9:87:44:ab brd ff:ff:ff:ff:ff:ff inet 10.31.12.102/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2999sec preferred_lft 2999sec inet6 fe80::8ff:e9ff:fe87:44ab/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.102 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.102 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-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Thursday 15 August 2024 06:51:31 -0400 (0:00:00.351) 0:01:23.374 ******* 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.274955", "end": "2024-08-15 06:51:32.151201", "rc": 0, "start": "2024-08-15 06:51:31.876246" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3426 0 --:--:-- --:--:-- --:--:-- 3388 % 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 2466 0 --:--:-- --:--:-- --:--:-- 2466 PLAY RECAP ********************************************************************* managed_node3 : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Thursday 15 August 2024 06:51:32 -0400 (0:00:00.727) 0:01:24.101 ******* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.80s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.70s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Install iproute --------------------------------------------------------- 5.87s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install packages -------------------- 4.03s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Install iproute --------------------------------------------------------- 3.08s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.83s /tmp/collections-Y7K/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.92s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Enable EPEL 8 ----------------------------------------------------------- 1.53s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Gathering Facts --------------------------------------------------------- 1.49s /tmp/collections-Y7K/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.46s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the fingerprint comment in ifcfg-veth0 ------------------------------ 1.38s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.37s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Create veth interface veth0 --------------------------------------------- 1.10s /tmp/collections-Y7K/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml:27