[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. No config file found; using defaults running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_ethernet.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:21 -0400 (0:00:00.007) 0:00:00.007 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Thursday 25 July 2024 07:09:24 -0400 (0:00:02.668) 0:00:02.676 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Thursday 25 July 2024 07:09:24 -0400 (0:00:00.020) 0:00:02.696 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:02.088) 0:00:04.784 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.462) 0:00:05.247 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.024) 0:00:05.271 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.014) 0:00:05.285 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.029) 0:00:05.314 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.015) 0:00:05.330 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.013) 0:00:05.343 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.013) 0:00:05.356 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.012) 0:00:05.369 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Thursday 25 July 2024 07:09:26 -0400 (0:00:00.018) 0:00:05.388 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for showing the network provider] *********************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:27 -0400 (0:00:00.027) 0:00:05.415 ********* ok: [managed_node1] TASK [Show inside ethernet tests] ********************************************** Thursday 25 July 2024 07:09:29 -0400 (0:00:02.506) 0:00:07.921 ********* ok: [managed_node1] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** Thursday 25 July 2024 07:09:29 -0400 (0:00:00.018) 0:00:07.940 ********* ok: [managed_node1] => { "network_provider": "nm" } PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:29 -0400 (0:00:00.031) 0:00:07.972 ********* ok: [managed_node1] TASK [Set type=veth and interface=lsr27] *************************************** Thursday 25 July 2024 07:09:31 -0400 (0:00:02.194) 0:00:10.166 ********* ok: [managed_node1] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:09:31 -0400 (0:00:00.021) 0:00:10.188 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:09:31 -0400 (0:00:00.019) 0:00:10.208 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:09:31 -0400 (0:00:00.019) 0:00:10.227 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003679", "end": "2024-07-25 07:09:32.232658", "rc": 0, "start": "2024-07-25 07:09:32.228979" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:09:32 -0400 (0:00:00.468) 0:00:10.696 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:09:32 -0400 (0:00:00.018) 0:00:10.714 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** Thursday 25 July 2024 07:09:32 -0400 (0:00:00.019) 0:00:10.733 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Thursday 25 July 2024 07:09:32 -0400 (0:00:00.026) 0:00:10.760 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Thursday 25 July 2024 07:09:32 -0400 (0:00:00.015) 0:00:10.775 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 07:09:32 -0400 (0:00:00.016) 0:00:10.792 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 07:09:32 -0400 (0:00:00.020) 0:00:10.813 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 07:09:32 -0400 (0:00:00.019) 0:00:10.832 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003628", "end": "2024-07-25 07:09:32.742632", "rc": 0, "start": "2024-07-25 07:09:32.739004" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 07:09:32 -0400 (0:00:00.374) 0:00:11.207 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 07:09:32 -0400 (0:00:00.021) 0:00:11.228 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* Thursday 25 July 2024 07:09:32 -0400 (0:00:00.019) 0:00:11.248 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface lsr27] ********************************************* Thursday 25 July 2024 07:09:34 -0400 (0:00:01.501) 0:00:12.749 ********* ok: [managed_node1] => (item=ip link add lsr27 type veth peer name peerlsr27) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27" ], "delta": "0:00:00.008717", "end": "2024-07-25 07:09:34.667312", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2024-07-25 07:09:34.658595" } ok: [managed_node1] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.004069", "end": "2024-07-25 07:09:35.076538", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2024-07-25 07:09:35.072469" } ok: [managed_node1] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.006219", "end": "2024-07-25 07:09:35.441297", "item": "ip link set lsr27 up", "rc": 0, "start": "2024-07-25 07:09:35.435078" } TASK [Set up veth as managed by NetworkManager] ******************************** Thursday 25 July 2024 07:09:35 -0400 (0:00:01.157) 0:00:13.907 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr27", "managed", "true" ], "delta": "0:00:00.020258", "end": "2024-07-25 07:09:35.833938", "rc": 0, "start": "2024-07-25 07:09:35.813680" } TASK [Delete veth interface lsr27] ********************************************* Thursday 25 July 2024 07:09:35 -0400 (0:00:00.393) 0:00:14.300 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr27] ******************************************** Thursday 25 July 2024 07:09:35 -0400 (0:00:00.016) 0:00:14.316 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr27] ******************************************** Thursday 25 July 2024 07:09:35 -0400 (0:00:00.016) 0:00:14.333 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr27] ********************************************** Thursday 25 July 2024 07:09:35 -0400 (0:00:00.015) 0:00:14.349 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr27] ********************************************** Thursday 25 July 2024 07:09:35 -0400 (0:00:00.015) 0:00:14.365 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Thursday 25 July 2024 07:09:35 -0400 (0:00:00.016) 0:00:14.381 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:09:35 -0400 (0:00:00.021) 0:00:14.403 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr27] ******************************************** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.019) 0:00:14.422 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721905774.6623833, "block_size": 4096, "blocks": 0, "ctime": 1721905774.6623833, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 43063, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1721905774.6623833, "nlink": 1, "path": "/sys/class/net/lsr27", "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 - 'lsr27'] ************************** Thursday 25 July 2024 07:09:36 -0400 (0:00:00.376) 0:00:14.799 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:36 -0400 (0:00:00.036) 0:00:14.836 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:09:38 -0400 (0:00:02.384) 0:00:17.221 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:09:38 -0400 (0:00:00.027) 0:00:17.248 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:09:38 -0400 (0:00:00.026) 0:00:17.274 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:09:38 -0400 (0:00:00.021) 0:00:17.295 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:09:38 -0400 (0:00:00.022) 0:00:17.318 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:09:41 -0400 (0:00:02.753) 0:00:20.071 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:09:42 -0400 (0:00:01.226) 0:00:21.298 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:09:42 -0400 (0:00:00.041) 0:00:21.340 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:09:42 -0400 (0:00:00.035) 0:00:21.376 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.038) 0:00:21.414 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.074) 0:00:21.489 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.058) 0:00:21.548 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.042) 0:00:21.591 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.057) 0:00:21.649 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.088) 0:00:21.737 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.037) 0:00:21.775 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.036) 0:00:21.811 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:09:43 -0400 (0:00:00.057) 0:00:21.869 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.840) 0:00:22.709 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.055) 0:00:22.765 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.038) 0:00:22.803 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:09:44 -0400 (0:00:00.039) 0:00:22.842 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 4ab80dc6-0ca0-4cf4-9a2b-7665731b5850 [004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 4ab80dc6-0ca0-4cf4-9a2b-7665731b5850 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.998) 0:00:23.841 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.038) 0:00:23.879 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 4ab80dc6-0ca0-4cf4-9a2b-7665731b5850", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 4ab80dc6-0ca0-4cf4-9a2b-7665731b5850 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.043) 0:00:23.922 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 4ab80dc6-0ca0-4cf4-9a2b-7665731b5850\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 4ab80dc6-0ca0-4cf4-9a2b-7665731b5850 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 4ab80dc6-0ca0-4cf4-9a2b-7665731b5850", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 4ab80dc6-0ca0-4cf4-9a2b-7665731b5850 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.078) 0:00:24.000 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:09:45 -0400 (0:00:00.040) 0:00:24.041 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_output_in_stderr_without_warnings.yml'] ********* Thursday 25 July 2024 07:09:46 -0400 (0:00:00.499) 0:00:24.540 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for managed_node1 TASK [Assert that warnings is empty] ******************************************* Thursday 25 July 2024 07:09:46 -0400 (0:00:00.061) 0:00:24.602 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** Thursday 25 July 2024 07:09:46 -0400 (0:00:00.042) 0:00:24.645 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Play for cleaning up the test device and the connection profile] ********* TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:46 -0400 (0:00:00.130) 0:00:24.775 ********* ok: [managed_node1] TASK [Show network_provider] *************************************************** Thursday 25 July 2024 07:09:48 -0400 (0:00:02.525) 0:00:27.301 ********* ok: [managed_node1] => { "network_provider": "nm" } PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:49 -0400 (0:00:00.136) 0:00:27.438 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:09:51 -0400 (0:00:02.566) 0:00:30.004 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:09:51 -0400 (0:00:00.067) 0:00:30.072 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:09:51 -0400 (0:00:00.051) 0:00:30.124 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:09:51 -0400 (0:00:00.043) 0:00:30.167 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:09:51 -0400 (0:00:00.041) 0:00:30.209 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:09:54 -0400 (0:00:02.679) 0:00:32.889 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.963) 0:00:33.852 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.043) 0:00:33.895 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.037) 0:00:33.933 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.038) 0:00:33.971 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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] *** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.044) 0:00:34.015 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.062) 0:00:34.077 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.044) 0:00:34.122 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.053) 0:00:34.176 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.087) 0:00:34.263 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.038) 0:00:34.302 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:09:55 -0400 (0:00:00.036) 0:00:34.339 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:09:56 -0400 (0:00:00.098) 0:00:34.437 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:09:56 -0400 (0:00:00.621) 0:00:35.058 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:09:56 -0400 (0:00:00.058) 0:00:35.116 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:09:56 -0400 (0:00:00.037) 0:00:35.154 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:09:56 -0400 (0:00:00.037) 0:00:35.191 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:09:57 -0400 (0:00:00.643) 0:00:35.834 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:09:57 -0400 (0:00:00.039) 0:00:35.874 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:09:57 -0400 (0:00:00.041) 0:00:35.915 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:09:57 -0400 (0:00:00.043) 0:00:35.959 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:09:57 -0400 (0:00:00.037) 0:00:35.997 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:09:58 -0400 (0:00:00.543) 0:00:36.540 ********* ok: [managed_node1] TASK [Include the task 'delete_interface.yml'] ********************************* Thursday 25 July 2024 07:10:00 -0400 (0:00:02.475) 0:00:39.016 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Thursday 25 July 2024 07:10:00 -0400 (0:00:00.061) 0:00:39.078 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.009849", "end": "2024-07-25 07:10:00.993465", "rc": 0, "start": "2024-07-25 07:10:00.983616" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:10:01 -0400 (0:00:00.516) 0:00:39.595 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:10:03 -0400 (0:00:02.373) 0:00:41.968 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Thursday 25 July 2024 07:10:03 -0400 (0:00:00.105) 0:00:42.074 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Thursday 25 July 2024 07:10:03 -0400 (0:00:00.055) 0:00:42.130 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:10:03 -0400 (0:00:00.043) 0:00:42.173 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 07:10:03 -0400 (0:00:00.042) 0:00:42.215 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Thursday 25 July 2024 07:10:07 -0400 (0:00:03.653) 0:00:45.868 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.961) 0:00:46.830 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.042) 0:00:46.873 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.038) 0:00:46.911 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.037) 0:00:46.949 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in __network_rh_distros", "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] *** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.045) 0:00:46.994 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.057) 0:00:47.051 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.081) 0:00:47.133 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.052) 0:00:47.186 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.090) 0:00:47.276 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.037) 0:00:47.314 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.038) 0:00:47.352 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 07:10:08 -0400 (0:00:00.053) 0:00:47.405 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Thursday 25 July 2024 07:10:09 -0400 (0:00:00.620) 0:00:48.026 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 07:10:09 -0400 (0:00:00.054) 0:00:48.081 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Thursday 25 July 2024 07:10:09 -0400 (0:00:00.039) 0:00:48.120 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 07:10:09 -0400 (0:00:00.035) 0:00:48.155 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Thursday 25 July 2024 07:10:10 -0400 (0:00:00.594) 0:00:48.749 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 07:10:10 -0400 (0:00:00.038) 0:00:48.788 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Thursday 25 July 2024 07:10:10 -0400 (0:00:00.043) 0:00:48.831 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Thursday 25 July 2024 07:10:10 -0400 (0:00:00.040) 0:00:48.872 ********* skipping: [managed_node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 07:10:10 -0400 (0:00:00.040) 0:00:48.912 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:10:11 -0400 (0:00:00.543) 0:00:49.456 ********* ok: [managed_node1] TASK [Include the task 'assert_profile_absent.yml'] **************************** Thursday 25 July 2024 07:10:13 -0400 (0:00:02.272) 0:00:51.728 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Thursday 25 July 2024 07:10:13 -0400 (0:00:00.062) 0:00:51.790 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Thursday 25 July 2024 07:10:13 -0400 (0:00:00.068) 0:00:51.859 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Thursday 25 July 2024 07:10:13 -0400 (0:00:00.041) 0:00:51.900 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Thursday 25 July 2024 07:10:13 -0400 (0:00:00.392) 0:00:52.292 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Thursday 25 July 2024 07:10:13 -0400 (0:00:00.074) 0:00:52.366 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.017888", "end": "2024-07-25 07:10:14.299737", "rc": 1, "start": "2024-07-25 07:10:14.281849" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Thursday 25 July 2024 07:10:14 -0400 (0:00:00.420) 0:00:52.787 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr27] ************************** Thursday 25 July 2024 07:10:14 -0400 (0:00:00.040) 0:00:52.827 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr27] *********************** Thursday 25 July 2024 07:10:14 -0400 (0:00:00.040) 0:00:52.867 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr27] ****************************** Thursday 25 July 2024 07:10:14 -0400 (0:00:00.041) 0:00:52.909 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr27] *************************** Thursday 25 July 2024 07:10:14 -0400 (0:00:00.038) 0:00:52.947 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'lsr27'] ***************************** Thursday 25 July 2024 07:10:14 -0400 (0:00:00.040) 0:00:52.988 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_device_absent.yml'] ***************************** Thursday 25 July 2024 07:10:14 -0400 (0:00:00.043) 0:00:53.032 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Thursday 25 July 2024 07:10:14 -0400 (0:00:00.064) 0:00:53.096 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr27] ******************************************** Thursday 25 July 2024 07:10:14 -0400 (0:00:00.062) 0:00:53.158 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'lsr27'] *************************** Thursday 25 July 2024 07:10:15 -0400 (0:00:00.396) 0:00:53.554 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:10:15 -0400 (0:00:00.168) 0:00:53.723 ********* ok: [managed_node1] TASK [Verify network state restored to default] ******************************** Thursday 25 July 2024 07:10:17 -0400 (0:00:02.516) 0:00:56.240 ********* included: /var/ARTIFACTS/work-generalfr6i6qfm/plans/general/tree/tmp.AnzpRcLT8Q/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Thursday 25 July 2024 07:10:17 -0400 (0:00:00.062) 0:00:56.302 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.011411", "end": "2024-07-25 07:10:18.221174", "rc": 0, "start": "2024-07-25 07:10:18.209763" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:f6:50:48:7d brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.14.205/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3405sec preferred_lft 3405sec inet6 fe80::8ff:f6ff:fe50:487d/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.205 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.205 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* Thursday 25 July 2024 07:10:18 -0400 (0:00:00.402) 0:00:56.705 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=82 changed=3 unreachable=0 failed=0 skipped=74 rescued=0 ignored=1 Thursday 25 July 2024 07:10:18 -0400 (0:00:00.111) 0:00:56.816 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.65s fedora.linux_system_roles.network : Check which services are running ---- 2.75s fedora.linux_system_roles.network : Check which services are running ---- 2.68s Gathering Facts --------------------------------------------------------- 2.67s Gathering Facts --------------------------------------------------------- 2.57s Gathering Facts --------------------------------------------------------- 2.53s Gathering Facts --------------------------------------------------------- 2.52s Gathering Facts --------------------------------------------------------- 2.51s Gathering Facts --------------------------------------------------------- 2.48s Gathering Facts --------------------------------------------------------- 2.38s Gathering Facts --------------------------------------------------------- 2.37s Gathering Facts --------------------------------------------------------- 2.27s Gathering Facts --------------------------------------------------------- 2.19s Gather the minimum subset of ansible_facts required by the network role test --- 2.09s Install iproute --------------------------------------------------------- 1.50s fedora.linux_system_roles.network : Check which packages are installed --- 1.23s Create veth interface lsr27 --------------------------------------------- 1.16s fedora.linux_system_roles.network : Configure networking connection profiles --- 1.00s fedora.linux_system_roles.network : Check which packages are installed --- 0.96s fedora.linux_system_roles.network : Check which packages are installed --- 0.96s