# 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-bond_options_rewritejycikpsa/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-bond_options_rewritejycikpsa/tests/tests_ethtool_features_initscripts.yml:5 Wednesday 14 February 2024 17:16:05 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_ethtool_features_initscripts.yml:8 Wednesday 14 February 2024 17:16:06 +0000 (0:00:00.579) 0:00:00.591 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:16:06 +0000 (0:00:00.010) 0:00:00.602 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:16:06 +0000 (0:00:00.248) 0:00:00.850 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:16:06 +0000 (0:00:00.197) 0:00:01.048 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:16:06 +0000 (0:00:00.019) 0:00:01.067 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:16:06 +0000 (0:00:00.016) 0:00:01.084 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:16:06 +0000 (0:00:00.028) 0:00:01.113 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:16:06 +0000 (0:00:00.180) 0:00:01.294 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.463) 0:00:01.757 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.191258", "end": "2024-02-14 17:16:07.495542", "rc": 0, "start": "2024-02-14 17:16:07.304284" } 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-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.323) 0:00:02.080 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.010) 0:00:02.091 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_ethtool_features_initscripts.yml:10 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.009) 0:00:02.100 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:3 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.017) 0:00:02.118 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:9 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.395) 0:00:02.513 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_features.yml TASK [INIT: Ethtool feeatures tests] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:15 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.010) 0:00:02.523 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:18 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.010) 0:00:02.534 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.012) 0:00:02.547 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:16:07 +0000 (0:00:00.011) 0:00:02.559 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004038", "end": "2024-02-14 17:16:08.109664", "rc": 0, "start": "2024-02-14 17:16:08.105626" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.134) 0:00:02.693 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.012) 0:00:02.705 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:20 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.017) 0:00:02.722 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.018) 0:00:02.741 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.013) 0:00:02.755 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.016) 0:00:02.771 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.014) 0:00:02.785 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.013) 0:00:02.798 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004020", "end": "2024-02-14 17:16:08.352032", "rc": 0, "start": "2024-02-14 17:16:08.348012" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.136) 0:00:02.935 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.011) 0:00:02.946 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.010) 0:00:02.957 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:16:08 +0000 (0:00:00.404) 0:00:03.361 **** 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.014843", "end": "2024-02-14 17:16:08.928614", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-02-14 17:16:08.913771" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003986", "end": "2024-02-14 17:16:09.066658", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-02-14 17:16:09.062672" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.005226", "end": "2024-02-14 17:16:09.195764", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-02-14 17:16:09.190538" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.418) 0:00:03.780 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.031053", "end": "2024-02-14 17:16:09.359875", "rc": 0, "start": "2024-02-14 17:16:09.328822" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.166) 0:00:03.947 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.012) 0:00:03.959 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.011) 0:00:03.971 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.012) 0:00:03.983 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.011) 0:00:03.995 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:24 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.011) 0:00:04.006 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.014) 0:00:04.021 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.014) 0:00:04.035 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930968.926868, "block_size": 4096, "blocks": 0, "ctime": 1707930968.926868, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17757, "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": 1707930968.926868, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'testnic1'] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.136) 0:00:04.171 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:26 Wednesday 14 February 2024 17:16:09 +0000 (0:00:00.013) 0:00:04.184 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:36 Wednesday 14 February 2024 17:16:10 +0000 (0:00:00.400) 0:00:04.585 **** ok: [sut] => {} MSG: ################################################## TASK [Get current device features] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:40 Wednesday 14 February 2024 17:16:10 +0000 (0:00:00.013) 0:00:04.598 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003954", "end": "2024-02-14 17:16:10.153676", "rc": 0, "start": "2024-02-14 17:16:10.149722" } 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:16:10 +0000 (0:00:00.139) 0:00:04.737 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:16:10 +0000 (0:00:00.065) 0:00:04.803 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:16:10 +0000 (0:00:00.012) 0:00:04.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:16:10 +0000 (0:00:00.010) 0:00:04.826 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:16:10 +0000 (0:00:00.009) 0:00:04.835 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:16:11 +0000 (0:00:00.825) 0:00:05.661 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:16:12 +0000 (0:00:01.162) 0:00:06.823 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.022) 0:00:06.845 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.020) 0:00:06.866 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.020) 0:00:06.887 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.040) 0:00:06.928 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.019) 0:00:06.947 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.019) 0:00:06.967 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.025) 0:00:06.992 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.020) 0:00:07.012 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.020) 0:00:07.033 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:16:12 +0000 (0:00:00.374) 0:00:07.408 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11264u0sz5sqg/tmpo205y1hr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:16:13 +0000 (0:00:00.221) 0:00:07.629 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:16:13 +0000 (0:00:00.519) 0:00:08.149 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:16:13 +0000 (0:00:00.020) 0:00:08.170 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:16:13 +0000 (0:00:00.021) 0:00:08.192 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:16:13 +0000 (0:00:00.021) 0:00:08.213 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:16:13 +0000 (0:00:00.020) 0:00:08.233 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:55 Wednesday 14 February 2024 17:16:13 +0000 (0:00:00.185) 0:00:08.419 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.004288", "end": "2024-02-14 17:16:13.971391", "rc": 0, "start": "2024-02-14 17:16:13.967103" } 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:59 Wednesday 14 February 2024 17:16:13 +0000 (0:00:00.145) 0:00:08.565 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:65 Wednesday 14 February 2024 17:16:14 +0000 (0:00:00.021) 0:00:08.587 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:16:14 +0000 (0:00:00.020) 0:00:08.607 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:16:14 +0000 (0:00:00.035) 0:00:08.642 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:16:14 +0000 (0:00:00.026) 0:00:08.669 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:16:14 +0000 (0:00:00.020) 0:00:08.689 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:16:14 +0000 (0:00:00.020) 0:00:08.710 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:16:14 +0000 (0:00:00.771) 0:00:09.482 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:16:15 +0000 (0:00:01.003) 0:00:10.486 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:16:15 +0000 (0:00:00.025) 0:00:10.511 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:16:15 +0000 (0:00:00.021) 0:00:10.532 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:16:15 +0000 (0:00:00.020) 0:00:10.552 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.041) 0:00:10.594 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.021) 0:00:10.616 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.024) 0:00:10.640 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.024) 0:00:10.664 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.021) 0:00:10.685 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.020) 0:00:10.706 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.246) 0:00:10.953 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11264u0sz5sqg/tmp3h337bro" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.222) 0:00:11.175 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.351) 0:00:11.526 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:16:16 +0000 (0:00:00.020) 0:00:11.547 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.021) 0:00:11.568 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.022) 0:00:11.590 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.020) 0:00:11.611 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:85 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.137) 0:00:11.748 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003710", "end": "2024-02-14 17:16:17.299355", "rc": 0, "start": "2024-02-14 17:16:17.295645" } 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:89 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.144) 0:00:11.893 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:92 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.022) 0:00:11.915 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can enable tx_tcp_segmentation (using underscores).] ************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:106 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.023) 0:00:11.938 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.020) 0:00:11.959 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.035) 0:00:11.995 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.058) 0:00:12.053 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.022) 0:00:12.076 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:16:17 +0000 (0:00:00.025) 0:00:12.102 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:16:18 +0000 (0:00:00.759) 0:00:12.861 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:16:19 +0000 (0:00:01.006) 0:00:13.868 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.022) 0:00:13.890 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.020) 0:00:13.911 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.021) 0:00:13.932 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.065) 0:00:13.997 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.021) 0:00:14.018 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.021) 0:00:14.040 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.024) 0:00:14.064 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.021) 0:00:14.085 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.023) 0:00:14.109 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:16:19 +0000 (0:00:00.246) 0:00:14.356 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11264u0sz5sqg/tmp4bo532b9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.227) 0:00:14.583 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.346) 0:00:14.929 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.023) 0:00:14.953 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.021) 0:00:14.974 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.022) 0:00:14.997 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.020) 0:00:15.017 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:124 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.139) 0:00:15.157 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003617", "end": "2024-02-14 17:16:20.709815", "rc": 0, "start": "2024-02-14 17:16:20.706198" } 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:128 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.146) 0:00:15.304 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:131 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.050) 0:00:15.354 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: Change feature with both underscores and dashes.] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:142 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.023) 0:00:15.378 **** ok: [sut] => {} MSG: ################################################## TASK [Configure ethtool features setting] ************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:146 Wednesday 14 February 2024 17:16:20 +0000 (0:00:00.024) 0:00:15.403 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:163 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.206) 0:00:15.609 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:166 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.022) 0:00:15.632 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check failure] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:176 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.021) 0:00:15.653 **** 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:179 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.022) 0:00:15.676 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can reset features to their original value.] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:184 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.028) 0:00:15.705 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.022) 0:00:15.727 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.037) 0:00:15.764 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.025) 0:00:15.790 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.021) 0:00:15.811 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:16:21 +0000 (0:00:00.020) 0:00:15.832 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:16:22 +0000 (0:00:00.769) 0:00:16.602 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.995) 0:00:17.598 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.020) 0:00:17.618 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.020) 0:00:17.638 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.019) 0:00:17.658 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.041) 0:00:17.699 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.020) 0:00:17.720 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.018) 0:00:17.739 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.023) 0:00:17.762 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.020) 0:00:17.783 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.022) 0:00:17.806 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.248) 0:00:18.055 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11264u0sz5sqg/tmp7aldvdot" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:16:23 +0000 (0:00:00.219) 0:00:18.274 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.348) 0:00:18.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.020) 0:00:18.643 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='', err='RTNETLINK answers: File exists", "'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.021) 0:00:18.665 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.022) 0:00:18.687 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.020) 0:00:18.707 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get current device features] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:198 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.138) 0:00:18.846 **** ok: [sut] => { "changed": false, "cmd": [ "ethtool", "--show-features", "testnic1" ], "delta": "0:00:00.003758", "end": "2024-02-14 17:16:24.398570", "rc": 0, "start": "2024-02-14 17:16:24.394812" } 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-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:203 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.146) 0:00:18.992 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.021) 0:00:19.013 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.036) 0:00:19.050 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.025) 0:00:19.075 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.021) 0:00:19.096 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:16:24 +0000 (0:00:00.044) 0:00:19.140 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:16:25 +0000 (0:00:00.753) 0:00:19.894 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:16:26 +0000 (0:00:01.001) 0:00:20.896 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.022) 0:00:20.918 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.020) 0:00:20.938 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.021) 0:00:20.960 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.042) 0:00:21.002 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.022) 0:00:21.024 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.021) 0:00:21.045 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.064) 0:00:21.110 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.022) 0:00:21.132 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.019) 0:00:21.152 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:16:26 +0000 (0:00:00.245) 0:00:21.398 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11264u0sz5sqg/tmp7yoagisr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.224) 0:00:21.623 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.359) 0:00:21.982 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.021) 0:00:22.003 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.021) 0:00:22.025 **** 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-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.022) 0:00:22.047 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.020) 0:00:22.068 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:223 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.139) 0:00:22.208 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.038) 0:00:22.246 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.020) 0:00:22.267 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.044) 0:00:22.312 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.040) 0:00:22.352 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.035) 0:00:22.388 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003975", "end": "2024-02-14 17:16:27.942950", "rc": 0, "start": "2024-02-14 17:16:27.938975" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.149) 0:00:22.537 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:16:27 +0000 (0:00:00.024) 0:00:22.561 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.022) 0:00:22.584 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.370) 0:00:22.954 **** skipping: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.031) 0:00:22.986 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.022) 0:00:23.008 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.011811", "end": "2024-02-14 17:16:28.570447", "rc": 0, "start": "2024-02-14 17:16:28.558636" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.163) 0:00:23.171 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.023) 0:00:23.195 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.023) 0:00:23.218 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.022) 0:00:23.241 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:227 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.022) 0:00:23.263 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.063) 0:00:23.327 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008525", "end": "2024-02-14 17:16:28.888932", "rc": 0, "start": "2024-02-14 17:16:28.880407" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:01:73:23:04:51 brd ff:ff:ff:ff:ff:ff inet 10.31.47.167/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3451sec preferred_lft 3451sec inet6 fe80::1:73ff:fe23:451/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.167 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:16:28 +0000 (0:00:00.167) 0:00:23.494 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.390280", "end": "2024-02-14 17:16:29.442591", "rc": 0, "start": "2024-02-14 17:16:29.052311" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1943 0 --:--:-- --:--:-- --:--:-- 1955 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1423 0 --:--:-- --:--:-- --:--:-- 1426 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=112 changed=5 unreachable=0 failed=0 skipped=84 rescued=1 ignored=0 Wednesday 14 February 2024 17:16:29 +0000 (0:00:00.530) 0:00:24.025 **** =============================================================================== linux-system-roles.network : Check which packages are installed --------- 1.16s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.87s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.62s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_ethtool_features_initscripts.yml:5 Verify DNS and ping still work ------------------------------------------ 0.53s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:24 Install yum-utils package ----------------------------------------------- 0.46s /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:24 ------ linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.44s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Create veth interface testnic1 ------------------------------------------ 0.42s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Install iproute --------------------------------------------------------- 0.40s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 0.40s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:26 Gathering Facts --------------------------------------------------------- 0.40s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_ethtool_features.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---