Using /etc/ansible/ansible.cfg as config file [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:33:29 -0400 (0:00:00.025) 0:00:00.025 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 06:33:30 -0400 (0:00:00.895) 0:00:00.921 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:30 -0400 (0:00:00.032) 0:00:00.953 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:33:31 -0400 (0:00:00.419) 0:00:01.373 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:33:31 -0400 (0:00:00.435) 0:00:01.808 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:33:31 -0400 (0:00:00.051) 0:00:01.860 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 06:33:31 -0400 (0:00:00.048) 0:00:01.909 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** Saturday 06 July 2024 06:33:31 -0400 (0:00:00.082) 0:00:01.991 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 06:33:32 -0400 (0:00:00.401) 0:00:02.392 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 06:33:33 -0400 (0:00:00.758) 0:00:03.151 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.181420", "end": "2024-07-06 06:33:33.449690", "rc": 0, "start": "2024-07-06 06:33:33.268270" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 06:33:33 -0400 (0:00:00.470) 0:00:03.622 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 06:33:33 -0400 (0:00:00.026) 0:00:03.648 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Saturday 06 July 2024 06:33:33 -0400 (0:00:00.023) 0:00:03.672 ********* 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:33:33 -0400 (0:00:00.028) 0:00:03.700 ********* ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:33:34 -0400 (0:00:00.576) 0:00:04.277 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:34 -0400 (0:00:00.068) 0:00:04.345 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:34 -0400 (0:00:00.039) 0:00:04.384 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003649", "end": "2024-07-06 06:33:34.518693", "rc": 0, "start": "2024-07-06 06:33:34.515044" } STDOUT: bond0 bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:33:34 -0400 (0:00:00.307) 0:00:04.691 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:33:34 -0400 (0:00:00.029) 0:00:04.721 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:33:34 -0400 (0:00:00.029) 0:00:04.750 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:34 -0400 (0:00:00.086) 0:00:04.836 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:33:34 -0400 (0:00:00.025) 0:00:04.862 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:33:34 -0400 (0:00:00.025) 0:00:04.887 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:34 -0400 (0:00:00.037) 0:00:04.925 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:34 -0400 (0:00:00.041) 0:00:04.967 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003659", "end": "2024-07-06 06:33:35.099693", "rc": 0, "start": "2024-07-06 06:33:35.096034" } STDOUT: bond0 bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:33:35 -0400 (0:00:00.311) 0:00:05.278 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:33:35 -0400 (0:00:00.030) 0:00:05.308 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:33:35 -0400 (0:00:00.028) 0:00:05.337 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:33:35 -0400 (0:00:00.536) 0:00:05.873 ********* 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.009638", "end": "2024-07-06 06:33:36.104587", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-06 06:33:36.094949" } 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.007597", "end": "2024-07-06 06:33:36.435548", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-06 06:33:36.427951" } 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.018273", "end": "2024-07-06 06:33:36.751466", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-06 06:33:36.733193" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:33:36 -0400 (0:00:01.055) 0:00:06.929 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.043649", "end": "2024-07-06 06:33:37.099411", "rc": 0, "start": "2024-07-06 06:33:37.055762" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:33:37 -0400 (0:00:00.347) 0:00:07.276 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:33:37 -0400 (0:00:00.029) 0:00:07.306 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:33:37 -0400 (0:00:00.028) 0:00:07.334 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:33:37 -0400 (0:00:00.027) 0:00:07.362 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:33:37 -0400 (0:00:00.026) 0:00:07.389 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:33:37 -0400 (0:00:00.026) 0:00:07.415 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:37 -0400 (0:00:00.082) 0:00:07.497 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:37 -0400 (0:00:00.037) 0:00:07.535 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262016.1058826, "block_size": 4096, "blocks": 0, "ctime": 1720262016.1048825, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18194, "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": 1720262016.1048825, "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:33:37 -0400 (0:00:00.296) 0:00:07.832 ********* 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:33:37 -0400 (0:00:00.031) 0:00:07.864 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:33:37 -0400 (0:00:00.026) 0:00:07.890 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:33:37 -0400 (0:00:00.051) 0:00:07.942 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 06:33:37 -0400 (0:00:00.028) 0:00:07.970 ********* 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:33:37 -0400 (0:00:00.025) 0:00:07.996 ********* 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:33:37 -0400 (0:00:00.024) 0:00:08.020 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 06:33:39 -0400 (0:00:01.107) 0:00:09.127 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 06:33:40 -0400 (0:00:01.564) 0:00:10.692 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Saturday 06 July 2024 06:33:40 -0400 (0:00:00.072) 0:00:10.764 ********* 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:33:40 -0400 (0:00:00.070) 0:00:10.834 ********* 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:33:40 -0400 (0:00:00.069) 0:00:10.904 ********* 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:33:40 -0400 (0:00:00.071) 0:00:10.975 ********* 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:33:40 -0400 (0:00:00.079) 0:00:11.055 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:33:41 -0400 (0:00:00.075) 0:00:11.131 ********* 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:33:41 -0400 (0:00:00.125) 0:00:11.256 ********* 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:33:41 -0400 (0:00:00.069) 0:00:11.326 ********* 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:33:41 -0400 (0:00:00.070) 0:00:11.397 ********* 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:33:41 -0400 (0:00:00.077) 0:00:11.475 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 06:33:42 -0400 (0:00:00.785) 0:00:12.260 ********* 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:33:42 -0400 (0:00:00.078) 0:00:12.338 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 06:33:42 -0400 (0:00:00.071) 0:00:12.410 ********* 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:33:42 -0400 (0:00:00.070) 0:00:12.480 ********* 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, 883a5a40-fa10-4d38-8af5-1a0003fa66ae [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 883a5a40-fa10-4d38-8af5-1a0003fa66ae (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:33:43 -0400 (0:00:01.027) 0:00:13.508 ********* 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:33:43 -0400 (0:00:00.069) 0:00:13.578 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 883a5a40-fa10-4d38-8af5-1a0003fa66ae", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 883a5a40-fa10-4d38-8af5-1a0003fa66ae (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:33:43 -0400 (0:00:00.074) 0:00:13.652 ********* 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, 883a5a40-fa10-4d38-8af5-1a0003fa66ae\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 883a5a40-fa10-4d38-8af5-1a0003fa66ae (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 883a5a40-fa10-4d38-8af5-1a0003fa66ae", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 883a5a40-fa10-4d38-8af5-1a0003fa66ae (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:33:43 -0400 (0:00:00.076) 0:00:13.728 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:33:43 -0400 (0:00:00.069) 0:00:13.798 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:33:44 -0400 (0:00:00.503) 0:00:14.302 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:44 -0400 (0:00:00.163) 0:00:14.466 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:44 -0400 (0:00:00.120) 0:00:14.586 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262016.1058826, "block_size": 4096, "blocks": 0, "ctime": 1720262016.1048825, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18194, "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": 1720262016.1048825, "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:33:44 -0400 (0:00:00.351) 0:00:14.938 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 06:33:44 -0400 (0:00:00.074) 0:00:15.012 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:45 -0400 (0:00:00.214) 0:00:15.226 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:33:45 -0400 (0:00:00.128) 0:00:15.354 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:33:45 -0400 (0:00:00.072) 0:00:15.427 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262023.2938733, "block_size": 4096, "blocks": 8, "ctime": 1720262023.2028735, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22480, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720262023.2028735, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 403, "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:33:45 -0400 (0:00:00.359) 0:00:15.786 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:33:45 -0400 (0:00:00.075) 0:00:15.862 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.028229", "end": "2024-07-06 06:33:46.022823", "rc": 0, "start": "2024-07-06 06:33:45.994594" } 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:33:46 -0400 (0:00:00.374) 0:00:16.237 ********* 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:33:46 -0400 (0:00:00.078) 0:00:16.315 ********* 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:33:46 -0400 (0:00:00.074) 0:00:16.390 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.076) 0:00:16.467 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.074) 0:00:16.542 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.075) 0:00:16.617 ********* 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:33:46 -0400 (0:00:00.078) 0:00:16.696 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.077) 0:00:16.773 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** Saturday 06 July 2024 06:33:46 -0400 (0:00:00.076) 0:00:16.850 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003489", "end": "2024-07-06 06:33:46.987080", "rc": 0, "start": "2024-07-06 06:33:46.983591" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.76 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:33:47 -0400 (0:00:00.413) 0:00:17.263 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Saturday 06 July 2024 06:33:47 -0400 (0:00:00.077) 0:00:17.341 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003716", "end": "2024-07-06 06:33:47.475110", "rc": 0, "start": "2024-07-06 06:33:47.471394" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 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:33:47 -0400 (0:00:00.351) 0:00:17.692 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** Saturday 06 July 2024 06:33:47 -0400 (0:00:00.078) 0:00:17.771 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:33:47 -0400 (0:00:00.074) 0:00:17.846 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:33:47 -0400 (0:00:00.135) 0:00:17.981 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 06:33:47 -0400 (0:00:00.093) 0:00:18.074 ********* 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:33:48 -0400 (0:00:00.071) 0:00:18.146 ********* 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:33:48 -0400 (0:00:00.073) 0:00:18.219 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 06:33:49 -0400 (0:00:00.969) 0:00:19.189 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 06:33:50 -0400 (0:00:01.298) 0:00:20.488 ********* ok: [managed_node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Saturday 06 July 2024 06:33:50 -0400 (0:00:00.077) 0:00:20.565 ********* 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:33:50 -0400 (0:00:00.070) 0:00:20.635 ********* 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:33:50 -0400 (0:00:00.072) 0:00:20.708 ********* 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:33:50 -0400 (0:00:00.072) 0:00:20.781 ********* 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:33:50 -0400 (0:00:00.081) 0:00:20.862 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:33:50 -0400 (0:00:00.076) 0:00:20.939 ********* 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:33:50 -0400 (0:00:00.129) 0:00:21.068 ********* 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:33:51 -0400 (0:00:00.071) 0:00:21.140 ********* 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:33:51 -0400 (0:00:00.070) 0:00:21.210 ********* 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:33:51 -0400 (0:00:00.078) 0:00:21.288 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 06:33:51 -0400 (0:00:00.647) 0:00:21.936 ********* 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:33:51 -0400 (0:00:00.079) 0:00:22.015 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 06:33:51 -0400 (0:00:00.072) 0:00:22.088 ********* 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:33:52 -0400 (0:00:00.069) 0:00:22.158 ********* 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:33:52 -0400 (0:00:00.813) 0:00:22.972 ********* 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:33:52 -0400 (0:00:00.071) 0:00:23.043 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:33:52 -0400 (0:00:00.077) 0:00:23.121 ********* 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:33:53 -0400 (0:00:00.076) 0:00:23.198 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.073) 0:00:23.271 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.347) 0:00:23.618 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:53 -0400 (0:00:00.179) 0:00:23.797 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:33:53 -0400 (0:00:00.070) 0:00:23.868 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:33:53 -0400 (0:00:00.071) 0:00:23.940 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:54 -0400 (0:00:00.185) 0:00:24.126 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:54 -0400 (0:00:00.125) 0:00:24.251 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003576", "end": "2024-07-06 06:33:54.386331", "rc": 0, "start": "2024-07-06 06:33:54.382755" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 team0 veth0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:33:54 -0400 (0:00:00.363) 0:00:24.615 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "team0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:33:54 -0400 (0:00:00.077) 0:00:24.692 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'team0', u'veth0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:33:54 -0400 (0:00:00.075) 0:00:24.767 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:33:55 -0400 (0:00:00.610) 0:00:25.377 ********* 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:33:55 -0400 (0:00:00.098) 0:00:25.476 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:33:55 -0400 (0:00:00.074) 0:00:25.550 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015062", "end": "2024-07-06 06:33:55.706999", "rc": 0, "start": "2024-07-06 06:33:55.691937" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:33:55 -0400 (0:00:00.375) 0:00:25.925 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:33:55 -0400 (0:00:00.073) 0:00:25.999 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:33:55 -0400 (0:00:00.074) 0:00:26.073 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:33:56 -0400 (0:00:00.073) 0:00:26.147 ********* 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:33:56 -0400 (0:00:00.072) 0:00:26.220 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:33:56 -0400 (0:00:00.074) 0:00:26.294 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:56 -0400 (0:00:00.237) 0:00:26.532 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:33:56 -0400 (0:00:00.072) 0:00:26.604 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:33:56 -0400 (0:00:00.071) 0:00:26.676 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:56 -0400 (0:00:00.123) 0:00:26.799 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:33:56 -0400 (0:00:00.120) 0:00:26.920 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003369", "end": "2024-07-06 06:33:57.058561", "rc": 0, "start": "2024-07-06 06:33:57.055192" } STDOUT: bond0 bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:33:57 -0400 (0:00:00.354) 0:00:27.275 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:33:57 -0400 (0:00:00.076) 0:00:27.351 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:33:57 -0400 (0:00:00.073) 0:00:27.424 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:33:57 -0400 (0:00:00.567) 0:00:27.992 ********* 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.014387", "end": "2024-07-06 06:33:58.213310", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-06 06:33:58.198923" } 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.009106", "end": "2024-07-06 06:33:58.516726", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-06 06:33:58.507620" } 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.016281", "end": "2024-07-06 06:33:58.830753", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-06 06:33:58.814472" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 06:33:58 -0400 (0:00:01.060) 0:00:29.052 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.034481", "end": "2024-07-06 06:33:59.235302", "rc": 0, "start": "2024-07-06 06:33:59.200821" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:33:59 -0400 (0:00:00.408) 0:00:29.461 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.073) 0:00:29.535 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.075) 0:00:29.610 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.073) 0:00:29.684 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.074) 0:00:29.759 ********* 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:33:59 -0400 (0:00:00.074) 0:00:29.834 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.136) 0:00:29.970 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 06:33:59 -0400 (0:00:00.093) 0:00:30.064 ********* 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:34:00 -0400 (0:00:00.071) 0:00:30.136 ********* 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:34:00 -0400 (0:00:00.072) 0:00:30.209 ********* 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:34:01 -0400 (0:00:01.046) 0:00:31.255 ********* 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:34:02 -0400 (0:00:01.327) 0:00:32.583 ********* 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:34:02 -0400 (0:00:00.077) 0:00:32.660 ********* 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:34:02 -0400 (0:00:00.075) 0:00:32.736 ********* 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:34:02 -0400 (0:00:00.074) 0:00:32.810 ********* 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:34:02 -0400 (0:00:00.072) 0:00:32.883 ********* 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:34:02 -0400 (0:00:00.083) 0:00:32.966 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:34:02 -0400 (0:00:00.079) 0:00:33.045 ********* 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:34:03 -0400 (0:00:00.133) 0:00:33.179 ********* 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:34:03 -0400 (0:00:00.073) 0:00:33.253 ********* 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:34:03 -0400 (0:00:00.072) 0:00:33.325 ********* 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:34:03 -0400 (0:00:00.145) 0:00:33.471 ********* 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:34:03 -0400 (0:00:00.510) 0:00:33.981 ********* 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:34:03 -0400 (0:00:00.084) 0:00:34.066 ********* 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:34:04 -0400 (0:00:00.072) 0:00:34.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:34:04 -0400 (0:00:00.077) 0:00:34.216 ********* 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, 2236bf28-ab64-4ccf-b3f1-87f1281f868c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2236bf28-ab64-4ccf-b3f1-87f1281f868c (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.735) 0:00:34.951 ********* 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:34:04 -0400 (0:00:00.074) 0:00:35.026 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 2236bf28-ab64-4ccf-b3f1-87f1281f868c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2236bf28-ab64-4ccf-b3f1-87f1281f868c (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:34:04 -0400 (0:00:00.077) 0:00:35.104 ********* 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, 2236bf28-ab64-4ccf-b3f1-87f1281f868c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2236bf28-ab64-4ccf-b3f1-87f1281f868c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 2236bf28-ab64-4ccf-b3f1-87f1281f868c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2236bf28-ab64-4ccf-b3f1-87f1281f868c (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:34:05 -0400 (0:00:00.081) 0:00:35.185 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:34:05 -0400 (0:00:00.072) 0:00:35.258 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 06:34:05 -0400 (0:00:00.360) 0:00:35.618 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:34:05 -0400 (0:00:00.179) 0:00:35.798 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:34:05 -0400 (0:00:00.193) 0:00:35.991 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262044.5908463, "block_size": 4096, "blocks": 0, "ctime": 1720262038.2108545, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18198, "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": 1720262038.2108545, "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:34:06 -0400 (0:00:00.363) 0:00:36.355 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 06:34:06 -0400 (0:00:00.078) 0:00:36.434 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:34:06 -0400 (0:00:00.182) 0:00:36.617 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:34:06 -0400 (0:00:00.130) 0:00:36.747 ********* 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:34:06 -0400 (0:00:00.075) 0:00:36.822 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720262044.751846, "block_size": 4096, "blocks": 8, "ctime": 1720262044.6508462, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22481, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720262044.6508462, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "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:34:07 -0400 (0:00:00.415) 0:00:37.237 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:34:07 -0400 (0:00:00.077) 0:00:37.315 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.039713", "end": "2024-07-06 06:34:07.496485", "rc": 0, "start": "2024-07-06 06:34:07.456772" } 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:34:07 -0400 (0:00:00.413) 0:00:37.728 ********* 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:34:07 -0400 (0:00:00.080) 0:00:37.809 ********* 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:34:07 -0400 (0:00:00.076) 0:00:37.886 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** Saturday 06 July 2024 06:34:07 -0400 (0:00:00.149) 0:00:38.036 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** Saturday 06 July 2024 06:34:07 -0400 (0:00:00.078) 0:00:38.114 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** Saturday 06 July 2024 06:34:08 -0400 (0:00:00.078) 0:00:38.193 ********* 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:34:08 -0400 (0:00:00.080) 0:00:38.274 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** Saturday 06 July 2024 06:34:08 -0400 (0:00:00.077) 0:00:38.352 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** Saturday 06 July 2024 06:34:08 -0400 (0:00:00.077) 0:00:38.429 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003505", "end": "2024-07-06 06:34:08.563496", "rc": 0, "start": "2024-07-06 06:34:08.559991" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.76 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:34:08 -0400 (0:00:00.350) 0:00:38.780 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* Saturday 06 July 2024 06:34:08 -0400 (0:00:00.076) 0:00:38.856 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003458", "end": "2024-07-06 06:34:08.985169", "rc": 0, "start": "2024-07-06 06:34:08.981711" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium TASK [Assert default ipv6 route is absent] ************************************* Saturday 06 July 2024 06:34:09 -0400 (0:00:00.343) 0:00:39.200 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** Saturday 06 July 2024 06:34:09 -0400 (0:00:00.078) 0:00:39.278 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:34:09 -0400 (0:00:00.074) 0:00:39.353 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:34:09 -0400 (0:00:00.134) 0:00:39.488 ********* 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:34:09 -0400 (0:00:00.095) 0:00:39.583 ********* 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:34:09 -0400 (0:00:00.071) 0:00:39.654 ********* 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:34:09 -0400 (0:00:00.071) 0:00:39.726 ********* 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:34:10 -0400 (0:00:01.029) 0:00:40.756 ********* 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:34:11 -0400 (0:00:01.285) 0:00:42.041 ********* 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:34:11 -0400 (0:00:00.079) 0:00:42.121 ********* 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:34:12 -0400 (0:00:00.072) 0:00:42.194 ********* 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:34:12 -0400 (0:00:00.074) 0:00:42.268 ********* 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:34:12 -0400 (0:00:00.074) 0:00:42.343 ********* 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:34:12 -0400 (0:00:00.083) 0:00:42.426 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:34:12 -0400 (0:00:00.079) 0:00:42.505 ********* 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:34:12 -0400 (0:00:00.248) 0:00:42.754 ********* 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:34:12 -0400 (0:00:00.075) 0:00:42.829 ********* 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:34:12 -0400 (0:00:00.072) 0:00:42.901 ********* 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:34:12 -0400 (0:00:00.080) 0:00:42.982 ********* 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:34:13 -0400 (0:00:00.494) 0:00:43.476 ********* 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:34:13 -0400 (0:00:00.080) 0:00:43.557 ********* 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:34:13 -0400 (0:00:00.071) 0:00:43.628 ********* 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:34:13 -0400 (0:00:00.072) 0:00:43.700 ********* 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:34:14 -0400 (0:00:00.846) 0:00:44.547 ********* 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:34:14 -0400 (0:00:00.071) 0:00:44.619 ********* 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:34:14 -0400 (0:00:00.076) 0:00:44.696 ********* 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:34:14 -0400 (0:00:00.077) 0:00:44.773 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:34:14 -0400 (0:00:00.072) 0:00:44.846 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.413) 0:00:45.259 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:34:15 -0400 (0:00:00.191) 0:00:45.450 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 06:34:15 -0400 (0:00:00.071) 0:00:45.522 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:34:15 -0400 (0:00:00.074) 0:00:45.596 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:34:15 -0400 (0:00:00.126) 0:00:45.722 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:34:15 -0400 (0:00:00.123) 0:00:45.846 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003970", "end": "2024-07-06 06:34:15.987647", "rc": 0, "start": "2024-07-06 06:34:15.983677" } STDOUT: bond0 bonding_masters eth0 lo peerveth0 team0 veth0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:34:16 -0400 (0:00:00.359) 0:00:46.205 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peerveth0", "team0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:34:16 -0400 (0:00:00.077) 0:00:46.283 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peerveth0', u'team0', u'veth0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 06:34:16 -0400 (0:00:00.075) 0:00:46.358 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* Saturday 06 July 2024 06:34:16 -0400 (0:00:00.703) 0:00:47.061 ********* 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:34:17 -0400 (0:00:00.099) 0:00:47.161 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* Saturday 06 July 2024 06:34:17 -0400 (0:00:00.156) 0:00:47.318 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012552", "end": "2024-07-06 06:34:17.470592", "rc": 0, "start": "2024-07-06 06:34:17.458040" } TASK [Create dummy interface veth0] ******************************************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.377) 0:00:47.695 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.075) 0:00:47.771 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.077) 0:00:47.849 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.076) 0:00:47.925 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 06:34:17 -0400 (0:00:00.073) 0:00:47.999 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/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:34:18 -0400 (0:00:00.190) 0:00:48.189 ********* 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.007870", "end": "2024-07-06 06:34:18.336036", "rc": 0, "start": "2024-07-06 06:34:18.328166" } 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 0e:28:e7:9d:f0:91 brd ff:ff:ff:ff:ff:ff inet 10.31.43.76/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3422sec preferred_lft 3422sec inet6 fe80::c28:e7ff:fe9d:f091/64 scope link valid_lft forever preferred_lft forever 10: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether fe:68:9f:79:ef:a1 brd ff:ff:ff:ff:ff:ff 18: team0: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether e2:92:3f:ac:ff:50 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.76 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 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:34:18 -0400 (0:00:00.363) 0:00:48.552 ********* 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.904954", "end": "2024-07-06 06:34:19.609971", "rc": 0, "start": "2024-07-06 06:34:18.705017" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 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 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 1628 0 --:--:-- --:--:-- --:--:-- 1631 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 440 0 --:--:-- --:--:-- --:--:-- 439 PLAY RECAP ********************************************************************* managed_node1 : ok=133 changed=4 unreachable=0 failed=0 skipped=109 rescued=0 ignored=0 Saturday 06 July 2024 06:34:19 -0400 (0:00:01.224) 0:00:49.777 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.56s fedora.linux_system_roles.network : Check which packages are installed --- 1.33s fedora.linux_system_roles.network : Check which packages are installed --- 1.30s fedora.linux_system_roles.network : Check which packages are installed --- 1.29s Verify DNS and network connectivity ------------------------------------- 1.22s fedora.linux_system_roles.network : Check which services are running ---- 1.11s Create veth interface veth0 --------------------------------------------- 1.06s Create veth interface veth0 --------------------------------------------- 1.06s fedora.linux_system_roles.network : Check which services are running ---- 1.05s fedora.linux_system_roles.network : Check which services are running ---- 1.03s fedora.linux_system_roles.network : Configure networking connection profiles --- 1.03s fedora.linux_system_roles.network : Check which services are running ---- 0.97s Gathering Facts --------------------------------------------------------- 0.90s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.85s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.79s Install yum-utils package ----------------------------------------------- 0.76s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.74s Install iproute --------------------------------------------------------- 0.70s Install iproute --------------------------------------------------------- 0.61s Gathering Facts --------------------------------------------------------- 0.58s