# 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_typekjn654iv/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_typekjn654iv/tests/tests_ethtool_features_initscripts.yml:4 Wednesday 20 December 2023 21:45:15 +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_typekjn654iv/tests/tests_ethtool_features_initscripts.yml:8 Wednesday 20 December 2023 21:45:16 +0000 (0:00:00.516) 0:00:00.528 **** included: /WORKDIR/git-route_typekjn654iv/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_typekjn654iv/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 21:45:16 +0000 (0:00:00.011) 0:00:00.539 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 21:45:16 +0000 (0:00:00.221) 0:00:00.760 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typekjn654iv/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 21:45:16 +0000 (0:00:00.188) 0:00:00.949 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 21:45:16 +0000 (0:00:00.049) 0:00:00.998 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 21:45:16 +0000 (0:00:00.017) 0:00:01.016 **** included: /WORKDIR/git-route_typekjn654iv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 21:45:17 +0000 (0:00:00.044) 0:00:01.061 **** 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_typekjn654iv/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 21:45:17 +0000 (0:00:00.171) 0:00:01.233 **** 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_typekjn654iv/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 21:45:17 +0000 (0:00:00.442) 0:00:01.676 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192415", "end": "2023-12-20 21:45:17.939761", "rc": 0, "start": "2023-12-20 21:45:17.747346" } 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_typekjn654iv/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 21:45:17 +0000 (0:00:00.318) 0:00:01.994 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 21:45:17 +0000 (0:00:00.011) 0:00:02.005 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typekjn654iv/tests/tests_ethtool_features_initscripts.yml:10 Wednesday 20 December 2023 21:45:17 +0000 (0:00:00.012) 0:00:02.017 **** 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:3 Wednesday 20 December 2023 21:45:17 +0000 (0:00:00.012) 0:00:02.030 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:9 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.393) 0:00:02.423 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_features.yml TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:15 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.011) 0:00:02.435 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:18 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.010) 0:00:02.446 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.013) 0:00:02.460 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.013) 0:00:02.473 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003220", "end": "2023-12-20 21:45:18.547852", "rc": 0, "start": "2023-12-20 21:45:18.544632" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.123) 0:00:02.596 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.012) 0:00:02.609 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:20 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.012) 0:00:02.621 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.016) 0:00:02.638 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.010) 0:00:02.648 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.011) 0:00:02.659 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.014) 0:00:02.673 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.014) 0:00:02.688 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003453", "end": "2023-12-20 21:45:18.762029", "rc": 0, "start": "2023-12-20 21:45:18.758576" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.129) 0:00:02.817 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.011) 0:00:02.829 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 21:45:18 +0000 (0:00:00.010) 0:00:02.840 **** 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_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.369) 0:00:03.209 **** 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.013590", "end": "2023-12-20 21:45:19.298173", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-12-20 21:45:19.284583" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.006953", "end": "2023-12-20 21:45:19.426567", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-12-20 21:45:19.419614" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.007728", "end": "2023-12-20 21:45:19.550944", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-12-20 21:45:19.543216" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.403) 0:00:03.612 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.026442", "end": "2023-12-20 21:45:19.729797", "rc": 0, "start": "2023-12-20 21:45:19.703355" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.167) 0:00:03.780 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.011) 0:00:03.792 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.011) 0:00:03.803 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.010) 0:00:03.814 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.011) 0:00:03.826 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:24 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.010) 0:00:03.836 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.015) 0:00:03.852 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.013) 0:00:03.865 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703108719.2959304, "block_size": 4096, "blocks": 0, "ctime": 1703108719.2959304, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17600, "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": 1703108719.2959304, "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_typekjn654iv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.123) 0:00:03.989 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:26 Wednesday 20 December 2023 21:45:19 +0000 (0:00:00.012) 0:00:04.001 **** 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:36 Wednesday 20 December 2023 21:45:20 +0000 (0:00:00.365) 0:00:04.367 **** ok: [sut] => {} MSG: ################################################## TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:40 Wednesday 20 December 2023 21:45:20 +0000 (0:00:00.011) 0:00:04.378 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003383", "end": "2023-12-20 21:45:20.454332", "rc": 0, "start": "2023-12-20 21:45:20.450949" } 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 21:45:20 +0000 (0:00:00.126) 0:00:04.504 **** included: /WORKDIR/git-route_typekjn654iv/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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 21:45:20 +0000 (0:00:00.072) 0:00:04.577 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 21:45:20 +0000 (0:00:00.012) 0:00:04.590 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 21:45:20 +0000 (0:00:00.017) 0:00:04.607 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 21:45:20 +0000 (0:00:00.011) 0:00:04.619 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 21:45:21 +0000 (0:00:00.838) 0:00:05.457 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.816) 0:00:06.274 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.022) 0:00:06.296 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.019) 0:00:06.316 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.019) 0:00:06.335 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.041) 0:00:06.376 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.020) 0:00:06.397 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.019) 0:00:06.417 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.024) 0:00:06.441 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.020) 0:00:06.462 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.019) 0:00:06.481 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 21:45:22 +0000 (0:00:00.349) 0:00:06.831 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10995kte6zqs4/tmpifefx660" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.215) 0:00:07.046 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.434) 0:00:07.481 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.021) 0:00:07.502 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.046) 0:00:07.548 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.023) 0:00:07.571 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.020) 0:00:07.592 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:55 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.177) 0:00:07.769 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003108", "end": "2023-12-20 21:45:23.844071", "rc": 0, "start": "2023-12-20 21:45:23.840963" } 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:59 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.135) 0:00:07.904 **** 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:65 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.022) 0:00:07.927 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.020) 0:00:07.948 **** included: /WORKDIR/git-route_typekjn654iv/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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.036) 0:00:07.984 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.025) 0:00:08.010 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 21:45:23 +0000 (0:00:00.020) 0:00:08.031 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 21:45:24 +0000 (0:00:00.020) 0:00:08.051 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 21:45:24 +0000 (0:00:00.753) 0:00:08.805 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.663) 0:00:09.468 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.022) 0:00:09.491 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.022) 0:00:09.513 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.021) 0:00:09.534 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.044) 0:00:09.578 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.022) 0:00:09.601 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.022) 0:00:09.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.027) 0:00:09.650 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.023) 0:00:09.674 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.023) 0:00:09.698 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 21:45:25 +0000 (0:00:00.234) 0:00:09.933 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10995kte6zqs4/tmprqg__34t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.215) 0:00:10.148 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.357) 0:00:10.506 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.025) 0:00:10.531 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.024) 0:00:10.556 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.025) 0:00:10.581 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.021) 0:00:10.603 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:85 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.128) 0:00:10.732 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003238", "end": "2023-12-20 21:45:26.808372", "rc": 0, "start": "2023-12-20 21:45:26.805134" } 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:89 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.136) 0:00:10.869 **** 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:92 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.023) 0:00:10.892 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:106 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.025) 0:00:10.917 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.021) 0:00:10.938 **** included: /WORKDIR/git-route_typekjn654iv/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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.036) 0:00:10.975 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.025) 0:00:11.000 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 21:45:26 +0000 (0:00:00.020) 0:00:11.021 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 21:45:27 +0000 (0:00:00.020) 0:00:11.042 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 21:45:27 +0000 (0:00:00.741) 0:00:11.783 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.633) 0:00:12.417 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.022) 0:00:12.439 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.024) 0:00:12.464 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.022) 0:00:12.487 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.045) 0:00:12.532 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.028) 0:00:12.560 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.023) 0:00:12.584 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.025) 0:00:12.609 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.021) 0:00:12.631 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.021) 0:00:12.653 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 21:45:28 +0000 (0:00:00.249) 0:00:12.902 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10995kte6zqs4/tmplxxykm39" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.211) 0:00:13.114 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.330) 0:00:13.445 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.024) 0:00:13.469 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.023) 0:00:13.492 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.027) 0:00:13.520 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.021) 0:00:13.542 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:124 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.128) 0:00:13.671 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003238", "end": "2023-12-20 21:45:29.746203", "rc": 0, "start": "2023-12-20 21:45:29.742965" } 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:128 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.135) 0:00:13.807 **** 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:131 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.027) 0:00:13.835 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:142 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.024) 0:00:13.860 **** ok: [sut] => {} MSG: ################################################## TASK [Configure ethtool features setting] ************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:146 Wednesday 20 December 2023 21:45:29 +0000 (0:00:00.022) 0:00:13.882 **** 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:163 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.184) 0:00:14.066 **** 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:166 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.022) 0:00:14.089 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check failure] *********************************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:176 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.021) 0:00:14.110 **** 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:179 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.051) 0:00:14.162 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can reset features to their original value.] ********************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:184 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.025) 0:00:14.187 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.022) 0:00:14.209 **** included: /WORKDIR/git-route_typekjn654iv/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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.037) 0:00:14.247 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.028) 0:00:14.275 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.022) 0:00:14.298 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 21:45:30 +0000 (0:00:00.027) 0:00:14.325 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.744) 0:00:15.069 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.634) 0:00:15.703 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.042) 0:00:15.746 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.021) 0:00:15.768 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.020) 0:00:15.788 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.041) 0:00:15.829 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.020) 0:00:15.850 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.019) 0:00:15.869 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.022) 0:00:15.892 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.020) 0:00:15.912 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 21:45:31 +0000 (0:00:00.019) 0:00:15.931 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 21:45:32 +0000 (0:00:00.228) 0:00:16.160 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10995kte6zqs4/tmpdgpgg9f9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 21:45:32 +0000 (0:00:00.213) 0:00:16.373 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 21:45:32 +0000 (0:00:00.317) 0:00:16.690 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 21:45:32 +0000 (0:00:00.024) 0:00:16.715 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 21:45:32 +0000 (0:00:00.032) 0:00:16.747 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 21:45:32 +0000 (0:00:00.037) 0:00:16.785 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 21:45:32 +0000 (0:00:00.069) 0:00:16.854 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:198 Wednesday 20 December 2023 21:45:32 +0000 (0:00:00.135) 0:00:16.990 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003117", "end": "2023-12-20 21:45:33.063606", "rc": 0, "start": "2023-12-20 21:45:33.060489" } 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_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:203 Wednesday 20 December 2023 21:45:33 +0000 (0:00:00.132) 0:00:17.122 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 21:45:33 +0000 (0:00:00.021) 0:00:17.144 **** included: /WORKDIR/git-route_typekjn654iv/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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 21:45:33 +0000 (0:00:00.036) 0:00:17.181 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 21:45:33 +0000 (0:00:00.025) 0:00:17.207 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 21:45:33 +0000 (0:00:00.027) 0:00:17.234 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 21:45:33 +0000 (0:00:00.025) 0:00:17.259 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 21:45:33 +0000 (0:00:00.739) 0:00:17.999 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.654) 0:00:18.653 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.028) 0:00:18.681 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.024) 0:00:18.706 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.022) 0:00:18.728 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.043) 0:00:18.771 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.023) 0:00:18.795 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.023) 0:00:18.818 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.024) 0:00:18.843 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.021) 0:00:18.865 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 21:45:34 +0000 (0:00:00.020) 0:00:18.886 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.225) 0:00:19.111 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10995kte6zqs4/tmpd6078s8t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.213) 0:00:19.324 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.325) 0:00:19.649 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.021) 0:00:19.670 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.021) 0:00:19.692 **** 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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.049) 0:00:19.741 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.022) 0:00:19.764 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:223 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.128) 0:00:19.892 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.037) 0:00:19.929 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.021) 0:00:19.951 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.021) 0:00:19.972 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 21:45:35 +0000 (0:00:00.033) 0:00:20.005 **** included: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.032) 0:00:20.038 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003391", "end": "2023-12-20 21:45:36.112959", "rc": 0, "start": "2023-12-20 21:45:36.109568" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.133) 0:00:20.172 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.022) 0:00:20.195 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.020) 0:00:20.216 **** 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_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.330) 0:00:20.546 **** 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_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.030) 0:00:20.577 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.021) 0:00:20.598 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010982", "end": "2023-12-20 21:45:36.682505", "rc": 0, "start": "2023-12-20 21:45:36.671523" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.157) 0:00:20.756 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.022) 0:00:20.778 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.021) 0:00:20.800 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.022) 0:00:20.822 **** 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 Wednesday 20 December 2023 21:45:36 +0000 (0:00:00.008) 0:00:20.831 **** =============================================================================== linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.75s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.66s /WORKDIR/git-route_typekjn654iv/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_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.63s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.63s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.58s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-route_typekjn654iv/tests/tests_ethtool_features_initscripts.yml:4 Install yum-utils package ----------------------------------------------- 0.44s /WORKDIR/git-route_typekjn654iv/tests/tasks/enable_epel.yml:24 ---------------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.43s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Create veth interface testnic1 ------------------------------------------ 0.40s /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.39s /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:3 -- Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-route_typekjn654iv/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 0.37s /WORKDIR/git-route_typekjn654iv/tests/playbooks/tests_ethtool_features.yml:26 - linux-system-roles.network : Configure networking connection profiles --- 0.36s /WORKDIR/git-route_typekjn654iv/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---