# 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_coalesce_initscripts.yml ******************************* 2 plays in /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_ethtool_coalesce_initscripts.yml PLAY [Run playbook 'playbooks/tests_ethtool_coalesce.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_ethtool_coalesce_initscripts.yml:4 Tuesday 28 November 2023 01:20:18 +0000 (0:00:00.016) 0:00:00.016 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_ethtool_coalesce_initscripts.yml:8 Tuesday 28 November 2023 01:20:18 +0000 (0:00:00.897) 0:00:00.913 ****** 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:20:18 +0000 (0:00:00.015) 0:00:00.929 ****** 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:20:19 +0000 (0:00:00.355) 0:00:01.285 ****** 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:20:19 +0000 (0:00:00.276) 0:00:01.562 ****** 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:20:19 +0000 (0:00:00.023) 0:00:01.586 ****** 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:20:19 +0000 (0:00:00.010) 0:00:01.596 ****** 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:20:19 +0000 (0:00:00.017) 0:00:01.613 ****** 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-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:24 Tuesday 28 November 2023 01:20:19 +0000 (0:00:00.282) 0:00:01.895 ****** 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:20:19 +0000 (0:00:00.013) 0:00:01.909 ****** 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:20:19 +0000 (0:00:00.013) 0:00:01.922 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.375068", "end": "2023-11-28 01:20:20.503386", "rc": 0, "start": "2023-11-28 01:20:20.128318" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:40 Tuesday 28 November 2023 01:20:20 +0000 (0:00:00.571) 0:00:02.493 ****** 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_coalesce_initscripts.yml:10 Tuesday 28 November 2023 01:20:20 +0000 (0:00:00.012) 0:00:02.506 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing ethtool coalesce settings] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:3 Tuesday 28 November 2023 01:20:20 +0000 (0:00:00.030) 0:00:02.536 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:9 Tuesday 28 November 2023 01:20:21 +0000 (0:00:00.674) 0:00:03.211 ****** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:15 Tuesday 28 November 2023 01:20:21 +0000 (0:00:00.023) 0:00:03.234 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:18 Tuesday 28 November 2023 01:20:21 +0000 (0:00:00.024) 0:00:03.259 ****** 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:20:21 +0000 (0:00:00.029) 0:00:03.288 ****** 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:20:21 +0000 (0:00:00.026) 0:00:03.315 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003532", "end": "2023-11-28 01:20:21.538571", "rc": 0, "start": "2023-11-28 01:20:21.535039" } STDOUT: bonding_masters 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:20:21 +0000 (0:00:00.211) 0:00:03.527 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "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:20:21 +0000 (0:00:00.026) 0:00:03.553 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:20 Tuesday 28 November 2023 01:20:21 +0000 (0:00:00.023) 0:00:03.576 ****** 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:20:21 +0000 (0:00:00.027) 0:00:03.603 ****** 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:20:21 +0000 (0:00:00.023) 0:00:03.627 ****** 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:20:21 +0000 (0:00:00.024) 0:00:03.651 ****** 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:20:21 +0000 (0:00:00.033) 0:00:03.685 ****** 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:20:21 +0000 (0:00:00.027) 0:00:03.712 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003612", "end": "2023-11-28 01:20:21.930080", "rc": 0, "start": "2023-11-28 01:20:21.926468" } STDOUT: bonding_masters 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:20:21 +0000 (0:00:00.207) 0:00:03.920 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "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:20:21 +0000 (0:00:00.030) 0:00:03.950 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', '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:20:22 +0000 (0:00:00.035) 0:00:03.986 ****** 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:20:23 +0000 (0:00:01.746) 0:00:05.733 ****** 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.013742", "end": "2023-11-28 01:20:23.966659", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-11-28 01:20:23.952917" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.006899", "end": "2023-11-28 01:20:24.196225", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-11-28 01:20:24.189326" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.007523", "end": "2023-11-28 01:20:24.386188", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-11-28 01:20:24.378665" } 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:20:24 +0000 (0:00:00.644) 0:00:06.377 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.024719", "end": "2023-11-28 01:20:24.614860", "rc": 0, "start": "2023-11-28 01:20:24.590141" } 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:20:24 +0000 (0:00:00.225) 0:00:06.603 ****** 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:20:24 +0000 (0:00:00.021) 0:00:06.625 ****** 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:20:24 +0000 (0:00:00.020) 0:00:06.645 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:55 Tuesday 28 November 2023 01:20:24 +0000 (0:00:00.020) 0:00:06.665 ****** 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:20:24 +0000 (0:00:00.024) 0:00:06.689 ****** 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_coalesce.yml:24 Tuesday 28 November 2023 01:20:24 +0000 (0:00:00.022) 0:00:06.711 ****** 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:20:24 +0000 (0:00:00.025) 0:00:06.737 ****** 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:20:24 +0000 (0:00:00.024) 0:00:06.761 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1701134423.956778, "block_size": 4096, "blocks": 0, "ctime": 1701134423.956778, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30997, "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": 1701134423.956778, "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:20:24 +0000 (0:00:00.201) 0:00:06.962 ****** 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_coalesce.yml:26 Tuesday 28 November 2023 01:20:25 +0000 (0:00:00.023) 0:00:06.985 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [TEST: I can create a profile without any coalescing option.] ************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:33 Tuesday 28 November 2023 01:20:26 +0000 (0:00:01.407) 0:00:08.393 ****** 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:20:26 +0000 (0:00:00.028) 0:00:08.421 ****** 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:20:26 +0000 (0:00:00.032) 0:00:08.454 ****** 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:20:26 +0000 (0:00:00.023) 0:00:08.478 ****** 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:20:26 +0000 (0:00:00.199) 0:00:08.677 ****** 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:20:26 +0000 (0:00:00.027) 0:00:08.705 ****** 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:20:28 +0000 (0:00:01.833) 0:00:10.539 ****** 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:20:30 +0000 (0:00:01.541) 0:00:12.081 ****** 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:20:30 +0000 (0:00:00.038) 0:00:12.119 ****** 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:20:30 +0000 (0:00:00.037) 0:00:12.156 ****** 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:20:30 +0000 (0:00:00.035) 0:00:12.192 ****** 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:20:30 +0000 (0:00:00.063) 0:00:12.255 ****** 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:20:30 +0000 (0:00:00.035) 0:00:12.291 ****** 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:20:30 +0000 (0:00:00.058) 0:00:12.349 ****** 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:20:30 +0000 (0:00:00.044) 0:00:12.394 ****** 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:20:30 +0000 (0:00:00.036) 0:00:12.430 ****** 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:20:30 +0000 (0:00:00.032) 0:00:12.462 ****** 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:20:31 +0000 (0:00:00.597) 0:00:13.060 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7294vce6kevb/tmp100jcvst" } 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:20:31 +0000 (0:00:00.302) 0:00:13.362 ****** 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:20:31 +0000 (0:00:00.600) 0:00:13.963 ****** 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:20:32 +0000 (0:00:00.043) 0:00:14.007 ****** 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:20:32 +0000 (0:00:00.037) 0:00:14.044 ****** 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:20:32 +0000 (0:00:00.042) 0:00:14.086 ****** 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:20:32 +0000 (0:00:00.046) 0:00:14.133 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:49 Tuesday 28 November 2023 01:20:32 +0000 (0:00:00.387) 0:00:14.521 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:55 Tuesday 28 November 2023 01:20:32 +0000 (0:00:00.033) 0:00:14.555 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:60 Tuesday 28 November 2023 01:20:32 +0000 (0:00:00.033) 0:00:14.588 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003377", "end": "2023-11-28 01:20:32.803537", "rc": 1, "start": "2023-11-28 01:20:32.800160" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:67 Tuesday 28 November 2023 01:20:32 +0000 (0:00:00.214) 0:00:14.802 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:73 Tuesday 28 November 2023 01:20:32 +0000 (0:00:00.062) 0:00:14.865 ****** 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:20:32 +0000 (0:00:00.033) 0:00:14.899 ****** 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:20:32 +0000 (0:00:00.052) 0:00:14.951 ****** 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:20:33 +0000 (0:00:00.038) 0:00:14.990 ****** 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:20:33 +0000 (0:00:00.230) 0:00:15.221 ****** 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:20:33 +0000 (0:00:00.056) 0:00:15.277 ****** 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:20:35 +0000 (0:00:01.716) 0:00:16.994 ****** 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:20:36 +0000 (0:00:01.294) 0:00:18.288 ****** 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:20:36 +0000 (0:00:00.039) 0:00:18.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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:20:36 +0000 (0:00:00.035) 0:00:18.364 ****** 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:20:36 +0000 (0:00:00.034) 0:00:18.399 ****** 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:20:36 +0000 (0:00:00.076) 0:00:18.475 ****** 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:20:36 +0000 (0:00:00.037) 0:00:18.513 ****** 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:20:36 +0000 (0:00:00.062) 0:00:18.575 ****** 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:20:36 +0000 (0:00:00.054) 0:00:18.630 ****** 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:20:36 +0000 (0:00:00.038) 0:00:18.668 ****** 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:20:36 +0000 (0:00:00.038) 0:00:18.707 ****** 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:20:37 +0000 (0:00:00.397) 0:00:19.105 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7294vce6kevb/tmpa25j7hy4" } 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:20:37 +0000 (0:00:00.305) 0:00:19.411 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 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:20:37 +0000 (0:00:00.438) 0:00:19.850 ****** 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:20:37 +0000 (0:00:00.040) 0:00:19.890 ****** 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:20:37 +0000 (0:00:00.040) 0:00:19.930 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ethtool": { "coalesce": { "rx_frames": 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:20:37 +0000 (0:00:00.037) 0:00:19.968 ****** 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:20:38 +0000 (0:00:00.041) 0:00:20.009 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:91 Tuesday 28 November 2023 01:20:38 +0000 (0:00:00.227) 0:00:20.237 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:97 Tuesday 28 November 2023 01:20:38 +0000 (0:00:00.034) 0:00:20.271 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:103 Tuesday 28 November 2023 01:20:38 +0000 (0:00:00.035) 0:00:20.306 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003462", "end": "2023-11-28 01:20:38.523814", "rc": 0, "start": "2023-11-28 01:20:38.520352" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:110 Tuesday 28 November 2023 01:20:38 +0000 (0:00:00.225) 0:00:20.532 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:116 Tuesday 28 November 2023 01:20:38 +0000 (0:00:00.082) 0:00:20.615 ****** 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:20:38 +0000 (0:00:00.039) 0:00:20.655 ****** 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:20:38 +0000 (0:00:00.064) 0:00:20.719 ****** 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:20:38 +0000 (0:00:00.044) 0:00:20.764 ****** 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:20:39 +0000 (0:00:00.235) 0:00:21.000 ****** 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:20:39 +0000 (0:00:00.057) 0:00:21.057 ****** 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:20:40 +0000 (0:00:01.747) 0:00:22.805 ****** 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:20:42 +0000 (0:00:01.318) 0:00:24.124 ****** 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:20:42 +0000 (0:00:00.044) 0:00:24.168 ****** 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:20:42 +0000 (0:00:00.041) 0:00:24.209 ****** 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:20:42 +0000 (0:00:00.035) 0:00:24.244 ****** 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:20:42 +0000 (0:00:00.081) 0:00:24.326 ****** 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:20:42 +0000 (0:00:00.045) 0:00:24.371 ****** 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:20:42 +0000 (0:00:00.081) 0:00:24.452 ****** 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:20:42 +0000 (0:00:00.044) 0:00:24.496 ****** 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:20:42 +0000 (0:00:00.055) 0:00:24.552 ****** 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:20:42 +0000 (0:00:00.041) 0:00:24.593 ****** 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:20:43 +0000 (0:00:00.401) 0:00:24.995 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7294vce6kevb/tmp8mmhnza7" } 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:20:43 +0000 (0:00:00.321) 0:00:25.316 ****** 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:20:43 +0000 (0:00:00.441) 0:00:25.758 ****** 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:20:43 +0000 (0:00:00.050) 0:00:25.809 ****** 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:20:43 +0000 (0:00:00.038) 0:00:25.847 ****** 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:20:43 +0000 (0:00:00.046) 0:00:25.894 ****** 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:20:43 +0000 (0:00:00.037) 0:00:25.931 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:131 Tuesday 28 November 2023 01:20:44 +0000 (0:00:00.236) 0:00:26.167 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:137 Tuesday 28 November 2023 01:20:44 +0000 (0:00:00.045) 0:00:26.213 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:142 Tuesday 28 November 2023 01:20:44 +0000 (0:00:00.041) 0:00:26.254 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003284", "end": "2023-11-28 01:20:44.478401", "rc": 1, "start": "2023-11-28 01:20:44.475117" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:149 Tuesday 28 November 2023 01:20:44 +0000 (0:00:00.232) 0:00:26.487 ****** 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:20:44 +0000 (0:00:00.047) 0:00:26.534 ****** 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:20:44 +0000 (0:00:00.134) 0:00:26.669 ****** 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:20:44 +0000 (0:00:00.051) 0:00:26.720 ****** 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:20:44 +0000 (0:00:00.228) 0:00:26.949 ****** 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:20:45 +0000 (0:00:00.051) 0:00:27.001 ****** 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:20:46 +0000 (0:00:01.720) 0:00:28.722 ****** 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:20:48 +0000 (0:00:01.296) 0:00:30.018 ****** 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:20:48 +0000 (0:00:00.043) 0:00:30.062 ****** 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:20:48 +0000 (0:00:00.052) 0:00:30.114 ****** 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:20:48 +0000 (0:00:00.052) 0:00:30.167 ****** 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:20:48 +0000 (0:00:00.094) 0:00:30.262 ****** 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:20:48 +0000 (0:00:00.050) 0:00:30.313 ****** 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:20:48 +0000 (0:00:00.043) 0:00:30.356 ****** 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:20:48 +0000 (0:00:00.084) 0:00:30.440 ****** 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:20:48 +0000 (0:00:00.045) 0:00:30.485 ****** 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:20:48 +0000 (0:00:00.040) 0:00:30.526 ****** 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:20:48 +0000 (0:00:00.392) 0:00:30.918 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7294vce6kevb/tmpnc6n9dyt" } 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:20:49 +0000 (0:00:00.310) 0:00:31.229 ****** 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:20:49 +0000 (0:00:00.348) 0:00:31.578 ****** 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:20:49 +0000 (0:00:00.048) 0:00:31.626 ****** 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:20:49 +0000 (0:00:00.040) 0:00:31.667 ****** 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:20:49 +0000 (0:00:00.045) 0:00:31.712 ****** 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:20:49 +0000 (0:00:00.041) 0:00:31.754 ****** 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_coalesce.yml:168 Tuesday 28 November 2023 01:20:50 +0000 (0:00:00.240) 0:00:31.994 ****** 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:20:50 +0000 (0:00:00.082) 0:00:32.076 ****** 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:20:50 +0000 (0:00:00.055) 0:00:32.132 ****** 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:20:50 +0000 (0:00:00.046) 0:00:32.179 ****** 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:20:50 +0000 (0:00:00.091) 0:00:32.270 ****** 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:20:50 +0000 (0:00:00.057) 0:00:32.328 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003529", "end": "2023-11-28 01:20:50.550065", "rc": 0, "start": "2023-11-28 01:20:50.546536" } STDOUT: bonding_masters 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:20:50 +0000 (0:00:00.222) 0:00:32.551 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "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:20:50 +0000 (0:00:00.047) 0:00:32.599 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', '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:20:50 +0000 (0:00:00.047) 0:00:32.646 ****** 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:20:52 +0000 (0:00:01.435) 0:00:34.081 ****** 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:20:52 +0000 (0:00:00.045) 0:00:34.127 ****** 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:20:52 +0000 (0:00:00.040) 0:00:34.168 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.011052", "end": "2023-11-28 01:20:52.394767", "rc": 0, "start": "2023-11-28 01:20:52.383715" } 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:20:52 +0000 (0:00:00.236) 0:00:34.405 ****** 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:20:52 +0000 (0:00:00.035) 0:00:34.441 ****** 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:20:52 +0000 (0:00:00.032) 0:00:34.473 ****** 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:20:52 +0000 (0:00:00.035) 0:00:34.509 ****** 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=91 changed=4 unreachable=0 failed=0 skipped=74 rescued=0 ignored=2 Tuesday 28 November 2023 01:20:52 +0000 (0:00:00.113) 0:00:34.622 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.83s /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.75s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.75s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 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.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 packages are installed --- 1.54s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Install iproute --------------------------------------------------------- 1.44s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 1.41s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:26 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.30s /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.29s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_ethtool_coalesce_initscripts.yml:4 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_ethtool_coalesce.yml:3 Create veth interface testnic1 ------------------------------------------ 0.64s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.60s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable network service -------------- 0.60s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 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 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 fedora.linux_system_roles.network : Enable network service -------------- 0.40s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---