# 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_features_initscripts.yml ******************************* 2 plays in /WORKDIR/git-route_typeodyj10gt/tests/tests_ethtool_features_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_features.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/tests_ethtool_features_initscripts.yml:4 Thursday 21 December 2023 16:54:07 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/tests_ethtool_features_initscripts.yml:8 Thursday 21 December 2023 16:54:08 +0000 (0:00:00.533) 0:00:00.545 ***** included: /WORKDIR/git-route_typeodyj10gt/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-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:54:08 +0000 (0:00:00.038) 0:00:00.583 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 16:54:08 +0000 (0:00:00.237) 0:00:00.821 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 16:54:08 +0000 (0:00:00.232) 0:00:01.054 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 16:54:08 +0000 (0:00:00.020) 0:00:01.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 16:54:08 +0000 (0:00:00.017) 0:00:01.091 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:54:08 +0000 (0:00:00.031) 0:00:01.123 ***** 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-route_typeodyj10gt/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:54:08 +0000 (0:00:00.213) 0:00:01.336 ***** 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-route_typeodyj10gt/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:54:09 +0000 (0:00:00.502) 0:00:01.838 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.199999", "end": "2023-12-21 16:54:09.621913", "rc": 0, "start": "2023-12-21 16:54:09.421914" } 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-route_typeodyj10gt/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:54:09 +0000 (0:00:00.346) 0:00:02.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:54:09 +0000 (0:00:00.014) 0:00:02.199 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tests_ethtool_features_initscripts.yml:10 Thursday 21 December 2023 16:54:09 +0000 (0:00:00.014) 0:00:02.214 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing ethtool features settings] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:3 Thursday 21 December 2023 16:54:09 +0000 (0:00:00.015) 0:00:02.229 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:9 Thursday 21 December 2023 16:54:10 +0000 (0:00:00.397) 0:00:02.627 ***** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_features.yml TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:15 Thursday 21 December 2023 16:54:10 +0000 (0:00:00.013) 0:00:02.640 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:18 Thursday 21 December 2023 16:54:10 +0000 (0:00:00.019) 0:00:02.660 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:54:10 +0000 (0:00:00.013) 0:00:02.674 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:54:10 +0000 (0:00:00.016) 0:00:02.690 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004696", "end": "2023-12-21 16:54:11.285575", "rc": 0, "start": "2023-12-21 16:54:10.280879" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:54:11 +0000 (0:00:01.145) 0:00:03.835 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.012) 0:00:03.847 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:20 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.011) 0:00:03.859 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.017) 0:00:03.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.011) 0:00:03.889 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.010) 0:00:03.900 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.014) 0:00:03.914 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.013) 0:00:03.927 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003545", "end": "2023-12-21 16:54:11.504533", "rc": 0, "start": "2023-12-21 16:54:11.500988" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.125) 0:00:04.053 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.012) 0:00:04.065 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.010) 0:00:04.076 ***** ok: [sut] => { "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-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:54:11 +0000 (0:00:00.375) 0:00:04.452 ***** 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.012421", "end": "2023-12-21 16:54:12.043424", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-12-21 16:54:12.031003" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.007136", "end": "2023-12-21 16:54:12.181453", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-12-21 16:54:12.174317" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.007549", "end": "2023-12-21 16:54:12.310251", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-12-21 16:54:12.302702" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.424) 0:00:04.876 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.026489", "end": "2023-12-21 16:54:12.479869", "rc": 0, "start": "2023-12-21 16:54:12.453380" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.156) 0:00:05.032 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.024) 0:00:05.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.032) 0:00:05.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.015) 0:00:05.105 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.030) 0:00:05.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:24 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.021) 0:00:05.157 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.016) 0:00:05.173 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.028) 0:00:05.202 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177652.0419478, "block_size": 4096, "blocks": 0, "ctime": 1703177652.0419478, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17626, "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": 1703177652.0419478, "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-route_typeodyj10gt/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.144) 0:00:05.346 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:26 Thursday 21 December 2023 16:54:12 +0000 (0:00:00.021) 0:00:05.368 ***** 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 changing the ethtool features.] ***** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:36 Thursday 21 December 2023 16:54:13 +0000 (0:00:00.442) 0:00:05.811 ***** ok: [sut] => {} MSG: ################################################## TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:40 Thursday 21 December 2023 16:54:13 +0000 (0:00:00.019) 0:00:05.830 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003303", "end": "2023-12-21 16:54:13.434522", "rc": 0, "start": "2023-12-21 16:54:13.431219" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp6-segmentation: on tx-tcp-mangleid-segmentation: on udp-fragmentation-offload: on generic-segmentation-offload: on generic-receive-offload: on large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-ipip-segmentation: on tx-sit-segmentation: on tx-udp_tnl-segmentation: on fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] busy-poll: off [fixed] tx-gre-csum-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-sctp-segmentation: on rx-gro-hw: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:54:13 +0000 (0:00:00.175) 0:00:06.006 ***** included: /WORKDIR/git-route_typeodyj10gt/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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:54:13 +0000 (0:00:00.075) 0:00:06.081 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:54:13 +0000 (0:00:00.028) 0:00:06.110 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:54:13 +0000 (0:00:00.013) 0:00:06.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:54:13 +0000 (0:00:00.040) 0:00:06.164 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:54:14 +0000 (0:00:00.944) 0:00:07.108 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.830) 0:00:07.939 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.027) 0:00:07.967 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.022) 0:00:07.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.021) 0:00:08.012 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.046) 0:00:08.058 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.021) 0:00:08.080 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.022) 0:00:08.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.024) 0:00:08.127 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.021) 0:00:08.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:54:15 +0000 (0:00:00.025) 0:00:08.174 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:54:16 +0000 (0:00:00.471) 0:00:08.645 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1105794bmik4w/tmpqj7s79fw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:54:16 +0000 (0:00:00.260) 0:00:08.905 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:54:16 +0000 (0:00:00.448) 0:00:09.354 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:54:16 +0000 (0:00:00.024) 0:00:09.378 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:54:16 +0000 (0:00:00.056) 0:00:09.435 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:54:16 +0000 (0:00:00.082) 0:00:09.517 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:54:17 +0000 (0:00:00.033) 0:00:09.551 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:55 Thursday 21 December 2023 16:54:17 +0000 (0:00:00.231) 0:00:09.783 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003536", "end": "2023-12-21 16:54:17.384787", "rc": 0, "start": "2023-12-21 16:54:17.381251" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp6-segmentation: on tx-tcp-mangleid-segmentation: on udp-fragmentation-offload: on generic-segmentation-offload: on generic-receive-offload: on large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-ipip-segmentation: on tx-sit-segmentation: on tx-udp_tnl-segmentation: on fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] busy-poll: off [fixed] tx-gre-csum-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-sctp-segmentation: on rx-gro-hw: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:59 Thursday 21 December 2023 16:54:17 +0000 (0:00:00.160) 0:00:09.943 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can disable gro and tx-tcp-segmentation and enable gso.] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:65 Thursday 21 December 2023 16:54:17 +0000 (0:00:00.026) 0:00:09.970 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:54:17 +0000 (0:00:00.021) 0:00:09.992 ***** included: /WORKDIR/git-route_typeodyj10gt/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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:54:17 +0000 (0:00:00.037) 0:00:10.030 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:54:17 +0000 (0:00:00.026) 0:00:10.056 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:54:17 +0000 (0:00:00.023) 0:00:10.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:54:17 +0000 (0:00:00.022) 0:00:10.103 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:54:18 +0000 (0:00:00.775) 0:00:10.878 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.763) 0:00:11.642 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.027) 0:00:11.670 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.022) 0:00:11.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.021) 0:00:11.714 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.048) 0:00:11.762 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.021) 0:00:11.784 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.022) 0:00:11.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.027) 0:00:11.834 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.020) 0:00:11.855 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.021) 0:00:11.876 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.236) 0:00:12.113 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1105794bmik4w/tmpor_ah1sp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:54:19 +0000 (0:00:00.241) 0:00:12.354 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "gro": "no", "gso": "yes", "tx-tcp-segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "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='Actual changes: tx-tcp-segmentation: off tx-tcp-mangleid-segmentation: off [requested on] generic-receive-offload: off ', err='RTNETLINK answers: File exists ' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.326) 0:00:12.681 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.047) 0:00:12.728 ***** 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='Actual changes:", "tx-tcp-segmentation: off", "tx-tcp-mangleid-segmentation: off [requested on]", "generic-receive-offload: off", "', err='RTNETLINK answers: File exists", "'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.023) 0:00:12.751 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "gro": "no", "gso": "yes", "tx-tcp-segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "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='Actual changes:\ntx-tcp-segmentation: off\ntx-tcp-mangleid-segmentation: off [requested on]\ngeneric-receive-offload: off\n', 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='Actual changes:", "tx-tcp-segmentation: off", "tx-tcp-mangleid-segmentation: off [requested on]", "generic-receive-offload: off", "', err='RTNETLINK answers: File exists", "'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.023) 0:00:12.775 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.022) 0:00:12.798 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:85 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.136) 0:00:12.934 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003360", "end": "2023-12-21 16:54:20.525971", "rc": 0, "start": "2023-12-21 16:54:20.522611" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: off tx-tcp-ecn-segmentation: on tx-tcp6-segmentation: on tx-tcp-mangleid-segmentation: off [requested on] udp-fragmentation-offload: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-ipip-segmentation: on tx-sit-segmentation: on tx-udp_tnl-segmentation: on fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] busy-poll: off [fixed] tx-gre-csum-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-sctp-segmentation: on rx-gro-hw: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] TASK [Show ethtool_features] *************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:89 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.151) 0:00:13.086 ***** ok: [sut] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: off", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp6-segmentation: on", "\ttx-tcp-mangleid-segmentation: off [requested on]", "udp-fragmentation-offload: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-ipip-segmentation: on", "tx-sit-segmentation: on", "tx-udp_tnl-segmentation: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "busy-poll: off [fixed]", "tx-gre-csum-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-sctp-segmentation: on", "rx-gro-hw: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:92 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.024) 0:00:13.110 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:106 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.032) 0:00:13.143 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.023) 0:00:13.166 ***** included: /WORKDIR/git-route_typeodyj10gt/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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.042) 0:00:13.209 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.045) 0:00:13.254 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.047) 0:00:13.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:54:20 +0000 (0:00:00.069) 0:00:13.371 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:54:21 +0000 (0:00:00.809) 0:00:14.181 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.655) 0:00:14.837 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.024) 0:00:14.861 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.029) 0:00:14.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.028) 0:00:14.919 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.060) 0:00:14.979 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.027) 0:00:15.007 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.023) 0:00:15.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.027) 0:00:15.058 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.022) 0:00:15.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.021) 0:00:15.102 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:54:22 +0000 (0:00:00.233) 0:00:15.336 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1105794bmik4w/tmpwqn0f9t3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:54:23 +0000 (0:00:00.282) 0:00:15.619 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "tx_tcp_segmentation": "yes" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "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='Actual changes: tx-tcp-segmentation: on tx-tcp-mangleid-segmentation: on ', err='RTNETLINK answers: File exists ' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:54:23 +0000 (0:00:00.418) 0:00:16.037 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:54:23 +0000 (0:00:00.023) 0:00:16.061 ***** 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='Actual changes:", "tx-tcp-segmentation: on", "tx-tcp-mangleid-segmentation: on", "', err='RTNETLINK answers: File exists", "'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:54:23 +0000 (0:00:00.027) 0:00:16.088 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "features": { "tx_tcp_segmentation": "yes" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "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='Actual changes:\ntx-tcp-segmentation: on\ntx-tcp-mangleid-segmentation: on\n', 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='Actual changes:", "tx-tcp-segmentation: on", "tx-tcp-mangleid-segmentation: on", "', err='RTNETLINK answers: File exists", "'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:54:23 +0000 (0:00:00.024) 0:00:16.113 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:54:23 +0000 (0:00:00.027) 0:00:16.140 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:124 Thursday 21 December 2023 16:54:23 +0000 (0:00:00.139) 0:00:16.279 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003386", "end": "2023-12-21 16:54:23.912451", "rc": 0, "start": "2023-12-21 16:54:23.909065" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp6-segmentation: on tx-tcp-mangleid-segmentation: on udp-fragmentation-offload: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-ipip-segmentation: on tx-sit-segmentation: on tx-udp_tnl-segmentation: on fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] busy-poll: off [fixed] tx-gre-csum-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-sctp-segmentation: on rx-gro-hw: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] TASK [Show ethtool_features] *************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:128 Thursday 21 December 2023 16:54:23 +0000 (0:00:00.195) 0:00:16.475 ***** ok: [sut] => { "ethtool_features.stdout_lines": [ "Features for testnic1:", "rx-checksumming: on", "tx-checksumming: on", "\ttx-checksum-ipv4: off [fixed]", "\ttx-checksum-ip-generic: on", "\ttx-checksum-ipv6: off [fixed]", "\ttx-checksum-fcoe-crc: off [fixed]", "\ttx-checksum-sctp: on", "scatter-gather: on", "\ttx-scatter-gather: on", "\ttx-scatter-gather-fraglist: on", "tcp-segmentation-offload: on", "\ttx-tcp-segmentation: on", "\ttx-tcp-ecn-segmentation: on", "\ttx-tcp6-segmentation: on", "\ttx-tcp-mangleid-segmentation: on", "udp-fragmentation-offload: on", "generic-segmentation-offload: on", "generic-receive-offload: off", "large-receive-offload: off [fixed]", "rx-vlan-offload: on", "tx-vlan-offload: on", "ntuple-filters: off [fixed]", "receive-hashing: off [fixed]", "highdma: on", "rx-vlan-filter: off [fixed]", "vlan-challenged: off [fixed]", "tx-lockless: on [fixed]", "netns-local: off [fixed]", "tx-gso-robust: off [fixed]", "tx-fcoe-segmentation: off [fixed]", "tx-gre-segmentation: on", "tx-ipip-segmentation: on", "tx-sit-segmentation: on", "tx-udp_tnl-segmentation: on", "fcoe-mtu: off [fixed]", "tx-nocache-copy: off", "loopback: off [fixed]", "rx-fcs: off [fixed]", "rx-all: off [fixed]", "tx-vlan-stag-hw-insert: on", "rx-vlan-stag-hw-parse: on", "rx-vlan-stag-filter: off [fixed]", "busy-poll: off [fixed]", "tx-gre-csum-segmentation: on", "tx-udp_tnl-csum-segmentation: on", "tx-gso-partial: off [fixed]", "tx-sctp-segmentation: on", "rx-gro-hw: off [fixed]", "l2-fwd-offload: off [fixed]", "hw-tc-offload: off [fixed]", "rx-udp_tunnel-port-offload: off [fixed]" ] } TASK [Assert device features] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:131 Thursday 21 December 2023 16:54:23 +0000 (0:00:00.045) 0:00:16.520 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:142 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.037) 0:00:16.558 ***** ok: [sut] => {} MSG: ################################################## TASK [Configure ethtool features setting] ************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:146 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.035) 0:00:16.593 ***** fatal: [sut]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: MSG: fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation' TASK [Show network_connections result] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:163 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.207) 0:00:16.800 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [Assert the duplicate key "tx_tcp_segmentation" configuration error happened] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:166 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.063) 0:00:16.864 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check failure] *********************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:176 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.023) 0:00:16.887 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ethtool": { "features": { "tx-tcp-segmentation": "no", "tx_tcp_segmentation": "no" } }, "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": true, "msg": "fatal error: configuration error: connections[0].ethtool.features: duplicate key 'tx_tcp_segmentation'", "stderr": "\n", "stderr_lines": [ "" ] } } TASK [Assert that the result is failure] *************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:179 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.086) 0:00:16.974 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can reset features to their original value.] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:184 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.026) 0:00:17.001 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.029) 0:00:17.030 ***** included: /WORKDIR/git-route_typeodyj10gt/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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.066) 0:00:17.096 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.027) 0:00:17.124 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.022) 0:00:17.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:54:24 +0000 (0:00:00.021) 0:00:17.168 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:54:25 +0000 (0:00:00.771) 0:00:17.939 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.712) 0:00:18.652 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.044) 0:00:18.696 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.042) 0:00:18.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.022) 0:00:18.761 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.048) 0:00:18.810 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.021) 0:00:18.831 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.021) 0:00:18.853 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.025) 0:00:18.879 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.058) 0:00:18.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.025) 0:00:18.963 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:54:26 +0000 (0:00:00.262) 0:00:19.226 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1105794bmik4w/tmp_2fj3khv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.314) 0:00:19.541 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.350) 0:00:19.891 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.034) 0:00:19.926 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.033) 0:00:19.960 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.038) 0:00:19.998 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.029) 0:00:20.027 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:198 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.202) 0:00:20.229 ***** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003386", "end": "2023-12-21 16:54:27.831646", "rc": 0, "start": "2023-12-21 16:54:27.828260" } STDOUT: Features for testnic1: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: on tcp-segmentation-offload: on tx-tcp-segmentation: on tx-tcp-ecn-segmentation: on tx-tcp6-segmentation: on tx-tcp-mangleid-segmentation: on udp-fragmentation-offload: on generic-segmentation-offload: on generic-receive-offload: off large-receive-offload: off [fixed] rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off [fixed] receive-hashing: off [fixed] highdma: on rx-vlan-filter: off [fixed] vlan-challenged: off [fixed] tx-lockless: on [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] tx-gre-segmentation: on tx-ipip-segmentation: on tx-sit-segmentation: on tx-udp_tnl-segmentation: on fcoe-mtu: off [fixed] tx-nocache-copy: off loopback: off [fixed] rx-fcs: off [fixed] rx-all: off [fixed] tx-vlan-stag-hw-insert: on rx-vlan-stag-hw-parse: on rx-vlan-stag-filter: off [fixed] busy-poll: off [fixed] tx-gre-csum-segmentation: on tx-udp_tnl-csum-segmentation: on tx-gso-partial: off [fixed] tx-sctp-segmentation: on rx-gro-hw: off [fixed] l2-fwd-offload: off [fixed] hw-tc-offload: off [fixed] rx-udp_tunnel-port-offload: off [fixed] TASK [ASSERT: The profile does not change the ethtool features] **************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:203 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.163) 0:00:20.393 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.040) 0:00:20.433 ***** included: /WORKDIR/git-route_typeodyj10gt/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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.056) 0:00:20.490 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:54:27 +0000 (0:00:00.033) 0:00:20.523 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:54:28 +0000 (0:00:00.022) 0:00:20.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:54:28 +0000 (0:00:00.066) 0:00:20.613 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:54:28 +0000 (0:00:00.765) 0:00:21.379 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.645) 0:00:22.024 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.024) 0:00:22.049 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.023) 0:00:22.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.024) 0:00:22.096 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.054) 0:00:22.150 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.023) 0:00:22.173 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.033) 0:00:22.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.040) 0:00:22.248 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.032) 0:00:22.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:54:29 +0000 (0:00:00.053) 0:00:22.335 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:54:30 +0000 (0:00:00.247) 0:00:22.582 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1105794bmik4w/tmpum4lzgnu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:54:30 +0000 (0:00:00.303) 0:00:22.886 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active) [004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err='' [005] #0, state:down 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:54:30 +0000 (0:00:00.387) 0:00:23.273 ***** 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:54:30 +0000 (0:00:00.022) 0:00:23.296 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err=''", "[005] #0, state:down 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:54:30 +0000 (0:00:00.022) 0:00:23.318 ***** 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", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)\n[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'testnic1': up connection testnic1 (active)", "[004] #0, state:down persistent_state:absent, 'testnic1': call 'ifdown testnic1': rc=0, out='', err=''", "[005] #0, state:down 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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:54:30 +0000 (0:00:00.025) 0:00:23.344 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:54:30 +0000 (0:00:00.022) 0:00:23.366 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:223 Thursday 21 December 2023 16:54:30 +0000 (0:00:00.129) 0:00:23.496 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:54:30 +0000 (0:00:00.038) 0:00:23.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.022) 0:00:23.557 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.032) 0:00:23.590 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.067) 0:00:23.657 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.104) 0:00:23.762 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003545", "end": "2023-12-21 16:54:31.375275", "rc": 0, "start": "2023-12-21 16:54:31.371730" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.180) 0:00:23.943 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.035) 0:00:23.979 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.025) 0:00:24.004 ***** ok: [sut] => { "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-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.359) 0:00:24.363 ***** 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-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.056) 0:00:24.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 16:54:31 +0000 (0:00:00.028) 0:00:24.449 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.011447", "end": "2023-12-21 16:54:32.049488", "rc": 0, "start": "2023-12-21 16:54:32.038041" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 16:54:32 +0000 (0:00:00.170) 0:00:24.619 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 16:54:32 +0000 (0:00:00.026) 0:00:24.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:54:32 +0000 (0:00:00.047) 0:00:24.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 16:54:32 +0000 (0:00:00.041) 0:00:24.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=109 changed=5 unreachable=0 failed=0 skipped=84 rescued=1 ignored=0 Thursday 21 December 2023 16:54:32 +0000 (0:00:00.032) 0:00:24.767 ***** =============================================================================== Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which services are running ----------- 0.94s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.83s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.80s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.76s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.73s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.71s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.66s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.65s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.57s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-route_typeodyj10gt/tests/tests_ethtool_features_initscripts.yml:4 Install yum-utils package ----------------------------------------------- 0.50s /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml:24 ---------------- Install ethtool (test dependency) --------------------------------------- 0.44s /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_ethtool_features.yml:26 - linux-system-roles.network : Re-test connectivity ----------------------- 0.43s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Create veth interface testnic1 ------------------------------------------ 0.42s /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Configure networking connection profiles --- 0.42s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---