# 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-test_network_state_fixh9xa8rqh/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-test_network_state_fixh9xa8rqh/tests/tests_ethtool_features_initscripts.yml:4 Monday 27 November 2023 23:54:30 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tests_ethtool_features_initscripts.yml:8 Monday 27 November 2023 23:54:30 +0000 (0:00:00.565) 0:00:00.580 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/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-test_network_state_fixh9xa8rqh/tests/tasks/el_repo_setup.yml:3 Monday 27 November 2023 23:54:30 +0000 (0:00:00.015) 0:00:00.596 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tasks/el_repo_setup.yml:22 Monday 27 November 2023 23:54:30 +0000 (0:00:00.237) 0:00:00.834 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tasks/el_repo_setup.yml:27 Monday 27 November 2023 23:54:31 +0000 (0:00:00.235) 0:00:01.069 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tasks/el_repo_setup.yml:34 Monday 27 November 2023 23:54:31 +0000 (0:00:00.030) 0:00:01.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tasks/el_repo_setup.yml:59 Monday 27 November 2023 23:54:31 +0000 (0:00:00.027) 0:00:01.127 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tasks/enable_epel.yml:8 Monday 27 November 2023 23:54:31 +0000 (0:00:00.051) 0:00:01.178 ******* 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-test_network_state_fixh9xa8rqh/tests/tasks/enable_epel.yml:24 Monday 27 November 2023 23:54:31 +0000 (0:00:00.218) 0:00:01.396 ******* 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-test_network_state_fixh9xa8rqh/tests/tasks/enable_epel.yml:30 Monday 27 November 2023 23:54:31 +0000 (0:00:00.547) 0:00:01.944 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177627", "end": "2023-11-27 23:54:32.250287", "rc": 0, "start": "2023-11-27 23:54:32.072660" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tasks/enable_epel.yml:35 Monday 27 November 2023 23:54:32 +0000 (0:00:00.308) 0:00:02.252 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tasks/enable_epel.yml:40 Monday 27 November 2023 23:54:32 +0000 (0:00:00.015) 0:00:02.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tests_ethtool_features_initscripts.yml:10 Monday 27 November 2023 23:54:32 +0000 (0:00:00.016) 0:00:02.284 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:3 Monday 27 November 2023 23:54:32 +0000 (0:00:00.021) 0:00:02.305 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:9 Monday 27 November 2023 23:54:32 +0000 (0:00:00.399) 0:00:02.705 ******* ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_features.yml TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:15 Monday 27 November 2023 23:54:32 +0000 (0:00:00.019) 0:00:02.725 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:18 Monday 27 November 2023 23:54:32 +0000 (0:00:00.020) 0:00:02.745 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 23:54:32 +0000 (0:00:00.025) 0:00:02.771 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 23:54:32 +0000 (0:00:00.028) 0:00:02.799 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003441", "end": "2023-11-27 23:54:32.953075", "rc": 0, "start": "2023-11-27 23:54:32.949634" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 23:54:32 +0000 (0:00:00.160) 0:00:02.959 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 23:54:33 +0000 (0:00:00.034) 0:00:02.994 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:20 Monday 27 November 2023 23:54:33 +0000 (0:00:00.020) 0:00:03.015 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 23:54:33 +0000 (0:00:00.025) 0:00:03.040 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 23:54:33 +0000 (0:00:00.018) 0:00:03.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 23:54:33 +0000 (0:00:00.020) 0:00:03.079 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 23:54:33 +0000 (0:00:00.022) 0:00:03.102 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 23:54:33 +0000 (0:00:00.021) 0:00:03.123 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003397", "end": "2023-11-27 23:54:33.257314", "rc": 0, "start": "2023-11-27 23:54:33.253917" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 23:54:33 +0000 (0:00:00.142) 0:00:03.265 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 23:54:33 +0000 (0:00:00.026) 0:00:03.291 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 23:54:33 +0000 (0:00:00.021) 0:00:03.313 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 23:54:33 +0000 (0:00:00.415) 0:00:03.728 ******* 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.015732", "end": "2023-11-27 23:54:33.914522", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-11-27 23:54:33.898790" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003606", "end": "2023-11-27 23:54:34.049784", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-11-27 23:54:34.046178" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004380", "end": "2023-11-27 23:54:34.175814", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-11-27 23:54:34.171434" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 27 November 2023 23:54:34 +0000 (0:00:00.461) 0:00:04.190 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.032552", "end": "2023-11-27 23:54:34.385274", "rc": 0, "start": "2023-11-27 23:54:34.352722" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 27 November 2023 23:54:34 +0000 (0:00:00.215) 0:00:04.405 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:46 Monday 27 November 2023 23:54:34 +0000 (0:00:00.052) 0:00:04.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 27 November 2023 23:54:34 +0000 (0:00:00.032) 0:00:04.490 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:59 Monday 27 November 2023 23:54:34 +0000 (0:00:00.022) 0:00:04.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 27 November 2023 23:54:34 +0000 (0:00:00.020) 0:00:04.533 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:24 Monday 27 November 2023 23:54:34 +0000 (0:00:00.022) 0:00:04.556 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/assert_device_present.yml:3 Monday 27 November 2023 23:54:34 +0000 (0:00:00.045) 0:00:04.601 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 27 November 2023 23:54:34 +0000 (0:00:00.045) 0:00:04.647 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701129273.9118009, "block_size": 4096, "blocks": 0, "ctime": 1701129273.9108007, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17702, "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": 1701129273.9108007, "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-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/assert_device_present.yml:5 Monday 27 November 2023 23:54:34 +0000 (0:00:00.171) 0:00:04.818 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:26 Monday 27 November 2023 23:54:34 +0000 (0:00:00.023) 0:00:04.842 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:34 Monday 27 November 2023 23:54:35 +0000 (0:00:00.433) 0:00:05.276 ******* ok: [sut] => {} MSG: ################################################## TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:38 Monday 27 November 2023 23:54:35 +0000 (0:00:00.018) 0:00:05.295 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003205", "end": "2023-11-27 23:54:35.421238", "rc": 0, "start": "2023-11-27 23:54:35.418033" } 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 23:54:35 +0000 (0:00:00.129) 0:00:05.424 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 23:54:35 +0000 (0:00:00.095) 0:00:05.519 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 23:54:35 +0000 (0:00:00.027) 0:00:05.546 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 23:54:35 +0000 (0:00:00.131) 0:00:05.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 23:54:35 +0000 (0:00:00.016) 0:00:05.693 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 23:54:36 +0000 (0:00:00.826) 0:00:06.520 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 23:54:37 +0000 (0:00:01.136) 0:00:07.656 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 23:54:37 +0000 (0:00:00.042) 0:00:07.699 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 23:54:37 +0000 (0:00:00.057) 0:00:07.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 23:54:37 +0000 (0:00:00.040) 0:00:07.798 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 23:54:37 +0000 (0:00:00.060) 0:00:07.858 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 23:54:37 +0000 (0:00:00.026) 0:00:07.885 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 23:54:37 +0000 (0:00:00.025) 0:00:07.910 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 23:54:37 +0000 (0:00:00.029) 0:00:07.939 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 23:54:37 +0000 (0:00:00.024) 0:00:07.964 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 23:54:38 +0000 (0:00:00.026) 0:00:07.990 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 23:54:38 +0000 (0:00:00.424) 0:00:08.415 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11193m2_i5_75/tmpyhhsxoly" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 23:54:38 +0000 (0:00:00.237) 0:00:08.653 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 23:54:39 +0000 (0:00:00.663) 0:00:09.316 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 23:54:39 +0000 (0:00:00.051) 0:00:09.368 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 23:54:39 +0000 (0:00:00.045) 0:00:09.413 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 23:54:39 +0000 (0:00:00.056) 0:00:09.469 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 23:54:39 +0000 (0:00:00.040) 0:00:09.510 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:53 Monday 27 November 2023 23:54:39 +0000 (0:00:00.247) 0:00:09.757 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003728", "end": "2023-11-27 23:54:39.889574", "rc": 0, "start": "2023-11-27 23:54:39.885846" } 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:57 Monday 27 November 2023 23:54:39 +0000 (0:00:00.153) 0:00:09.911 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:63 Monday 27 November 2023 23:54:39 +0000 (0:00:00.030) 0:00:09.942 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 23:54:39 +0000 (0:00:00.030) 0:00:09.972 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 23:54:40 +0000 (0:00:00.069) 0:00:10.041 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 23:54:40 +0000 (0:00:00.039) 0:00:10.080 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 23:54:40 +0000 (0:00:00.153) 0:00:10.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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 23:54:40 +0000 (0:00:00.034) 0:00:10.269 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 23:54:41 +0000 (0:00:00.754) 0:00:11.023 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 23:54:41 +0000 (0:00:00.942) 0:00:11.966 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 23:54:42 +0000 (0:00:00.040) 0:00:12.007 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 23:54:42 +0000 (0:00:00.039) 0:00:12.047 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 23:54:42 +0000 (0:00:00.038) 0:00:12.086 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 23:54:42 +0000 (0:00:00.066) 0:00:12.152 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 23:54:42 +0000 (0:00:00.042) 0:00:12.195 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 23:54:42 +0000 (0:00:00.036) 0:00:12.232 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 23:54:42 +0000 (0:00:00.044) 0:00:12.276 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 23:54:42 +0000 (0:00:00.043) 0:00:12.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 23:54:42 +0000 (0:00:00.032) 0:00:12.352 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 23:54:42 +0000 (0:00:00.294) 0:00:12.647 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11193m2_i5_75/tmpn1rjlq29" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 23:54:42 +0000 (0:00:00.225) 0:00:12.872 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 23:54:43 +0000 (0:00:00.361) 0:00:13.233 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 23:54:43 +0000 (0:00:00.028) 0:00:13.262 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 23:54:43 +0000 (0:00:00.039) 0:00:13.302 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 23:54:43 +0000 (0:00:00.033) 0:00:13.336 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 23:54:43 +0000 (0:00:00.032) 0:00:13.369 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:83 Monday 27 November 2023 23:54:43 +0000 (0:00:00.142) 0:00:13.511 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003245", "end": "2023-11-27 23:54:43.638519", "rc": 0, "start": "2023-11-27 23:54:43.635274" } 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:87 Monday 27 November 2023 23:54:43 +0000 (0:00:00.150) 0:00:13.662 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:90 Monday 27 November 2023 23:54:43 +0000 (0:00:00.033) 0:00:13.695 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:104 Monday 27 November 2023 23:54:43 +0000 (0:00:00.042) 0:00:13.738 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 23:54:43 +0000 (0:00:00.030) 0:00:13.768 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 23:54:43 +0000 (0:00:00.051) 0:00:13.819 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 23:54:43 +0000 (0:00:00.037) 0:00:13.857 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 23:54:44 +0000 (0:00:00.192) 0:00:14.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 23:54:44 +0000 (0:00:00.058) 0:00:14.108 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 23:54:44 +0000 (0:00:00.698) 0:00:14.807 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 23:54:45 +0000 (0:00:00.934) 0:00:15.741 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 23:54:45 +0000 (0:00:00.028) 0:00:15.770 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 23:54:45 +0000 (0:00:00.026) 0:00:15.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 23:54:45 +0000 (0:00:00.025) 0:00:15.821 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 23:54:45 +0000 (0:00:00.056) 0:00:15.878 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 23:54:45 +0000 (0:00:00.026) 0:00:15.904 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 23:54:45 +0000 (0:00:00.053) 0:00:15.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 23:54:46 +0000 (0:00:00.033) 0:00:15.991 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 23:54:46 +0000 (0:00:00.026) 0:00:16.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 23:54:46 +0000 (0:00:00.025) 0:00:16.044 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 23:54:46 +0000 (0:00:00.240) 0:00:16.284 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11193m2_i5_75/tmpwixl5731" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 23:54:46 +0000 (0:00:00.246) 0:00:16.530 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 23:54:46 +0000 (0:00:00.374) 0:00:16.905 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 23:54:46 +0000 (0:00:00.029) 0:00:16.935 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 23:54:46 +0000 (0:00:00.028) 0:00:16.963 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 23:54:47 +0000 (0:00:00.042) 0:00:17.006 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 23:54:47 +0000 (0:00:00.035) 0:00:17.041 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:122 Monday 27 November 2023 23:54:47 +0000 (0:00:00.153) 0:00:17.194 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003228", "end": "2023-11-27 23:54:47.326301", "rc": 0, "start": "2023-11-27 23:54:47.323073" } 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:126 Monday 27 November 2023 23:54:47 +0000 (0:00:00.156) 0:00:17.351 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:129 Monday 27 November 2023 23:54:47 +0000 (0:00:00.045) 0:00:17.397 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:140 Monday 27 November 2023 23:54:47 +0000 (0:00:00.038) 0:00:17.435 ******* ok: [sut] => {} MSG: ################################################## TASK [Configure ethtool features setting] ************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:144 Monday 27 November 2023 23:54:47 +0000 (0:00:00.083) 0:00:17.518 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:161 Monday 27 November 2023 23:54:47 +0000 (0:00:00.215) 0:00:17.733 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:164 Monday 27 November 2023 23:54:47 +0000 (0:00:00.036) 0:00:17.770 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check failure] *********************************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:174 Monday 27 November 2023 23:54:47 +0000 (0:00:00.042) 0:00:17.812 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:177 Monday 27 November 2023 23:54:47 +0000 (0:00:00.035) 0:00:17.847 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can reset features to their original value.] ********************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:182 Monday 27 November 2023 23:54:47 +0000 (0:00:00.043) 0:00:17.891 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 23:54:47 +0000 (0:00:00.042) 0:00:17.934 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 23:54:48 +0000 (0:00:00.110) 0:00:18.044 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 23:54:48 +0000 (0:00:00.058) 0:00:18.102 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 23:54:48 +0000 (0:00:00.172) 0:00:18.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 23:54:48 +0000 (0:00:00.052) 0:00:18.328 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 23:54:49 +0000 (0:00:00.739) 0:00:19.067 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 23:54:50 +0000 (0:00:00.958) 0:00:20.025 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 23:54:50 +0000 (0:00:00.027) 0:00:20.052 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 23:54:50 +0000 (0:00:00.027) 0:00:20.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 23:54:50 +0000 (0:00:00.027) 0:00:20.108 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 23:54:50 +0000 (0:00:00.055) 0:00:20.163 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 23:54:50 +0000 (0:00:00.038) 0:00:20.202 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 23:54:50 +0000 (0:00:00.030) 0:00:20.232 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 23:54:50 +0000 (0:00:00.035) 0:00:20.268 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 23:54:50 +0000 (0:00:00.029) 0:00:20.298 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 23:54:50 +0000 (0:00:00.028) 0:00:20.326 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 23:54:50 +0000 (0:00:00.260) 0:00:20.586 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11193m2_i5_75/tmpmjtp0m8i" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 23:54:50 +0000 (0:00:00.239) 0:00:20.826 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 23:54:51 +0000 (0:00:00.433) 0:00:21.259 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 23:54:51 +0000 (0:00:00.034) 0:00:21.294 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 23:54:51 +0000 (0:00:00.032) 0:00:21.326 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 23:54:51 +0000 (0:00:00.030) 0:00:21.357 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 23:54:51 +0000 (0:00:00.036) 0:00:21.394 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:196 Monday 27 November 2023 23:54:51 +0000 (0:00:00.146) 0:00:21.540 ******* ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003300", "end": "2023-11-27 23:54:51.668130", "rc": 0, "start": "2023-11-27 23:54:51.664830" } 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-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:201 Monday 27 November 2023 23:54:51 +0000 (0:00:00.145) 0:00:21.686 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 27 November 2023 23:54:51 +0000 (0:00:00.033) 0:00:21.719 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 27 November 2023 23:54:51 +0000 (0:00:00.079) 0:00:21.799 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:16 Monday 27 November 2023 23:54:51 +0000 (0:00:00.033) 0:00:21.832 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.network : Set package manager to use for ostree] ****** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:21 Monday 27 November 2023 23:54:51 +0000 (0:00:00.147) 0:00:21.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 Monday 27 November 2023 23:54:52 +0000 (0:00:00.053) 0:00:22.034 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 Monday 27 November 2023 23:54:52 +0000 (0:00:00.792) 0:00:22.827 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 27 November 2023 23:54:53 +0000 (0:00:00.981) 0:00:23.808 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 27 November 2023 23:54:53 +0000 (0:00:00.050) 0:00:23.859 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 27 November 2023 23:54:53 +0000 (0:00:00.046) 0:00:23.905 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 27 November 2023 23:54:53 +0000 (0:00:00.043) 0:00:23.949 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:38 Monday 27 November 2023 23:54:54 +0000 (0:00:00.092) 0:00:24.041 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:51 Monday 27 November 2023 23:54:54 +0000 (0:00:00.038) 0:00:24.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:65 Monday 27 November 2023 23:54:54 +0000 (0:00:00.064) 0:00:24.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:79 Monday 27 November 2023 23:54:54 +0000 (0:00:00.044) 0:00:24.188 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 27 November 2023 23:54:54 +0000 (0:00:00.064) 0:00:24.253 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 27 November 2023 23:54:54 +0000 (0:00:00.035) 0:00:24.289 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Monday 27 November 2023 23:54:54 +0000 (0:00:00.256) 0:00:24.546 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11193m2_i5_75/tmpg_aau65t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 27 November 2023 23:54:54 +0000 (0:00:00.273) 0:00:24.819 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:128 Monday 27 November 2023 23:54:55 +0000 (0:00:00.382) 0:00:25.201 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 27 November 2023 23:54:55 +0000 (0:00:00.026) 0:00:25.228 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:138 Monday 27 November 2023 23:54:55 +0000 (0:00:00.030) 0:00:25.258 ******* 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-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 27 November 2023 23:54:55 +0000 (0:00:00.034) 0:00:25.293 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 27 November 2023 23:54:55 +0000 (0:00:00.027) 0:00:25.320 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:221 Monday 27 November 2023 23:54:55 +0000 (0:00:00.141) 0:00:25.462 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 23:54:55 +0000 (0:00:00.050) 0:00:25.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 23:54:55 +0000 (0:00:00.031) 0:00:25.544 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 23:54:55 +0000 (0:00:00.027) 0:00:25.572 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 23:54:55 +0000 (0:00:00.045) 0:00:25.618 ******* included: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 23:54:55 +0000 (0:00:00.045) 0:00:25.664 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003391", "end": "2023-11-27 23:54:55.790784", "rc": 0, "start": "2023-11-27 23:54:55.787393" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 23:54:55 +0000 (0:00:00.192) 0:00:25.856 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 23:54:55 +0000 (0:00:00.031) 0:00:25.887 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 23:54:55 +0000 (0:00:00.042) 0:00:25.929 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 23:54:56 +0000 (0:00:00.354) 0:00:26.283 ******* 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-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 27 November 2023 23:54:56 +0000 (0:00:00.056) 0:00:26.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 27 November 2023 23:54:56 +0000 (0:00:00.036) 0:00:26.376 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.008652", "end": "2023-11-27 23:54:56.517670", "rc": 0, "start": "2023-11-27 23:54:56.509018" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:46 Monday 27 November 2023 23:54:56 +0000 (0:00:00.161) 0:00:26.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 27 November 2023 23:54:56 +0000 (0:00:00.032) 0:00:26.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:59 Monday 27 November 2023 23:54:56 +0000 (0:00:00.038) 0:00:26.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 27 November 2023 23:54:56 +0000 (0:00:00.029) 0:00:26.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=113 changed=5 unreachable=0 failed=0 skipped=80 rescued=1 ignored=0 Monday 27 November 2023 23:54:56 +0000 (0:00:00.013) 0:00:26.651 ******* =============================================================================== linux-system-roles.network : Check which packages are installed --------- 1.14s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 linux-system-roles.network : Configure networking connection profiles --- 1.10s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:33 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Check which services are running ----------- 0.70s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/set_facts.yml:28 linux-system-roles.network : Enable network service --------------------- 0.69s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:99 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tests_ethtool_features_initscripts.yml:4 Install yum-utils package ----------------------------------------------- 0.55s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/tasks/enable_epel.yml:24 ---- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.48s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:107 Create veth interface testnic1 ------------------------------------------ 0.46s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:22 Install ethtool (test dependency) --------------------------------------- 0.43s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:26 Install iproute --------------------------------------------------------- 0.42s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.40s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/playbooks/tests_ethtool_features.yml:3 linux-system-roles.network : Re-test connectivity ----------------------- 0.39s /WORKDIR/git-test_network_state_fixh9xa8rqh/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---