# 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-ansible-lint-test-2.16b0w462u5/.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-ansible-lint-test-2.16b0w462u5/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-ansible-lint-test-2.16b0w462u5/tests/tests_ethtool_coalesce_initscripts.yml:5 Wednesday 20 December 2023 15:21:48 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/tests_ethtool_coalesce_initscripts.yml:8 Wednesday 20 December 2023 15:21:49 +0000 (0:00:00.881) 0:00:00.893 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/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-ansible-lint-test-2.16b0w462u5/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 15:21:49 +0000 (0:00:00.011) 0:00:00.904 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/tasks/el_repo_setup.yml:17 Wednesday 20 December 2023 15:21:50 +0000 (0:00:00.365) 0:00:01.270 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/tasks/el_repo_setup.yml:22 Wednesday 20 December 2023 15:21:50 +0000 (0:00:00.248) 0:00:01.518 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/tasks/el_repo_setup.yml:26 Wednesday 20 December 2023 15:21:50 +0000 (0:00:00.013) 0:00:01.532 **** 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-ansible-lint-test-2.16b0w462u5/tests/tasks/el_repo_setup.yml:51 Wednesday 20 December 2023 15:21:50 +0000 (0:00:00.007) 0:00:01.539 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 15:21:50 +0000 (0:00:00.019) 0:00:01.559 **** 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-ansible-lint-test-2.16b0w462u5/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 15:21:50 +0000 (0:00:00.249) 0:00:01.809 **** 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-ansible-lint-test-2.16b0w462u5/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 15:21:50 +0000 (0:00:00.008) 0:00:01.817 **** 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-ansible-lint-test-2.16b0w462u5/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 15:21:50 +0000 (0:00:00.007) 0:00:01.825 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.253271", "end": "2023-12-20 15:21:51.076827", "rc": 0, "start": "2023-12-20 15:21:50.823556" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 15:21:51 +0000 (0:00:00.446) 0:00:02.271 **** 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-ansible-lint-test-2.16b0w462u5/tests/tests_ethtool_coalesce_initscripts.yml:10 Wednesday 20 December 2023 15:21:51 +0000 (0:00:00.008) 0:00:02.280 **** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing ethtool coalesce settings] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:3 Wednesday 20 December 2023 15:21:51 +0000 (0:00:00.015) 0:00:02.296 **** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:9 Wednesday 20 December 2023 15:21:51 +0000 (0:00:00.719) 0:00:03.015 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:15 Wednesday 20 December 2023 15:21:51 +0000 (0:00:00.018) 0:00:03.033 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:18 Wednesday 20 December 2023 15:21:51 +0000 (0:00:00.018) 0:00:03.051 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 15:21:51 +0000 (0:00:00.019) 0:00:03.071 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 15:21:51 +0000 (0:00:00.017) 0:00:03.089 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003605", "end": "2023-12-20 15:21:52.097240", "rc": 0, "start": "2023-12-20 15:21:52.093635" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.202) 0:00:03.292 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.018) 0:00:03.310 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:20 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.017) 0:00:03.327 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.020) 0:00:03.348 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.015) 0:00:03.364 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.015) 0:00:03.380 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.018) 0:00:03.398 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.017) 0:00:03.416 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003994", "end": "2023-12-20 15:21:52.423978", "rc": 0, "start": "2023-12-20 15:21:52.419984" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.202) 0:00:03.618 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.018) 0:00:03.636 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 15:21:52 +0000 (0:00:00.018) 0:00:03.654 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 15:21:55 +0000 (0:00:03.314) 0:00:06.969 **** 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.013409", "end": "2023-12-20 15:21:55.992591", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-12-20 15:21:55.979182" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004317", "end": "2023-12-20 15:21:56.226470", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-12-20 15:21:56.222153" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004905", "end": "2023-12-20 15:21:56.416961", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-12-20 15:21:56.412056" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.643) 0:00:07.612 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.023812", "end": "2023-12-20 15:21:56.642309", "rc": 0, "start": "2023-12-20 15:21:56.618497" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.225) 0:00:07.838 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.018) 0:00:07.856 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.017) 0:00:07.874 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.017) 0:00:07.892 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.017) 0:00:07.909 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:24 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.016) 0:00:07.926 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.021) 0:00:07.948 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.018) 0:00:07.966 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703085715.9831583, "block_size": 4096, "blocks": 0, "ctime": 1703085715.9831583, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32949, "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": 1703085715.9831583, "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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 15:21:56 +0000 (0:00:00.200) 0:00:08.167 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:26 Wednesday 20 December 2023 15:21:57 +0000 (0:00:00.019) 0:00:08.186 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:34 Wednesday 20 December 2023 15:22:00 +0000 (0:00:03.021) 0:00:11.208 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 15:22:00 +0000 (0:00:00.018) 0:00:11.226 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 15:22:00 +0000 (0:00:00.024) 0:00:11.251 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 15:22:00 +0000 (0:00:00.018) 0:00:11.269 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 15:22:00 +0000 (0:00:00.018) 0:00:11.288 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 15:22:00 +0000 (0:00:00.018) 0:00:11.306 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 15:22:01 +0000 (0:00:01.832) 0:00:13.138 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 15:22:03 +0000 (0:00:01.525) 0:00:14.663 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 15:22:03 +0000 (0:00:00.028) 0:00:14.692 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 15:22:03 +0000 (0:00:00.028) 0:00:14.720 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 15:22:03 +0000 (0:00:00.028) 0:00:14.748 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 15:22:03 +0000 (0:00:00.050) 0:00:14.798 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 15:22:03 +0000 (0:00:00.028) 0:00:14.827 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 15:22:03 +0000 (0:00:00.045) 0:00:14.872 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 15:22:03 +0000 (0:00:00.033) 0:00:14.906 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 15:22:03 +0000 (0:00:00.028) 0:00:14.934 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 15:22:03 +0000 (0:00:00.026) 0:00:14.961 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 15:22:04 +0000 (0:00:00.538) 0:00:15.499 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7260ws4ah5n3/tmpiglz5pqa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 15:22:04 +0000 (0:00:00.310) 0:00:15.809 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.552) 0:00:16.362 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.028) 0:00:16.390 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.029) 0:00:16.420 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.028) 0:00:16.449 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.030) 0:00:16.479 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:50 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.298) 0:00:16.777 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:56 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.027) 0:00:16.805 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:61 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.025) 0:00:16.831 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003571", "end": "2023-12-20 15:22:05.840910", "rc": 1, "start": "2023-12-20 15:22:05.837339" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:68 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.212) 0:00:17.043 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:74 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.030) 0:00:17.073 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.050) 0:00:17.124 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 15:22:05 +0000 (0:00:00.042) 0:00:17.166 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 15:22:06 +0000 (0:00:00.033) 0:00:17.200 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 15:22:06 +0000 (0:00:00.029) 0:00:17.229 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 15:22:06 +0000 (0:00:00.030) 0:00:17.260 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 15:22:07 +0000 (0:00:01.712) 0:00:18.973 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 15:22:09 +0000 (0:00:01.347) 0:00:20.321 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.029) 0:00:20.351 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.029) 0:00:20.380 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.028) 0:00:20.409 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.052) 0:00:20.461 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.029) 0:00:20.490 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.028) 0:00:20.518 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.056) 0:00:20.575 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.030) 0:00:20.606 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.026) 0:00:20.632 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 15:22:09 +0000 (0:00:00.380) 0:00:21.013 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7260ws4ah5n3/tmppqqtgk_c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 15:22:10 +0000 (0:00:00.311) 0:00:21.324 **** 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\nRTNETLINK answers: File exists\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 15:22:10 +0000 (0:00:00.437) 0:00:21.762 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 15:22:10 +0000 (0:00:00.029) 0:00:21.792 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 15:22:10 +0000 (0:00:00.028) 0:00:21.821 **** 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\\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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 15:22:10 +0000 (0:00:00.030) 0:00:21.852 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 15:22:10 +0000 (0:00:00.028) 0:00:21.881 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:92 Wednesday 20 December 2023 15:22:10 +0000 (0:00:00.220) 0:00:22.101 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:98 Wednesday 20 December 2023 15:22:10 +0000 (0:00:00.027) 0:00:22.129 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:104 Wednesday 20 December 2023 15:22:10 +0000 (0:00:00.026) 0:00:22.155 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003625", "end": "2023-12-20 15:22:11.168316", "rc": 0, "start": "2023-12-20 15:22:11.164691" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:111 Wednesday 20 December 2023 15:22:11 +0000 (0:00:00.217) 0:00:22.372 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:117 Wednesday 20 December 2023 15:22:11 +0000 (0:00:00.028) 0:00:22.401 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 15:22:11 +0000 (0:00:00.027) 0:00:22.429 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 15:22:11 +0000 (0:00:00.065) 0:00:22.495 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 15:22:11 +0000 (0:00:00.033) 0:00:22.528 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 15:22:11 +0000 (0:00:00.031) 0:00:22.559 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 15:22:11 +0000 (0:00:00.029) 0:00:22.588 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 15:22:13 +0000 (0:00:01.714) 0:00:24.303 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 15:22:14 +0000 (0:00:01.350) 0:00:25.653 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 15:22:14 +0000 (0:00:00.031) 0:00:25.685 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 15:22:14 +0000 (0:00:00.030) 0:00:25.715 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 15:22:14 +0000 (0:00:00.029) 0:00:25.744 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 15:22:14 +0000 (0:00:00.052) 0:00:25.796 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 15:22:14 +0000 (0:00:00.028) 0:00:25.825 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 15:22:14 +0000 (0:00:00.029) 0:00:25.854 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 15:22:14 +0000 (0:00:00.034) 0:00:25.889 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 15:22:14 +0000 (0:00:00.061) 0:00:25.950 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 15:22:14 +0000 (0:00:00.029) 0:00:25.979 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 15:22:15 +0000 (0:00:00.383) 0:00:26.363 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7260ws4ah5n3/tmpxaahhgeo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 15:22:15 +0000 (0:00:00.311) 0:00:26.674 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 15:22:15 +0000 (0:00:00.428) 0:00:27.103 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 15:22:15 +0000 (0:00:00.029) 0:00:27.132 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 15:22:15 +0000 (0:00:00.032) 0:00:27.165 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.032) 0:00:27.198 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.029) 0:00:27.227 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:132 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.217) 0:00:27.445 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:138 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.026) 0:00:27.472 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:143 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.027) 0:00:27.500 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003565", "end": "2023-12-20 15:22:16.509840", "rc": 1, "start": "2023-12-20 15:22:16.506275" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:150 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.212) 0:00:27.713 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.029) 0:00:27.743 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.066) 0:00:27.810 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.032) 0:00:27.842 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.031) 0:00:27.873 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 15:22:16 +0000 (0:00:00.029) 0:00:27.903 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 15:22:18 +0000 (0:00:01.706) 0:00:29.610 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 15:22:19 +0000 (0:00:01.346) 0:00:30.956 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 15:22:19 +0000 (0:00:00.029) 0:00:30.986 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 15:22:19 +0000 (0:00:00.028) 0:00:31.015 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 15:22:19 +0000 (0:00:00.031) 0:00:31.046 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 15:22:19 +0000 (0:00:00.052) 0:00:31.098 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 15:22:19 +0000 (0:00:00.029) 0:00:31.128 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 15:22:19 +0000 (0:00:00.031) 0:00:31.160 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 15:22:20 +0000 (0:00:00.034) 0:00:31.194 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 15:22:20 +0000 (0:00:00.028) 0:00:31.223 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 15:22:20 +0000 (0:00:00.051) 0:00:31.275 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 15:22:20 +0000 (0:00:00.385) 0:00:31.660 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7260ws4ah5n3/tmpx7gp0tzi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 15:22:20 +0000 (0:00:00.311) 0:00:31.972 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.314) 0:00:32.287 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.030) 0:00:32.317 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.029) 0:00:32.346 **** 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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.029) 0:00:32.376 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.029) 0:00:32.405 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:169 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.217) 0:00:32.623 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.042) 0:00:32.666 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.027) 0:00:32.693 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.026) 0:00:32.720 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.038) 0:00:32.758 **** included: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.061) 0:00:32.820 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003579", "end": "2023-12-20 15:22:21.830100", "rc": 0, "start": "2023-12-20 15:22:21.826521" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.214) 0:00:33.035 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.029) 0:00:33.065 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 15:22:21 +0000 (0:00:00.027) 0:00:33.093 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 15:22:24 +0000 (0:00:03.029) 0:00:36.122 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 15:22:24 +0000 (0:00:00.035) 0:00:36.158 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 15:22:25 +0000 (0:00:00.028) 0:00:36.186 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.009903", "end": "2023-12-20 15:22:25.204281", "rc": 0, "start": "2023-12-20 15:22:25.194378" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 15:22:25 +0000 (0:00:00.225) 0:00:36.411 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 15:22:25 +0000 (0:00:00.028) 0:00:36.440 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 15:22:25 +0000 (0:00:00.027) 0:00:36.467 **** 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-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 15:22:25 +0000 (0:00:00.027) 0:00:36.495 **** 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=77 rescued=0 ignored=2 Wednesday 20 December 2023 15:22:25 +0000 (0:00:00.058) 0:00:36.553 **** =============================================================================== Install iproute --------------------------------------------------------- 3.31s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 3.02s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.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.71s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.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.71s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.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.71s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.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.53s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.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-ansible-lint-test-2.16b0w462u5/.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-ansible-lint-test-2.16b0w462u5/.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-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/tests_ethtool_coalesce_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tests_ethtool_coalesce.yml:3 Create veth interface testnic1 ------------------------------------------ 0.64s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable network service -------------- 0.54s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Enable EPEL 8 ----------------------------------------------------------- 0.45s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/tests/tasks/enable_epel.yml:35 ---- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable network service -------------- 0.39s /WORKDIR/git-ansible-lint-test-2.16b0w462u5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---