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] ********************************************************* Thursday 25 July 2024 06:58:06 -0400 (0:00:00.024) 0:00:00.024 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Thursday 25 July 2024 06:58:07 -0400 (0:00:00.853) 0:00:00.878 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/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] *** Thursday 25 July 2024 06:58:07 -0400 (0:00:00.030) 0:00:00.909 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Thursday 25 July 2024 06:58:07 -0400 (0:00:00.374) 0:00:01.283 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Thursday 25 July 2024 06:58:08 -0400 (0:00:00.367) 0:00:01.651 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Thursday 25 July 2024 06:58:08 -0400 (0:00:00.049) 0:00:01.700 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Thursday 25 July 2024 06:58:08 -0400 (0:00:00.045) 0:00:01.745 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** Thursday 25 July 2024 06:58:08 -0400 (0:00:00.076) 0:00:01.822 ********* 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] *********************************************** Thursday 25 July 2024 06:58:08 -0400 (0:00:00.357) 0:00:02.180 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** Thursday 25 July 2024 06:58:09 -0400 (0:00:00.623) 0:00:02.803 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.166696", "end": "2024-07-25 06:58:09.743266", "rc": 0, "start": "2024-07-25 06:58:09.576570" } 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] *********************************************************** Thursday 25 July 2024 06:58:09 -0400 (0:00:00.429) 0:00:03.233 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Thursday 25 July 2024 06:58:09 -0400 (0:00:00.024) 0:00:03.258 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Thursday 25 July 2024 06:58:09 -0400 (0:00:00.022) 0:00:03.281 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing ethtool coalesce settings] ****************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 06:58:09 -0400 (0:00:00.029) 0:00:03.311 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** Thursday 25 July 2024 06:58:10 -0400 (0:00:00.576) 0:00:03.887 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** Thursday 25 July 2024 06:58:10 -0400 (0:00:00.025) 0:00:03.913 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 06:58:10 -0400 (0:00:00.025) 0:00:03.939 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 06:58:10 -0400 (0:00:00.033) 0:00:03.972 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 06:58:10 -0400 (0:00:00.032) 0:00:04.005 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003344", "end": "2024-07-25 06:58:10.786848", "rc": 0, "start": "2024-07-25 06:58:10.783504" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 06:58:10 -0400 (0:00:00.273) 0:00:04.278 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 06:58:10 -0400 (0:00:00.029) 0:00:04.307 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** Thursday 25 July 2024 06:58:10 -0400 (0:00:00.026) 0:00:04.334 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Thursday 25 July 2024 06:58:10 -0400 (0:00:00.044) 0:00:04.379 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Thursday 25 July 2024 06:58:10 -0400 (0:00:00.026) 0:00:04.405 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 06:58:10 -0400 (0:00:00.024) 0:00:04.430 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 06:58:11 -0400 (0:00:00.037) 0:00:04.467 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 06:58:11 -0400 (0:00:00.033) 0:00:04.500 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003239", "end": "2024-07-25 06:58:11.281951", "rc": 0, "start": "2024-07-25 06:58:11.278712" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 06:58:11 -0400 (0:00:00.272) 0:00:04.773 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 06:58:11 -0400 (0:00:00.029) 0:00:04.802 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Install iproute] ********************************************************* Thursday 25 July 2024 06:58:11 -0400 (0:00:00.027) 0:00:04.829 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface testnic1] ****************************************** Thursday 25 July 2024 06:58:11 -0400 (0:00:00.459) 0:00:05.289 ********* 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.007460", "end": "2024-07-25 06:58:12.078074", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-07-25 06:58:12.070614" } 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.004320", "end": "2024-07-25 06:58:12.338814", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-07-25 06:58:12.334494" } 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.004983", "end": "2024-07-25 06:58:12.610980", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-07-25 06:58:12.605997" } TASK [Set up veth as managed by NetworkManager] ******************************** Thursday 25 July 2024 06:58:12 -0400 (0:00:00.818) 0:00:06.108 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.036931", "end": "2024-07-25 06:58:12.914182", "rc": 0, "start": "2024-07-25 06:58:12.877251" } TASK [Delete veth interface testnic1] ****************************************** Thursday 25 July 2024 06:58:12 -0400 (0:00:00.305) 0:00:06.413 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Thursday 25 July 2024 06:58:12 -0400 (0:00:00.027) 0:00:06.441 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Thursday 25 July 2024 06:58:13 -0400 (0:00:00.028) 0:00:06.469 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Thursday 25 July 2024 06:58:13 -0400 (0:00:00.026) 0:00:06.495 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Thursday 25 July 2024 06:58:13 -0400 (0:00:00.025) 0:00:06.520 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Thursday 25 July 2024 06:58:13 -0400 (0:00:00.026) 0:00:06.547 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/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'] ******************************* Thursday 25 July 2024 06:58:13 -0400 (0:00:00.039) 0:00:06.587 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface testnic1] ***************************************** Thursday 25 July 2024 06:58:13 -0400 (0:00:00.034) 0:00:06.621 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721905092.0788007, "block_size": 4096, "blocks": 0, "ctime": 1721905092.0788007, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17850, "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": 1721905092.0788007, "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'] *********************** Thursday 25 July 2024 06:58:13 -0400 (0:00:00.269) 0:00:06.891 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** Thursday 25 July 2024 06:58:13 -0400 (0:00:00.031) 0:00:06.922 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "2:ethtool-4.8-10.el7.x86_64 providing ethtool is already installed" ] } lsrpackages: ethtool TASK [TEST: I can create a profile without any coalescing option.] ************* Thursday 25 July 2024 06:58:13 -0400 (0:00:00.455) 0:00:07.377 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 06:58:13 -0400 (0:00:00.026) 0:00:07.404 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/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] *** Thursday 25 July 2024 06:58:14 -0400 (0:00:00.048) 0:00:07.453 ********* 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] *********** Thursday 25 July 2024 06:58:14 -0400 (0:00:00.029) 0:00:07.483 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 06:58:14 -0400 (0:00:00.026) 0:00:07.509 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 06:58:14 -0400 (0:00:00.026) 0:00:07.536 ********* 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] *** Thursday 25 July 2024 06:58:15 -0400 (0:00:00.948) 0:00:08.484 ********* 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] ************** Thursday 25 July 2024 06:58:16 -0400 (0:00:01.465) 0:00:09.950 ********* 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] *** Thursday 25 July 2024 06:58:16 -0400 (0:00:00.070) 0:00:10.021 ********* 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] *** Thursday 25 July 2024 06:58:16 -0400 (0:00:00.065) 0:00:10.086 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 06:58:16 -0400 (0:00:00.067) 0:00:10.153 ********* 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] *** Thursday 25 July 2024 06:58:16 -0400 (0:00:00.065) 0:00:10.219 ********* 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] *** Thursday 25 July 2024 06:58:16 -0400 (0:00:00.067) 0:00:10.286 ********* 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] *** Thursday 25 July 2024 06:58:16 -0400 (0:00:00.075) 0:00:10.361 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 06:58:16 -0400 (0:00:00.071) 0:00:10.433 ********* 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] *** Thursday 25 July 2024 06:58:17 -0400 (0:00:00.120) 0:00:10.554 ********* 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] *** Thursday 25 July 2024 06:58:17 -0400 (0:00:00.066) 0:00:10.621 ********* 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] *** Thursday 25 July 2024 06:58:17 -0400 (0:00:00.067) 0:00:10.688 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 06:58:17 -0400 (0:00:00.073) 0:00:10.761 ********* 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] ***** Thursday 25 July 2024 06:58:17 -0400 (0:00:00.066) 0:00:10.827 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 06:58:17 -0400 (0:00:00.066) 0:00:10.894 ********* 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] *** Thursday 25 July 2024 06:58:18 -0400 (0:00:00.780) 0:00:11.675 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-12880pWB81r/tmp4miBqY" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 06:58:18 -0400 (0:00:00.318) 0:00:11.994 ********* 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] ********** Thursday 25 July 2024 06:58:19 -0400 (0:00:00.841) 0:00:12.836 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 06:58:19 -0400 (0:00:00.066) 0:00:12.903 ********* 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] *** Thursday 25 July 2024 06:58:19 -0400 (0:00:00.071) 0:00:12.974 ********* 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] *** Thursday 25 July 2024 06:58:19 -0400 (0:00:00.073) 0:00:13.047 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 06:58:19 -0400 (0:00:00.066) 0:00:13.113 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Thursday 25 July 2024 06:58:20 -0400 (0:00:00.453) 0:00:13.567 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** Thursday 25 July 2024 06:58:20 -0400 (0:00:00.066) 0:00:13.633 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** Thursday 25 July 2024 06:58:20 -0400 (0:00:00.066) 0:00:13.700 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003314", "end": "2024-07-25 06:58:20.485000", "rc": 1, "start": "2024-07-25 06:58:20.481686" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** Thursday 25 July 2024 06:58:20 -0400 (0:00:00.315) 0:00:14.016 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** Thursday 25 July 2024 06:58:20 -0400 (0:00:00.073) 0:00:14.089 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 06:58:20 -0400 (0:00:00.068) 0:00:14.158 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/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] *** Thursday 25 July 2024 06:58:20 -0400 (0:00:00.167) 0:00:14.325 ********* 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] *********** Thursday 25 July 2024 06:58:20 -0400 (0:00:00.086) 0:00:14.412 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 06:58:21 -0400 (0:00:00.066) 0:00:14.479 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 06:58:21 -0400 (0:00:00.067) 0:00:14.546 ********* 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] *** Thursday 25 July 2024 06:58:21 -0400 (0:00:00.872) 0:00:15.418 ********* 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] ************** Thursday 25 July 2024 06:58:23 -0400 (0:00:01.143) 0:00:16.562 ********* 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] *** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.071) 0:00:16.634 ********* 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] *** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.106) 0:00:16.740 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.068) 0:00:16.809 ********* 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] *** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.068) 0:00:16.877 ********* 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] *** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.066) 0:00:16.944 ********* 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] *** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.076) 0:00:17.020 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.074) 0:00:17.095 ********* 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] *** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.121) 0:00:17.216 ********* 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] *** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.068) 0:00:17.284 ********* 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] *** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.066) 0:00:17.351 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 06:58:23 -0400 (0:00:00.075) 0:00:17.426 ********* 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] ***** Thursday 25 July 2024 06:58:24 -0400 (0:00:00.068) 0:00:17.495 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 06:58:24 -0400 (0:00:00.066) 0:00:17.562 ********* 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] *** Thursday 25 July 2024 06:58:24 -0400 (0:00:00.438) 0:00:18.000 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-12880pWB81r/tmpnGJzkP" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 06:58:24 -0400 (0:00:00.319) 0:00:18.319 ********* 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] ********** Thursday 25 July 2024 06:58:25 -0400 (0:00:00.655) 0:00:18.975 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 06:58:25 -0400 (0:00:00.109) 0:00:19.085 ********* 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] *** Thursday 25 July 2024 06:58:25 -0400 (0:00:00.071) 0:00:19.157 ********* 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] *** Thursday 25 July 2024 06:58:25 -0400 (0:00:00.073) 0:00:19.231 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 06:58:25 -0400 (0:00:00.068) 0:00:19.299 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Thursday 25 July 2024 06:58:26 -0400 (0:00:00.352) 0:00:19.651 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** Thursday 25 July 2024 06:58:26 -0400 (0:00:00.066) 0:00:19.718 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** Thursday 25 July 2024 06:58:26 -0400 (0:00:00.066) 0:00:19.785 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003072", "end": "2024-07-25 06:58:26.563775", "rc": 0, "start": "2024-07-25 06:58:26.560703" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** Thursday 25 July 2024 06:58:26 -0400 (0:00:00.309) 0:00:20.094 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ Thursday 25 July 2024 06:58:26 -0400 (0:00:00.075) 0:00:20.169 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 06:58:26 -0400 (0:00:00.068) 0:00:20.238 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/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] *** Thursday 25 July 2024 06:58:26 -0400 (0:00:00.127) 0:00:20.365 ********* 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] *********** Thursday 25 July 2024 06:58:27 -0400 (0:00:00.090) 0:00:20.456 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 06:58:27 -0400 (0:00:00.068) 0:00:20.525 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 06:58:27 -0400 (0:00:00.067) 0:00:20.593 ********* 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] *** Thursday 25 July 2024 06:58:28 -0400 (0:00:00.858) 0:00:21.451 ********* 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] ************** Thursday 25 July 2024 06:58:29 -0400 (0:00:01.140) 0:00:22.592 ********* 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] *** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.071) 0:00:22.664 ********* 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] *** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.069) 0:00:22.733 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.067) 0:00:22.800 ********* 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] *** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.068) 0:00:22.869 ********* 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] *** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.067) 0:00:22.937 ********* 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] *** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.076) 0:00:23.013 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.075) 0:00:23.089 ********* 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] *** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.122) 0:00:23.211 ********* 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] *** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.107) 0:00:23.319 ********* 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] *** Thursday 25 July 2024 06:58:29 -0400 (0:00:00.069) 0:00:23.388 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 06:58:30 -0400 (0:00:00.074) 0:00:23.463 ********* 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] ***** Thursday 25 July 2024 06:58:30 -0400 (0:00:00.069) 0:00:23.532 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 06:58:30 -0400 (0:00:00.066) 0:00:23.598 ********* 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] *** Thursday 25 July 2024 06:58:30 -0400 (0:00:00.444) 0:00:24.043 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-12880pWB81r/tmply7h4M" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 06:58:30 -0400 (0:00:00.316) 0:00:24.359 ********* 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] ********** Thursday 25 July 2024 06:58:31 -0400 (0:00:00.623) 0:00:24.983 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 06:58:31 -0400 (0:00:00.068) 0:00:25.052 ********* 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] *** Thursday 25 July 2024 06:58:31 -0400 (0:00:00.071) 0:00:25.124 ********* 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] *** Thursday 25 July 2024 06:58:31 -0400 (0:00:00.074) 0:00:25.198 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 06:58:31 -0400 (0:00:00.068) 0:00:25.267 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** Thursday 25 July 2024 06:58:32 -0400 (0:00:00.307) 0:00:25.574 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** Thursday 25 July 2024 06:58:32 -0400 (0:00:00.067) 0:00:25.642 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** Thursday 25 July 2024 06:58:32 -0400 (0:00:00.109) 0:00:25.752 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003193", "end": "2024-07-25 06:58:32.536375", "rc": 1, "start": "2024-07-25 06:58:32.533182" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** Thursday 25 July 2024 06:58:32 -0400 (0:00:00.316) 0:00:26.068 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Thursday 25 July 2024 06:58:32 -0400 (0:00:00.074) 0:00:26.142 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/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] *** Thursday 25 July 2024 06:58:32 -0400 (0:00:00.130) 0:00:26.273 ********* 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] *********** Thursday 25 July 2024 06:58:32 -0400 (0:00:00.089) 0:00:26.362 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Thursday 25 July 2024 06:58:32 -0400 (0:00:00.069) 0:00:26.432 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Thursday 25 July 2024 06:58:33 -0400 (0:00:00.069) 0:00:26.501 ********* 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] *** Thursday 25 July 2024 06:58:33 -0400 (0:00:00.905) 0:00:27.406 ********* 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] ************** Thursday 25 July 2024 06:58:35 -0400 (0:00:01.232) 0:00:28.639 ********* 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] *** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.074) 0:00:28.714 ********* 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] *** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.067) 0:00:28.782 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.068) 0:00:28.850 ********* 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] *** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.067) 0:00:28.918 ********* 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] *** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.068) 0:00:28.987 ********* 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] *** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.077) 0:00:29.065 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.073) 0:00:29.139 ********* 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] *** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.124) 0:00:29.264 ********* 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] *** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.067) 0:00:29.332 ********* 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] *** Thursday 25 July 2024 06:58:35 -0400 (0:00:00.068) 0:00:29.400 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Thursday 25 July 2024 06:58:36 -0400 (0:00:00.075) 0:00:29.476 ********* 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] ***** Thursday 25 July 2024 06:58:36 -0400 (0:00:00.067) 0:00:29.543 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Thursday 25 July 2024 06:58:36 -0400 (0:00:00.068) 0:00:29.612 ********* 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] *** Thursday 25 July 2024 06:58:36 -0400 (0:00:00.489) 0:00:30.101 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-12880pWB81r/tmpztGgdE" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Thursday 25 July 2024 06:58:36 -0400 (0:00:00.322) 0:00:30.423 ********* 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] ********** Thursday 25 July 2024 06:58:37 -0400 (0:00:00.514) 0:00:30.938 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Thursday 25 July 2024 06:58:37 -0400 (0:00:00.067) 0:00:31.005 ********* 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] *** Thursday 25 July 2024 06:58:37 -0400 (0:00:00.072) 0:00:31.078 ********* 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] *** Thursday 25 July 2024 06:58:37 -0400 (0:00:00.072) 0:00:31.150 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Thursday 25 July 2024 06:58:37 -0400 (0:00:00.067) 0:00:31.218 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Thursday 25 July 2024 06:58:38 -0400 (0:00:00.299) 0:00:31.518 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Thursday 25 July 2024 06:58:38 -0400 (0:00:00.132) 0:00:31.650 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Thursday 25 July 2024 06:58:38 -0400 (0:00:00.068) 0:00:31.719 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Thursday 25 July 2024 06:58:38 -0400 (0:00:00.068) 0:00:31.787 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Thursday 25 July 2024 06:58:38 -0400 (0:00:00.118) 0:00:31.905 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Thursday 25 July 2024 06:58:38 -0400 (0:00:00.115) 0:00:32.021 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003289", "end": "2024-07-25 06:58:38.800516", "rc": 0, "start": "2024-07-25 06:58:38.797227" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** Thursday 25 July 2024 06:58:38 -0400 (0:00:00.355) 0:00:32.377 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Thursday 25 July 2024 06:58:39 -0400 (0:00:00.074) 0:00:32.452 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'peertestnic1', u'testnic1'] TASK [Install iproute] ********************************************************* Thursday 25 July 2024 06:58:39 -0400 (0:00:00.071) 0:00:32.523 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface testnic1] ****************************************** Thursday 25 July 2024 06:58:39 -0400 (0:00:00.527) 0:00:33.051 ********* 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] ******************************** Thursday 25 July 2024 06:58:39 -0400 (0:00:00.094) 0:00:33.145 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** Thursday 25 July 2024 06:58:39 -0400 (0:00:00.070) 0:00:33.216 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.012085", "end": "2024-07-25 06:58:40.006815", "rc": 0, "start": "2024-07-25 06:58:39.994730" } TASK [Create dummy interface testnic1] ***************************************** Thursday 25 July 2024 06:58:40 -0400 (0:00:00.371) 0:00:33.588 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Thursday 25 July 2024 06:58:40 -0400 (0:00:00.071) 0:00:33.659 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Thursday 25 July 2024 06:58:40 -0400 (0:00:00.068) 0:00:33.728 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Thursday 25 July 2024 06:58:40 -0400 (0:00:00.069) 0:00:33.798 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** Thursday 25 July 2024 06:58:40 -0400 (0:00:00.067) 0:00:33.866 ********* included: /var/ARTIFACTS/work-general_4xl1lt4/plans/general/tree/tmp.ZsQUqqkfeZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Thursday 25 July 2024 06:58:40 -0400 (0:00:00.134) 0:00:34.000 ********* 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.006844", "end": "2024-07-25 06:58:40.787846", "rc": 0, "start": "2024-07-25 06:58:40.781002" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:ee:b4:88:8d brd ff:ff:ff:ff:ff:ff inet 10.31.13.243/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3553sec preferred_lft 3553sec inet6 fe80::8ff:eeff:feb4:888d/64 scope link valid_lft forever preferred_lft forever 10: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 12:e1:07:4c:fb:45 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.243 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] ************************************* Thursday 25 July 2024 06:58:40 -0400 (0:00:00.321) 0:00:34.321 ********* 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.598954", "end": "2024-07-25 06:58:41.722085", "rc": 0, "start": "2024-07-25 06:58:41.123131" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1379 0 --:--:-- --:--:-- --:--:-- 1386 % 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 817 0 --:--:-- --:--:-- --:--:-- 817 100 291 100 291 0 0 817 0 --:--:-- --:--:-- --:--:-- 817 PLAY RECAP ********************************************************************* managed_node1 : ok=92 changed=4 unreachable=0 failed=0 skipped=92 rescued=0 ignored=2 Thursday 25 July 2024 06:58:41 -0400 (0:00:00.886) 0:00:35.207 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.47s fedora.linux_system_roles.network : Check which packages are installed --- 1.23s fedora.linux_system_roles.network : Check which packages are installed --- 1.14s fedora.linux_system_roles.network : Check which packages are installed --- 1.14s fedora.linux_system_roles.network : Check which services are running ---- 0.95s fedora.linux_system_roles.network : Check which services are running ---- 0.91s Verify DNS and network connectivity ------------------------------------- 0.89s fedora.linux_system_roles.network : Check which services are running ---- 0.87s fedora.linux_system_roles.network : Check which services are running ---- 0.86s Gathering Facts --------------------------------------------------------- 0.85s Create veth interface testnic1 ------------------------------------------ 0.82s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.66s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.62s Install yum-utils package ----------------------------------------------- 0.62s Gathering Facts --------------------------------------------------------- 0.58s Install iproute --------------------------------------------------------- 0.53s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s fedora.linux_system_roles.network : Enable network service -------------- 0.49s Install iproute --------------------------------------------------------- 0.46s Install ethtool (test dependency) --------------------------------------- 0.46s