# 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-bond_options_rewrite87e7a2io/.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-bond_options_rewrite87e7a2io/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-bond_options_rewrite87e7a2io/tests/tests_ethtool_ring_initscripts.yml:5 Tuesday 06 February 2024 22:15:30 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tests_ethtool_ring_initscripts.yml:8 Tuesday 06 February 2024 22:15:31 +0000 (0:00:00.765) 0:00:00.777 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:15:31 +0000 (0:00:00.011) 0:00:00.788 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/el_repo_setup.yml:17 Tuesday 06 February 2024 22:15:31 +0000 (0:00:00.362) 0:00:01.151 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/el_repo_setup.yml:22 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.246) 0:00:01.397 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/el_repo_setup.yml:26 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.013) 0:00:01.411 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/el_repo_setup.yml:51 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.007) 0:00:01.418 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.020) 0:00:01.439 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.251) 0:00:01.691 ****** 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-bond_options_rewrite87e7a2io/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.008) 0:00:01.699 ****** 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-bond_options_rewrite87e7a2io/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.007) 0:00:01.706 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.252814", "end": "2024-02-06 22:15:32.773202", "rc": 0, "start": "2024-02-06 22:15:32.520388" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.443) 0:00:02.150 ****** 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-bond_options_rewrite87e7a2io/tests/tests_ethtool_ring_initscripts.yml:10 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.008) 0:00:02.159 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing ethtool ring settings] ********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:3 Tuesday 06 February 2024 22:15:32 +0000 (0:00:00.016) 0:00:02.175 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:9 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.633) 0:00:02.808 ****** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_ring.yml TASK [INIT: Ethtool ring tests] ************************************************ task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:15 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.018) 0:00:02.827 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:18 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.018) 0:00:02.846 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.019) 0:00:02.865 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.019) 0:00:02.884 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003678", "end": "2024-02-06 22:15:33.710486", "rc": 0, "start": "2024-02-06 22:15:33.706808" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.202) 0:00:03.087 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.018) 0:00:03.105 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:20 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.017) 0:00:03.123 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.022) 0:00:03.145 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.016) 0:00:03.161 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.015) 0:00:03.177 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.019) 0:00:03.196 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:15:33 +0000 (0:00:00.018) 0:00:03.214 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003871", "end": "2024-02-06 22:15:34.037920", "rc": 0, "start": "2024-02-06 22:15:34.034049" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:15:34 +0000 (0:00:00.200) 0:00:03.414 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:15:34 +0000 (0:00:00.018) 0:00:03.433 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 22:15:34 +0000 (0:00:00.017) 0:00:03.450 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 22:15:37 +0000 (0:00:03.105) 0:00:06.556 ****** 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.013040", "end": "2024-02-06 22:15:37.393405", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-02-06 22:15:37.380365" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004294", "end": "2024-02-06 22:15:37.624218", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-02-06 22:15:37.619924" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004577", "end": "2024-02-06 22:15:37.812422", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-02-06 22:15:37.807845" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 22:15:37 +0000 (0:00:00.633) 0:00:07.190 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.024122", "end": "2024-02-06 22:15:38.037220", "rc": 0, "start": "2024-02-06 22:15:38.013098" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.225) 0:00:07.415 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.018) 0:00:07.434 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.017) 0:00:07.452 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.017) 0:00:07.469 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.018) 0:00:07.488 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:24 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.015) 0:00:07.504 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.020) 0:00:07.524 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.018) 0:00:07.543 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257737.3845215, "block_size": 4096, "blocks": 0, "ctime": 1707257737.3845215, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37614, "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": 1707257737.3845215, "nlink": 1, "path": "/sys/class/net/testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'testnic1'] *********************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.200) 0:00:07.743 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:26 Tuesday 06 February 2024 22:15:38 +0000 (0:00:00.019) 0:00:07.763 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:34 Tuesday 06 February 2024 22:15:41 +0000 (0:00:02.620) 0:00:10.383 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 22:15:41 +0000 (0:00:00.017) 0:00:10.401 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/.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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:15:41 +0000 (0:00:00.024) 0:00:10.426 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 22:15:41 +0000 (0:00:00.018) 0:00:10.444 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 22:15:41 +0000 (0:00:00.018) 0:00:10.463 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 22:15:41 +0000 (0:00:00.018) 0:00:10.482 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 22:15:42 +0000 (0:00:01.701) 0:00:12.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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 22:15:44 +0000 (0:00:01.509) 0:00:13.693 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 22:15:44 +0000 (0:00:00.031) 0:00:13.724 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 22:15:44 +0000 (0:00:00.029) 0:00:13.754 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 22:15:44 +0000 (0:00:00.029) 0:00:13.784 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 22:15:44 +0000 (0:00:00.051) 0:00:13.835 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 22:15:44 +0000 (0:00:00.029) 0:00:13.865 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 22:15:44 +0000 (0:00:00.048) 0:00:13.914 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 22:15:44 +0000 (0:00:00.034) 0:00:13.948 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 22:15:44 +0000 (0:00:00.029) 0:00:13.978 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 22:15:44 +0000 (0:00:00.027) 0:00:14.005 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 22:15:45 +0000 (0:00:00.544) 0:00:14.550 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-95398iza6v4f/tmp1iu1garp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 22:15:46 +0000 (0:00:01.305) 0:00:15.855 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.551) 0:00:16.407 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.029) 0:00:16.436 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.031) 0:00:16.468 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.030) 0:00:16.498 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.030) 0:00:16.529 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:50 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.296) 0:00:16.825 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:56 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.026) 0:00:16.852 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:61 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.025) 0:00:16.877 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003572", "end": "2024-02-06 22:15:47.702582", "rc": 1, "start": "2024-02-06 22:15:47.699010" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain ring options] *********************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:68 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.210) 0:00:17.088 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx.] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:74 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.029) 0:00:17.117 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.027) 0:00:17.145 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/.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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.065) 0:00:17.210 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.038) 0:00:17.249 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.032) 0:00:17.281 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 22:15:47 +0000 (0:00:00.029) 0:00:17.311 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 22:15:49 +0000 (0:00:01.648) 0:00:18.959 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 22:15:50 +0000 (0:00:01.340) 0:00:20.299 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 22:15:50 +0000 (0:00:00.029) 0:00:20.328 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 22:15:50 +0000 (0:00:00.030) 0:00:20.359 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 22:15:51 +0000 (0:00:00.029) 0:00:20.388 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 22:15:51 +0000 (0:00:00.050) 0:00:20.439 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 22:15:51 +0000 (0:00:00.030) 0:00:20.469 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 22:15:51 +0000 (0:00:00.029) 0:00:20.499 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 22:15:51 +0000 (0:00:00.032) 0:00:20.532 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 22:15:51 +0000 (0:00:00.056) 0:00:20.588 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 22:15:51 +0000 (0:00:00.028) 0:00:20.617 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 22:15:51 +0000 (0:00:00.384) 0:00:21.001 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-95398iza6v4f/tmphxuruleu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 22:15:51 +0000 (0:00:00.321) 0:00:21.322 ****** 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\nRTNETLINK answers: File exists\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.431) 0:00:21.753 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.029) 0:00:21.783 ****** 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\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.031) 0:00:21.814 ****** 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\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='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\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.031) 0:00:21.845 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.029) 0:00:21.874 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ethtool.ring-rx options] *********************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:96 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.220) 0:00:22.095 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:102 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.029) 0:00:22.124 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:107 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.030) 0:00:22.155 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:113 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.030) 0:00:22.185 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:118 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.030) 0:00:22.216 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:124 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.029) 0:00:22.245 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:129 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.031) 0:00:22.276 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:135 Tuesday 06 February 2024 22:15:52 +0000 (0:00:00.057) 0:00:22.334 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:141 Tuesday 06 February 2024 22:15:53 +0000 (0:00:00.027) 0:00:22.361 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003488", "end": "2024-02-06 22:15:53.188070", "rc": 0, "start": "2024-02-06 22:15:53.184582" } 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:148 Tuesday 06 February 2024 22:15:53 +0000 (0:00:00.213) 0:00:22.574 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear ring options] ****************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:158 Tuesday 06 February 2024 22:15:53 +0000 (0:00:00.030) 0:00:22.605 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 22:15:53 +0000 (0:00:00.027) 0:00:22.633 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/.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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:15:53 +0000 (0:00:00.042) 0:00:22.675 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 22:15:53 +0000 (0:00:00.031) 0:00:22.706 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 22:15:53 +0000 (0:00:00.029) 0:00:22.735 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 22:15:53 +0000 (0:00:00.031) 0:00:22.767 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 22:15:56 +0000 (0:00:02.674) 0:00:25.441 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 22:15:57 +0000 (0:00:01.340) 0:00:26.782 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 22:15:57 +0000 (0:00:00.029) 0:00:26.812 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 22:15:57 +0000 (0:00:00.028) 0:00:26.841 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 22:15:57 +0000 (0:00:00.029) 0:00:26.870 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 22:15:57 +0000 (0:00:00.102) 0:00:26.973 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 22:15:57 +0000 (0:00:00.029) 0:00:27.003 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 22:15:57 +0000 (0:00:00.028) 0:00:27.031 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 22:15:57 +0000 (0:00:00.035) 0:00:27.067 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 22:15:57 +0000 (0:00:00.029) 0:00:27.096 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 22:15:57 +0000 (0:00:00.026) 0:00:27.122 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 22:15:58 +0000 (0:00:00.382) 0:00:27.504 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-95398iza6v4f/tmpxdywx9g6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 22:15:58 +0000 (0:00:00.307) 0:00:27.812 ****** 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.\nRTNETLINK answers: File exists\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 22:15:58 +0000 (0:00:00.428) 0:00:28.241 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 22:15:58 +0000 (0:00:00.030) 0:00:28.271 ****** 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.\\nRTNETLINK answers: File exists\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 22:15:58 +0000 (0:00:00.030) 0:00:28.302 ****** 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.\\nRTNETLINK answers: File exists\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update ifcfg-rh profile 'testnic1'", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': call 'ifup testnic1': rc=0, out='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.\\nRTNETLINK answers: File exists\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 22:15:58 +0000 (0:00:00.029) 0:00:28.331 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.030) 0:00:28.362 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's ring options] ********************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:173 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.217) 0:00:28.579 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:179 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.026) 0:00:28.605 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:184 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.026) 0:00:28.632 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003658", "end": "2024-02-06 22:15:59.460571", "rc": 1, "start": "2024-02-06 22:15:59.456913" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset ring options] ***************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:191 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.238) 0:00:28.871 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.031) 0:00:28.902 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/.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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.042) 0:00:28.944 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.033) 0:00:28.977 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.029) 0:00:29.007 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 22:15:59 +0000 (0:00:00.032) 0:00:29.039 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 22:16:02 +0000 (0:00:02.684) 0:00:31.723 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 22:16:03 +0000 (0:00:01.347) 0:00:33.071 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 22:16:03 +0000 (0:00:00.031) 0:00:33.102 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 22:16:03 +0000 (0:00:00.029) 0:00:33.132 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 22:16:03 +0000 (0:00:00.030) 0:00:33.162 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 22:16:03 +0000 (0:00:00.052) 0:00:33.215 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 22:16:03 +0000 (0:00:00.030) 0:00:33.245 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 22:16:03 +0000 (0:00:00.064) 0:00:33.309 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 22:16:03 +0000 (0:00:00.036) 0:00:33.345 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 22:16:04 +0000 (0:00:00.031) 0:00:33.377 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 22:16:04 +0000 (0:00:00.029) 0:00:33.406 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 22:16:04 +0000 (0:00:00.386) 0:00:33.793 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-95398iza6v4f/tmp5nl9_65k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 22:16:04 +0000 (0:00:00.311) 0:00:34.104 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.314) 0:00:34.419 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.031) 0:00:34.451 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.030) 0:00:34.481 ****** 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-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.030) 0:00:34.511 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.029) 0:00:34.541 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:210 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.219) 0:00:34.761 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.045) 0:00:34.806 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.028) 0:00:34.834 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.030) 0:00:34.864 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.067) 0:00:34.931 ****** included: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.038) 0:00:34.970 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003895", "end": "2024-02-06 22:16:05.797162", "rc": 0, "start": "2024-02-06 22:16:05.793267" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.213) 0:00:35.184 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.029) 0:00:35.213 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 22:16:05 +0000 (0:00:00.028) 0:00:35.242 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 22:16:08 +0000 (0:00:02.638) 0:00:37.880 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 22:16:08 +0000 (0:00:00.038) 0:00:37.919 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 22:16:08 +0000 (0:00:00.029) 0:00:37.948 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.014376", "end": "2024-02-06 22:16:08.788501", "rc": 0, "start": "2024-02-06 22:16:08.774125" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 22:16:08 +0000 (0:00:00.229) 0:00:38.178 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 22:16:08 +0000 (0:00:00.030) 0:00:38.208 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 22:16:08 +0000 (0:00:00.027) 0:00:38.236 ****** 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-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 22:16:08 +0000 (0:00:00.027) 0:00:38.263 ****** 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=88 changed=4 unreachable=0 failed=0 skipped=83 rescued=0 ignored=2 Tuesday 06 February 2024 22:16:08 +0000 (0:00:00.085) 0:00:38.348 ****** =============================================================================== Install iproute --------------------------------------------------------- 3.11s /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.68s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.67s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 2.62s /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 1.31s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tests_ethtool_ring_initscripts.yml:5 Create veth interface testnic1 ------------------------------------------ 0.63s /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewrite87e7a2io/tests/playbooks/tests_ethtool_ring.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Enable network service -------------- 0.54s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewrite87e7a2io/tests/tasks/enable_epel.yml:35 ------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-bond_options_rewrite87e7a2io/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---