[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_ignore_auto_dns.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:32:50 -0400 (0:00:00.011) 0:00:00.011 ********* [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:51 -0400 (0:00:01.270) 0:00:01.281 ********* 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:51 -0400 (0:00:00.022) 0:00:01.304 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:32:52 -0400 (0:00:00.546) 0:00:01.851 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:32:52 -0400 (0:00:00.479) 0:00:02.330 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:32:52 -0400 (0:00:00.025) 0:00:02.356 ********* 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:52 -0400 (0:00:00.014) 0:00:02.371 ********* 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:52 -0400 (0:00:00.033) 0:00:02.405 ********* 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:52 -0400 (0:00:00.015) 0:00:02.420 ********* 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:52 -0400 (0:00:00.014) 0:00:02.434 ********* 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:52 -0400 (0:00:00.014) 0:00:02.449 ********* 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:52 -0400 (0:00:00.015) 0:00:02.464 ********* 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:52 -0400 (0:00:00.014) 0:00:02.478 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test ipv4_ignore_auto_dns and ipv6_ignore_auto_dns settings] ************* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:32:53 -0400 (0:00:00.032) 0:00:02.511 ********* ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:32:53 -0400 (0:00:00.931) 0:00:03.442 ********* 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:53 -0400 (0:00:00.021) 0:00:03.463 ********* 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:54 -0400 (0:00:00.025) 0:00:03.489 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003235", "end": "2024-07-06 06:32:54.431134", "rc": 0, "start": "2024-07-06 06:32:54.427899" } STDOUT: eth0 lo team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:32:54 -0400 (0:00:00.486) 0:00:03.976 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:32:54 -0400 (0:00:00.020) 0:00:03.996 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:32:54 -0400 (0:00:00.019) 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:54 -0400 (0:00:00.029) 0:00:04.045 ********* 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:54 -0400 (0:00:00.015) 0:00:04.061 ********* 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:54 -0400 (0:00:00.014) 0:00:04.075 ********* 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:54 -0400 (0:00:00.023) 0:00:04.099 ********* 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:54 -0400 (0:00:00.019) 0:00:04.119 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003327", "end": "2024-07-06 06:32:54.954406", "rc": 0, "start": "2024-07-06 06:32:54.951079" } STDOUT: eth0 lo team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:32:55 -0400 (0:00:00.381) 0:00:04.500 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:32:55 -0400 (0:00:00.019) 0:00:04.520 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:32:55 -0400 (0:00:00.021) 0:00:04.541 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** Saturday 06 July 2024 06:32:56 -0400 (0:00:01.880) 0:00:06.422 ********* ok: [managed_node1] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.011160", "end": "2024-07-06 06:32:57.272387", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-07-06 06:32:57.261227" } ok: [managed_node1] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003966", "end": "2024-07-06 06:32:57.696828", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-07-06 06:32:57.692862" } ok: [managed_node1] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003570", "end": "2024-07-06 06:32:58.068304", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-07-06 06:32:58.064734" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:32:58 -0400 (0:00:01.190) 0:00:07.612 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.025235", "end": "2024-07-06 06:32:58.472706", "rc": 0, "start": "2024-07-06 06:32:58.447471" } TASK [Delete veth interface ethtest0] ****************************************** Saturday 06 July 2024 06:32:58 -0400 (0:00:00.404) 0:00:08.017 ********* 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 ethtest0] ***************************************** Saturday 06 July 2024 06:32:58 -0400 (0:00:00.016) 0:00:08.034 ********* 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 ethtest0] ***************************************** Saturday 06 July 2024 06:32:58 -0400 (0:00:00.018) 0:00:08.052 ********* 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 ethtest0] ******************************************* Saturday 06 July 2024 06:32:58 -0400 (0:00:00.016) 0:00:08.069 ********* 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 ethtest0] ******************************************* Saturday 06 July 2024 06:32:58 -0400 (0:00:00.016) 0:00:08.086 ********* 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:58 -0400 (0:00:00.018) 0:00:08.104 ********* 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:58 -0400 (0:00:00.023) 0:00:08.128 ********* 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 ethtest0] ***************************************** Saturday 06 July 2024 06:32:58 -0400 (0:00:00.022) 0:00:08.150 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720261977.2669048, "block_size": 4096, "blocks": 0, "ctime": 1720261977.2669048, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35368, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1720261977.2669048, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** Saturday 06 July 2024 06:32:59 -0400 (0:00:00.381) 0:00:08.532 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:32:59 -0400 (0:00:00.022) 0:00:08.554 ********* 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:59 -0400 (0:00:00.035) 0:00:08.590 ********* 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:59 -0400 (0:00:00.026) 0:00:08.616 ********* 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:59 -0400 (0:00:00.021) 0:00:08.638 ********* 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:59 -0400 (0:00:00.024) 0:00:08.663 ********* 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:33:01 -0400 (0:00:02.366) 0:00:11.029 ********* 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:33:02 -0400 (0:00:01.294) 0:00:12.324 ********* 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:33:02 -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:33:02 -0400 (0:00:00.046) 0:00:12.417 ********* 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:33:02 -0400 (0:00:00.048) 0:00:12.465 ********* 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:33:03 -0400 (0:00:00.063) 0:00:12.529 ********* 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:33:03 -0400 (0:00:00.052) 0:00:12.581 ********* 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:33:03 -0400 (0:00:00.093) 0:00:12.675 ********* 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:33:03 -0400 (0:00:00.099) 0:00:12.774 ********* 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:33:03 -0400 (0:00:00.052) 0:00:12.826 ********* 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:33:03 -0400 (0:00:00.053) 0:00:12.879 ********* 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:33:03 -0400 (0:00:00.062) 0:00:12.942 ********* 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:33:04 -0400 (0:00:00.903) 0:00:13.845 ********* 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:33:04 -0400 (0:00:00.064) 0:00:13.910 ********* 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:33:04 -0400 (0:00:00.043) 0:00:13.953 ********* 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:33:04 -0400 (0:00:00.044) 0:00:13.998 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24" ], "auto6": true, "ipv4_ignore_auto_dns": false, "ipv6_ignore_auto_dns": true }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 9d8e1f3a-a220-464b-88b8-27038111c81a [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 9d8e1f3a-a220-464b-88b8-27038111c81a (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:33:05 -0400 (0:00:00.856) 0:00:14.854 ********* 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:33:05 -0400 (0:00:00.047) 0:00:14.902 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 9d8e1f3a-a220-464b-88b8-27038111c81a", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 9d8e1f3a-a220-464b-88b8-27038111c81a (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:33:05 -0400 (0:00:00.050) 0:00:14.952 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24" ], "auto6": true, "ipv4_ignore_auto_dns": false, "ipv6_ignore_auto_dns": true }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 9d8e1f3a-a220-464b-88b8-27038111c81a\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 9d8e1f3a-a220-464b-88b8-27038111c81a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 9d8e1f3a-a220-464b-88b8-27038111c81a", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 9d8e1f3a-a220-464b-88b8-27038111c81a (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:33:05 -0400 (0:00:00.050) 0:00:15.002 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:33:05 -0400 (0:00:00.047) 0:00:15.050 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get the nmcli ipv4.ignore-auto-dns setting] ****************************** Saturday 06 July 2024 06:33:06 -0400 (0:00:00.539) 0:00:15.590 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.ignore-auto-dns", "c", "show", "ethtest0" ], "delta": "0:00:00.022487", "end": "2024-07-06 06:33:06.447227", "rc": 0, "start": "2024-07-06 06:33:06.424740" } STDOUT: ipv4.ignore-auto-dns: no TASK [Get the nmcli ipv6.ignore-auto-dns setting] ****************************** Saturday 06 July 2024 06:33:06 -0400 (0:00:00.428) 0:00:16.018 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.ignore-auto-dns", "c", "show", "ethtest0" ], "delta": "0:00:00.021251", "end": "2024-07-06 06:33:06.878072", "rc": 0, "start": "2024-07-06 06:33:06.856821" } STDOUT: ipv6.ignore-auto-dns: yes TASK [Assert that the setting ipv4.ignore-auto-dns is 'no'] ******************** Saturday 06 July 2024 06:33:06 -0400 (0:00:00.467) 0:00:16.485 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the setting ipv6.ignore-auto-dns is 'yes'] ******************* Saturday 06 July 2024 06:33:07 -0400 (0:00:00.049) 0:00:16.535 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Bring down test devices and profiles] ************************************ Saturday 06 July 2024 06:33:07 -0400 (0:00:00.048) 0:00:16.583 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:33:07 -0400 (0:00:00.096) 0:00:16.680 ********* 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:33:07 -0400 (0:00:00.088) 0:00:16.768 ********* 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:33:07 -0400 (0:00:00.058) 0:00:16.827 ********* 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:33:07 -0400 (0:00:00.050) 0:00:16.877 ********* 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:33:07 -0400 (0:00:00.051) 0:00:16.928 ********* 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:33:09 -0400 (0:00:02.212) 0:00:19.141 ********* 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:33:10 -0400 (0:00:00.992) 0:00:20.133 ********* 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:33:10 -0400 (0:00:00.049) 0:00:20.182 ********* 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:33:10 -0400 (0:00:00.084) 0:00:20.267 ********* 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:33:10 -0400 (0:00:00.050) 0:00:20.318 ********* 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:33:10 -0400 (0:00:00.065) 0:00:20.383 ********* 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:33:10 -0400 (0:00:00.050) 0:00:20.434 ********* 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:33:11 -0400 (0:00:00.063) 0:00:20.498 ********* 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:33:11 -0400 (0:00:00.098) 0:00:20.597 ********* 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:33:11 -0400 (0:00:00.048) 0:00:20.645 ********* 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:33:11 -0400 (0:00:00.048) 0:00:20.694 ********* 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:33:11 -0400 (0:00:00.064) 0:00:20.758 ********* 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:33:11 -0400 (0:00:00.644) 0:00:21.402 ********* 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:33:11 -0400 (0:00:00.066) 0:00:21.468 ********* 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:33:12 -0400 (0:00:00.044) 0:00:21.513 ********* 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:33:12 -0400 (0:00:00.043) 0:00:21.556 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "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:33:12 -0400 (0:00:00.691) 0:00:22.248 ********* 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:33:12 -0400 (0:00:00.049) 0:00:22.298 ********* 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:33:12 -0400 (0:00:00.049) 0:00:22.347 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "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:33:12 -0400 (0:00:00.087) 0:00:22.435 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:33:12 -0400 (0:00:00.052) 0:00:22.487 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Delete interface - 'ethtest0'] ******************************************* Saturday 06 July 2024 06:33:13 -0400 (0:00:00.434) 0:00:22.922 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node1 TASK [Remove test interface if necessary] ************************************** Saturday 06 July 2024 06:33:13 -0400 (0:00:00.083) 0:00:23.005 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.009271", "end": "2024-07-06 06:33:13.850029", "rc": 0, "start": "2024-07-06 06:33:13.840758" } TASK [Include the task 'assert_device_absent.yml'] ***************************** Saturday 06 July 2024 06:33:13 -0400 (0:00:00.422) 0:00:23.428 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:33:14 -0400 (0:00:00.082) 0:00:23.511 ********* 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 ethtest0] ***************************************** Saturday 06 July 2024 06:33:14 -0400 (0:00:00.076) 0:00:23.588 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ Saturday 06 July 2024 06:33:14 -0400 (0:00:00.409) 0:00:23.997 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_absent.yml'] **************************** Saturday 06 July 2024 06:33:14 -0400 (0:00:00.048) 0:00:24.046 ********* included: /var/ARTIFACTS/work-general_smz2p_w/plans/general/tree/tmp.YdqdIfIgog/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:33:14 -0400 (0:00:00.085) 0:00:24.132 ********* 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:33:14 -0400 (0:00:00.118) 0:00:24.250 ********* 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:33:14 -0400 (0:00:00.046) 0:00:24.297 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:33:15 -0400 (0:00:00.402) 0:00:24.699 ********* 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:33:15 -0400 (0:00:00.046) 0:00:24.746 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.019520", "end": "2024-07-06 06:33:15.604368", "rc": 1, "start": "2024-07-06 06:33:15.584848" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:33:15 -0400 (0:00:00.428) 0:00:25.175 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** Saturday 06 July 2024 06:33:15 -0400 (0:00:00.045) 0:00:25.220 ********* 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-ethtest0] ******************** Saturday 06 July 2024 06:33:15 -0400 (0:00:00.047) 0:00:25.267 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** Saturday 06 July 2024 06:33:15 -0400 (0:00:00.044) 0:00:25.312 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ Saturday 06 July 2024 06:33:15 -0400 (0:00:00.045) 0:00:25.357 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** Saturday 06 July 2024 06:33:15 -0400 (0:00:00.045) 0:00:25.403 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 06:33:15 -0400 (0:00:00.050) 0:00:25.453 ********* 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:33:16 -0400 (0:00:00.082) 0:00:25.536 ********* 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.008901", "end": "2024-07-06 06:33:16.379304", "rc": 0, "start": "2024-07-06 06:33:16.370403" } 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 3530sec preferred_lft 3530sec 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:33:16 -0400 (0:00:00.416) 0:00:25.952 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=63 changed=2 unreachable=0 failed=0 skipped=54 rescued=0 ignored=1 Saturday 06 July 2024 06:33:16 -0400 (0:00:00.176) 0:00:26.128 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.37s fedora.linux_system_roles.network : Check which services are running ---- 2.21s Install iproute --------------------------------------------------------- 1.88s fedora.linux_system_roles.network : Check which packages are installed --- 1.29s Gathering Facts --------------------------------------------------------- 1.27s Create veth interface ethtest0 ------------------------------------------ 1.19s fedora.linux_system_roles.network : Check which packages are installed --- 0.99s Gathering Facts --------------------------------------------------------- 0.93s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.90s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.86s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s 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.54s Gather current interface info ------------------------------------------- 0.49s Check if system is ostree ----------------------------------------------- 0.48s Get the nmcli ipv6.ignore-auto-dns setting ------------------------------ 0.47s fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.43s Get NM profile info ----------------------------------------------------- 0.43s Get the nmcli ipv4.ignore-auto-dns setting ------------------------------ 0.43s