# 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_fix23lh9hdv/.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_fix23lh9hdv/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_fix23lh9hdv/tests/tests_ethtool_ring_initscripts.yml:4 Tuesday 28 November 2023 01:28:26 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_ethtool_ring_initscripts.yml:8 Tuesday 28 November 2023 01:28:27 +0000 (0:00:00.813) 0:00:00.827 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/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_fix23lh9hdv/tests/tasks/el_repo_setup.yml:3 Tuesday 28 November 2023 01:28:27 +0000 (0:00:00.014) 0:00:00.842 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:20 Tuesday 28 November 2023 01:28:28 +0000 (0:00:00.432) 0:00:01.274 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:25 Tuesday 28 November 2023 01:28:28 +0000 (0:00:00.275) 0:00:01.550 ****** 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_fix23lh9hdv/tests/tasks/el_repo_setup.yml:32 Tuesday 28 November 2023 01:28:28 +0000 (0:00:00.019) 0:00:01.570 ****** 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_fix23lh9hdv/tests/tasks/el_repo_setup.yml:57 Tuesday 28 November 2023 01:28:28 +0000 (0:00:00.009) 0:00:01.579 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:8 Tuesday 28 November 2023 01:28:28 +0000 (0:00:00.015) 0:00:01.595 ****** 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.860757", "end": "2023-11-28 01:28:29.592264", "rc": 0, "start": "2023-11-28 01:28:28.731507" } 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_fix23lh9hdv/tests/tasks/enable_epel.yml:24 Tuesday 28 November 2023 01:28:29 +0000 (0:00:01.122) 0:00:02.718 ****** 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_fix23lh9hdv/tests/tasks/enable_epel.yml:30 Tuesday 28 November 2023 01:28:29 +0000 (0:00:00.010) 0:00:02.728 ****** 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_fix23lh9hdv/tests/tasks/enable_epel.yml:35 Tuesday 28 November 2023 01:28:29 +0000 (0:00:00.010) 0:00:02.739 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.379365", "end": "2023-11-28 01:28:30.189530", "rc": 0, "start": "2023-11-28 01:28:29.810165" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:40 Tuesday 28 November 2023 01:28:30 +0000 (0:00:00.572) 0:00:03.311 ****** 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_fix23lh9hdv/tests/tests_ethtool_ring_initscripts.yml:10 Tuesday 28 November 2023 01:28:30 +0000 (0:00:00.009) 0:00:03.321 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:3 Tuesday 28 November 2023 01:28:30 +0000 (0:00:00.021) 0:00:03.342 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:9 Tuesday 28 November 2023 01:28:30 +0000 (0:00:00.663) 0:00:04.006 ****** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:15 Tuesday 28 November 2023 01:28:30 +0000 (0:00:00.021) 0:00:04.028 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:18 Tuesday 28 November 2023 01:28:30 +0000 (0:00:00.020) 0:00:04.048 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 01:28:30 +0000 (0:00:00.022) 0:00:04.070 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 01:28:30 +0000 (0:00:00.021) 0:00:04.092 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003471", "end": "2023-11-28 01:28:31.172932", "rc": 0, "start": "2023-11-28 01:28:31.169461" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.200) 0:00:04.293 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.021) 0:00:04.314 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:20 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.019) 0:00:04.334 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.025) 0:00:04.360 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.018) 0:00:04.378 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.017) 0:00:04.396 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.022) 0:00:04.419 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.022) 0:00:04.441 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003500", "end": "2023-11-28 01:28:31.522695", "rc": 0, "start": "2023-11-28 01:28:31.519195" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.202) 0:00:04.644 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.021) 0:00:04.665 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 28 November 2023 01:28:31 +0000 (0:00:00.021) 0:00:04.687 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 Tuesday 28 November 2023 01:28:39 +0000 (0:00:07.904) 0:00:12.592 ****** 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.107184", "end": "2023-11-28 01:28:39.780799", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-11-28 01:28:39.673615" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.007905", "end": "2023-11-28 01:28:40.021932", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-11-28 01:28:40.014027" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.009203", "end": "2023-11-28 01:28:40.215948", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-11-28 01:28:40.206745" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:30 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.748) 0:00:13.340 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.126284", "end": "2023-11-28 01:28:40.547448", "rc": 0, "start": "2023-11-28 01:28:40.421164" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:38 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.330) 0:00:13.670 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:44 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.027) 0:00:13.698 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.020) 0:00:13.719 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:55 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.020) 0:00:13.740 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.020) 0:00:13.760 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:24 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.020) 0:00:13.780 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.024) 0:00:13.805 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.023) 0:00:13.828 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1701134919.778564, "block_size": 4096, "blocks": 0, "ctime": 1701134919.778564, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21836, "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": 1701134919.778564, "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_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.201) 0:00:14.029 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:26 Tuesday 28 November 2023 01:28:40 +0000 (0:00:00.023) 0:00:14.053 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:33 Tuesday 28 November 2023 01:28:42 +0000 (0:00:01.415) 0:00:15.469 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:28:42 +0000 (0:00:00.022) 0:00:15.492 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:28:42 +0000 (0:00:00.029) 0:00:15.521 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:28:42 +0000 (0:00:00.024) 0:00:15.546 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:28:42 +0000 (0:00:00.202) 0:00:15.749 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:28:42 +0000 (0:00:00.027) 0:00:15.776 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:28:44 +0000 (0:00:01.730) 0:00:17.507 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:28:45 +0000 (0:00:01.482) 0:00:18.990 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:28:45 +0000 (0:00:00.034) 0:00:19.024 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:28:45 +0000 (0:00:00.032) 0:00:19.057 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:28:45 +0000 (0:00:00.033) 0:00:19.091 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:28:49 +0000 (0:00:03.192) 0:00:22.283 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:28:49 +0000 (0:00:00.032) 0:00:22.315 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:28:49 +0000 (0:00:00.049) 0:00:22.365 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:28:49 +0000 (0:00:00.040) 0:00:22.405 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:28:49 +0000 (0:00:00.033) 0:00:22.439 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:28:49 +0000 (0:00:00.030) 0:00:22.470 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:28:50 +0000 (0:00:00.911) 0:00:23.382 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12789nfp_o4qk/tmpj6l47gm6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:28:50 +0000 (0:00:00.304) 0:00:23.687 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.574) 0:00:24.262 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.034) 0:00:24.296 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.033) 0:00:24.329 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.035) 0:00:24.364 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.033) 0:00:24.398 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:49 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.315) 0:00:24.714 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:55 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.033) 0:00:24.748 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:60 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.032) 0:00:24.781 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003198", "end": "2023-11-28 01:28:51.865088", "rc": 1, "start": "2023-11-28 01:28:51.861890" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:67 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.215) 0:00:24.996 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:73 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.059) 0:00:25.056 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:28:51 +0000 (0:00:00.033) 0:00:25.090 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:28:52 +0000 (0:00:00.051) 0:00:25.141 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:28:52 +0000 (0:00:00.040) 0:00:25.181 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:28:52 +0000 (0:00:00.220) 0:00:25.401 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:28:52 +0000 (0:00:00.037) 0:00:25.439 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:28:54 +0000 (0:00:01.795) 0:00:27.235 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:28:55 +0000 (0:00:01.280) 0:00:28.516 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:28:55 +0000 (0:00:00.035) 0:00:28.551 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:28:55 +0000 (0:00:00.033) 0:00:28.585 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:28:55 +0000 (0:00:00.033) 0:00:28.618 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:28:55 +0000 (0:00:00.062) 0:00:28.681 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:28:55 +0000 (0:00:00.034) 0:00:28.716 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:28:55 +0000 (0:00:00.057) 0:00:28.773 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:28:55 +0000 (0:00:00.042) 0:00:28.816 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:28:55 +0000 (0:00:00.034) 0:00:28.850 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:28:55 +0000 (0:00:00.031) 0:00:28.881 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:28:56 +0000 (0:00:00.391) 0:00:29.273 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12789nfp_o4qk/tmp1vvxwwir" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:28:56 +0000 (0:00:00.303) 0:00:29.576 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:28:56 +0000 (0:00:00.442) 0:00:30.018 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:28:56 +0000 (0:00:00.036) 0:00:30.054 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:28:56 +0000 (0:00:00.034) 0:00:30.089 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.036) 0:00:30.125 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.034) 0:00:30.160 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:95 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.225) 0:00:30.385 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:101 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.033) 0:00:30.419 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:106 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.032) 0:00:30.451 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:112 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.043) 0:00:30.495 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:117 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.057) 0:00:30.553 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:123 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.031) 0:00:30.585 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:128 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.031) 0:00:30.616 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:134 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.032) 0:00:30.649 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:140 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.031) 0:00:30.680 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003524", "end": "2023-11-28 01:28:57.762248", "rc": 0, "start": "2023-11-28 01:28:57.758724" } 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:147 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.215) 0:00:30.895 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:157 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.036) 0:00:30.932 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.031) 0:00:30.964 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.050) 0:00:31.014 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:28:57 +0000 (0:00:00.037) 0:00:31.052 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:28:58 +0000 (0:00:00.216) 0:00:31.268 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:28:58 +0000 (0:00:00.040) 0:00:31.309 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:28:59 +0000 (0:00:01.687) 0:00:32.996 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:29:01 +0000 (0:00:01.334) 0:00:34.330 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.036) 0:00:34.367 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.035) 0:00:34.403 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.033) 0:00:34.436 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.067) 0:00:34.503 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.041) 0:00:34.545 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.034) 0:00:34.580 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.039) 0:00:34.619 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.037) 0:00:34.657 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.032) 0:00:34.689 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:29:01 +0000 (0:00:00.393) 0:00:35.083 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12789nfp_o4qk/tmpes9q95wq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:29:02 +0000 (0:00:00.310) 0:00:35.394 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:29:02 +0000 (0:00:00.436) 0:00:35.830 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:29:02 +0000 (0:00:00.037) 0:00:35.868 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:29:02 +0000 (0:00:00.039) 0:00:35.907 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:29:02 +0000 (0:00:00.038) 0:00:35.946 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:29:02 +0000 (0:00:00.036) 0:00:35.982 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:172 Tuesday 28 November 2023 01:29:03 +0000 (0:00:00.253) 0:00:36.236 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:178 Tuesday 28 November 2023 01:29:03 +0000 (0:00:00.032) 0:00:36.269 ****** 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_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:183 Tuesday 28 November 2023 01:29:03 +0000 (0:00:00.032) 0:00:36.302 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003485", "end": "2023-11-28 01:29:03.383189", "rc": 1, "start": "2023-11-28 01:29:03.379704" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:190 Tuesday 28 November 2023 01:29:03 +0000 (0:00:00.213) 0:00:36.515 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:29:03 +0000 (0:00:00.035) 0:00:36.550 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:29:03 +0000 (0:00:00.051) 0:00:36.602 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:29:03 +0000 (0:00:00.039) 0:00:36.641 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:29:03 +0000 (0:00:00.219) 0:00:36.860 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:29:03 +0000 (0:00:00.039) 0:00:36.900 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:29:05 +0000 (0:00:01.722) 0:00:38.623 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:29:06 +0000 (0:00:01.318) 0:00:39.941 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:29:06 +0000 (0:00:00.062) 0:00:40.003 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:29:06 +0000 (0:00:00.036) 0:00:40.040 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:29:06 +0000 (0:00:00.034) 0:00:40.075 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:29:07 +0000 (0:00:00.065) 0:00:40.140 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:29:07 +0000 (0:00:00.034) 0:00:40.175 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:29:07 +0000 (0:00:00.034) 0:00:40.209 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:29:07 +0000 (0:00:00.040) 0:00:40.249 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:29:07 +0000 (0:00:00.034) 0:00:40.283 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:29:07 +0000 (0:00:00.031) 0:00:40.315 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:29:07 +0000 (0:00:00.393) 0:00:40.709 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12789nfp_o4qk/tmpxwbnfw23" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:29:07 +0000 (0:00:00.307) 0:00:41.016 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.317) 0:00:41.333 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.034) 0:00:41.367 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.033) 0:00:41.401 ****** 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_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.034) 0:00:41.436 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.034) 0:00:41.470 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:209 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.247) 0:00:41.718 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.055) 0:00:41.773 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.031) 0:00:41.805 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.032) 0:00:41.837 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.045) 0:00:41.883 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 01:29:08 +0000 (0:00:00.045) 0:00:41.928 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003547", "end": "2023-11-28 01:29:09.010352", "rc": 0, "start": "2023-11-28 01:29:09.006805" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 01:29:09 +0000 (0:00:00.215) 0:00:42.144 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 01:29:09 +0000 (0:00:00.034) 0:00:42.178 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 28 November 2023 01:29:09 +0000 (0:00:00.032) 0:00:42.211 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 Tuesday 28 November 2023 01:29:10 +0000 (0:00:01.451) 0:00:43.663 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:30 Tuesday 28 November 2023 01:29:10 +0000 (0:00:00.043) 0:00:43.707 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:38 Tuesday 28 November 2023 01:29:10 +0000 (0:00:00.031) 0:00:43.738 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.015444", "end": "2023-11-28 01:29:10.837243", "rc": 0, "start": "2023-11-28 01:29:10.821799" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:44 Tuesday 28 November 2023 01:29:10 +0000 (0:00:00.233) 0:00:43.971 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 28 November 2023 01:29:10 +0000 (0:00:00.056) 0:00:44.028 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:55 Tuesday 28 November 2023 01:29:10 +0000 (0:00:00.034) 0:00:44.062 ****** 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_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 28 November 2023 01:29:10 +0000 (0:00:00.033) 0:00:44.096 ****** 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 01:29:11 +0000 (0:00:00.070) 0:00:44.166 ****** =============================================================================== Install iproute --------------------------------------------------------- 7.90s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install packages -------------------- 3.19s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /WORKDIR/git-test_network_state_fix23lh9hdv/.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.73s /WORKDIR/git-test_network_state_fix23lh9hdv/.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.72s /WORKDIR/git-test_network_state_fix23lh9hdv/.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.69s /WORKDIR/git-test_network_state_fix23lh9hdv/.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.48s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Install iproute --------------------------------------------------------- 1.45s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 1.42s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /WORKDIR/git-test_network_state_fix23lh9hdv/.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.32s /WORKDIR/git-test_network_state_fix23lh9hdv/.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.28s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Create EPEL 8 ----------------------------------------------------------- 1.12s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:8 ----- fedora.linux_system_roles.network : Enable network service -------------- 0.91s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Gathering Facts --------------------------------------------------------- 0.81s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_ethtool_ring_initscripts.yml:4 Create veth interface testnic1 ------------------------------------------ 0.75s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_ring.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Enable EPEL 8 ----------------------------------------------------------- 0.57s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:35 ---- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-test_network_state_fix23lh9hdv/.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. ---^---^---^---^---^---