No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:04:04 -0400 (0:00:00.019) 0:00:00.019 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 06:04:05 -0400 (0:00:00.905) 0:00:00.924 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:05 -0400 (0:00:00.020) 0:00:00.945 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:04:05 -0400 (0:00:00.486) 0:00:01.432 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:04:06 -0400 (0:00:00.427) 0:00:01.859 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:04:06 -0400 (0:00:00.033) 0:00:01.892 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 06:04:06 -0400 (0:00:00.030) 0:00:01.923 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Saturday 06 July 2024 06:04:06 -0400 (0:00:00.052) 0:00:01.975 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 06:04:06 -0400 (0:00:00.418) 0:00:02.394 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 06:04:06 -0400 (0:00:00.018) 0:00:02.412 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 06:04:06 -0400 (0:00:00.017) 0:00:02.430 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247342", "end": "2024-07-06 06:04:07.358270", "rc": 0, "start": "2024-07-06 06:04:07.110928" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 06:04:07 -0400 (0:00:00.590) 0:00:03.021 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Saturday 06 July 2024 06:04:07 -0400 (0:00:00.016) 0:00:03.038 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:04:07 -0400 (0:00:00.019) 0:00:03.057 ********* ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:04:08 -0400 (0:00:00.639) 0:00:03.696 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:08 -0400 (0:00:00.042) 0:00:03.739 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:08 -0400 (0:00:00.022) 0:00:03.762 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003025", "end": "2024-07-06 06:04:08.444634", "rc": 0, "start": "2024-07-06 06:04:08.441609" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:04:08 -0400 (0:00:00.343) 0:00:04.105 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:04:08 -0400 (0:00:00.020) 0:00:04.125 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:04:08 -0400 (0:00:00.018) 0:00:04.143 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:08 -0400 (0:00:00.051) 0:00:04.195 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:04:08 -0400 (0:00:00.017) 0:00:04.212 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:04:08 -0400 (0:00:00.016) 0:00:04.229 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:08 -0400 (0:00:00.022) 0:00:04.251 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:08 -0400 (0:00:00.022) 0:00:04.274 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004144", "end": "2024-07-06 06:04:09.955413", "rc": 0, "start": "2024-07-06 06:04:08.951269" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:04:10 -0400 (0:00:01.344) 0:00:05.618 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:04:10 -0400 (0:00:00.019) 0:00:05.638 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:04:10 -0400 (0:00:00.018) 0:00:05.657 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:04:12 -0400 (0:00:02.954) 0:00:08.611 ********* 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.012773", "end": "2024-07-06 06:04:13.311571", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-06 06:04:13.298798" } 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.003532", "end": "2024-07-06 06:04:13.681467", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-06 06:04:13.677935" } 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.003608", "end": "2024-07-06 06:04:14.015510", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-06 06:04:14.011902" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:04:14 -0400 (0:00:01.066) 0:00:09.678 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022379", "end": "2024-07-06 06:04:14.382697", "rc": 0, "start": "2024-07-06 06:04:14.360318" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:04:14 -0400 (0:00:00.367) 0:00:10.046 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:04:14 -0400 (0:00:00.019) 0:00:10.065 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:04:14 -0400 (0:00:00.018) 0:00:10.083 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:04:14 -0400 (0:00:00.019) 0:00:10.103 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:04:14 -0400 (0:00:00.018) 0:00:10.122 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:04:14 -0400 (0:00:00.017) 0:00:10.139 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:14 -0400 (0:00:00.047) 0:00:10.186 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** Saturday 06 July 2024 06:04:14 -0400 (0:00:00.023) 0:00:10.210 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720260253.301979, "block_size": 4096, "blocks": 0, "ctime": 1720260253.301979, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25972, "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": 1720260253.301979, "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'] ************************** Saturday 06 July 2024 06:04:14 -0400 (0:00:00.345) 0:00:10.556 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ Saturday 06 July 2024 06:04:14 -0400 (0:00:00.021) 0:00:10.577 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:04:14 -0400 (0:00:00.017) 0:00:10.595 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:15 -0400 (0:00:00.030) 0:00:10.625 ********* 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:04:15 -0400 (0:00:00.018) 0:00:10.644 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:04:15 -0400 (0:00:00.016) 0:00:10.661 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:04:15 -0400 (0:00:00.016) 0:00:10.678 ********* 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:04:16 -0400 (0:00:01.705) 0:00:12.383 ********* 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:04:18 -0400 (0:00:01.725) 0:00:14.109 ********* 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:04:18 -0400 (0:00:00.037) 0:00:14.146 ********* skipping: [managed_node1] => { "changed": false, "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:04:18 -0400 (0:00:00.035) 0:00:14.182 ********* skipping: [managed_node1] => { "changed": false, "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:04:18 -0400 (0:00:00.033) 0:00:14.216 ********* skipping: [managed_node1] => { "changed": false, "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:04:18 -0400 (0:00:00.043) 0:00:14.259 ********* skipping: [managed_node1] => { "changed": false, "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:04:18 -0400 (0:00:00.034) 0:00:14.294 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:04:18 -0400 (0:00:00.039) 0:00:14.333 ********* skipping: [managed_node1] => { "changed": false, "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:04:18 -0400 (0:00:00.072) 0:00:14.406 ********* skipping: [managed_node1] => { "changed": false, "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:04:18 -0400 (0:00:00.034) 0:00:14.441 ********* skipping: [managed_node1] => { "changed": false, "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:04:18 -0400 (0:00:00.033) 0:00:14.474 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:04:18 -0400 (0:00:00.041) 0:00:14.516 ********* 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:04:19 -0400 (0:00:00.728) 0:00:15.244 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:04:19 -0400 (0:00:00.042) 0:00:15.286 ********* 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:04:19 -0400 (0:00:00.063) 0:00:15.349 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:04:19 -0400 (0:00:00.035) 0:00:15.385 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "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, 7f18516f-e55b-4a9b-a6e8-24152b0030e9 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7f18516f-e55b-4a9b-a6e8-24152b0030e9 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:04:20 -0400 (0:00:00.773) 0:00:16.159 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:04:20 -0400 (0:00:00.035) 0:00:16.194 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7f18516f-e55b-4a9b-a6e8-24152b0030e9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7f18516f-e55b-4a9b-a6e8-24152b0030e9 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:04:20 -0400 (0:00:00.037) 0:00:16.231 ********* 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/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "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, 7f18516f-e55b-4a9b-a6e8-24152b0030e9\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7f18516f-e55b-4a9b-a6e8-24152b0030e9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7f18516f-e55b-4a9b-a6e8-24152b0030e9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7f18516f-e55b-4a9b-a6e8-24152b0030e9 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:04:20 -0400 (0:00:00.037) 0:00:16.269 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:04:20 -0400 (0:00:00.034) 0:00:16.304 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:04:21 -0400 (0:00:00.474) 0:00:16.779 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:21 -0400 (0:00:00.082) 0:00:16.861 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** Saturday 06 July 2024 06:04:21 -0400 (0:00:00.055) 0:00:16.917 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720260253.301979, "block_size": 4096, "blocks": 0, "ctime": 1720260253.301979, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25972, "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": 1720260253.301979, "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'] ************************** Saturday 06 July 2024 06:04:21 -0400 (0:00:00.368) 0:00:17.285 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 06:04:21 -0400 (0:00:00.038) 0:00:17.323 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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'] ********************************* Saturday 06 July 2024 06:04:21 -0400 (0:00:00.084) 0:00:17.408 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:21 -0400 (0:00:00.061) 0:00:17.469 ********* 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:04:21 -0400 (0:00:00.036) 0:00:17.505 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720260260.447401, "block_size": 4096, "blocks": 8, "ctime": 1720260260.406401, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720260260.406401, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.361) 0:00:17.867 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.038) 0:00:17.906 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020399", "end": "2024-07-06 06:04:22.607633", "rc": 0, "start": "2024-07-06 06:04:22.587234" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.381) 0:00:18.287 ********* 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] ************************** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.039) 0:00:18.327 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.038) 0:00:18.366 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.073) 0:00:18.439 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.040) 0:00:18.479 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.039) 0:00:18.519 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.041) 0:00:18.560 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Saturday 06 July 2024 06:04:22 -0400 (0:00:00.040) 0:00:18.601 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** Saturday 06 July 2024 06:04:23 -0400 (0:00:00.038) 0:00:18.639 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003165", "end": "2024-07-06 06:04:23.324987", "rc": 0, "start": "2024-07-06 06:04:23.321822" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.209 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.209 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ Saturday 06 July 2024 06:04:23 -0400 (0:00:00.364) 0:00:19.003 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Saturday 06 July 2024 06:04:23 -0400 (0:00:00.038) 0:00:19.042 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003274", "end": "2024-07-06 06:04:23.726704", "rc": 0, "start": "2024-07-06 06:04:23.723430" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 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 [Assert default ipv6 route is present] ************************************ Saturday 06 July 2024 06:04:23 -0400 (0:00:00.363) 0:00:19.406 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** Saturday 06 July 2024 06:04:23 -0400 (0:00:00.040) 0:00:19.446 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:04:23 -0400 (0:00:00.035) 0:00:19.482 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:23 -0400 (0:00:00.065) 0:00:19.547 ********* 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:04:23 -0400 (0:00:00.043) 0:00:19.591 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:04:24 -0400 (0:00:00.070) 0:00:19.661 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:04:24 -0400 (0:00:00.037) 0:00:19.699 ********* 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:04:25 -0400 (0:00:01.591) 0:00:21.291 ********* 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:04:27 -0400 (0:00:01.525) 0:00:22.816 ********* 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:04:27 -0400 (0:00:00.037) 0:00:22.853 ********* skipping: [managed_node1] => { "changed": false, "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:04:27 -0400 (0:00:00.035) 0:00:22.889 ********* skipping: [managed_node1] => { "changed": false, "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:04:27 -0400 (0:00:00.035) 0:00:22.924 ********* skipping: [managed_node1] => { "changed": false, "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:04:27 -0400 (0:00:00.046) 0:00:22.971 ********* skipping: [managed_node1] => { "changed": false, "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:04:27 -0400 (0:00:00.035) 0:00:23.006 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:04:27 -0400 (0:00:00.040) 0:00:23.047 ********* skipping: [managed_node1] => { "changed": false, "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:04:27 -0400 (0:00:00.074) 0:00:23.121 ********* skipping: [managed_node1] => { "changed": false, "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:04:27 -0400 (0:00:00.035) 0:00:23.157 ********* skipping: [managed_node1] => { "changed": false, "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:04:27 -0400 (0:00:00.036) 0:00:23.193 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:04:27 -0400 (0:00:00.040) 0:00:23.234 ********* 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:04:28 -0400 (0:00:00.525) 0:00:23.759 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:04:28 -0400 (0:00:00.041) 0:00:23.800 ********* 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:04:28 -0400 (0:00:00.034) 0:00:23.834 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:04:28 -0400 (0:00:00.034) 0:00:23.869 ********* 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] ********** Saturday 06 July 2024 06:04:28 -0400 (0:00:00.627) 0:00:24.496 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:04:28 -0400 (0:00:00.035) 0:00:24.532 ********* 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:04:28 -0400 (0:00:00.036) 0:00:24.568 ********* 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] *** Saturday 06 July 2024 06:04:28 -0400 (0:00:00.038) 0:00:24.607 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:04:29 -0400 (0:00:00.035) 0:00:24.642 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:04:29 -0400 (0:00:00.350) 0:00:24.992 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:29 -0400 (0:00:00.088) 0:00:25.081 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:04:29 -0400 (0:00:00.035) 0:00:25.116 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:04:29 -0400 (0:00:00.034) 0:00:25.151 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:29 -0400 (0:00:00.055) 0:00:25.206 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:29 -0400 (0:00:00.090) 0:00:25.297 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002731", "end": "2024-07-06 06:04:29.980623", "rc": 0, "start": "2024-07-06 06:04:29.977892" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:04:30 -0400 (0:00:00.362) 0:00:25.660 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:04:30 -0400 (0:00:00.037) 0:00:25.697 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:04:30 -0400 (0:00:00.038) 0:00:25.736 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:04:32 -0400 (0:00:02.737) 0:00:28.473 ********* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:04:32 -0400 (0:00:00.051) 0:00:28.525 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:04:32 -0400 (0:00:00.065) 0:00:28.590 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009457", "end": "2024-07-06 06:04:33.287717", "rc": 0, "start": "2024-07-06 06:04:33.278260" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:04:33 -0400 (0:00:00.380) 0:00:28.971 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:04:33 -0400 (0:00:00.038) 0:00:29.009 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:04:33 -0400 (0:00:00.038) 0:00:29.047 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:04:33 -0400 (0:00:00.036) 0:00:29.084 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** Saturday 06 July 2024 06:04:33 -0400 (0:00:00.036) 0:00:29.120 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:04:33 -0400 (0:00:00.035) 0:00:29.156 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:33 -0400 (0:00:00.089) 0:00:29.245 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:04:33 -0400 (0:00:00.034) 0:00:29.279 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:04:33 -0400 (0:00:00.034) 0:00:29.314 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:33 -0400 (0:00:00.056) 0:00:29.370 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:33 -0400 (0:00:00.055) 0:00:29.425 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003122", "end": "2024-07-06 06:04:34.120724", "rc": 0, "start": "2024-07-06 06:04:34.117602" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:04:34 -0400 (0:00:00.373) 0:00:29.798 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:04:34 -0400 (0:00:00.036) 0:00:29.835 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:04:34 -0400 (0:00:00.036) 0:00:29.871 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:04:37 -0400 (0:00:02.845) 0:00:32.717 ********* 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.011219", "end": "2024-07-06 06:04:37.416210", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-06 06:04:37.404991" } 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.003386", "end": "2024-07-06 06:04:37.791322", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-06 06:04:37.787936" } 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.003593", "end": "2024-07-06 06:04:38.122690", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-06 06:04:38.119097" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:04:38 -0400 (0:00:01.084) 0:00:33.802 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021958", "end": "2024-07-06 06:04:38.504444", "rc": 0, "start": "2024-07-06 06:04:38.482486" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:04:38 -0400 (0:00:00.382) 0:00:34.184 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:04:38 -0400 (0:00:00.036) 0:00:34.221 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:04:38 -0400 (0:00:00.038) 0:00:34.260 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:04:38 -0400 (0:00:00.071) 0:00:34.331 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:04:38 -0400 (0:00:00.038) 0:00:34.369 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:04:38 -0400 (0:00:00.037) 0:00:34.407 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:38 -0400 (0:00:00.065) 0:00:34.472 ********* 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:04:38 -0400 (0:00:00.043) 0:00:34.516 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:04:38 -0400 (0:00:00.035) 0:00:34.552 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:04:38 -0400 (0:00:00.033) 0:00:34.586 ********* 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:04:40 -0400 (0:00:01.605) 0:00:36.191 ********* 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:04:42 -0400 (0:00:01.531) 0:00:37.723 ********* 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:04:42 -0400 (0:00:00.037) 0:00:37.760 ********* skipping: [managed_node1] => { "changed": false, "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:04:42 -0400 (0:00:00.034) 0:00:37.795 ********* skipping: [managed_node1] => { "changed": false, "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:04:42 -0400 (0:00:00.034) 0:00:37.829 ********* skipping: [managed_node1] => { "changed": false, "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:04:42 -0400 (0:00:00.045) 0:00:37.874 ********* skipping: [managed_node1] => { "changed": false, "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:04:42 -0400 (0:00:00.035) 0:00:37.910 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:04:42 -0400 (0:00:00.040) 0:00:37.950 ********* skipping: [managed_node1] => { "changed": false, "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:04:42 -0400 (0:00:00.075) 0:00:38.025 ********* skipping: [managed_node1] => { "changed": false, "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:04:42 -0400 (0:00:00.035) 0:00:38.061 ********* skipping: [managed_node1] => { "changed": false, "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:04:42 -0400 (0:00:00.035) 0:00:38.096 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:04:42 -0400 (0:00:00.111) 0:00:38.207 ********* 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:04:43 -0400 (0:00:00.528) 0:00:38.736 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:04:43 -0400 (0:00:00.042) 0:00:38.778 ********* 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:04:43 -0400 (0:00:00.034) 0:00:38.813 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:04:43 -0400 (0:00:00.034) 0:00:38.848 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "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, 482387a7-5c10-42ab-9bc6-525d09845c77 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 482387a7-5c10-42ab-9bc6-525d09845c77 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:04:43 -0400 (0:00:00.584) 0:00:39.432 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:04:43 -0400 (0:00:00.035) 0:00:39.468 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 482387a7-5c10-42ab-9bc6-525d09845c77", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 482387a7-5c10-42ab-9bc6-525d09845c77 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:04:43 -0400 (0:00:00.037) 0:00:39.506 ********* 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/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "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, 482387a7-5c10-42ab-9bc6-525d09845c77\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 482387a7-5c10-42ab-9bc6-525d09845c77 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 482387a7-5c10-42ab-9bc6-525d09845c77", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 482387a7-5c10-42ab-9bc6-525d09845c77 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:04:43 -0400 (0:00:00.038) 0:00:39.544 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:04:43 -0400 (0:00:00.035) 0:00:39.580 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:04:44 -0400 (0:00:00.357) 0:00:39.938 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:44 -0400 (0:00:00.123) 0:00:40.062 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface veth0] ******************************************** Saturday 06 July 2024 06:04:44 -0400 (0:00:00.057) 0:00:40.119 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720260277.4082196, "block_size": 4096, "blocks": 0, "ctime": 1720260277.4082196, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26558, "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": 1720260277.4082196, "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'] ************************** Saturday 06 July 2024 06:04:44 -0400 (0:00:00.362) 0:00:40.481 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 06:04:44 -0400 (0:00:00.039) 0:00:40.521 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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'] ********************************* Saturday 06 July 2024 06:04:44 -0400 (0:00:00.088) 0:00:40.610 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:45 -0400 (0:00:00.058) 0:00:40.669 ********* 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:04:45 -0400 (0:00:00.035) 0:00:40.705 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720260283.722517, "block_size": 4096, "blocks": 8, "ctime": 1720260283.6855168, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301237, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720260283.6855168, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 06:04:45 -0400 (0:00:00.360) 0:00:41.066 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:04:45 -0400 (0:00:00.082) 0:00:41.148 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020620", "end": "2024-07-06 06:04:45.852832", "rc": 0, "start": "2024-07-06 06:04:45.832212" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 06:04:45 -0400 (0:00:00.384) 0:00:41.532 ********* 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] ************************** Saturday 06 July 2024 06:04:45 -0400 (0:00:00.040) 0:00:41.572 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** Saturday 06 July 2024 06:04:45 -0400 (0:00:00.039) 0:00:41.612 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Saturday 06 July 2024 06:04:46 -0400 (0:00:00.037) 0:00:41.650 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Saturday 06 July 2024 06:04:46 -0400 (0:00:00.038) 0:00:41.688 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** Saturday 06 July 2024 06:04:46 -0400 (0:00:00.038) 0:00:41.726 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** Saturday 06 July 2024 06:04:46 -0400 (0:00:00.038) 0:00:41.765 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Saturday 06 July 2024 06:04:46 -0400 (0:00:00.039) 0:00:41.805 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** Saturday 06 July 2024 06:04:46 -0400 (0:00:00.037) 0:00:41.843 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003502", "end": "2024-07-06 06:04:46.526254", "rc": 0, "start": "2024-07-06 06:04:46.522752" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.209 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.209 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* Saturday 06 July 2024 06:04:46 -0400 (0:00:00.362) 0:00:42.206 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Saturday 06 July 2024 06:04:46 -0400 (0:00:00.039) 0:00:42.245 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003572", "end": "2024-07-06 06:04:46.933145", "rc": 0, "start": "2024-07-06 06:04:46.929573" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* Saturday 06 July 2024 06:04:46 -0400 (0:00:00.366) 0:00:42.611 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** Saturday 06 July 2024 06:04:47 -0400 (0:00:00.081) 0:00:42.693 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:04:47 -0400 (0:00:00.037) 0:00:42.730 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:47 -0400 (0:00:00.064) 0:00:42.795 ********* 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:04:47 -0400 (0:00:00.044) 0:00:42.839 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:04:47 -0400 (0:00:00.034) 0:00:42.873 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:04:47 -0400 (0:00:00.035) 0:00:42.908 ********* 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:04:48 -0400 (0:00:01.589) 0:00:44.497 ********* 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:04:50 -0400 (0:00:01.579) 0:00:46.077 ********* 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:04:50 -0400 (0:00:00.038) 0:00:46.115 ********* skipping: [managed_node1] => { "changed": false, "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:04:50 -0400 (0:00:00.034) 0:00:46.150 ********* skipping: [managed_node1] => { "changed": false, "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:04:50 -0400 (0:00:00.035) 0:00:46.185 ********* skipping: [managed_node1] => { "changed": false, "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:04:50 -0400 (0:00:00.043) 0:00:46.229 ********* skipping: [managed_node1] => { "changed": false, "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:04:50 -0400 (0:00:00.037) 0:00:46.266 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:04:50 -0400 (0:00:00.041) 0:00:46.308 ********* skipping: [managed_node1] => { "changed": false, "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:04:50 -0400 (0:00:00.073) 0:00:46.381 ********* skipping: [managed_node1] => { "changed": false, "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:04:50 -0400 (0:00:00.034) 0:00:46.416 ********* skipping: [managed_node1] => { "changed": false, "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:04:50 -0400 (0:00:00.035) 0:00:46.451 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:04:50 -0400 (0:00:00.040) 0:00:46.491 ********* 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:04:51 -0400 (0:00:00.527) 0:00:47.019 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:04:51 -0400 (0:00:00.042) 0:00:47.061 ********* 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:04:51 -0400 (0:00:00.077) 0:00:47.139 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:04:51 -0400 (0:00:00.035) 0:00:47.174 ********* 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] ********** Saturday 06 July 2024 06:04:52 -0400 (0:00:00.582) 0:00:47.757 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:04:52 -0400 (0:00:00.035) 0:00:47.793 ********* 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:04:52 -0400 (0:00:00.039) 0:00:47.832 ********* 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] *** Saturday 06 July 2024 06:04:52 -0400 (0:00:00.039) 0:00:47.871 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:04:52 -0400 (0:00:00.037) 0:00:47.908 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:04:52 -0400 (0:00:00.356) 0:00:48.265 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:52 -0400 (0:00:00.095) 0:00:48.360 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:04:52 -0400 (0:00:00.036) 0:00:48.396 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:04:52 -0400 (0:00:00.035) 0:00:48.432 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:52 -0400 (0:00:00.102) 0:00:48.534 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:52 -0400 (0:00:00.057) 0:00:48.592 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003013", "end": "2024-07-06 06:04:53.275194", "rc": 0, "start": "2024-07-06 06:04:53.272181" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:04:53 -0400 (0:00:00.364) 0:00:48.956 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:04:53 -0400 (0:00:00.039) 0:00:48.995 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:04:53 -0400 (0:00:00.038) 0:00:49.034 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:04:56 -0400 (0:00:02.727) 0:00:51.761 ********* skipping: [managed_node1] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:04:56 -0400 (0:00:00.052) 0:00:51.813 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:04:56 -0400 (0:00:00.079) 0:00:51.893 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012304", "end": "2024-07-06 06:04:56.592971", "rc": 0, "start": "2024-07-06 06:04:56.580667" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:04:56 -0400 (0:00:00.382) 0:00:52.275 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:04:56 -0400 (0:00:00.038) 0:00:52.314 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:04:56 -0400 (0:00:00.039) 0:00:52.353 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:04:56 -0400 (0:00:00.038) 0:00:52.392 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 06:04:56 -0400 (0:00:00.038) 0:00:52.430 ********* included: /var/ARTIFACTS/work-general86ajgynn/plans/general/tree/tmp.iRYU0Uu6O6/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:04:56 -0400 (0:00:00.094) 0:00:52.525 ********* 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.008335", "end": "2024-07-06 06:04:57.215526", "rc": 0, "start": "2024-07-06 06:04:57.207191" } 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 valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:37:d6:b6:83:a5 brd ff:ff:ff:ff:ff:ff inet 10.31.47.209/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3389sec preferred_lft 3389sec inet6 fe80::37:d6ff:feb6:83a5/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.209 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.209 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Saturday 06 July 2024 06:04:57 -0400 (0:00:00.367) 0:00:52.893 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.222575", "end": "2024-07-06 06:04:57.803568", "rc": 0, "start": "2024-07-06 06:04:57.580993" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 4121 0 --:--:-- --:--:-- --:--:-- 4121 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2346 0 --:--:-- --:--:-- --:--:-- 2346 PLAY RECAP ********************************************************************* managed_node1 : ok=132 changed=4 unreachable=0 failed=0 skipped=110 rescued=0 ignored=0 Saturday 06 July 2024 06:04:57 -0400 (0:00:00.570) 0:00:53.464 ********* =============================================================================== Install iproute --------------------------------------------------------- 2.95s Install iproute --------------------------------------------------------- 2.85s Install iproute --------------------------------------------------------- 2.74s Install iproute --------------------------------------------------------- 2.73s fedora.linux_system_roles.network : Check which packages are installed --- 1.73s fedora.linux_system_roles.network : Check which services are running ---- 1.71s fedora.linux_system_roles.network : Check which services are running ---- 1.61s fedora.linux_system_roles.network : Check which services are running ---- 1.59s fedora.linux_system_roles.network : Check which services are running ---- 1.59s fedora.linux_system_roles.network : Check which packages are installed --- 1.58s fedora.linux_system_roles.network : Check which packages are installed --- 1.53s fedora.linux_system_roles.network : Check which packages are installed --- 1.53s Gather current interface info ------------------------------------------- 1.34s Create veth interface veth0 --------------------------------------------- 1.08s Create veth interface veth0 --------------------------------------------- 1.07s Gathering Facts --------------------------------------------------------- 0.91s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.73s Gathering Facts --------------------------------------------------------- 0.64s Enable EPEL 8 ----------------------------------------------------------- 0.59s