# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ethtool_ring_initscripts.yml *********************************** 2 plays in /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tests_ethtool_ring_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_ring.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tests_ethtool_ring_initscripts.yml:4 Tuesday 28 November 2023 00:00:00 +0000 (0:00:00.016) 0:00:00.016 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tests_ethtool_ring_initscripts.yml:8 Tuesday 28 November 2023 00:00:01 +0000 (0:00:00.899) 0:00:00.915 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:3 Tuesday 28 November 2023 00:00:01 +0000 (0:00:00.014) 0:00:00.930 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:20 Tuesday 28 November 2023 00:00:01 +0000 (0:00:00.369) 0:00:01.299 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:25 Tuesday 28 November 2023 00:00:02 +0000 (0:00:00.284) 0:00:01.583 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:32 Tuesday 28 November 2023 00:00:02 +0000 (0:00:00.021) 0:00:01.605 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/el_repo_setup.yml:57 Tuesday 28 November 2023 00:00:02 +0000 (0:00:00.009) 0:00:01.614 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:8 Tuesday 28 November 2023 00:00:02 +0000 (0:00:00.016) 0:00:01.630 ****** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:00.834122", "end": "2023-11-28 00:00:03.269834", "rc": 0, "start": "2023-11-28 00:00:02.435712" } STDOUT: Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verifying packages... Preparing packages... epel-release-8-19.el8.noarch Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:24 Tuesday 28 November 2023 00:00:03 +0000 (0:00:01.105) 0:00:02.736 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:30 Tuesday 28 November 2023 00:00:03 +0000 (0:00:00.011) 0:00:02.747 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:35 Tuesday 28 November 2023 00:00:03 +0000 (0:00:00.011) 0:00:02.758 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.400943", "end": "2023-11-28 00:00:03.898791", "rc": 0, "start": "2023-11-28 00:00:03.497848" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:40 Tuesday 28 November 2023 00:00:03 +0000 (0:00:00.600) 0:00:03.358 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tests_ethtool_ring_initscripts.yml:10 Tuesday 28 November 2023 00:00:03 +0000 (0:00:00.009) 0:00:03.368 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing ethtool ring settings] ********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:3 Tuesday 28 November 2023 00:00:03 +0000 (0:00:00.022) 0:00:03.391 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:9 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.659) 0:00:04.051 ****** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:15 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.021) 0:00:04.072 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:18 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.021) 0:00:04.093 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.022) 0:00:04.116 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.022) 0:00:04.138 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003593", "end": "2023-11-28 00:00:04.884889", "rc": 0, "start": "2023-11-28 00:00:04.881296" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.206) 0:00:04.344 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.023) 0:00:04.368 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:20 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.021) 0:00:04.389 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.027) 0:00:04.417 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 28 November 2023 00:00:04 +0000 (0:00:00.020) 0:00:04.437 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 28 November 2023 00:00:05 +0000 (0:00:00.019) 0:00:04.456 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 00:00:05 +0000 (0:00:00.023) 0:00:04.479 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 00:00:05 +0000 (0:00:00.023) 0:00:04.503 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003547", "end": "2023-11-28 00:00:05.252531", "rc": 0, "start": "2023-11-28 00:00:05.248984" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 00:00:05 +0000 (0:00:00.210) 0:00:04.713 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 00:00:05 +0000 (0:00:00.024) 0:00:04.737 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 28 November 2023 00:00:05 +0000 (0:00:00.023) 0:00:04.761 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:22 Tuesday 28 November 2023 00:00:13 +0000 (0:00:08.064) 0:00:12.826 ****** 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.063034", "end": "2023-11-28 00:00:13.640470", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-11-28 00:00:13.577436" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.008060", "end": "2023-11-28 00:00:13.885758", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-11-28 00:00:13.877698" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.007632", "end": "2023-11-28 00:00:14.084480", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-11-28 00:00:14.076848" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:30 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.721) 0:00:13.548 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.085869", "end": "2023-11-28 00:00:14.381580", "rc": 0, "start": "2023-11-28 00:00:14.295711" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:38 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.294) 0:00:13.842 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:44 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.021) 0:00:13.864 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.021) 0:00:13.886 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:55 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.019) 0:00:13.905 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.019) 0:00:13.925 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:24 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.019) 0:00:13.944 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.023) 0:00:13.968 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.021) 0:00:13.989 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1701129613.6384287, "block_size": 4096, "blocks": 0, "ctime": 1701129613.6384287, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21873, "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": 1701129613.6384287, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'testnic1'] *********************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.206) 0:00:14.196 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:26 Tuesday 28 November 2023 00:00:14 +0000 (0:00:00.022) 0:00:14.218 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can create a profile without any ring option.] ******************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:33 Tuesday 28 November 2023 00:00:16 +0000 (0:00:01.460) 0:00:15.679 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 00:00:16 +0000 (0:00:00.022) 0:00:15.701 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 00:00:16 +0000 (0:00:00.029) 0:00:15.730 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 00:00:16 +0000 (0:00:00.025) 0:00:15.756 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 00:00:16 +0000 (0:00:00.209) 0:00:15.966 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 00:00:16 +0000 (0:00:00.024) 0:00:15.991 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 00:00:18 +0000 (0:00:01.786) 0:00:17.777 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 00:00:19 +0000 (0:00:01.488) 0:00:19.266 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 00:00:19 +0000 (0:00:00.034) 0:00:19.301 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 00:00:19 +0000 (0:00:00.032) 0:00:19.333 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 00:00:19 +0000 (0:00:00.033) 0:00:19.367 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 00:00:23 +0000 (0:00:03.212) 0:00:22.580 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 00:00:23 +0000 (0:00:00.034) 0:00:22.614 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 00:00:23 +0000 (0:00:00.053) 0:00:22.668 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 00:00:23 +0000 (0:00:00.041) 0:00:22.709 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 00:00:23 +0000 (0:00:00.033) 0:00:22.742 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 00:00:23 +0000 (0:00:00.030) 0:00:22.773 ****** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 00:00:24 +0000 (0:00:00.929) 0:00:23.702 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12525l18_e1kr/tmp0ezanp56" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 00:00:24 +0000 (0:00:00.321) 0:00:24.024 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.587) 0:00:24.612 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.034) 0:00:24.646 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.032) 0:00:24.678 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.034) 0:00:24.713 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.032) 0:00:24.746 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:49 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.318) 0:00:25.064 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:55 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.032) 0:00:25.097 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:60 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.030) 0:00:25.127 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003457", "end": "2023-11-28 00:00:25.878600", "rc": 1, "start": "2023-11-28 00:00:25.875143" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:67 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.221) 0:00:25.349 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:73 Tuesday 28 November 2023 00:00:25 +0000 (0:00:00.062) 0:00:25.411 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 00:00:26 +0000 (0:00:00.033) 0:00:25.445 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 00:00:26 +0000 (0:00:00.051) 0:00:25.497 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 00:00:26 +0000 (0:00:00.037) 0:00:25.534 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 00:00:26 +0000 (0:00:00.222) 0:00:25.757 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 00:00:26 +0000 (0:00:00.039) 0:00:25.796 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 00:00:28 +0000 (0:00:01.834) 0:00:27.631 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 00:00:29 +0000 (0:00:01.293) 0:00:28.925 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 00:00:29 +0000 (0:00:00.034) 0:00:28.960 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 00:00:29 +0000 (0:00:00.033) 0:00:28.993 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 00:00:29 +0000 (0:00:00.033) 0:00:29.027 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 00:00:29 +0000 (0:00:00.067) 0:00:29.094 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 00:00:29 +0000 (0:00:00.035) 0:00:29.129 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 00:00:29 +0000 (0:00:00.063) 0:00:29.193 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 00:00:29 +0000 (0:00:00.042) 0:00:29.236 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 00:00:29 +0000 (0:00:00.035) 0:00:29.271 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 00:00:29 +0000 (0:00:00.033) 0:00:29.305 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 00:00:30 +0000 (0:00:00.397) 0:00:29.702 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12525l18_e1kr/tmpe_y_0txe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 00:00:30 +0000 (0:00:00.318) 0:00:30.020 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nnetlink error: Operation not supported\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.449) 0:00:30.470 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.034) 0:00:30.505 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.033) 0:00:30.539 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "ring": { "rx": 128, "rx_jumbo": 128, "rx_mini": 128, "tx": 128 } }, "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nnetlink error: Operation not supported\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.034) 0:00:30.574 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.033) 0:00:30.607 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:95 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.227) 0:00:30.834 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx option set in profile] **************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:101 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.031) 0:00:30.866 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-jumbo options] ***************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:106 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.029) 0:00:30.896 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-jumbo option set in profile] ********************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:112 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.030) 0:00:30.926 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-rx-mini options] ****************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:117 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.053) 0:00:30.980 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-rx-mini option set in profile] *********************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:123 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.032) 0:00:31.012 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring-tx options] *********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:128 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.031) 0:00:31.044 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert ethtool.ring-tx option set in profile] **************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:134 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.031) 0:00:31.075 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ethtool.ring options] ************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:140 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.030) 0:00:31.106 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003316", "end": "2023-11-28 00:00:31.856134", "rc": 0, "start": "2023-11-28 00:00:31.852818" } STDOUT: ETHTOOL_OPTS="-G testnic1 rx 128 rx-jumbo 128 rx-mini 128 tx 128" TASK [Assert ethtool.ring option set in profile] ******************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:147 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.221) 0:00:31.327 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:157 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.035) 0:00:31.363 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 00:00:31 +0000 (0:00:00.031) 0:00:31.395 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 00:00:32 +0000 (0:00:00.049) 0:00:31.444 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 00:00:32 +0000 (0:00:00.036) 0:00:31.480 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 00:00:32 +0000 (0:00:00.222) 0:00:31.703 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 00:00:32 +0000 (0:00:00.039) 0:00:31.743 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 00:00:34 +0000 (0:00:01.770) 0:00:33.513 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 00:00:35 +0000 (0:00:01.348) 0:00:34.862 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 00:00:35 +0000 (0:00:00.035) 0:00:34.897 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 00:00:35 +0000 (0:00:00.038) 0:00:34.936 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 00:00:35 +0000 (0:00:00.036) 0:00:34.973 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 00:00:35 +0000 (0:00:00.064) 0:00:35.037 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 00:00:35 +0000 (0:00:00.036) 0:00:35.074 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 00:00:35 +0000 (0:00:00.035) 0:00:35.109 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 00:00:35 +0000 (0:00:00.040) 0:00:35.150 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 00:00:35 +0000 (0:00:00.037) 0:00:35.188 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 00:00:35 +0000 (0:00:00.031) 0:00:35.219 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 00:00:36 +0000 (0:00:00.394) 0:00:35.614 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12525l18_e1kr/tmpqgumvzao" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 00:00:36 +0000 (0:00:00.317) 0:00:35.931 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1' [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 00:00:36 +0000 (0:00:00.440) 0:00:36.372 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 00:00:36 +0000 (0:00:00.034) 0:00:36.406 ****** 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.036) 0:00:36.443 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.034) 0:00:36.478 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.033) 0:00:36.511 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:172 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.251) 0:00:36.763 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:178 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.031) 0:00:36.795 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:183 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.030) 0:00:36.825 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003441", "end": "2023-11-28 00:00:37.573011", "rc": 1, "start": "2023-11-28 00:00:37.569570" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:190 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.217) 0:00:37.043 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.034) 0:00:37.078 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.052) 0:00:37.131 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.036) 0:00:37.168 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.223) 0:00:37.392 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 00:00:37 +0000 (0:00:00.038) 0:00:37.431 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 00:00:39 +0000 (0:00:01.751) 0:00:39.183 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 00:00:41 +0000 (0:00:01.336) 0:00:40.519 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.065) 0:00:40.585 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.037) 0:00:40.622 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.035) 0:00:40.657 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.061) 0:00:40.719 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.033) 0:00:40.752 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.033) 0:00:40.785 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.039) 0:00:40.825 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.032) 0:00:40.857 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.030) 0:00:40.888 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 00:00:41 +0000 (0:00:00.399) 0:00:41.288 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12525l18_e1kr/tmp4du01vs5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.315) 0:00:41.603 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.327) 0:00:41.931 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.036) 0:00:41.968 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.035) 0:00:42.003 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'testnic1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-testnic1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.034) 0:00:42.038 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.034) 0:00:42.072 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:209 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.251) 0:00:42.324 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.052) 0:00:42.376 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.031) 0:00:42.408 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 28 November 2023 00:00:42 +0000 (0:00:00.031) 0:00:42.439 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 00:00:43 +0000 (0:00:00.045) 0:00:42.484 ****** included: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 00:00:43 +0000 (0:00:00.043) 0:00:42.528 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003602", "end": "2023-11-28 00:00:43.275597", "rc": 0, "start": "2023-11-28 00:00:43.271995" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 00:00:43 +0000 (0:00:00.218) 0:00:42.746 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 00:00:43 +0000 (0:00:00.034) 0:00:42.781 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 28 November 2023 00:00:43 +0000 (0:00:00.032) 0:00:42.814 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:22 Tuesday 28 November 2023 00:00:44 +0000 (0:00:01.468) 0:00:44.283 ****** skipping: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:30 Tuesday 28 November 2023 00:00:44 +0000 (0:00:00.042) 0:00:44.325 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:38 Tuesday 28 November 2023 00:00:44 +0000 (0:00:00.030) 0:00:44.356 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.010547", "end": "2023-11-28 00:00:45.113332", "rc": 0, "start": "2023-11-28 00:00:45.102785" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:44 Tuesday 28 November 2023 00:00:45 +0000 (0:00:00.231) 0:00:44.588 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 28 November 2023 00:00:45 +0000 (0:00:00.056) 0:00:44.645 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:55 Tuesday 28 November 2023 00:00:45 +0000 (0:00:00.032) 0:00:44.677 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 28 November 2023 00:00:45 +0000 (0:00:00.031) 0:00:44.709 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=92 changed=7 unreachable=0 failed=0 skipped=79 rescued=0 ignored=2 Tuesday 28 November 2023 00:00:45 +0000 (0:00:00.068) 0:00:44.778 ****** =============================================================================== Install iproute --------------------------------------------------------- 8.06s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install packages -------------------- 3.21s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Install iproute --------------------------------------------------------- 1.47s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 1.46s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Create EPEL 8 ----------------------------------------------------------- 1.11s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:8 ----- fedora.linux_system_roles.network : Enable network service -------------- 0.93s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tests_ethtool_ring_initscripts.yml:4 Create veth interface testnic1 ------------------------------------------ 0.72s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tasks/manage_test_interface.yml:22 Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/playbooks/tests_ethtool_ring.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.60s /WORKDIR/git-test_network_state_fixwx_8ohmo/tests/tasks/enable_epel.yml:35 ---- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-test_network_state_fixwx_8ohmo/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---