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] ********************************************************* Monday 22 July 2024 11:54:57 -0400 (0:00:00.017) 0:00:00.017 *********** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Monday 22 July 2024 11:54:58 -0400 (0:00:00.876) 0:00:00.893 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:54:58 -0400 (0:00:00.018) 0:00:00.912 *********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Monday 22 July 2024 11:54:58 -0400 (0:00:00.483) 0:00:01.395 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Monday 22 July 2024 11:54:59 -0400 (0:00:00.413) 0:00:01.809 *********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Monday 22 July 2024 11:54:59 -0400 (0:00:00.031) 0:00:01.840 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Monday 22 July 2024 11:54:59 -0400 (0:00:00.027) 0:00:01.868 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Monday 22 July 2024 11:54:59 -0400 (0:00:00.049) 0:00:01.917 *********** 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] *********************************************** Monday 22 July 2024 11:54:59 -0400 (0:00:00.412) 0:00:02.329 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Monday 22 July 2024 11:54:59 -0400 (0:00:00.017) 0:00:02.347 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Monday 22 July 2024 11:54:59 -0400 (0:00:00.017) 0:00:02.364 *********** [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.236657", "end": "2024-07-22 11:55:00.219071", "rc": 0, "start": "2024-07-22 11:54:59.982414" } TASK [Enable EPEL 6] *********************************************************** Monday 22 July 2024 11:55:00 -0400 (0:00:00.574) 0:00:02.939 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Monday 22 July 2024 11:55:00 -0400 (0:00:00.016) 0:00:02.955 *********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:55:00 -0400 (0:00:00.019) 0:00:02.974 *********** ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:55:00 -0400 (0:00:00.627) 0:00:03.602 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:00 -0400 (0:00:00.039) 0:00:03.641 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:00 -0400 (0:00:00.021) 0:00:03.662 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002948", "end": "2024-07-22 11:55:01.293293", "rc": 0, "start": "2024-07-22 11:55:01.290345" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:55:01 -0400 (0:00:00.347) 0:00:04.010 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:55:01 -0400 (0:00:00.019) 0:00:04.030 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** Monday 22 July 2024 11:55:01 -0400 (0:00:00.018) 0:00:04.048 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:01 -0400 (0:00:00.048) 0:00:04.097 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Monday 22 July 2024 11:55:01 -0400 (0:00:00.016) 0:00:04.114 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:55:01 -0400 (0:00:00.019) 0:00:04.133 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:01 -0400 (0:00:00.022) 0:00:04.155 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:01 -0400 (0:00:00.021) 0:00:04.177 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002950", "end": "2024-07-22 11:55:01.804404", "rc": 0, "start": "2024-07-22 11:55:01.801454" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:55:01 -0400 (0:00:00.346) 0:00:04.523 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:55:01 -0400 (0:00:00.020) 0:00:04.543 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Monday 22 July 2024 11:55:01 -0400 (0:00:00.017) 0:00:04.561 *********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Monday 22 July 2024 11:55:04 -0400 (0:00:03.041) 0:00:07.602 *********** 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.004987", "end": "2024-07-22 11:55:05.231841", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-22 11:55:05.226854" } 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.003336", "end": "2024-07-22 11:55:05.597088", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-22 11:55:05.593752" } 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.003845", "end": "2024-07-22 11:55:05.934738", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-22 11:55:05.930893" } TASK [Set up veth as managed by NetworkManager] ******************************** Monday 22 July 2024 11:55:05 -0400 (0:00:01.054) 0:00:08.656 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020330", "end": "2024-07-22 11:55:06.296358", "rc": 0, "start": "2024-07-22 11:55:06.276028" } TASK [Delete veth interface veth0] ********************************************* Monday 22 July 2024 11:55:06 -0400 (0:00:00.362) 0:00:09.018 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Monday 22 July 2024 11:55:06 -0400 (0:00:00.017) 0:00:09.036 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Monday 22 July 2024 11:55:06 -0400 (0:00:00.018) 0:00:09.055 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Monday 22 July 2024 11:55:06 -0400 (0:00:00.017) 0:00:09.073 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Monday 22 July 2024 11:55:06 -0400 (0:00:00.017) 0:00:09.091 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Monday 22 July 2024 11:55:06 -0400 (0:00:00.019) 0:00:09.111 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:06 -0400 (0:00:00.041) 0:00:09.152 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:06 -0400 (0:00:00.024) 0:00:09.177 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721663705.2300446, "block_size": 4096, "blocks": 0, "ctime": 1721663705.2300446, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26067, "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": 1721663705.2300446, "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 11:55:06 -0400 (0:00:00.348) 0:00:09.525 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ Monday 22 July 2024 11:55:06 -0400 (0:00:00.020) 0:00:09.545 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:55:06 -0400 (0:00:00.018) 0:00:09.563 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:06 -0400 (0:00:00.032) 0:00:09.596 *********** 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:55:06 -0400 (0:00:00.017) 0:00:09.613 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 11:55:06 -0400 (0:00:00.015) 0:00:09.629 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 11:55:06 -0400 (0:00:00.018) 0:00:09.647 *********** 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 11:55:08 -0400 (0:00:01.631) 0:00:11.278 *********** 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 11:55:10 -0400 (0:00:01.655) 0:00:12.934 *********** 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 11:55:10 -0400 (0:00:00.036) 0:00:12.971 *********** 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] *** Monday 22 July 2024 11:55:10 -0400 (0:00:00.034) 0:00:13.005 *********** 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] *** Monday 22 July 2024 11:55:10 -0400 (0:00:00.032) 0:00:13.038 *********** 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] *** Monday 22 July 2024 11:55:10 -0400 (0:00:00.041) 0:00:13.080 *********** 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] *** Monday 22 July 2024 11:55:10 -0400 (0:00:00.032) 0:00:13.112 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:55:10 -0400 (0:00:00.038) 0:00:13.151 *********** 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] *** Monday 22 July 2024 11:55:10 -0400 (0:00:00.067) 0:00:13.218 *********** 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] *** Monday 22 July 2024 11:55:10 -0400 (0:00:00.033) 0:00:13.252 *********** 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] *** Monday 22 July 2024 11:55:10 -0400 (0:00:00.033) 0:00:13.285 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 11:55:10 -0400 (0:00:00.040) 0:00:13.326 *********** 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 11:55:11 -0400 (0:00:00.708) 0:00:14.035 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 11:55:11 -0400 (0:00:00.039) 0:00:14.075 *********** 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 11:55:11 -0400 (0:00:00.033) 0:00:14.108 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:55:11 -0400 (0:00:00.071) 0:00:14.179 *********** 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, 6e8d0b8d-755c-456d-a181-c0cbbe1c50cd [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6e8d0b8d-755c-456d-a181-c0cbbe1c50cd (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 11:55:12 -0400 (0:00:00.753) 0:00:14.933 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 11:55:12 -0400 (0:00:00.032) 0:00:14.965 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6e8d0b8d-755c-456d-a181-c0cbbe1c50cd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6e8d0b8d-755c-456d-a181-c0cbbe1c50cd (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 11:55:12 -0400 (0:00:00.037) 0:00:15.003 *********** 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, 6e8d0b8d-755c-456d-a181-c0cbbe1c50cd\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6e8d0b8d-755c-456d-a181-c0cbbe1c50cd (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6e8d0b8d-755c-456d-a181-c0cbbe1c50cd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6e8d0b8d-755c-456d-a181-c0cbbe1c50cd (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 11:55:12 -0400 (0:00:00.038) 0:00:15.041 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:55:12 -0400 (0:00:00.032) 0:00:15.073 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Monday 22 July 2024 11:55:12 -0400 (0:00:00.469) 0:00:15.542 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:12 -0400 (0:00:00.076) 0:00:15.618 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:13 -0400 (0:00:00.053) 0:00:15.672 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721663705.2300446, "block_size": 4096, "blocks": 0, "ctime": 1721663705.2300446, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26067, "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": 1721663705.2300446, "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 11:55:13 -0400 (0:00:00.358) 0:00:16.030 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Monday 22 July 2024 11:55:13 -0400 (0:00:00.037) 0:00:16.068 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:13 -0400 (0:00:00.079) 0:00:16.147 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:13 -0400 (0:00:00.059) 0:00:16.207 *********** 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 11:55:13 -0400 (0:00:00.034) 0:00:16.241 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721663712.1689546, "block_size": 4096, "blocks": 8, "ctime": 1721663712.131954, "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": 1721663712.131954, "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] ******************** Monday 22 July 2024 11:55:13 -0400 (0:00:00.353) 0:00:16.595 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 11:55:13 -0400 (0:00:00.036) 0:00:16.632 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.019954", "end": "2024-07-22 11:55:14.270815", "rc": 0, "start": "2024-07-22 11:55:14.250861" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 11:55:14 -0400 (0:00:00.373) 0:00:17.005 *********** 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 11:55:14 -0400 (0:00:00.039) 0:00:17.045 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** Monday 22 July 2024 11:55:14 -0400 (0:00:00.037) 0:00:17.082 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Monday 22 July 2024 11:55:14 -0400 (0:00:00.072) 0:00:17.154 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Monday 22 July 2024 11:55:14 -0400 (0:00:00.036) 0:00:17.191 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** Monday 22 July 2024 11:55:14 -0400 (0:00:00.037) 0:00:17.228 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** Monday 22 July 2024 11:55:14 -0400 (0:00:00.039) 0:00:17.268 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Monday 22 July 2024 11:55:14 -0400 (0:00:00.037) 0:00:17.306 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** Monday 22 July 2024 11:55:14 -0400 (0:00:00.036) 0:00:17.342 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003264", "end": "2024-07-22 11:55:14.964521", "rc": 0, "start": "2024-07-22 11:55:14.961257" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.92 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.92 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] ************************************ Monday 22 July 2024 11:55:15 -0400 (0:00:00.357) 0:00:17.699 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Monday 22 July 2024 11:55:15 -0400 (0:00:00.035) 0:00:17.734 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003420", "end": "2024-07-22 11:55:15.364330", "rc": 0, "start": "2024-07-22 11:55:15.360910" } 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] ************************************ Monday 22 July 2024 11:55:15 -0400 (0:00:00.364) 0:00:18.099 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** Monday 22 July 2024 11:55:15 -0400 (0:00:00.038) 0:00:18.138 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:55:15 -0400 (0:00:00.036) 0:00:18.174 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:15 -0400 (0:00:00.060) 0:00:18.235 *********** 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:55:15 -0400 (0:00:00.040) 0:00:18.276 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 11:55:15 -0400 (0:00:00.075) 0:00:18.351 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 11:55:15 -0400 (0:00:00.033) 0:00:18.385 *********** 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 11:55:17 -0400 (0:00:01.528) 0:00:19.914 *********** 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 11:55:18 -0400 (0:00:01.399) 0:00:21.314 *********** 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 11:55:18 -0400 (0:00:00.038) 0:00:21.352 *********** 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] *** Monday 22 July 2024 11:55:18 -0400 (0:00:00.033) 0:00:21.385 *********** 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] *** Monday 22 July 2024 11:55:18 -0400 (0:00:00.071) 0:00:21.457 *********** 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] *** Monday 22 July 2024 11:55:18 -0400 (0:00:00.042) 0:00:21.500 *********** 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] *** Monday 22 July 2024 11:55:18 -0400 (0:00:00.036) 0:00:21.536 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:55:18 -0400 (0:00:00.039) 0:00:21.575 *********** 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] *** Monday 22 July 2024 11:55:18 -0400 (0:00:00.070) 0:00:21.646 *********** 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] *** Monday 22 July 2024 11:55:19 -0400 (0:00:00.032) 0:00:21.679 *********** 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] *** Monday 22 July 2024 11:55:19 -0400 (0:00:00.036) 0:00:21.715 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 11:55:19 -0400 (0:00:00.038) 0:00:21.754 *********** 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 11:55:19 -0400 (0:00:00.519) 0:00:22.273 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 11:55:19 -0400 (0:00:00.039) 0:00:22.312 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Monday 22 July 2024 11:55:19 -0400 (0:00:00.033) 0:00:22.346 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:55:19 -0400 (0:00:00.035) 0:00:22.381 *********** 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 11:55:20 -0400 (0:00:00.599) 0:00:22.981 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 11:55:20 -0400 (0:00:00.033) 0:00:23.015 *********** 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 11:55:20 -0400 (0:00:00.037) 0:00:23.053 *********** 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 11:55:20 -0400 (0:00:00.039) 0:00:23.092 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:55:20 -0400 (0:00:00.032) 0:00:23.125 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Monday 22 July 2024 11:55:20 -0400 (0:00:00.350) 0:00:23.476 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:20 -0400 (0:00:00.080) 0:00:23.556 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Monday 22 July 2024 11:55:20 -0400 (0:00:00.034) 0:00:23.591 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:55:20 -0400 (0:00:00.034) 0:00:23.625 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:21 -0400 (0:00:00.054) 0:00:23.680 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:21 -0400 (0:00:00.052) 0:00:23.733 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002581", "end": "2024-07-22 11:55:21.357106", "rc": 0, "start": "2024-07-22 11:55:21.354525" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:55:21 -0400 (0:00:00.397) 0:00:24.130 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:55:21 -0400 (0:00:00.037) 0:00:24.168 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* Monday 22 July 2024 11:55:21 -0400 (0:00:00.034) 0:00:24.202 *********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Monday 22 July 2024 11:55:24 -0400 (0:00:02.624) 0:00:26.827 *********** 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] ******************************** Monday 22 July 2024 11:55:24 -0400 (0:00:00.052) 0:00:26.879 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Monday 22 July 2024 11:55:24 -0400 (0:00:00.033) 0:00:26.913 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014062", "end": "2024-07-22 11:55:24.554638", "rc": 0, "start": "2024-07-22 11:55:24.540576" } TASK [Create dummy interface veth0] ******************************************** Monday 22 July 2024 11:55:24 -0400 (0:00:00.376) 0:00:27.290 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Monday 22 July 2024 11:55:24 -0400 (0:00:00.074) 0:00:27.364 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Monday 22 July 2024 11:55:24 -0400 (0:00:00.037) 0:00:27.402 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Monday 22 July 2024 11:55:24 -0400 (0:00:00.035) 0:00:27.438 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** Monday 22 July 2024 11:55:24 -0400 (0:00:00.035) 0:00:27.473 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** Monday 22 July 2024 11:55:24 -0400 (0:00:00.033) 0:00:27.506 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:24 -0400 (0:00:00.084) 0:00:27.591 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Monday 22 July 2024 11:55:24 -0400 (0:00:00.032) 0:00:27.624 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:55:24 -0400 (0:00:00.034) 0:00:27.659 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:25 -0400 (0:00:00.053) 0:00:27.712 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:25 -0400 (0:00:00.053) 0:00:27.766 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003080", "end": "2024-07-22 11:55:25.396940", "rc": 0, "start": "2024-07-22 11:55:25.393860" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:55:25 -0400 (0:00:00.366) 0:00:28.133 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:55:25 -0400 (0:00:00.036) 0:00:28.170 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Monday 22 July 2024 11:55:25 -0400 (0:00:00.081) 0:00:28.251 *********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Monday 22 July 2024 11:55:28 -0400 (0:00:02.593) 0:00:30.845 *********** 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.010049", "end": "2024-07-22 11:55:28.487580", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-22 11:55:28.477531" } 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.003034", "end": "2024-07-22 11:55:28.856449", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-22 11:55:28.853415" } 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.003686", "end": "2024-07-22 11:55:29.187501", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-22 11:55:29.183815" } TASK [Set up veth as managed by NetworkManager] ******************************** Monday 22 July 2024 11:55:29 -0400 (0:00:01.078) 0:00:31.924 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.018888", "end": "2024-07-22 11:55:29.565453", "rc": 0, "start": "2024-07-22 11:55:29.546565" } TASK [Delete veth interface veth0] ********************************************* Monday 22 July 2024 11:55:29 -0400 (0:00:00.377) 0:00:32.301 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Monday 22 July 2024 11:55:29 -0400 (0:00:00.036) 0:00:32.337 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Monday 22 July 2024 11:55:29 -0400 (0:00:00.035) 0:00:32.373 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Monday 22 July 2024 11:55:29 -0400 (0:00:00.036) 0:00:32.409 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Monday 22 July 2024 11:55:29 -0400 (0:00:00.076) 0:00:32.485 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:55:29 -0400 (0:00:00.036) 0:00:32.522 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:29 -0400 (0:00:00.061) 0:00:32.583 *********** 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:55:29 -0400 (0:00:00.042) 0:00:32.626 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 11:55:29 -0400 (0:00:00.032) 0:00:32.659 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 11:55:30 -0400 (0:00:00.035) 0:00:32.694 *********** 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 11:55:31 -0400 (0:00:01.592) 0:00:34.287 *********** 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 11:55:33 -0400 (0:00:01.462) 0:00:35.750 *********** 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 11:55:33 -0400 (0:00:00.036) 0:00:35.786 *********** 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] *** Monday 22 July 2024 11:55:33 -0400 (0:00:00.035) 0:00:35.822 *********** 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] *** Monday 22 July 2024 11:55:33 -0400 (0:00:00.034) 0:00:35.856 *********** 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] *** Monday 22 July 2024 11:55:33 -0400 (0:00:00.043) 0:00:35.900 *********** 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] *** Monday 22 July 2024 11:55:33 -0400 (0:00:00.036) 0:00:35.936 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:55:33 -0400 (0:00:00.039) 0:00:35.975 *********** 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] *** Monday 22 July 2024 11:55:33 -0400 (0:00:00.071) 0:00:36.047 *********** 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] *** Monday 22 July 2024 11:55:33 -0400 (0:00:00.033) 0:00:36.080 *********** 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] *** Monday 22 July 2024 11:55:33 -0400 (0:00:00.036) 0:00:36.117 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 11:55:33 -0400 (0:00:00.087) 0:00:36.204 *********** 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 11:55:34 -0400 (0:00:00.527) 0:00:36.732 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 11:55:34 -0400 (0:00:00.041) 0:00:36.773 *********** 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 11:55:34 -0400 (0:00:00.035) 0:00:36.809 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:55:34 -0400 (0:00:00.038) 0:00:36.847 *********** 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, af4a4bb0-d21e-44a9-9137-4dc94f22ed0d [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, af4a4bb0-d21e-44a9-9137-4dc94f22ed0d (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 11:55:34 -0400 (0:00:00.573) 0:00:37.421 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 11:55:34 -0400 (0:00:00.032) 0:00:37.453 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, af4a4bb0-d21e-44a9-9137-4dc94f22ed0d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, af4a4bb0-d21e-44a9-9137-4dc94f22ed0d (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 11:55:34 -0400 (0:00:00.036) 0:00:37.490 *********** 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, af4a4bb0-d21e-44a9-9137-4dc94f22ed0d\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, af4a4bb0-d21e-44a9-9137-4dc94f22ed0d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, af4a4bb0-d21e-44a9-9137-4dc94f22ed0d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, af4a4bb0-d21e-44a9-9137-4dc94f22ed0d (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 11:55:34 -0400 (0:00:00.036) 0:00:37.527 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:55:34 -0400 (0:00:00.034) 0:00:37.561 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Monday 22 July 2024 11:55:35 -0400 (0:00:00.350) 0:00:37.911 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:35 -0400 (0:00:00.126) 0:00:38.038 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:35 -0400 (0:00:00.056) 0:00:38.094 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721663728.4806337, "block_size": 4096, "blocks": 0, "ctime": 1721663728.4806337, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26653, "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": 1721663728.4806337, "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 11:55:35 -0400 (0:00:00.353) 0:00:38.448 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Monday 22 July 2024 11:55:35 -0400 (0:00:00.036) 0:00:38.484 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:35 -0400 (0:00:00.084) 0:00:38.568 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:35 -0400 (0:00:00.058) 0:00:38.627 *********** 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 11:55:35 -0400 (0:00:00.033) 0:00:38.660 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721663734.6563709, "block_size": 4096, "blocks": 8, "ctime": 1721663734.6213703, "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": 1721663734.6213703, "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] ******************** Monday 22 July 2024 11:55:36 -0400 (0:00:00.358) 0:00:39.019 *********** ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Monday 22 July 2024 11:55:36 -0400 (0:00:00.035) 0:00:39.055 *********** ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017150", "end": "2024-07-22 11:55:36.707895", "rc": 0, "start": "2024-07-22 11:55:36.690745" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Monday 22 July 2024 11:55:36 -0400 (0:00:00.387) 0:00:39.442 *********** 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 11:55:36 -0400 (0:00:00.041) 0:00:39.483 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** Monday 22 July 2024 11:55:36 -0400 (0:00:00.040) 0:00:39.524 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Monday 22 July 2024 11:55:36 -0400 (0:00:00.039) 0:00:39.564 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Monday 22 July 2024 11:55:36 -0400 (0:00:00.040) 0:00:39.605 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** Monday 22 July 2024 11:55:36 -0400 (0:00:00.041) 0:00:39.647 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** Monday 22 July 2024 11:55:37 -0400 (0:00:00.038) 0:00:39.685 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Monday 22 July 2024 11:55:37 -0400 (0:00:00.039) 0:00:39.725 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** Monday 22 July 2024 11:55:37 -0400 (0:00:00.037) 0:00:39.763 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003417", "end": "2024-07-22 11:55:37.387562", "rc": 0, "start": "2024-07-22 11:55:37.384145" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.92 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.92 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] ************************************* Monday 22 July 2024 11:55:37 -0400 (0:00:00.362) 0:00:40.125 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Monday 22 July 2024 11:55:37 -0400 (0:00:00.035) 0:00:40.161 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002984", "end": "2024-07-22 11:55:37.781720", "rc": 0, "start": "2024-07-22 11:55:37.778736" } 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] ************************************* Monday 22 July 2024 11:55:37 -0400 (0:00:00.355) 0:00:40.516 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** Monday 22 July 2024 11:55:37 -0400 (0:00:00.038) 0:00:40.555 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:55:37 -0400 (0:00:00.080) 0:00:40.635 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:38 -0400 (0:00:00.062) 0:00:40.698 *********** 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:55:38 -0400 (0:00:00.045) 0:00:40.744 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Monday 22 July 2024 11:55:38 -0400 (0:00:00.034) 0:00:40.778 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Monday 22 July 2024 11:55:38 -0400 (0:00:00.034) 0:00:40.812 *********** 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 11:55:39 -0400 (0:00:01.525) 0:00:42.338 *********** 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 11:55:41 -0400 (0:00:01.515) 0:00:43.853 *********** 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 11:55:41 -0400 (0:00:00.035) 0:00:43.889 *********** 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] *** Monday 22 July 2024 11:55:41 -0400 (0:00:00.036) 0:00:43.925 *********** 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] *** Monday 22 July 2024 11:55:41 -0400 (0:00:00.032) 0:00:43.958 *********** 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] *** Monday 22 July 2024 11:55:41 -0400 (0:00:00.043) 0:00:44.001 *********** 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] *** Monday 22 July 2024 11:55:41 -0400 (0:00:00.036) 0:00:44.037 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:55:41 -0400 (0:00:00.037) 0:00:44.075 *********** 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] *** Monday 22 July 2024 11:55:41 -0400 (0:00:00.072) 0:00:44.147 *********** 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] *** Monday 22 July 2024 11:55:41 -0400 (0:00:00.034) 0:00:44.182 *********** 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] *** Monday 22 July 2024 11:55:41 -0400 (0:00:00.035) 0:00:44.217 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Monday 22 July 2024 11:55:41 -0400 (0:00:00.038) 0:00:44.256 *********** 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 11:55:42 -0400 (0:00:00.521) 0:00:44.777 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Monday 22 July 2024 11:55:42 -0400 (0:00:00.039) 0:00:44.816 *********** 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 11:55:42 -0400 (0:00:00.032) 0:00:44.849 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:55:42 -0400 (0:00:00.087) 0:00:44.937 *********** 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 11:55:42 -0400 (0:00:00.572) 0:00:45.509 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Monday 22 July 2024 11:55:42 -0400 (0:00:00.034) 0:00:45.543 *********** 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 11:55:42 -0400 (0:00:00.036) 0:00:45.580 *********** 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 11:55:42 -0400 (0:00:00.036) 0:00:45.617 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:55:42 -0400 (0:00:00.035) 0:00:45.652 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Monday 22 July 2024 11:55:43 -0400 (0:00:00.357) 0:00:46.010 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:43 -0400 (0:00:00.087) 0:00:46.097 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Monday 22 July 2024 11:55:43 -0400 (0:00:00.036) 0:00:46.134 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:55:43 -0400 (0:00:00.032) 0:00:46.166 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:43 -0400 (0:00:00.113) 0:00:46.280 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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:55:43 -0400 (0:00:00.054) 0:00:46.334 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002965", "end": "2024-07-22 11:55:43.968504", "rc": 0, "start": "2024-07-22 11:55:43.965539" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:55:44 -0400 (0:00:00.372) 0:00:46.706 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:55:44 -0400 (0:00:00.038) 0:00:46.745 *********** ok: [managed_node1] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* Monday 22 July 2024 11:55:44 -0400 (0:00:00.038) 0:00:46.783 *********** ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Monday 22 July 2024 11:55:46 -0400 (0:00:02.609) 0:00:49.393 *********** 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] ******************************** Monday 22 July 2024 11:55:46 -0400 (0:00:00.051) 0:00:49.444 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Monday 22 July 2024 11:55:46 -0400 (0:00:00.036) 0:00:49.481 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013030", "end": "2024-07-22 11:55:47.115757", "rc": 0, "start": "2024-07-22 11:55:47.102727" } TASK [Create dummy interface veth0] ******************************************** Monday 22 July 2024 11:55:47 -0400 (0:00:00.373) 0:00:49.854 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Monday 22 July 2024 11:55:47 -0400 (0:00:00.091) 0:00:49.945 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Monday 22 July 2024 11:55:47 -0400 (0:00:00.038) 0:00:49.984 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Monday 22 July 2024 11:55:47 -0400 (0:00:00.040) 0:00:50.024 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** Monday 22 July 2024 11:55:47 -0400 (0:00:00.034) 0:00:50.058 *********** included: /var/ARTIFACTS/work-generalyjbpreeh/plans/general/tree/tmp.xbJzdE23s3/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 11:55:47 -0400 (0:00:00.089) 0:00:50.148 *********** 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.010252", "end": "2024-07-22 11:55:47.782649", "rc": 0, "start": "2024-07-22 11:55:47.772397" } 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 0a:ff:f6:44:cf:db brd ff:ff:ff:ff:ff:ff inet 10.31.12.92/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3399sec preferred_lft 3399sec inet6 fe80::8ff:f6ff:fe44:cfdb/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.92 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.92 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] ************************************* Monday 22 July 2024 11:55:47 -0400 (0:00:00.370) 0:00:50.518 *********** 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.100247", "end": "2024-07-22 11:55:48.253341", "rc": 0, "start": "2024-07-22 11:55:48.153094" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 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 5865 0 --:--:-- --:--:-- --:--:-- 5865 % 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 12652 0 --:--:-- --:--:-- --:--:-- 12652 PLAY RECAP ********************************************************************* managed_node1 : ok=132 changed=4 unreachable=0 failed=0 skipped=110 rescued=0 ignored=0 Monday 22 July 2024 11:55:48 -0400 (0:00:00.451) 0:00:50.970 *********** =============================================================================== Install iproute --------------------------------------------------------- 3.04s Install iproute --------------------------------------------------------- 2.62s Install iproute --------------------------------------------------------- 2.61s Install iproute --------------------------------------------------------- 2.59s fedora.linux_system_roles.network : Check which packages are installed --- 1.66s fedora.linux_system_roles.network : Check which services are running ---- 1.63s fedora.linux_system_roles.network : Check which services are running ---- 1.59s fedora.linux_system_roles.network : Check which services are running ---- 1.53s fedora.linux_system_roles.network : Check which services are running ---- 1.53s fedora.linux_system_roles.network : Check which packages are installed --- 1.52s fedora.linux_system_roles.network : Check which packages are installed --- 1.46s fedora.linux_system_roles.network : Check which packages are installed --- 1.40s Create veth interface veth0 --------------------------------------------- 1.08s Create veth interface veth0 --------------------------------------------- 1.05s Gathering Facts --------------------------------------------------------- 0.88s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.75s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.71s Gathering Facts --------------------------------------------------------- 0.63s Enable EPEL 8 ----------------------------------------------------------- 0.57s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.57s