[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_vlan_mtu.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:49:22 -0400 (0:00:00.008) 0:00:00.008 ********* [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'] ************************************ Saturday 06 July 2024 06:49:25 -0400 (0:00:02.779) 0:00:02.787 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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] *** Saturday 06 July 2024 06:49:25 -0400 (0:00:00.022) 0:00:02.810 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:49:27 -0400 (0:00:02.024) 0:00:04.834 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:49:27 -0400 (0:00:00.496) 0:00:05.331 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:49:27 -0400 (0:00:00.025) 0:00:05.357 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 06:49:28 -0400 (0:00:00.016) 0:00:05.373 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** Saturday 06 July 2024 06:49:28 -0400 (0:00:00.036) 0:00:05.410 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 06:49:28 -0400 (0:00:00.016) 0:00:05.426 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 06:49:28 -0400 (0:00:00.014) 0:00:05.441 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 06:49:28 -0400 (0:00:00.015) 0:00:05.456 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 06:49:28 -0400 (0:00:00.014) 0:00:05.471 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Saturday 06 July 2024 06:49:28 -0400 (0:00:00.014) 0:00:05.486 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:49:28 -0400 (0:00:00.035) 0:00:05.521 ********* ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:49:30 -0400 (0:00:02.502) 0:00:08.023 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:49:30 -0400 (0:00:00.037) 0:00:08.061 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:49:30 -0400 (0:00:00.023) 0:00:08.084 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003980", "end": "2024-07-06 06:49:31.181300", "rc": 0, "start": "2024-07-06 06:49:31.177320" } STDOUT: eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:49:31 -0400 (0:00:00.515) 0:00:08.599 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:49:31 -0400 (0:00:00.021) 0:00:08.621 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'rpltstbr', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:49:31 -0400 (0:00:00.020) 0:00:08.642 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 06:49:31 -0400 (0:00:00.044) 0:00:08.686 ********* 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"]] ********************************* Saturday 06 July 2024 06:49:31 -0400 (0:00:00.017) 0:00:08.704 ********* 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'] ********************************** Saturday 06 July 2024 06:49:31 -0400 (0:00:00.017) 0:00:08.721 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:49:31 -0400 (0:00:00.024) 0:00:08.746 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:49:31 -0400 (0:00:00.025) 0:00:08.772 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003765", "end": "2024-07-06 06:49:31.763264", "rc": 0, "start": "2024-07-06 06:49:31.759499" } STDOUT: eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:49:31 -0400 (0:00:00.407) 0:00:09.179 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:49:31 -0400 (0:00:00.021) 0:00:09.201 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'rpltstbr', 'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:49:31 -0400 (0:00:00.021) 0:00:09.222 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** Saturday 06 July 2024 06:49:33 -0400 (0:00:01.564) 0:00:10.787 ********* ok: [managed_node1] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101" ], "delta": "0:00:00.008194", "end": "2024-07-06 06:49:33.791125", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-07-06 06:49:33.782931" } ok: [managed_node1] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004631", "end": "2024-07-06 06:49:34.256684", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-07-06 06:49:34.252053" } ok: [managed_node1] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004148", "end": "2024-07-06 06:49:34.666183", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-07-06 06:49:34.662035" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:49:34 -0400 (0:00:01.297) 0:00:12.085 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.023111", "end": "2024-07-06 06:49:35.093282", "rc": 0, "start": "2024-07-06 06:49:35.070171" } TASK [Delete veth interface lsr101] ******************************************** Saturday 06 July 2024 06:49:35 -0400 (0:00:00.427) 0:00:12.512 ********* 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 lsr101] ******************************************* Saturday 06 July 2024 06:49:35 -0400 (0:00:00.017) 0:00:12.530 ********* 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 lsr101] ******************************************* Saturday 06 July 2024 06:49:35 -0400 (0:00:00.017) 0:00:12.548 ********* 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 lsr101] ********************************************* Saturday 06 July 2024 06:49:35 -0400 (0:00:00.017) 0:00:12.565 ********* 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 lsr101] ********************************************* Saturday 06 July 2024 06:49:35 -0400 (0:00:00.017) 0:00:12.582 ********* 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'] **************************** Saturday 06 July 2024 06:49:35 -0400 (0:00:00.016) 0:00:12.599 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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'] ******************************* Saturday 06 July 2024 06:49:35 -0400 (0:00:00.038) 0:00:12.637 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr101] ******************************************* Saturday 06 July 2024 06:49:35 -0400 (0:00:00.022) 0:00:12.660 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262973.787202, "block_size": 4096, "blocks": 0, "ctime": 1720262973.787202, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37519, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1720262973.787202, "nlink": 1, "path": "/sys/class/net/lsr101", "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 - 'lsr101'] ************************* Saturday 06 July 2024 06:49:35 -0400 (0:00:00.407) 0:00:13.067 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** Saturday 06 July 2024 06:49:35 -0400 (0:00:00.022) 0:00:13.089 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:49:35 -0400 (0:00:00.021) 0:00:13.111 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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] *** Saturday 06 July 2024 06:49:35 -0400 (0:00:00.032) 0:00:13.144 ********* 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] *********** Saturday 06 July 2024 06:49:35 -0400 (0:00:00.026) 0:00:13.171 ********* 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] *** Saturday 06 July 2024 06:49:35 -0400 (0:00:00.021) 0:00:13.193 ********* 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] **** Saturday 06 July 2024 06:49:35 -0400 (0:00:00.023) 0:00:13.216 ********* 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] *** Saturday 06 July 2024 06:49:38 -0400 (0:00:02.764) 0:00:15.981 ********* 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] ************** Saturday 06 July 2024 06:49:39 -0400 (0:00:01.308) 0:00:17.289 ********* 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] *** Saturday 06 July 2024 06:49:39 -0400 (0:00:00.044) 0:00:17.334 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 06:49:40 -0400 (0:00:00.044) 0:00:17.378 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 06:49:40 -0400 (0:00:00.045) 0:00:17.424 ********* 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] *** Saturday 06 July 2024 06:49:40 -0400 (0:00:00.089) 0:00:17.514 ********* 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] *** Saturday 06 July 2024 06:49:40 -0400 (0:00:00.046) 0:00:17.560 ********* 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] ******************** Saturday 06 July 2024 06:49:40 -0400 (0:00:00.063) 0:00:17.624 ********* 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] *** Saturday 06 July 2024 06:49:40 -0400 (0:00:00.101) 0:00:17.726 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 06:49:40 -0400 (0:00:00.045) 0:00:17.771 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:49:40 -0400 (0:00:00.045) 0:00:17.817 ********* 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] ***** Saturday 06 July 2024 06:49:40 -0400 (0:00:00.062) 0:00:17.879 ********* 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] ***** Saturday 06 July 2024 06:49:41 -0400 (0:00:00.910) 0:00:18.790 ********* 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] ************** Saturday 06 July 2024 06:49:41 -0400 (0:00:00.059) 0:00:18.850 ********* 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] *** Saturday 06 July 2024 06:49:41 -0400 (0:00:00.038) 0:00:18.889 ********* 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] *** Saturday 06 July 2024 06:49:41 -0400 (0:00:00.038) 0:00:18.927 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, eb7898c2-f20e-4547-90d5-11f8fccd6f5a [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d8bc2726-b3bd-4c40-b43d-438b6b354368 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, eb7898c2-f20e-4547-90d5-11f8fccd6f5a (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d8bc2726-b3bd-4c40-b43d-438b6b354368 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:49:42 -0400 (0:00:01.004) 0:00:19.932 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:49:42 -0400 (0:00:00.045) 0:00:19.977 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, eb7898c2-f20e-4547-90d5-11f8fccd6f5a", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d8bc2726-b3bd-4c40-b43d-438b6b354368", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, eb7898c2-f20e-4547-90d5-11f8fccd6f5a (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d8bc2726-b3bd-4c40-b43d-438b6b354368 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:49:42 -0400 (0:00:00.044) 0:00:20.021 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, eb7898c2-f20e-4547-90d5-11f8fccd6f5a\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d8bc2726-b3bd-4c40-b43d-438b6b354368\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, eb7898c2-f20e-4547-90d5-11f8fccd6f5a (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d8bc2726-b3bd-4c40-b43d-438b6b354368 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, eb7898c2-f20e-4547-90d5-11f8fccd6f5a", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d8bc2726-b3bd-4c40-b43d-438b6b354368", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, eb7898c2-f20e-4547-90d5-11f8fccd6f5a (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d8bc2726-b3bd-4c40-b43d-438b6b354368 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:49:42 -0400 (0:00:00.045) 0:00:20.067 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:49:42 -0400 (0:00:00.080) 0:00:20.147 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:49:43 -0400 (0:00:00.544) 0:00:20.692 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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'] ******************************* Saturday 06 July 2024 06:49:43 -0400 (0:00:00.081) 0:00:20.773 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr101.90] **************************************** Saturday 06 July 2024 06:49:43 -0400 (0:00:00.065) 0:00:20.839 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262982.4160044, "block_size": 4096, "blocks": 0, "ctime": 1720262982.4160044, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37722, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1720262982.4160044, "nlink": 1, "path": "/sys/class/net/lsr101.90", "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 - 'lsr101.90'] ********************** Saturday 06 July 2024 06:49:43 -0400 (0:00:00.422) 0:00:21.261 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 06:49:43 -0400 (0:00:00.044) 0:00:21.306 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=lsr101) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=lsr101.90) TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:49:44 -0400 (0:00:00.090) 0:00:21.396 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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] ************ Saturday 06 July 2024 06:49:44 -0400 (0:00:00.071) 0:00:21.467 ********* 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] ******************************************************* Saturday 06 July 2024 06:49:44 -0400 (0:00:00.041) 0:00:21.509 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:49:44 -0400 (0:00:00.413) 0:00:21.923 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:49:44 -0400 (0:00:00.068) 0:00:21.991 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.026028", "end": "2024-07-06 06:49:44.998829", "rc": 0, "start": "2024-07-06 06:49:44.972801" } STDOUT: lsr101 /etc/NetworkManager/system-connections/lsr101.nmconnection lsr101.90 /etc/NetworkManager/system-connections/lsr101.90.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:49:45 -0400 (0:00:00.444) 0:00:22.436 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* Saturday 06 July 2024 06:49:45 -0400 (0:00:00.045) 0:00:22.482 ********* 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-lsr101] ********************** Saturday 06 July 2024 06:49:45 -0400 (0:00:00.040) 0:00:22.522 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** Saturday 06 July 2024 06:49:45 -0400 (0:00:00.038) 0:00:22.561 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** Saturday 06 July 2024 06:49:45 -0400 (0:00:00.040) 0:00:22.601 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101'] *************************** Saturday 06 July 2024 06:49:45 -0400 (0:00:00.040) 0:00:22.641 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** Saturday 06 July 2024 06:49:45 -0400 (0:00:00.046) 0:00:22.688 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** Saturday 06 July 2024 06:49:45 -0400 (0:00:00.045) 0:00:22.734 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:49:45 -0400 (0:00:00.046) 0:00:22.780 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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] ************ Saturday 06 July 2024 06:49:45 -0400 (0:00:00.072) 0:00:22.853 ********* 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] ******************************************************* Saturday 06 July 2024 06:49:45 -0400 (0:00:00.042) 0:00:22.895 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:49:45 -0400 (0:00:00.419) 0:00:23.315 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:49:45 -0400 (0:00:00.040) 0:00:23.355 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.026336", "end": "2024-07-06 06:49:46.366617", "rc": 0, "start": "2024-07-06 06:49:46.340281" } STDOUT: lsr101.90 /etc/NetworkManager/system-connections/lsr101.90.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:49:46 -0400 (0:00:00.483) 0:00:23.839 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** Saturday 06 July 2024 06:49:46 -0400 (0:00:00.045) 0:00:23.884 ********* 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-lsr101.90] ******************* Saturday 06 July 2024 06:49:46 -0400 (0:00:00.041) 0:00:23.926 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** Saturday 06 July 2024 06:49:46 -0400 (0:00:00.041) 0:00:23.967 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** Saturday 06 July 2024 06:49:46 -0400 (0:00:00.040) 0:00:24.008 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101.90'] ************************ Saturday 06 July 2024 06:49:46 -0400 (0:00:00.042) 0:00:24.050 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* Saturday 06 July 2024 06:49:46 -0400 (0:00:00.047) 0:00:24.098 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* Saturday 06 July 2024 06:49:46 -0400 (0:00:00.047) 0:00:24.146 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** Saturday 06 July 2024 06:49:46 -0400 (0:00:00.045) 0:00:24.192 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:49:46 -0400 (0:00:00.044) 0:00:24.236 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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] *** Saturday 06 July 2024 06:49:46 -0400 (0:00:00.076) 0:00:24.312 ********* 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] *********** Saturday 06 July 2024 06:49:47 -0400 (0:00:00.055) 0:00:24.368 ********* 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] *** Saturday 06 July 2024 06:49:47 -0400 (0:00:00.047) 0:00:24.415 ********* 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] **** Saturday 06 July 2024 06:49:47 -0400 (0:00:00.046) 0:00:24.461 ********* 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] *** Saturday 06 July 2024 06:49:49 -0400 (0:00:02.829) 0:00:27.290 ********* 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] ************** Saturday 06 July 2024 06:49:50 -0400 (0:00:01.043) 0:00:28.334 ********* 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] *** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.044) 0:00:28.379 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.045) 0:00:28.424 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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] *** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.045) 0:00:28.470 ********* 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] *** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.059) 0:00:28.530 ********* 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] *** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.049) 0:00:28.579 ********* 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] ******************** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.058) 0:00:28.637 ********* 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] *** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.095) 0:00:28.733 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.043) 0:00:28.776 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.047) 0:00:28.823 ********* 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] ***** Saturday 06 July 2024 06:49:51 -0400 (0:00:00.057) 0:00:28.881 ********* 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] ***** Saturday 06 July 2024 06:49:52 -0400 (0:00:00.689) 0:00:29.571 ********* 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] ************** Saturday 06 July 2024 06:49:52 -0400 (0:00:00.059) 0:00:29.631 ********* 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] *** Saturday 06 July 2024 06:49:52 -0400 (0:00:00.040) 0:00:29.672 ********* 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] *** Saturday 06 July 2024 06:49:52 -0400 (0:00:00.040) 0:00:29.712 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:49:53 -0400 (0:00:00.873) 0:00:30.586 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:49:53 -0400 (0:00:00.048) 0:00:30.634 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:49:53 -0400 (0:00:00.045) 0:00:30.679 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "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] *** Saturday 06 July 2024 06:49:53 -0400 (0:00:00.045) 0:00:30.725 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:49:53 -0400 (0:00:00.044) 0:00:30.770 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:49:53 -0400 (0:00:00.443) 0:00:31.213 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 06:49:53 -0400 (0:00:00.091) 0:00:31.305 ********* 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"]] ********************************* Saturday 06 July 2024 06:49:53 -0400 (0:00:00.039) 0:00:31.345 ********* 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'] ********************************** Saturday 06 July 2024 06:49:54 -0400 (0:00:00.039) 0:00:31.384 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:49:54 -0400 (0:00:00.100) 0:00:31.485 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:49:54 -0400 (0:00:00.066) 0:00:31.552 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003800", "end": "2024-07-06 06:49:54.543165", "rc": 0, "start": "2024-07-06 06:49:54.539365" } STDOUT: eth0 lo lsr101 peerlsr101 rpltstbr team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:49:54 -0400 (0:00:00.429) 0:00:31.981 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "lsr101", "peerlsr101", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:49:54 -0400 (0:00:00.044) 0:00:32.026 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'lsr101', 'peerlsr101', 'rpltstbr', 'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:49:54 -0400 (0:00:00.042) 0:00:32.069 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** Saturday 06 July 2024 06:49:56 -0400 (0:00:01.510) 0:00:33.579 ********* skipping: [managed_node1] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:49:56 -0400 (0:00:00.052) 0:00:33.631 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** Saturday 06 July 2024 06:49:56 -0400 (0:00:00.039) 0:00:33.671 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.009309", "end": "2024-07-06 06:49:56.659032", "rc": 0, "start": "2024-07-06 06:49:56.649723" } TASK [Create dummy interface lsr101] ******************************************* Saturday 06 July 2024 06:49:56 -0400 (0:00:00.444) 0:00:34.116 ********* 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 lsr101] ******************************************* Saturday 06 July 2024 06:49:56 -0400 (0:00:00.039) 0:00:34.155 ********* 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 lsr101] ********************************************* Saturday 06 July 2024 06:49:56 -0400 (0:00:00.041) 0:00:34.197 ********* 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 lsr101] ********************************************* Saturday 06 July 2024 06:49:56 -0400 (0:00:00.040) 0:00:34.237 ********* skipping: [managed_node1] => { "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] ******************************** Saturday 06 July 2024 06:49:56 -0400 (0:00:00.039) 0:00:34.277 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Saturday 06 July 2024 06:49:57 -0400 (0:00:00.124) 0:00:34.402 ********* 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.009568", "end": "2024-07-06 06:49:57.389078", "rc": 0, "start": "2024-07-06 06:49:57.379510" } 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 0e:2d:fb:90:9f:a1 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.40.186/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3466sec preferred_lft 3466sec inet6 fe80::c2d:fbff:fe90:9fa1/64 scope link noprefixroute valid_lft forever preferred_lft forever 19: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a2:c0:a7:cb:4a:08 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever 20: team0: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 6a:c9:3a:53:43:5d brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.186 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.186 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 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] ************************************* Saturday 06 July 2024 06:49:57 -0400 (0:00:00.424) 0:00:34.827 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=78 changed=2 unreachable=0 failed=0 skipped=66 rescued=0 ignored=0 Saturday 06 July 2024 06:49:57 -0400 (0:00:00.118) 0:00:34.946 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.83s Gathering Facts --------------------------------------------------------- 2.78s fedora.linux_system_roles.network : Check which services are running ---- 2.76s Gathering Facts --------------------------------------------------------- 2.50s Gather the minimum subset of ansible_facts required by the network role test --- 2.02s Install iproute --------------------------------------------------------- 1.56s Install iproute --------------------------------------------------------- 1.51s fedora.linux_system_roles.network : Check which packages are installed --- 1.31s Create veth interface lsr101 -------------------------------------------- 1.30s fedora.linux_system_roles.network : Check which packages are installed --- 1.04s fedora.linux_system_roles.network : Configure networking connection profiles --- 1.00s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.91s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.87s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.69s fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.54s Gather current interface info ------------------------------------------- 0.52s Check if system is ostree ----------------------------------------------- 0.50s Get NM profile info ----------------------------------------------------- 0.48s Delete veth interface lsr101 -------------------------------------------- 0.45s Get NM profile info ----------------------------------------------------- 0.44s