# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ethtool_coalesce_initscripts.yml ******************************* 2 plays in /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/tests_ethtool_coalesce_initscripts.yml:5 Wednesday 27 December 2023 17:46:56 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tests_ethtool_coalesce_initscripts.yml:8 Wednesday 27 December 2023 17:46:57 +0000 (0:00:00.658) 0:00:00.670 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/tasks/el_repo_setup.yml:3 Wednesday 27 December 2023 17:46:57 +0000 (0:00:00.010) 0:00:00.681 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/el_repo_setup.yml:19 Wednesday 27 December 2023 17:46:57 +0000 (0:00:00.328) 0:00:01.010 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/el_repo_setup.yml:24 Wednesday 27 December 2023 17:46:57 +0000 (0:00:00.243) 0:00:01.253 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/el_repo_setup.yml:28 Wednesday 27 December 2023 17:46:57 +0000 (0:00:00.019) 0:00:01.273 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/el_repo_setup.yml:53 Wednesday 27 December 2023 17:46:57 +0000 (0:00:00.016) 0:00:01.290 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:8 Wednesday 27 December 2023 17:46:57 +0000 (0:00:00.029) 0:00:01.319 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:24 Wednesday 27 December 2023 17:46:58 +0000 (0:00:00.231) 0:00:01.551 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:30 Wednesday 27 December 2023 17:46:58 +0000 (0:00:00.010) 0:00:01.562 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:35 Wednesday 27 December 2023 17:46:58 +0000 (0:00:00.010) 0:00:01.572 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243704", "end": "2023-12-27 17:46:58.660450", "rc": 0, "start": "2023-12-27 17:46:58.416746" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:40 Wednesday 27 December 2023 17:46:58 +0000 (0:00:00.427) 0:00:02.000 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tests_ethtool_coalesce_initscripts.yml:10 Wednesday 27 December 2023 17:46:58 +0000 (0:00:00.009) 0:00:02.009 **** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing ethtool coalesce settings] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:3 Wednesday 27 December 2023 17:46:58 +0000 (0:00:00.010) 0:00:02.020 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:9 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.545) 0:00:02.565 **** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:15 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.010) 0:00:02.576 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:18 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.010) 0:00:02.587 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.013) 0:00:02.600 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.011) 0:00:02.612 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003204", "end": "2023-12-27 17:46:59.456782", "rc": 0, "start": "2023-12-27 17:46:59.453578" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.183) 0:00:02.795 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.012) 0:00:02.807 **** 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.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:20 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.010) 0:00:02.818 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.017) 0:00:02.835 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.010) 0:00:02.846 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.009) 0:00:02.855 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.014) 0:00:02.870 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.013) 0:00:02.883 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003440", "end": "2023-12-27 17:46:59.729383", "rc": 0, "start": "2023-12-27 17:46:59.725943" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.184) 0:00:03.067 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.013) 0:00:03.081 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 27 December 2023 17:46:59 +0000 (0:00:00.011) 0:00:03.092 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 27 December 2023 17:47:03 +0000 (0:00:03.400) 0:00:06.492 **** 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.011751", "end": "2023-12-27 17:47:03.351034", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-12-27 17:47:03.339283" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003963", "end": "2023-12-27 17:47:03.570920", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-12-27 17:47:03.566957" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004013", "end": "2023-12-27 17:47:03.751185", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-12-27 17:47:03.747172" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 27 December 2023 17:47:03 +0000 (0:00:00.598) 0:00:07.090 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.023854", "end": "2023-12-27 17:47:03.956638", "rc": 0, "start": "2023-12-27 17:47:03.932784" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 27 December 2023 17:47:03 +0000 (0:00:00.206) 0:00:07.297 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 27 December 2023 17:47:03 +0000 (0:00:00.011) 0:00:07.309 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 27 December 2023 17:47:03 +0000 (0:00:00.010) 0:00:07.319 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 27 December 2023 17:47:04 +0000 (0:00:00.010) 0:00:07.329 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 27 December 2023 17:47:04 +0000 (0:00:00.011) 0:00:07.340 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:24 Wednesday 27 December 2023 17:47:04 +0000 (0:00:00.009) 0:00:07.350 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/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.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 27 December 2023 17:47:04 +0000 (0:00:00.013) 0:00:07.363 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 27 December 2023 17:47:04 +0000 (0:00:00.012) 0:00:07.376 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703699223.3429565, "block_size": 4096, "blocks": 0, "ctime": 1703699223.3429565, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33021, "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": 1703699223.3429565, "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.162dkx_n8d/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 27 December 2023 17:47:04 +0000 (0:00:00.183) 0:00:07.559 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:26 Wednesday 27 December 2023 17:47:04 +0000 (0:00:00.011) 0:00:07.571 **** 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.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:35 Wednesday 27 December 2023 17:47:07 +0000 (0:00:02.982) 0:00:10.553 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:47:07 +0000 (0:00:00.010) 0:00:10.564 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:47:07 +0000 (0:00:00.065) 0:00:10.629 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:47:07 +0000 (0:00:00.013) 0:00:10.643 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:47:07 +0000 (0:00:00.011) 0:00:10.654 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:47:07 +0000 (0:00:00.011) 0:00:10.666 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:47:08 +0000 (0:00:01.605) 0:00:12.272 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:47:10 +0000 (0:00:01.443) 0:00:13.715 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:47:10 +0000 (0:00:00.022) 0:00:13.737 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:47:10 +0000 (0:00:00.020) 0:00:13.757 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:47:10 +0000 (0:00:00.020) 0:00:13.778 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:47:10 +0000 (0:00:00.042) 0:00:13.820 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:47:10 +0000 (0:00:00.020) 0:00:13.840 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:47:10 +0000 (0:00:00.020) 0:00:13.861 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:47:10 +0000 (0:00:00.024) 0:00:13.885 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:47:10 +0000 (0:00:00.020) 0:00:13.906 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:47:10 +0000 (0:00:00.020) 0:00:13.927 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:47:11 +0000 (0:00:00.462) 0:00:14.389 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10613v6kxxint/tmppvbt7z5m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:47:11 +0000 (0:00:00.290) 0:00:14.680 **** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:47:11 +0000 (0:00:00.536) 0:00:15.216 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:47:11 +0000 (0:00:00.022) 0:00:15.238 **** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:47:11 +0000 (0:00:00.023) 0:00:15.262 **** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:47:11 +0000 (0:00:00.023) 0:00:15.285 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:47:11 +0000 (0:00:00.021) 0:00:15.307 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:51 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.234) 0:00:15.541 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:57 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.020) 0:00:15.562 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:62 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.020) 0:00:15.583 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.002833", "end": "2023-12-27 17:47:12.427604", "rc": 1, "start": "2023-12-27 17:47:12.424771" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:70 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.192) 0:00:15.776 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:76 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.023) 0:00:15.799 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.021) 0:00:15.821 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.038) 0:00:15.859 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.066) 0:00:15.925 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.022) 0:00:15.948 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:47:12 +0000 (0:00:00.030) 0:00:15.978 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:47:14 +0000 (0:00:01.539) 0:00:17.517 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:47:15 +0000 (0:00:01.307) 0:00:18.825 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:47:15 +0000 (0:00:00.023) 0:00:18.849 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:47:15 +0000 (0:00:00.022) 0:00:18.872 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:47:15 +0000 (0:00:00.021) 0:00:18.894 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:47:15 +0000 (0:00:00.043) 0:00:18.937 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:47:15 +0000 (0:00:00.021) 0:00:18.959 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:47:15 +0000 (0:00:00.021) 0:00:18.980 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:47:15 +0000 (0:00:00.025) 0:00:19.005 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:47:15 +0000 (0:00:00.021) 0:00:19.027 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:47:15 +0000 (0:00:00.020) 0:00:19.047 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:47:16 +0000 (0:00:00.341) 0:00:19.389 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10613v6kxxint/tmpiy_64w52" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:47:16 +0000 (0:00:00.292) 0:00:19.682 **** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:47:16 +0000 (0:00:00.431) 0:00:20.113 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:47:16 +0000 (0:00:00.022) 0:00:20.135 **** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:47:16 +0000 (0:00:00.022) 0:00:20.158 **** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:47:16 +0000 (0:00:00.023) 0:00:20.181 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:47:16 +0000 (0:00:00.021) 0:00:20.203 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:94 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.188) 0:00:20.392 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:100 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.021) 0:00:20.413 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:106 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.021) 0:00:20.435 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.002790", "end": "2023-12-27 17:47:17.280031", "rc": 0, "start": "2023-12-27 17:47:17.277241" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:114 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.194) 0:00:20.630 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:120 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.024) 0:00:20.654 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.021) 0:00:20.675 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.037) 0:00:20.713 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.047) 0:00:20.761 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.021) 0:00:20.783 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:47:17 +0000 (0:00:00.022) 0:00:20.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 [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:47:19 +0000 (0:00:01.541) 0:00:22.347 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:47:20 +0000 (0:00:01.311) 0:00:23.659 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.023) 0:00:23.683 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.023) 0:00:23.707 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.022) 0:00:23.729 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.043) 0:00:23.772 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.022) 0:00:23.795 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.021) 0:00:23.816 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.025) 0:00:23.841 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.024) 0:00:23.866 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.022) 0:00:23.888 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:47:20 +0000 (0:00:00.353) 0:00:24.242 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10613v6kxxint/tmp2cmpujr8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:47:21 +0000 (0:00:00.302) 0:00:24.544 **** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:47:21 +0000 (0:00:00.418) 0:00:24.963 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:47:21 +0000 (0:00:00.045) 0:00:25.008 **** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:47:21 +0000 (0:00:00.023) 0:00:25.032 **** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:47:21 +0000 (0:00:00.023) 0:00:25.055 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:47:21 +0000 (0:00:00.022) 0:00:25.077 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:135 Wednesday 27 December 2023 17:47:21 +0000 (0:00:00.193) 0:00:25.270 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:141 Wednesday 27 December 2023 17:47:21 +0000 (0:00:00.022) 0:00:25.293 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:146 Wednesday 27 December 2023 17:47:21 +0000 (0:00:00.020) 0:00:25.313 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003115", "end": "2023-12-27 17:47:22.160833", "rc": 1, "start": "2023-12-27 17:47:22.157718" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:154 Wednesday 27 December 2023 17:47:22 +0000 (0:00:00.196) 0:00:25.509 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 27 December 2023 17:47:22 +0000 (0:00:00.024) 0:00:25.534 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 27 December 2023 17:47:22 +0000 (0:00:00.039) 0:00:25.573 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 27 December 2023 17:47:22 +0000 (0:00:00.025) 0:00:25.599 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 27 December 2023 17:47:22 +0000 (0:00:00.020) 0:00:25.620 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 27 December 2023 17:47:22 +0000 (0:00:00.020) 0:00:25.640 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 27 December 2023 17:47:23 +0000 (0:00:01.562) 0:00:27.203 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 27 December 2023 17:47:25 +0000 (0:00:01.294) 0:00:28.498 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.023) 0:00:28.521 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.040) 0:00:28.562 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.021) 0:00:28.584 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.044) 0:00:28.628 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.022) 0:00:28.651 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.021) 0:00:28.672 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.024) 0:00:28.697 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.023) 0:00:28.721 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.022) 0:00:28.743 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 27 December 2023 17:47:25 +0000 (0:00:00.343) 0:00:29.087 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10613v6kxxint/tmpgvqlokgt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.293) 0:00:29.380 **** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.295) 0:00:29.675 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.021) 0:00:29.697 **** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.023) 0:00:29.721 **** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.046) 0:00:29.767 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.021) 0:00:29.789 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:173 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.189) 0:00:29.978 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.041) 0:00:30.020 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.022) 0:00:30.042 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.021) 0:00:30.063 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.034) 0:00:30.098 **** included: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 27 December 2023 17:47:26 +0000 (0:00:00.035) 0:00:30.133 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003069", "end": "2023-12-27 17:47:26.978289", "rc": 0, "start": "2023-12-27 17:47:26.975220" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 27 December 2023 17:47:27 +0000 (0:00:00.194) 0:00:30.327 **** 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.162dkx_n8d/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 27 December 2023 17:47:27 +0000 (0:00:00.023) 0:00:30.351 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 27 December 2023 17:47:27 +0000 (0:00:00.021) 0:00:30.372 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 27 December 2023 17:47:29 +0000 (0:00:02.942) 0:00:33.314 **** skipping: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 27 December 2023 17:47:30 +0000 (0:00:00.032) 0:00:33.347 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 27 December 2023 17:47:30 +0000 (0:00:00.021) 0:00:33.369 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.011847", "end": "2023-12-27 17:47:30.226793", "rc": 0, "start": "2023-12-27 17:47:30.214946" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 27 December 2023 17:47:30 +0000 (0:00:00.209) 0:00:33.579 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 27 December 2023 17:47:30 +0000 (0:00:00.023) 0:00:33.602 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 27 December 2023 17:47:30 +0000 (0:00:00.039) 0:00:33.642 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 27 December 2023 17:47:30 +0000 (0:00:00.022) 0:00:33.665 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=88 changed=4 unreachable=0 failed=0 skipped=77 rescued=0 ignored=2 Wednesday 27 December 2023 17:47:30 +0000 (0:00:00.009) 0:00:33.674 **** =============================================================================== Install iproute --------------------------------------------------------- 3.40s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 2.98s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:26 Install iproute --------------------------------------------------------- 2.94s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.29s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.95s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.82s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tests_ethtool_coalesce_initscripts.yml:5 Create veth interface testnic1 ------------------------------------------ 0.60s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.59s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/playbooks/tests_ethtool_coalesce.yml:3 linux-system-roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:122 Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/tasks/enable_epel.yml:35 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.43s /WORKDIR/git-ansible-lint-test-2.162dkx_n8d/tests/roles/linux-system-roles.network/tasks/main.yml:155 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---