[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_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:59:49 -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'] ************************************ Monday 22 July 2024 11:59:50 -0400 (0:00:01.262) 0:00:01.270 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/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] *** Monday 22 July 2024 11:59:50 -0400 (0:00:00.020) 0:00:01.291 *********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.548) 0:00:01.839 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.481) 0:00:02.321 *********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.025) 0:00:02.347 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.014) 0:00:02.361 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 39] ********************************************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.031) 0:00:02.392 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.013) 0:00:02.406 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.012) 0:00:02.419 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.013) 0:00:02.432 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.012) 0:00:02.444 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Monday 22 July 2024 11:59:51 -0400 (0:00:00.014) 0:00:02.459 *********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing IPv6 config] ******************************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:59:51 -0400 (0:00:00.031) 0:00:02.490 *********** ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:59:52 -0400 (0:00:00.930) 0:00:03.421 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 11:59:52 -0400 (0:00:00.020) 0:00:03.441 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 11:59:52 -0400 (0:00:00.020) 0:00:03.462 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003504", "end": "2024-07-22 11:59:53.255018", "rc": 0, "start": "2024-07-22 11:59:53.251514" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:59:53 -0400 (0:00:00.492) 0:00:03.954 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:59:53 -0400 (0:00:00.019) 0:00:03.973 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** Monday 22 July 2024 11:59:53 -0400 (0:00:00.020) 0:00:03.994 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Monday 22 July 2024 11:59:53 -0400 (0:00:00.027) 0:00:04.022 *********** 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"]] ********************************* Monday 22 July 2024 11:59:53 -0400 (0:00:00.014) 0:00:04.036 *********** 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'] ********************************** Monday 22 July 2024 11:59:53 -0400 (0:00:00.014) 0:00:04.051 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 11:59:53 -0400 (0:00:00.023) 0:00:04.075 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 11:59:53 -0400 (0:00:00.019) 0:00:04.094 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003790", "end": "2024-07-22 11:59:53.781993", "rc": 0, "start": "2024-07-22 11:59:53.778203" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:59:53 -0400 (0:00:00.390) 0:00:04.484 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:59:53 -0400 (0:00:00.019) 0:00:04.504 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* Monday 22 July 2024 11:59:53 -0400 (0:00:00.018) 0:00:04.522 *********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Monday 22 July 2024 11:59:55 -0400 (0:00:01.939) 0:00:06.461 *********** ok: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.007026", "end": "2024-07-22 11:59:56.149562", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-22 11:59:56.142536" } ok: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005984", "end": "2024-07-22 11:59:56.555649", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-22 11:59:56.549665" } ok: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004099", "end": "2024-07-22 11:59:56.916444", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-22 11:59:56.912345" } TASK [Set up veth as managed by NetworkManager] ******************************** Monday 22 July 2024 11:59:56 -0400 (0:00:01.156) 0:00:07.618 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020594", "end": "2024-07-22 11:59:57.316774", "rc": 0, "start": "2024-07-22 11:59:57.296180" } TASK [Delete veth interface veth0] ********************************************* Monday 22 July 2024 11:59:57 -0400 (0:00:00.403) 0:00:08.022 *********** 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 veth0] ******************************************** Monday 22 July 2024 11:59:57 -0400 (0:00:00.016) 0:00:08.038 *********** 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 veth0] ******************************************** Monday 22 July 2024 11:59:57 -0400 (0:00:00.017) 0:00:08.055 *********** 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 veth0] ********************************************** Monday 22 July 2024 11:59:57 -0400 (0:00:00.015) 0:00:08.071 *********** 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 veth0] ********************************************** Monday 22 July 2024 11:59:57 -0400 (0:00:00.015) 0:00:08.087 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** Monday 22 July 2024 11:59:57 -0400 (0:00:00.014) 0:00:08.101 *********** ok: [managed_node1] => { "changed": false, "cmd": "ip netns add ns1\nip link set peerveth0 netns ns1\nip netns exec ns1 ip -6 addr add 2001:db8::1/32 dev peerveth0\nip netns exec ns1 ip link set peerveth0 up\n", "delta": "0:00:00.024986", "end": "2024-07-22 11:59:57.809704", "rc": 0, "start": "2024-07-22 11:59:57.784718" } TASK [TEST: I can configure an interface with static ipv6 config] ************** Monday 22 July 2024 11:59:57 -0400 (0:00:00.409) 0:00:08.511 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:59:57 -0400 (0:00:00.019) 0:00:08.530 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/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] *** Monday 22 July 2024 11:59:57 -0400 (0:00:00.031) 0:00:08.561 *********** 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] *********** Monday 22 July 2024 11:59:57 -0400 (0:00:00.029) 0:00:08.590 *********** 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] *** Monday 22 July 2024 11:59:57 -0400 (0:00:00.020) 0:00:08.611 *********** 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] **** Monday 22 July 2024 11:59:57 -0400 (0:00:00.021) 0:00:08.632 *********** 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] *** Monday 22 July 2024 12:00:00 -0400 (0:00:02.338) 0:00:10.971 *********** 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] ************** Monday 22 July 2024 12:00:01 -0400 (0:00:01.283) 0:00:12.255 *********** 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] *** Monday 22 July 2024 12:00:01 -0400 (0:00:00.048) 0:00:12.304 *********** 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] *** Monday 22 July 2024 12:00:01 -0400 (0:00:00.046) 0:00:12.350 *********** 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] *** Monday 22 July 2024 12:00:01 -0400 (0:00:00.049) 0:00:12.399 *********** 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] *** Monday 22 July 2024 12:00:01 -0400 (0:00:00.067) 0:00:12.466 *********** 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] *** Monday 22 July 2024 12:00:01 -0400 (0:00:00.051) 0:00:12.517 *********** 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] ******************** Monday 22 July 2024 12:00:01 -0400 (0:00:00.059) 0:00:12.577 *********** 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] *** Monday 22 July 2024 12:00:02 -0400 (0:00:00.163) 0:00:12.741 *********** 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] *** Monday 22 July 2024 12:00:02 -0400 (0:00:00.050) 0:00:12.791 *********** 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] *** Monday 22 July 2024 12:00:02 -0400 (0:00:00.049) 0:00:12.841 *********** 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] ***** Monday 22 July 2024 12:00:02 -0400 (0:00:00.061) 0:00:12.903 *********** 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] ***** Monday 22 July 2024 12:00:03 -0400 (0:00:00.937) 0:00:13.840 *********** 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] ************** Monday 22 July 2024 12:00:03 -0400 (0:00:00.060) 0:00:13.901 *********** 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] *** Monday 22 July 2024 12:00:03 -0400 (0:00:00.040) 0:00:13.942 *********** 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] *** Monday 22 July 2024 12:00:03 -0400 (0:00:00.042) 0:00:13.984 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4a0585e0-2f0c-40b4-ae8c-37ead31f9120 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4a0585e0-2f0c-40b4-ae8c-37ead31f9120 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:00:05 -0400 (0:00:02.302) 0:00:16.287 *********** 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] *** Monday 22 July 2024 12:00:05 -0400 (0:00:00.050) 0:00:16.338 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4a0585e0-2f0c-40b4-ae8c-37ead31f9120", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4a0585e0-2f0c-40b4-ae8c-37ead31f9120 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:00:05 -0400 (0:00:00.047) 0:00:16.385 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "gateway6": "2001:db8::1" }, "name": "veth0", "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, 'veth0': add connection veth0, 4a0585e0-2f0c-40b4-ae8c-37ead31f9120\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4a0585e0-2f0c-40b4-ae8c-37ead31f9120 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4a0585e0-2f0c-40b4-ae8c-37ead31f9120", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4a0585e0-2f0c-40b4-ae8c-37ead31f9120 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:00:05 -0400 (0:00:00.044) 0:00:16.430 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:00:05 -0400 (0:00:00.048) 0:00:16.478 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Monday 22 July 2024 12:00:06 -0400 (0:00:00.531) 0:00:17.010 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/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'] ******************************* Monday 22 July 2024 12:00:06 -0400 (0:00:00.114) 0:00:17.125 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** Monday 22 July 2024 12:00:06 -0400 (0:00:00.070) 0:00:17.195 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721663996.1463528, "block_size": 4096, "blocks": 0, "ctime": 1721663996.1463528, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38923, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1721663996.1463528, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** Monday 22 July 2024 12:00:06 -0400 (0:00:00.410) 0:00:17.605 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Monday 22 July 2024 12:00:07 -0400 (0:00:00.047) 0:00:17.652 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Monday 22 July 2024 12:00:07 -0400 (0:00:00.088) 0:00:17.740 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/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] ************ Monday 22 July 2024 12:00:07 -0400 (0:00:00.078) 0:00:17.819 *********** 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] ******************************************************* Monday 22 July 2024 12:00:07 -0400 (0:00:00.043) 0:00:17.862 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Monday 22 July 2024 12:00:07 -0400 (0:00:00.405) 0:00:18.268 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 12:00:07 -0400 (0:00:00.040) 0:00:18.308 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020393", "end": "2024-07-22 12:00:08.014538", "rc": 0, "start": "2024-07-22 12:00:07.994145" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 12:00:08 -0400 (0:00:00.430) 0:00:18.738 *********** 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-veth0] ************************** Monday 22 July 2024 12:00:08 -0400 (0:00:00.046) 0:00:18.784 *********** 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-veth0] *********************** Monday 22 July 2024 12:00:08 -0400 (0:00:00.043) 0:00:18.828 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Monday 22 July 2024 12:00:08 -0400 (0:00:00.044) 0:00:18.872 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Monday 22 July 2024 12:00:08 -0400 (0:00:00.073) 0:00:18.946 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** Monday 22 July 2024 12:00:08 -0400 (0:00:00.042) 0:00:18.989 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** Monday 22 July 2024 12:00:08 -0400 (0:00:00.047) 0:00:19.037 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Monday 22 July 2024 12:00:08 -0400 (0:00:00.045) 0:00:19.082 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** Monday 22 July 2024 12:00:08 -0400 (0:00:00.044) 0:00:19.127 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.003725", "end": "2024-07-22 12:00:08.812566", "rc": 0, "start": "2024-07-22 12:00:08.808841" } STDOUT: 35: veth0@if34: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 02:2a:a8:74:ab:53 brd ff:ff:ff:ff:ff:ff link-netns ns1 inet6 2001:db8::2/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::3/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::4/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::73ac:e797:c625:6c3c/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ Monday 22 July 2024 12:00:08 -0400 (0:00:00.412) 0:00:19.539 *********** ok: [managed_node1] => { "ip_addr.stdout": "35: veth0@if34: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether 02:2a:a8:74:ab:53 brd ff:ff:ff:ff:ff:ff link-netns ns1\n inet6 2001:db8::2/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::4/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 fe80::73ac:e797:c625:6c3c/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* Monday 22 July 2024 12:00:08 -0400 (0:00:00.046) 0:00:19.585 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Monday 22 July 2024 12:00:08 -0400 (0:00:00.047) 0:00:19.633 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003741", "end": "2024-07-22 12:00:09.315672", "rc": 0, "start": "2024-07-22 12:00:09.311931" } STDOUT: 2001:db8::/32 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Show ipv6_route] ********************************************************* Monday 22 July 2024 12:00:09 -0400 (0:00:00.409) 0:00:20.043 *********** ok: [managed_node1] => { "ipv6_route.stdout": "2001:db8::/32 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 1024 pref medium\nfe80::/64 dev veth0 proto kernel metric 1024 pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium" } TASK [Assert default ipv6 route is set] **************************************** Monday 22 July 2024 12:00:09 -0400 (0:00:00.043) 0:00:20.087 *********** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: "default via 2001:db8::1 dev {{ interface }}" in ipv6_route.stdout ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Ensure ping6 command is present] ***************************************** Monday 22 July 2024 12:00:09 -0400 (0:00:00.046) 0:00:20.133 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Test gateway can be pinged] ********************************************** Monday 22 July 2024 12:00:11 -0400 (0:00:01.908) 0:00:22.042 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.129571", "end": "2024-07-22 12:00:11.859198", "rc": 0, "start": "2024-07-22 12:00:11.729627" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.081 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.081/0.081/0.081/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** Monday 22 July 2024 12:00:11 -0400 (0:00:00.540) 0:00:22.582 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 12:00:11 -0400 (0:00:00.045) 0:00:22.627 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/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] *** Monday 22 July 2024 12:00:12 -0400 (0:00:00.078) 0:00:22.706 *********** 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] *********** Monday 22 July 2024 12:00:12 -0400 (0:00:00.058) 0:00:22.764 *********** 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] *** Monday 22 July 2024 12:00:12 -0400 (0:00:00.081) 0:00:22.846 *********** 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] **** Monday 22 July 2024 12:00:12 -0400 (0:00:00.050) 0:00:22.896 *********** 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] *** Monday 22 July 2024 12:00:14 -0400 (0:00:02.353) 0:00:25.250 *********** 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] ************** Monday 22 July 2024 12:00:15 -0400 (0:00:01.004) 0:00:26.254 *********** 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] *** Monday 22 July 2024 12:00:15 -0400 (0:00:00.047) 0:00:26.302 *********** 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] *** Monday 22 July 2024 12:00:15 -0400 (0:00:00.048) 0:00:26.350 *********** 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] *** Monday 22 July 2024 12:00:15 -0400 (0:00:00.044) 0:00:26.395 *********** 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] *** Monday 22 July 2024 12:00:15 -0400 (0:00:00.061) 0:00:26.457 *********** 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] *** Monday 22 July 2024 12:00:15 -0400 (0:00:00.049) 0:00:26.506 *********** 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] ******************** Monday 22 July 2024 12:00:15 -0400 (0:00:00.060) 0:00:26.566 *********** 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] *** Monday 22 July 2024 12:00:16 -0400 (0:00:00.099) 0:00:26.666 *********** 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] *** Monday 22 July 2024 12:00:16 -0400 (0:00:00.046) 0:00:26.713 *********** 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] *** Monday 22 July 2024 12:00:16 -0400 (0:00:00.046) 0:00:26.759 *********** 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] ***** Monday 22 July 2024 12:00:16 -0400 (0:00:00.094) 0:00:26.854 *********** 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] ***** Monday 22 July 2024 12:00:16 -0400 (0:00:00.643) 0:00:27.497 *********** 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] ************** Monday 22 July 2024 12:00:16 -0400 (0:00:00.058) 0:00:27.556 *********** 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] *** Monday 22 July 2024 12:00:16 -0400 (0:00:00.042) 0:00:27.598 *********** 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] *** Monday 22 July 2024 12:00:16 -0400 (0:00:00.039) 0:00:27.638 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 12:00:17 -0400 (0:00:00.711) 0:00:28.350 *********** 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] *** Monday 22 July 2024 12:00:17 -0400 (0:00:00.047) 0:00:28.398 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 12:00:17 -0400 (0:00:00.047) 0:00:28.445 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 12:00:17 -0400 (0:00:00.047) 0:00:28.493 *********** skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 12:00:17 -0400 (0:00:00.047) 0:00:28.540 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Monday 22 July 2024 12:00:18 -0400 (0:00:00.420) 0:00:28.961 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Monday 22 July 2024 12:00:18 -0400 (0:00:00.093) 0:00:29.055 *********** 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"]] ********************************* Monday 22 July 2024 12:00:18 -0400 (0:00:00.042) 0:00:29.097 *********** 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'] ********************************** Monday 22 July 2024 12:00:18 -0400 (0:00:00.043) 0:00:29.141 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Monday 22 July 2024 12:00:18 -0400 (0:00:00.104) 0:00:29.245 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Monday 22 July 2024 12:00:18 -0400 (0:00:00.071) 0:00:29.316 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003510", "end": "2024-07-22 12:00:19.002440", "rc": 0, "start": "2024-07-22 12:00:18.998930" } STDOUT: bonding_masters eth0 lo veth0 TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 12:00:19 -0400 (0:00:00.411) 0:00:29.728 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 12:00:19 -0400 (0:00:00.047) 0:00:29.775 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'veth0'] TASK [Install iproute] ********************************************************* Monday 22 July 2024 12:00:19 -0400 (0:00:00.044) 0:00:29.820 *********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Monday 22 July 2024 12:00:21 -0400 (0:00:01.846) 0:00:31.667 *********** skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** Monday 22 July 2024 12:00:21 -0400 (0:00:00.056) 0:00:31.723 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Monday 22 July 2024 12:00:21 -0400 (0:00:00.041) 0:00:31.764 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020704", "end": "2024-07-22 12:00:21.469504", "rc": 0, "start": "2024-07-22 12:00:21.448800" } TASK [Create dummy interface veth0] ******************************************** Monday 22 July 2024 12:00:21 -0400 (0:00:00.429) 0:00:32.194 *********** 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 veth0] ******************************************** Monday 22 July 2024 12:00:21 -0400 (0:00:00.042) 0:00:32.237 *********** 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 veth0] ********************************************** Monday 22 July 2024 12:00:21 -0400 (0:00:00.042) 0:00:32.279 *********** 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 veth0] ********************************************** Monday 22 July 2024 12:00:21 -0400 (0:00:00.041) 0:00:32.321 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** Monday 22 July 2024 12:00:21 -0400 (0:00:00.042) 0:00:32.363 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.005453", "end": "2024-07-22 12:00:22.055767", "rc": 0, "start": "2024-07-22 12:00:22.050314" } TASK [Verify network state restored to default] ******************************** Monday 22 July 2024 12:00:22 -0400 (0:00:00.418) 0:00:32.781 *********** included: /var/ARTIFACTS/work-generali6nr_7j2/plans/general/tree/tmp.Z5jp54sAt2/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Monday 22 July 2024 12:00:22 -0400 (0:00:00.125) 0:00:32.906 *********** 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.009103", "end": "2024-07-22 12:00:22.595818", "rc": 0, "start": "2024-07-22 12:00:22.586715" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:c3:09:7b:95 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.15.17/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3554sec preferred_lft 3554sec inet6 fe80::3971:375d:1b91:1ac7/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.17 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.17 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] ************************************* Monday 22 July 2024 12:00:22 -0400 (0:00:00.415) 0:00:33.322 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=75 changed=2 unreachable=0 failed=0 skipped=61 rescued=0 ignored=0 Monday 22 July 2024 12:00:22 -0400 (0:00:00.130) 0:00:33.453 *********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.35s fedora.linux_system_roles.network : Check which services are running ---- 2.34s fedora.linux_system_roles.network : Configure networking connection profiles --- 2.30s Install iproute --------------------------------------------------------- 1.94s Ensure ping6 command is present ----------------------------------------- 1.91s Install iproute --------------------------------------------------------- 1.85s fedora.linux_system_roles.network : Check which packages are installed --- 1.28s Gathering Facts --------------------------------------------------------- 1.26s Create veth interface veth0 --------------------------------------------- 1.16s fedora.linux_system_roles.network : Check which packages are installed --- 1.00s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.94s Gathering Facts --------------------------------------------------------- 0.93s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.71s 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 Test gateway can be pinged ---------------------------------------------- 0.54s fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.53s Gather current interface info ------------------------------------------- 0.49s Check if system is ostree ----------------------------------------------- 0.48s Get NM profile info ----------------------------------------------------- 0.43s