# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /WORKDIR/git-bond_options_rewrited8haelme/tests/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tests_ethtool_ring_initscripts.yml:5 Tuesday 13 February 2024 21:20:26 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tests_ethtool_ring_initscripts.yml:8 Tuesday 13 February 2024 21:20:27 +0000 (0:00:00.898) 0:00:00.912 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 21:20:27 +0000 (0:00:00.077) 0:00:00.990 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml:19 Tuesday 13 February 2024 21:20:27 +0000 (0:00:00.365) 0:00:01.355 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml:24 Tuesday 13 February 2024 21:20:27 +0000 (0:00:00.273) 0:00:01.629 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml:28 Tuesday 13 February 2024 21:20:27 +0000 (0:00:00.027) 0:00:01.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/el_repo_setup.yml:53 Tuesday 13 February 2024 21:20:27 +0000 (0:00:00.065) 0:00:01.722 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 21:20:28 +0000 (0:00:00.075) 0:00:01.797 ****** ok: [sut] => { "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] *********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 21:20:28 +0000 (0:00:00.520) 0:00:02.317 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 21:20:29 +0000 (0:00:00.611) 0:00:02.929 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.214741", "end": "2024-02-13 21:20:29.524623", "rc": 0, "start": "2024-02-13 21:20:29.309882" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 21:20:29 +0000 (0:00:00.371) 0:00:03.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 21:20:29 +0000 (0:00:00.086) 0:00:03.387 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/tests_ethtool_ring_initscripts.yml:10 Tuesday 13 February 2024 21:20:29 +0000 (0:00:00.022) 0:00:03.410 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing ethtool ring settings] ********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:3 Tuesday 13 February 2024 21:20:29 +0000 (0:00:00.069) 0:00:03.479 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:9 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.471) 0:00:03.951 ****** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:15 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.036) 0:00:03.987 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:18 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.051) 0:00:04.038 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.027) 0:00:04.066 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.051) 0:00:04.118 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003871", "end": "2024-02-13 21:20:30.497348", "rc": 0, "start": "2024-02-13 21:20:30.493477" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.149) 0:00:04.267 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.014) 0:00:04.282 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:20 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.013) 0:00:04.295 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.023) 0:00:04.319 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.047) 0:00:04.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.012) 0:00:04.379 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.042) 0:00:04.421 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.065) 0:00:04.487 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003882", "end": "2024-02-13 21:20:30.896944", "rc": 0, "start": "2024-02-13 21:20:30.893062" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.198) 0:00:04.686 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:20:30 +0000 (0:00:00.047) 0:00:04.733 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:20:31 +0000 (0:00:00.028) 0:00:04.762 ****** ok: [sut] => { "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] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 21:20:31 +0000 (0:00:00.457) 0:00:05.219 ****** ok: [sut] => (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.015004", "end": "2024-02-13 21:20:31.625269", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-02-13 21:20:31.610265" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.005956", "end": "2024-02-13 21:20:31.779680", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-02-13 21:20:31.773724" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.006726", "end": "2024-02-13 21:20:31.934526", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-02-13 21:20:31.927800" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 21:20:31 +0000 (0:00:00.492) 0:00:05.711 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.027706", "end": "2024-02-13 21:20:32.109440", "rc": 0, "start": "2024-02-13 21:20:32.081734" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.178) 0:00:05.890 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.028) 0:00:05.919 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.057) 0:00:05.976 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.018) 0:00:05.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.017) 0:00:06.012 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:24 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.020) 0:00:06.033 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.026) 0:00:06.059 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.022) 0:00:06.081 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859231.6283371, "block_size": 4096, "blocks": 0, "ctime": 1707859231.6283371, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17625, "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": 1707859231.6283371, "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'] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.180) 0:00:06.261 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:26 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.029) 0:00:06.291 ****** ok: [sut] => { "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 ring option.] ******************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:35 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.414) 0:00:06.705 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:20:32 +0000 (0:00:00.029) 0:00:06.735 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:20:33 +0000 (0:00:00.087) 0:00:06.823 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:20:33 +0000 (0:00:00.045) 0:00:06.868 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:20:33 +0000 (0:00:00.035) 0:00:06.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:20:33 +0000 (0:00:00.017) 0:00:06.921 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:20:34 +0000 (0:00:00.992) 0:00:07.914 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:20:35 +0000 (0:00:01.032) 0:00:08.946 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:20:35 +0000 (0:00:00.068) 0:00:09.014 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:20:35 +0000 (0:00:00.039) 0:00:09.054 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:20:35 +0000 (0:00:00.054) 0:00:09.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:20:35 +0000 (0:00:00.085) 0:00:09.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:20:35 +0000 (0:00:00.058) 0:00:09.253 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:20:35 +0000 (0:00:00.031) 0:00:09.284 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:20:35 +0000 (0:00:00.080) 0:00:09.365 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:20:35 +0000 (0:00:00.022) 0:00:09.388 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:20:35 +0000 (0:00:00.052) 0:00:09.440 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:20:36 +0000 (0:00:00.612) 0:00:10.053 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11792l7yb5676/tmpn38jpt20" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:20:36 +0000 (0:00:00.372) 0:00:10.425 ****** changed: [sut] => { "_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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:20:37 +0000 (0:00:00.584) 0:00:11.009 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:20:37 +0000 (0:00:00.048) 0:00:11.058 ****** ok: [sut] => { "__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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:20:37 +0000 (0:00:00.024) 0:00:11.083 ****** ok: [sut] => { "__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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:20:37 +0000 (0:00:00.029) 0:00:11.112 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:20:37 +0000 (0:00:00.075) 0:00:11.187 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:51 Tuesday 13 February 2024 21:20:37 +0000 (0:00:00.351) 0:00:11.538 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:57 Tuesday 13 February 2024 21:20:37 +0000 (0:00:00.055) 0:00:11.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:62 Tuesday 13 February 2024 21:20:37 +0000 (0:00:00.064) 0:00:11.658 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003811", "end": "2024-02-13 21:20:38.124289", "rc": 1, "start": "2024-02-13 21:20:38.120478" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:70 Tuesday 13 February 2024 21:20:38 +0000 (0:00:00.271) 0:00:11.929 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:76 Tuesday 13 February 2024 21:20:38 +0000 (0:00:00.033) 0:00:11.962 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:20:38 +0000 (0:00:00.041) 0:00:12.004 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:20:38 +0000 (0:00:00.105) 0:00:12.110 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:20:38 +0000 (0:00:00.074) 0:00:12.184 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:20:38 +0000 (0:00:00.051) 0:00:12.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:20:38 +0000 (0:00:00.040) 0:00:12.276 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:20:39 +0000 (0:00:00.917) 0:00:13.193 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.804) 0:00:13.998 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.037) 0:00:14.035 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.035) 0:00:14.071 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.043) 0:00:14.114 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.078) 0:00:14.193 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.051) 0:00:14.245 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.033) 0:00:14.278 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.026) 0:00:14.305 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.021) 0:00:14.327 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.022) 0:00:14.349 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:20:40 +0000 (0:00:00.378) 0:00:14.727 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11792l7yb5676/tmpk4911o8r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:20:41 +0000 (0:00:00.307) 0:00:15.035 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 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 ring settings: Operation not supported RTNETLINK answers: File exists ' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:20:41 +0000 (0:00:00.374) 0:00:15.410 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:20:41 +0000 (0:00:00.022) 0:00:15.432 ****** ok: [sut] => { "__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 ring settings: Operation not supported", "RTNETLINK answers: File exists", "'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:20:41 +0000 (0:00:00.032) 0:00:15.465 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 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 ring 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 ring settings: Operation not supported", "RTNETLINK answers: File exists", "'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:20:41 +0000 (0:00:00.053) 0:00:15.519 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:20:41 +0000 (0:00:00.030) 0:00:15.549 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:98 Tuesday 13 February 2024 21:20:41 +0000 (0:00:00.180) 0:00:15.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:104 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.026) 0:00:15.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:109 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.040) 0:00:15.797 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:115 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.035) 0:00:15.833 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:120 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.052) 0:00:15.885 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:126 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.045) 0:00:15.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:131 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.040) 0:00:15.971 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:137 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.031) 0:00:16.003 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:143 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.025) 0:00:16.028 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003800", "end": "2024-02-13 21:20:42.403185", "rc": 0, "start": "2024-02-13 21:20:42.399385" } STDOUT: ETHTOOL_OPTS="-G testnic1 rx 128 tx 128 rx-jumbo 128 rx-mini 128" TASK [Assert ethtool.ring option set in profile] ******************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:151 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.155) 0:00:16.184 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:161 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.040) 0:00:16.225 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.023) 0:00:16.248 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.050) 0:00:16.299 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.037) 0:00:16.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.023) 0:00:16.360 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:20:42 +0000 (0:00:00.031) 0:00:16.391 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:20:43 +0000 (0:00:00.884) 0:00:17.277 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.777) 0:00:18.054 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.049) 0:00:18.103 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.029) 0:00:18.132 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.023) 0:00:18.155 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.055) 0:00:18.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.021) 0:00:18.233 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.021) 0:00:18.255 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.029) 0:00:18.284 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.021) 0:00:18.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.020) 0:00:18.326 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:20:44 +0000 (0:00:00.266) 0:00:18.593 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11792l7yb5676/tmprtzzatpg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:20:45 +0000 (0:00:00.334) 0:00:18.927 ****** changed: [sut] => { "_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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:20:45 +0000 (0:00:00.576) 0:00:19.504 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:20:45 +0000 (0:00:00.069) 0:00:19.574 ****** ok: [sut] => { "__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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:20:45 +0000 (0:00:00.050) 0:00:19.625 ****** ok: [sut] => { "__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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:20:45 +0000 (0:00:00.063) 0:00:19.689 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.070) 0:00:19.760 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:176 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.175) 0:00:19.935 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:182 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.023) 0:00:19.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:187 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.041) 0:00:20.000 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003873", "end": "2024-02-13 21:20:46.377355", "rc": 1, "start": "2024-02-13 21:20:46.373482" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:195 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.161) 0:00:20.162 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.041) 0:00:20.203 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.046) 0:00:20.250 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.029) 0:00:20.279 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.021) 0:00:20.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 13 February 2024 21:20:46 +0000 (0:00:00.021) 0:00:20.322 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 13 February 2024 21:20:47 +0000 (0:00:00.916) 0:00:21.239 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.722) 0:00:21.962 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.028) 0:00:21.990 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.021) 0:00:22.011 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.021) 0:00:22.033 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.043) 0:00:22.076 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.022) 0:00:22.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.027) 0:00:22.126 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.032) 0:00:22.158 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.032) 0:00:22.191 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.021) 0:00:22.212 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 13 February 2024 21:20:48 +0000 (0:00:00.266) 0:00:22.478 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11792l7yb5676/tmpw5heocq6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.364) 0:00:22.842 ****** changed: [sut] => { "_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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.388) 0:00:23.231 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.022) 0:00:23.253 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.039) 0:00:23.293 ****** ok: [sut] => { "__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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.026) 0:00:23.319 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.038) 0:00:23.357 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:214 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.163) 0:00:23.521 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.049) 0:00:23.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.034) 0:00:23.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.033) 0:00:23.639 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:20:49 +0000 (0:00:00.091) 0:00:23.731 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:20:50 +0000 (0:00:00.062) 0:00:23.794 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003903", "end": "2024-02-13 21:20:50.185516", "rc": 0, "start": "2024-02-13 21:20:50.181613" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:20:50 +0000 (0:00:00.177) 0:00:23.971 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:20:50 +0000 (0:00:00.068) 0:00:24.040 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:20:50 +0000 (0:00:00.031) 0:00:24.071 ****** ok: [sut] => { "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] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 13 February 2024 21:20:50 +0000 (0:00:00.382) 0:00:24.454 ****** skipping: [sut] => (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: [sut] => (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: [sut] => (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] ******************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 13 February 2024 21:20:50 +0000 (0:00:00.137) 0:00:24.591 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 13 February 2024 21:20:50 +0000 (0:00:00.032) 0:00:24.624 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.012372", "end": "2024-02-13 21:20:51.012643", "rc": 0, "start": "2024-02-13 21:20:51.000271" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 13 February 2024 21:20:51 +0000 (0:00:00.182) 0:00:24.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 13 February 2024 21:20:51 +0000 (0:00:00.055) 0:00:24.861 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:20:51 +0000 (0:00:00.044) 0:00:24.905 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 13 February 2024 21:20:51 +0000 (0:00:00.047) 0:00:24.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:218 Tuesday 13 February 2024 21:20:51 +0000 (0:00:00.044) 0:00:24.997 ****** included: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 21:20:51 +0000 (0:00:00.044) 0:00:25.041 ****** ok: [sut] => { "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.008182", "end": "2024-02-13 21:20:51.424025", "rc": 0, "start": "2024-02-13 21:20:51.415843" } 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:ec:8a:d0:d9:cf brd ff:ff:ff:ff:ff:ff inet 10.31.42.89/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 2752sec preferred_lft 2752sec inet6 fe80::cec:8aff:fed0:d9cf/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 12:0f:d2:7a:3a:1e 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.89 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 testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 13 February 2024 21:20:51 +0000 (0:00:00.181) 0:00:25.223 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=91 changed=4 unreachable=0 failed=0 skipped=83 rescued=0 ignored=2 Tuesday 13 February 2024 21:20:51 +0000 (0:00:00.028) 0:00:25.251 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.16s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.99s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.92s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.92s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-bond_options_rewrited8haelme/tests/tests_ethtool_ring_initscripts.yml:5 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.88s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which packages are installed --------- 0.80s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.78s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.72s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.71s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:116 Install yum-utils package ----------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml:24 ------ linux-system-roles.network : Re-test connectivity ----------------------- 0.53s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:158 Create EPEL 7 ----------------------------------------------------------- 0.52s /WORKDIR/git-bond_options_rewrited8haelme/tests/tasks/enable_epel.yml:8 ------- Create veth interface testnic1 ------------------------------------------ 0.49s /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.47s /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:3 Install iproute --------------------------------------------------------- 0.46s /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 0.41s /WORKDIR/git-bond_options_rewrited8haelme/tests/playbooks/tests_ethtool_ring.yml:26 linux-system-roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-bond_options_rewrited8haelme/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---