[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:32:18 -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:32:19 -0400 (0:00:01.259) 0:00:01.268 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:19 -0400 (0:00:00.023) 0:00:01.291 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:32:20 -0400 (0:00:00.546) 0:00:01.838 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:32:20 -0400 (0:00:00.485) 0:00:02.323 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:32:20 -0400 (0:00:00.024) 0:00:02.348 ********* 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:32:20 -0400 (0:00:00.015) 0:00:02.364 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 39] ********************************************************** Saturday 06 July 2024 06:32:20 -0400 (0:00:00.033) 0:00:02.397 ********* 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:32:20 -0400 (0:00:00.016) 0:00:02.414 ********* 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:32:20 -0400 (0:00:00.016) 0:00:02.430 ********* 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:32:20 -0400 (0:00:00.014) 0:00:02.445 ********* 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:32:20 -0400 (0:00:00.014) 0:00:02.459 ********* 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:32:20 -0400 (0:00:00.014) 0:00:02.474 ********* 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:32:20 -0400 (0:00:00.035) 0:00:02.509 ********* ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:32:21 -0400 (0:00:00.929) 0:00:03.438 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:21 -0400 (0:00:00.035) 0:00:03.473 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:21 -0400 (0:00:00.023) 0:00:03.496 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003401", "end": "2024-07-06 06:32:22.368387", "rc": 0, "start": "2024-07-06 06:32:22.364986" } STDOUT: eth0 lo team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:32:22 -0400 (0:00:00.477) 0:00:03.974 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:32:22 -0400 (0:00:00.019) 0:00:03.993 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:32:22 -0400 (0:00:00.022) 0:00:04.016 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:22 -0400 (0:00:00.043) 0:00:04.060 ********* 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:32:22 -0400 (0:00:00.016) 0:00:04.076 ********* 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:32:22 -0400 (0:00:00.015) 0:00:04.092 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:22 -0400 (0:00:00.025) 0:00:04.117 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:22 -0400 (0:00:00.021) 0:00:04.138 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003326", "end": "2024-07-06 06:32:22.914824", "rc": 0, "start": "2024-07-06 06:32:22.911498" } STDOUT: eth0 lo team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:32:22 -0400 (0:00:00.380) 0:00:04.519 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:32:22 -0400 (0:00:00.020) 0:00:04.539 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:32:23 -0400 (0:00:00.020) 0:00:04.559 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** Saturday 06 July 2024 06:32:24 -0400 (0:00:01.880) 0:00:06.439 ********* 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.015848", "end": "2024-07-06 06:32:25.237000", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-07-06 06:32:25.221152" } 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.003534", "end": "2024-07-06 06:32:25.652814", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-07-06 06:32:25.649280" } 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.003421", "end": "2024-07-06 06:32:26.025572", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-07-06 06:32:26.022151" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:32:26 -0400 (0:00:01.188) 0:00:07.627 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.022793", "end": "2024-07-06 06:32:26.422261", "rc": 0, "start": "2024-07-06 06:32:26.399468" } TASK [Delete veth interface lsr101] ******************************************** Saturday 06 July 2024 06:32:26 -0400 (0:00:00.401) 0:00:08.029 ********* 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:32:26 -0400 (0:00:00.017) 0:00:08.047 ********* 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:32:26 -0400 (0:00:00.019) 0:00:08.066 ********* 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:32:26 -0400 (0:00:00.017) 0:00:08.084 ********* 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:32:26 -0400 (0:00:00.017) 0:00:08.101 ********* 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:32:26 -0400 (0:00:00.016) 0:00:08.118 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:26 -0400 (0:00:00.041) 0:00:08.159 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:26 -0400 (0:00:00.023) 0:00:08.183 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720261945.234573, "block_size": 4096, "blocks": 0, "ctime": 1720261945.234573, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34883, "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": 1720261945.234573, "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:32:27 -0400 (0:00:00.383) 0:00:08.566 ********* 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:32:27 -0400 (0:00:00.021) 0:00:08.588 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:32:27 -0400 (0:00:00.020) 0:00:08.608 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:27 -0400 (0:00:00.031) 0:00:08.639 ********* 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:32:27 -0400 (0:00:00.028) 0:00:08.668 ********* 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:32:27 -0400 (0:00:00.023) 0:00:08.691 ********* 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:32:27 -0400 (0:00:00.021) 0:00:08.713 ********* 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:32:29 -0400 (0:00:02.325) 0:00:11.038 ********* 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:32:30 -0400 (0:00:01.284) 0:00:12.323 ********* 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:32:30 -0400 (0:00:00.046) 0:00:12.370 ********* 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:32:30 -0400 (0:00:00.050) 0:00:12.420 ********* 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:32:30 -0400 (0:00:00.048) 0:00:12.469 ********* 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:32:30 -0400 (0:00:00.065) 0:00:12.534 ********* 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:32:31 -0400 (0:00:00.049) 0:00:12.584 ********* 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:32:31 -0400 (0:00:00.127) 0:00:12.711 ********* 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:32:31 -0400 (0:00:00.107) 0:00:12.819 ********* 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:32:31 -0400 (0:00:00.051) 0:00:12.870 ********* 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:32:31 -0400 (0:00:00.047) 0:00:12.918 ********* 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:32:31 -0400 (0:00:00.067) 0:00:12.985 ********* 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:32:32 -0400 (0:00:00.905) 0:00:13.891 ********* 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:32:32 -0400 (0:00:00.063) 0:00:13.955 ********* 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:32:32 -0400 (0:00:00.042) 0:00:13.998 ********* 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:32:32 -0400 (0:00:00.045) 0:00:14.043 ********* 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, 6d2c1ccb-843b-4666-b1e6-32feaae5ed82 [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 9b100c29-e24e-430f-b14a-c9074ac555f0 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 6d2c1ccb-843b-4666-b1e6-32feaae5ed82 (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 9b100c29-e24e-430f-b14a-c9074ac555f0 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:32:33 -0400 (0:00:00.899) 0:00:14.942 ********* 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:32:33 -0400 (0:00:00.052) 0:00:14.994 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 6d2c1ccb-843b-4666-b1e6-32feaae5ed82", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 9b100c29-e24e-430f-b14a-c9074ac555f0", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 6d2c1ccb-843b-4666-b1e6-32feaae5ed82 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 9b100c29-e24e-430f-b14a-c9074ac555f0 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:32:33 -0400 (0:00:00.049) 0:00:15.044 ********* 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, 6d2c1ccb-843b-4666-b1e6-32feaae5ed82\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 9b100c29-e24e-430f-b14a-c9074ac555f0\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 6d2c1ccb-843b-4666-b1e6-32feaae5ed82 (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 9b100c29-e24e-430f-b14a-c9074ac555f0 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 6d2c1ccb-843b-4666-b1e6-32feaae5ed82", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 9b100c29-e24e-430f-b14a-c9074ac555f0", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 6d2c1ccb-843b-4666-b1e6-32feaae5ed82 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 9b100c29-e24e-430f-b14a-c9074ac555f0 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:32:33 -0400 (0:00:00.049) 0:00:15.093 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:32:33 -0400 (0:00:00.052) 0:00:15.145 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:32:34 -0400 (0:00:00.528) 0:00:15.673 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:34 -0400 (0:00:00.126) 0:00:15.799 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:34 -0400 (0:00:00.076) 0:00:15.876 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720261953.2647212, "block_size": 4096, "blocks": 0, "ctime": 1720261953.2647212, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35086, "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": 1720261953.2647212, "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:32:34 -0400 (0:00:00.414) 0:00:16.290 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 06:32:34 -0400 (0:00:00.048) 0:00:16.339 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=lsr101) included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:34 -0400 (0:00:00.101) 0:00:16.441 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:34 -0400 (0:00:00.079) 0:00:16.521 ********* 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:32:35 -0400 (0:00:00.047) 0:00:16.568 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:32:35 -0400 (0:00:00.407) 0:00:16.976 ********* 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:32:35 -0400 (0:00:00.047) 0:00:17.024 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.022474", "end": "2024-07-06 06:32:35.827580", "rc": 0, "start": "2024-07-06 06:32:35.805106" } 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:32:35 -0400 (0:00:00.435) 0:00:17.459 ********* 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:32:35 -0400 (0:00:00.050) 0:00:17.509 ********* 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:32:36 -0400 (0:00:00.080) 0:00:17.589 ********* 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:32:36 -0400 (0:00:00.045) 0:00:17.634 ********* 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:32:36 -0400 (0:00:00.046) 0:00:17.681 ********* 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:32:36 -0400 (0:00:00.045) 0:00:17.727 ********* 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:32:36 -0400 (0:00:00.050) 0:00:17.777 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** Saturday 06 July 2024 06:32:36 -0400 (0:00:00.054) 0:00:17.831 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:32:36 -0400 (0:00:00.050) 0:00:17.882 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:36 -0400 (0:00:00.081) 0:00:17.964 ********* 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:32:36 -0400 (0:00:00.046) 0:00:18.010 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:32:36 -0400 (0:00:00.409) 0:00:18.419 ********* 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:32:36 -0400 (0:00:00.044) 0:00:18.464 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.022216", "end": "2024-07-06 06:32:37.265820", "rc": 0, "start": "2024-07-06 06:32:37.243604" } 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:32:37 -0400 (0:00:00.433) 0:00:18.898 ********* 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:32:37 -0400 (0:00:00.051) 0:00:18.949 ********* 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:32:37 -0400 (0:00:00.047) 0:00:18.996 ********* 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:32:37 -0400 (0:00:00.044) 0:00:19.041 ********* 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:32:37 -0400 (0:00:00.046) 0:00:19.087 ********* 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:32:37 -0400 (0:00:00.085) 0:00:19.172 ********* 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:32:37 -0400 (0:00:00.054) 0:00:19.226 ********* 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:32:37 -0400 (0:00:00.049) 0:00:19.276 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** Saturday 06 July 2024 06:32:37 -0400 (0:00:00.051) 0:00:19.328 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:32:37 -0400 (0:00:00.049) 0:00:19.378 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:37 -0400 (0:00:00.085) 0:00:19.463 ********* 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:32:37 -0400 (0:00:00.062) 0:00:19.525 ********* 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:32:38 -0400 (0:00:00.048) 0:00:19.574 ********* 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:32:38 -0400 (0:00:00.050) 0:00:19.625 ********* 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:32:40 -0400 (0:00:02.226) 0:00:21.851 ********* 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:32:41 -0400 (0:00:01.000) 0:00:22.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] *** Saturday 06 July 2024 06:32:41 -0400 (0:00:00.050) 0:00:22.902 ********* 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:32:41 -0400 (0:00:00.094) 0:00:22.997 ********* 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:32:41 -0400 (0:00:00.050) 0:00:23.048 ********* 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:32:41 -0400 (0:00:00.066) 0:00:23.114 ********* 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:32:41 -0400 (0:00:00.052) 0:00:23.167 ********* 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:32:41 -0400 (0:00:00.063) 0:00:23.230 ********* 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:32:41 -0400 (0:00:00.106) 0:00:23.337 ********* 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:32:41 -0400 (0:00:00.051) 0:00:23.389 ********* 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:32:41 -0400 (0:00:00.049) 0:00:23.438 ********* 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:32:41 -0400 (0:00:00.065) 0:00:23.504 ********* 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:32:42 -0400 (0:00:00.643) 0:00:24.147 ********* 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:32:42 -0400 (0:00:00.064) 0:00:24.212 ********* 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:32:42 -0400 (0:00:00.042) 0:00:24.255 ********* 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:32:42 -0400 (0:00:00.046) 0:00:24.301 ********* 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:32:43 -0400 (0:00:00.775) 0:00:25.076 ********* 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:32:43 -0400 (0:00:00.048) 0:00:25.125 ********* 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:32:43 -0400 (0:00:00.049) 0:00:25.175 ********* 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:32:43 -0400 (0:00:00.049) 0:00:25.224 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:32:43 -0400 (0:00:00.088) 0:00:25.313 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:32:44 -0400 (0:00:00.429) 0:00:25.743 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:44 -0400 (0:00:00.104) 0:00:25.847 ********* 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:32:44 -0400 (0:00:00.044) 0:00:25.891 ********* 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:32:44 -0400 (0:00:00.042) 0:00:25.933 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:44 -0400 (0:00:00.080) 0:00:26.014 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:44 -0400 (0:00:00.075) 0:00:26.089 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003294", "end": "2024-07-06 06:32:44.872151", "rc": 0, "start": "2024-07-06 06:32:44.868857" } STDOUT: eth0 lo lsr101 peerlsr101 team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:32:44 -0400 (0:00:00.413) 0:00:26.503 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "lsr101", "peerlsr101", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:32:45 -0400 (0:00:00.047) 0:00:26.550 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'lsr101', 'peerlsr101', 'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:32:45 -0400 (0:00:00.048) 0:00:26.598 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** Saturday 06 July 2024 06:32:46 -0400 (0:00:01.779) 0:00:28.378 ********* 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:32:46 -0400 (0:00:00.057) 0:00:28.436 ********* 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:32:46 -0400 (0:00:00.081) 0:00:28.517 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.007407", "end": "2024-07-06 06:32:47.301418", "rc": 0, "start": "2024-07-06 06:32:47.294011" } TASK [Create dummy interface lsr101] ******************************************* Saturday 06 July 2024 06:32:47 -0400 (0:00:00.429) 0:00:28.946 ********* 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:32:47 -0400 (0:00:00.046) 0:00:28.993 ********* 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:32:47 -0400 (0:00:00.048) 0:00:29.041 ********* 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:32:47 -0400 (0:00:00.047) 0:00:29.089 ********* 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:32:47 -0400 (0:00:00.044) 0:00:29.133 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/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:32:47 -0400 (0:00:00.101) 0:00:29.235 ********* 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.010950", "end": "2024-07-06 06:32:48.029064", "rc": 0, "start": "2024-07-06 06:32:48.018114" } 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 02:af:ee:21:a1:c9 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.45.166/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3558sec preferred_lft 3558sec inet6 fe80::5c0d:af1:1b65:df2b/64 scope link noprefixroute valid_lft forever preferred_lft forever 12: team0: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 16:76:1d:3d:33:47 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.166 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.166 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] ************************************* Saturday 06 July 2024 06:32:48 -0400 (0:00:00.427) 0:00:29.663 ********* 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:32:48 -0400 (0:00:00.135) 0:00:29.798 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.33s fedora.linux_system_roles.network : Check which services are running ---- 2.23s Install iproute --------------------------------------------------------- 1.88s Install iproute --------------------------------------------------------- 1.78s fedora.linux_system_roles.network : Check which packages are installed --- 1.28s Gathering Facts --------------------------------------------------------- 1.26s Create veth interface lsr101 -------------------------------------------- 1.19s fedora.linux_system_roles.network : Check which packages are installed --- 1.00s Gathering Facts --------------------------------------------------------- 0.93s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.91s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.90s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.64s Gather the minimum subset of ansible_facts required by the network role test --- 0.55s fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.53s Check if system is ostree ----------------------------------------------- 0.49s Gather current interface info ------------------------------------------- 0.48s Get NM profile info ----------------------------------------------------- 0.44s Get NM profile info ----------------------------------------------------- 0.43s fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.43s