Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:57:04 -0400 (0:00:00.021) 0:00:00.021 *********** ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Monday 22 July 2024 11:57:05 -0400 (0:00:00.833) 0:00:00.854 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:05 -0400 (0:00:00.030) 0:00:00.885 *********** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Monday 22 July 2024 11:57:05 -0400 (0:00:00.394) 0:00:01.279 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Monday 22 July 2024 11:57:06 -0400 (0:00:00.392) 0:00:01.671 *********** ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Monday 22 July 2024 11:57:06 -0400 (0:00:00.046) 0:00:01.718 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Monday 22 July 2024 11:57:06 -0400 (0:00:00.040) 0:00:01.758 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** Monday 22 July 2024 11:57:06 -0400 (0:00:00.074) 0:00:01.833 *********** 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] *********************************************** Monday 22 July 2024 11:57:06 -0400 (0:00:00.365) 0:00:02.198 *********** 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] *********************************************************** Monday 22 July 2024 11:57:07 -0400 (0:00:00.737) 0:00:02.936 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.165986", "end": "2024-07-22 11:57:08.027540", "rc": 0, "start": "2024-07-22 11:57:07.861554" } 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] *********************************************************** Monday 22 July 2024 11:57:08 -0400 (0:00:00.452) 0:00:03.389 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Monday 22 July 2024 11:57:08 -0400 (0:00:00.023) 0:00:03.412 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Monday 22 July 2024 11:57:08 -0400 (0:00:00.022) 0:00:03.434 *********** ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing ethtool coalesce settings] ****************************** TASK [Gathering Facts] ********************************************************* Monday 22 July 2024 11:57:08 -0400 (0:00:00.026) 0:00:03.461 *********** ok: [managed_node1] TASK [Show playbook name] ****************************************************** Monday 22 July 2024 11:57:08 -0400 (0:00:00.549) 0:00:04.011 *********** ok: [managed_node1] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** Monday 22 July 2024 11:57:08 -0400 (0:00:00.025) 0:00:04.036 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:57:08 -0400 (0:00:00.023) 0:00:04.059 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:08 -0400 (0:00:00.034) 0:00:04.094 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:08 -0400 (0:00:00.031) 0:00:04.126 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004368", "end": "2024-07-22 11:57:10.055876", "rc": 0, "start": "2024-07-22 11:57:09.051508" } STDOUT: bond0 bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:57:10 -0400 (0:00:01.337) 0:00:05.463 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:57:10 -0400 (0:00:00.027) 0:00:05.491 *********** 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'] **************************** Monday 22 July 2024 11:57:10 -0400 (0:00:00.023) 0:00:05.515 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:10 -0400 (0:00:00.040) 0:00:05.555 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Monday 22 July 2024 11:57:10 -0400 (0:00:00.021) 0:00:05.576 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:57:10 -0400 (0:00:00.020) 0:00:05.597 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:10 -0400 (0:00:00.034) 0:00:05.632 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:10 -0400 (0:00:00.031) 0:00:05.664 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003196", "end": "2024-07-22 11:57:10.586983", "rc": 0, "start": "2024-07-22 11:57:10.583787" } STDOUT: bond0 bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:57:10 -0400 (0:00:00.279) 0:00:05.944 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:57:10 -0400 (0:00:00.029) 0:00:05.973 *********** ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'team0'] TASK [Install iproute] ********************************************************* Monday 22 July 2024 11:57:10 -0400 (0:00:00.024) 0:00:05.998 *********** 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 testnic1] ****************************************** Monday 22 July 2024 11:57:11 -0400 (0:00:00.486) 0:00:06.484 *********** ok: [managed_node1] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.007501", "end": "2024-07-22 11:57:11.427607", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-07-22 11:57:11.420106" } ok: [managed_node1] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004517", "end": "2024-07-22 11:57:11.706046", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-07-22 11:57:11.701529" } ok: [managed_node1] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.009394", "end": "2024-07-22 11:57:11.986559", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-07-22 11:57:11.977165" } TASK [Set up veth as managed by NetworkManager] ******************************** Monday 22 July 2024 11:57:12 -0400 (0:00:00.863) 0:00:07.347 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.034841", "end": "2024-07-22 11:57:12.306312", "rc": 0, "start": "2024-07-22 11:57:12.271471" } TASK [Delete veth interface testnic1] ****************************************** Monday 22 July 2024 11:57:12 -0400 (0:00:00.322) 0:00:07.670 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Monday 22 July 2024 11:57:12 -0400 (0:00:00.025) 0:00:07.696 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Monday 22 July 2024 11:57:12 -0400 (0:00:00.025) 0:00:07.721 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Monday 22 July 2024 11:57:12 -0400 (0:00:00.026) 0:00:07.747 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Monday 22 July 2024 11:57:12 -0400 (0:00:00.024) 0:00:07.771 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Monday 22 July 2024 11:57:12 -0400 (0:00:00.024) 0:00:07.796 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:12 -0400 (0:00:00.033) 0:00:07.830 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface testnic1] ***************************************** Monday 22 July 2024 11:57:12 -0400 (0:00:00.034) 0:00:07.864 *********** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721663831.4279745, "block_size": 4096, "blocks": 0, "ctime": 1721663831.4279745, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18638, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1721663831.4279745, "nlink": 1, "path": "/sys/class/net/testnic1", "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 - 'testnic1'] *********************** Monday 22 July 2024 11:57:12 -0400 (0:00:00.284) 0:00:08.149 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** Monday 22 July 2024 11:57:12 -0400 (0:00:00.029) 0:00:08.179 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "2:ethtool-4.8-10.el7.x86_64 providing ethtool is already installed" ] } TASK [TEST: I can create a profile without any coalescing option.] ************* Monday 22 July 2024 11:57:13 -0400 (0:00:00.567) 0:00:08.746 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:57:13 -0400 (0:00:00.024) 0:00:08.771 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:13 -0400 (0:00:00.043) 0:00:08.815 *********** 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:57:13 -0400 (0:00:00.025) 0:00:08.840 *********** 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:57:13 -0400 (0:00:00.026) 0:00:08.867 *********** 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:57:13 -0400 (0:00:00.023) 0:00:08.890 *********** 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:57:14 -0400 (0:00:00.970) 0:00:09.861 *********** 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:57:15 -0400 (0:00:01.425) 0:00:11.287 *********** ok: [managed_node1] => {} MSG: Using network provider: initscripts 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:57:16 -0400 (0:00:00.064) 0:00:11.351 *********** 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:57:16 -0400 (0:00:00.065) 0:00:11.416 *********** 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:57:16 -0400 (0:00:00.061) 0:00:11.478 *********** 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:57:16 -0400 (0:00:00.065) 0:00:11.544 *********** 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:57:16 -0400 (0:00:00.072) 0:00:11.617 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:57:16 -0400 (0:00:00.068) 0:00:11.685 *********** 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:57:16 -0400 (0:00:00.113) 0:00:11.799 *********** 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:57:16 -0400 (0:00:00.064) 0:00:11.863 *********** 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:57:16 -0400 (0:00:00.065) 0:00:11.929 *********** 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:57:16 -0400 (0:00:00.112) 0:00:12.041 *********** 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 : Enable and start wpa_supplicant] ***** Monday 22 July 2024 11:57:16 -0400 (0:00:00.065) 0:00:12.106 *********** 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:57:16 -0400 (0:00:00.066) 0:00:12.173 *********** 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 : Ensure initscripts network file dependency is present] *** Monday 22 July 2024 11:57:17 -0400 (0:00:00.711) 0:00:12.885 *********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-125269fn0lq/tmpXa79yi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:57:17 -0400 (0:00:00.341) 0:00:13.226 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 11:57:18 -0400 (0:00:00.912) 0:00:14.138 *********** 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:57:18 -0400 (0:00:00.065) 0:00:14.203 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 11:57:18 -0400 (0:00:00.067) 0:00:14.271 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 11:57:19 -0400 (0:00:00.072) 0:00:14.343 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:57:19 -0400 (0:00:00.062) 0:00:14.405 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Monday 22 July 2024 11:57:19 -0400 (0:00:00.484) 0:00:14.890 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** Monday 22 July 2024 11:57:19 -0400 (0:00:00.062) 0:00:14.953 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** Monday 22 July 2024 11:57:19 -0400 (0:00:00.107) 0:00:15.061 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003119", "end": "2024-07-22 11:57:19.986316", "rc": 1, "start": "2024-07-22 11:57:19.983197" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** Monday 22 July 2024 11:57:20 -0400 (0:00:00.320) 0:00:15.382 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** Monday 22 July 2024 11:57:20 -0400 (0:00:00.072) 0:00:15.454 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:57:20 -0400 (0:00:00.064) 0:00:15.519 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:20 -0400 (0:00:00.121) 0:00:15.640 *********** 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:57:20 -0400 (0:00:00.081) 0:00:15.721 *********** 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:57:20 -0400 (0:00:00.065) 0:00:15.787 *********** 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:57:20 -0400 (0:00:00.063) 0:00:15.851 *********** 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:57:21 -0400 (0:00:00.868) 0:00:16.720 *********** 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:57:22 -0400 (0:00:01.243) 0:00:17.963 *********** ok: [managed_node1] => {} MSG: Using network provider: initscripts 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:57:22 -0400 (0:00:00.069) 0:00:18.032 *********** 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:57:22 -0400 (0:00:00.063) 0:00:18.096 *********** 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:57:22 -0400 (0:00:00.067) 0:00:18.163 *********** 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:57:22 -0400 (0:00:00.066) 0:00:18.230 *********** 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:57:22 -0400 (0:00:00.074) 0:00:18.304 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:57:23 -0400 (0:00:00.070) 0:00:18.374 *********** 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:57:23 -0400 (0:00:00.111) 0:00:18.486 *********** 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:57:23 -0400 (0:00:00.066) 0:00:18.553 *********** 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:57:23 -0400 (0:00:00.064) 0:00:18.617 *********** 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:57:23 -0400 (0:00:00.070) 0:00:18.687 *********** 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 : Enable and start wpa_supplicant] ***** Monday 22 July 2024 11:57:23 -0400 (0:00:00.069) 0:00:18.756 *********** 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:57:23 -0400 (0:00:00.062) 0:00:18.819 *********** 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 : Ensure initscripts network file dependency is present] *** Monday 22 July 2024 11:57:24 -0400 (0:00:00.503) 0:00:19.323 *********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-125269fn0lq/tmptNSZgj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:57:24 -0400 (0:00:00.338) 0:00:19.661 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported RTNETLINK answers: File exists ' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 11:57:25 -0400 (0:00:00.677) 0:00:20.338 *********** 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:57:25 -0400 (0:00:00.062) 0:00:20.401 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported", "RTNETLINK answers: File exists", "'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 11:57:25 -0400 (0:00:00.071) 0:00:20.473 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported\nRTNETLINK answers: File exists\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='Cannot get device coalesce settings: Operation not supported", "RTNETLINK answers: File exists", "'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 11:57:25 -0400 (0:00:00.069) 0:00:20.543 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:57:25 -0400 (0:00:00.064) 0:00:20.607 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Monday 22 July 2024 11:57:25 -0400 (0:00:00.325) 0:00:20.933 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** Monday 22 July 2024 11:57:25 -0400 (0:00:00.061) 0:00:20.995 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** Monday 22 July 2024 11:57:25 -0400 (0:00:00.066) 0:00:21.062 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003143", "end": "2024-07-22 11:57:25.993321", "rc": 0, "start": "2024-07-22 11:57:25.990178" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** Monday 22 July 2024 11:57:26 -0400 (0:00:00.328) 0:00:21.390 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ Monday 22 July 2024 11:57:26 -0400 (0:00:00.070) 0:00:21.461 *********** ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:57:26 -0400 (0:00:00.066) 0:00:21.528 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:26 -0400 (0:00:00.168) 0:00:21.696 *********** 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:57:26 -0400 (0:00:00.083) 0:00:21.780 *********** 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:57:26 -0400 (0:00:00.067) 0:00:21.847 *********** 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:57:26 -0400 (0:00:00.064) 0:00:21.912 *********** 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:57:27 -0400 (0:00:00.879) 0:00:22.791 *********** 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:57:28 -0400 (0:00:01.146) 0:00:23.938 *********** ok: [managed_node1] => {} MSG: Using network provider: initscripts 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:57:28 -0400 (0:00:00.071) 0:00:24.009 *********** 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:57:28 -0400 (0:00:00.063) 0:00:24.073 *********** 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:57:28 -0400 (0:00:00.108) 0:00:24.181 *********** 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:57:28 -0400 (0:00:00.067) 0:00:24.249 *********** 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:57:29 -0400 (0:00:00.073) 0:00:24.322 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:57:29 -0400 (0:00:00.070) 0:00:24.393 *********** 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:57:29 -0400 (0:00:00.113) 0:00:24.506 *********** 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:57:29 -0400 (0:00:00.065) 0:00:24.572 *********** 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:57:29 -0400 (0:00:00.065) 0:00:24.637 *********** 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:57:29 -0400 (0:00:00.072) 0:00:24.710 *********** 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 : Enable and start wpa_supplicant] ***** Monday 22 July 2024 11:57:29 -0400 (0:00:00.069) 0:00:24.780 *********** 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:57:29 -0400 (0:00:00.064) 0:00:24.844 *********** 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 : Ensure initscripts network file dependency is present] *** Monday 22 July 2024 11:57:29 -0400 (0:00:00.448) 0:00:25.293 *********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-125269fn0lq/tmpk8HqDv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:57:30 -0400 (0:00:00.458) 0:00:25.752 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='RTNETLINK answers: File exists ' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 11:57:31 -0400 (0:00:00.617) 0:00:26.369 *********** 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:57:31 -0400 (0:00:00.063) 0:00:26.433 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='RTNETLINK answers: File exists", "'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 11:57:31 -0400 (0:00:00.115) 0:00:26.549 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='RTNETLINK answers: File exists\n'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='RTNETLINK answers: File exists", "'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 11:57:31 -0400 (0:00:00.070) 0:00:26.619 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:57:31 -0400 (0:00:00.066) 0:00:26.686 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Monday 22 July 2024 11:57:31 -0400 (0:00:00.324) 0:00:27.011 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** Monday 22 July 2024 11:57:31 -0400 (0:00:00.064) 0:00:27.075 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** Monday 22 July 2024 11:57:31 -0400 (0:00:00.066) 0:00:27.141 *********** fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003117", "end": "2024-07-22 11:57:32.079856", "rc": 1, "start": "2024-07-22 11:57:32.076739" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** Monday 22 July 2024 11:57:32 -0400 (0:00:00.334) 0:00:27.476 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Monday 22 July 2024 11:57:32 -0400 (0:00:00.072) 0:00:27.549 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:32 -0400 (0:00:00.125) 0:00:27.674 *********** 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:57:32 -0400 (0:00:00.085) 0:00:27.760 *********** 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:57:32 -0400 (0:00:00.064) 0:00:27.825 *********** 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:57:32 -0400 (0:00:00.067) 0:00:27.892 *********** 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:57:33 -0400 (0:00:00.915) 0:00:28.807 *********** 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:57:34 -0400 (0:00:01.147) 0:00:29.955 *********** ok: [managed_node1] => {} MSG: Using network provider: initscripts 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:57:34 -0400 (0:00:00.071) 0:00:30.026 *********** 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:57:34 -0400 (0:00:00.066) 0:00:30.093 *********** 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:57:34 -0400 (0:00:00.065) 0:00:30.158 *********** 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:57:34 -0400 (0:00:00.067) 0:00:30.225 *********** 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:57:34 -0400 (0:00:00.071) 0:00:30.297 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Monday 22 July 2024 11:57:35 -0400 (0:00:00.072) 0:00:30.369 *********** 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:57:35 -0400 (0:00:00.117) 0:00:30.486 *********** 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:57:35 -0400 (0:00:00.064) 0:00:30.551 *********** 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:57:35 -0400 (0:00:00.068) 0:00:30.620 *********** 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:57:35 -0400 (0:00:00.071) 0:00:30.691 *********** 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 : Enable and start wpa_supplicant] ***** Monday 22 July 2024 11:57:35 -0400 (0:00:00.113) 0:00:30.804 *********** 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:57:35 -0400 (0:00:00.066) 0:00:30.870 *********** 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 : Ensure initscripts network file dependency is present] *** Monday 22 July 2024 11:57:36 -0400 (0:00:00.528) 0:00:31.399 *********** ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-125269fn0lq/tmpavmE1g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Monday 22 July 2024 11:57:36 -0400 (0:00:00.344) 0:00:31.743 *********** changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Monday 22 July 2024 11:57:36 -0400 (0:00:00.522) 0:00:32.265 *********** 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:57:37 -0400 (0:00:00.066) 0:00:32.332 *********** ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Monday 22 July 2024 11:57:37 -0400 (0:00:00.069) 0:00:32.401 *********** ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Monday 22 July 2024 11:57:37 -0400 (0:00:00.067) 0:00:32.469 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Monday 22 July 2024 11:57:37 -0400 (0:00:00.065) 0:00:32.534 *********** ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Monday 22 July 2024 11:57:37 -0400 (0:00:00.314) 0:00:32.848 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:37 -0400 (0:00:00.126) 0:00:32.975 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Monday 22 July 2024 11:57:37 -0400 (0:00:00.064) 0:00:33.040 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Monday 22 July 2024 11:57:37 -0400 (0:00:00.113) 0:00:33.154 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:37 -0400 (0:00:00.113) 0:00:33.267 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:38 -0400 (0:00:00.112) 0:00:33.379 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003200", "end": "2024-07-22 11:57:38.331108", "rc": 0, "start": "2024-07-22 11:57:38.327908" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 team0 testnic1 TASK [Set current_interfaces] ************************************************** Monday 22 July 2024 11:57:38 -0400 (0:00:00.348) 0:00:33.728 *********** ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "team0", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 22 July 2024 11:57:38 -0400 (0:00:00.069) 0:00:33.797 *********** ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peertestnic1', u'team0', u'testnic1'] TASK [Install iproute] ********************************************************* Monday 22 July 2024 11:57:38 -0400 (0:00:00.068) 0:00:33.865 *********** 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 testnic1] ****************************************** Monday 22 July 2024 11:57:39 -0400 (0:00:00.539) 0:00:34.405 *********** skipping: [managed_node1] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** Monday 22 July 2024 11:57:39 -0400 (0:00:00.090) 0:00:34.495 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** Monday 22 July 2024 11:57:39 -0400 (0:00:00.066) 0:00:34.561 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.009642", "end": "2024-07-22 11:57:39.510596", "rc": 0, "start": "2024-07-22 11:57:39.500954" } TASK [Create dummy interface testnic1] ***************************************** Monday 22 July 2024 11:57:39 -0400 (0:00:00.419) 0:00:34.981 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Monday 22 July 2024 11:57:39 -0400 (0:00:00.067) 0:00:35.048 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Monday 22 July 2024 11:57:39 -0400 (0:00:00.067) 0:00:35.115 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Monday 22 July 2024 11:57:39 -0400 (0:00:00.067) 0:00:35.183 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** Monday 22 July 2024 11:57:39 -0400 (0:00:00.114) 0:00:35.298 *********** included: /var/ARTIFACTS/work-generalf9zchfe2/plans/general/tree/tmp.ogkfs9ZVSj/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:57:40 -0400 (0:00:00.126) 0:00:35.425 *********** 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.008388", "end": "2024-07-22 11:57:40.366168", "rc": 0, "start": "2024-07-22 11:57:40.357780" } 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:d1:5c:a8:50:8d brd ff:ff:ff:ff:ff:ff inet 10.31.42.215/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3553sec preferred_lft 3553sec inet6 fe80::cd1:5cff:fea8:508d/64 scope link valid_lft forever preferred_lft forever 10: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether fe:be:f5:64:d7:d4 brd ff:ff:ff:ff:ff:ff 18: team0: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 0e:7c:c5:5d:56:de 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.42.215 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] ************************************* Monday 22 July 2024 11:57:40 -0400 (0:00:00.338) 0:00:35.763 *********** 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.526599", "end": "2024-07-22 11:57:41.238786", "rc": 0, "start": "2024-07-22 11:57:40.712187" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 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 802 0 --:--:-- --:--:-- --:--:-- 804 % 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 2342 0 --:--:-- --:--:-- --:--:-- 2346 PLAY RECAP ********************************************************************* managed_node1 : ok=92 changed=4 unreachable=0 failed=0 skipped=88 rescued=0 ignored=2 Monday 22 July 2024 11:57:41 -0400 (0:00:00.826) 0:00:36.589 *********** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.43s Gather current interface info ------------------------------------------- 1.34s fedora.linux_system_roles.network : Check which packages are installed --- 1.24s fedora.linux_system_roles.network : Check which packages are installed --- 1.15s fedora.linux_system_roles.network : Check which packages are installed --- 1.15s fedora.linux_system_roles.network : Check which services are running ---- 0.97s fedora.linux_system_roles.network : Check which services are running ---- 0.92s fedora.linux_system_roles.network : Check which services are running ---- 0.88s fedora.linux_system_roles.network : Check which services are running ---- 0.87s Create veth interface testnic1 ------------------------------------------ 0.86s Gathering Facts --------------------------------------------------------- 0.83s Verify DNS and network connectivity ------------------------------------- 0.83s Install yum-utils package ----------------------------------------------- 0.74s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.68s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.62s Install ethtool (test dependency) --------------------------------------- 0.57s Gathering Facts --------------------------------------------------------- 0.55s Install iproute --------------------------------------------------------- 0.54s fedora.linux_system_roles.network : Enable network service -------------- 0.53s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s