# 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.16aax8kf7c/.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.16aax8kf7c/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.16aax8kf7c/tests/tests_ethtool_coalesce_initscripts.yml:5 Saturday 23 December 2023 21:30:41 +0000 (0:00:00.011) 0:00:00.012 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tests_ethtool_coalesce_initscripts.yml:8 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.968) 0:00:00.980 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/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.16aax8kf7c/tests/tasks/el_repo_setup.yml:3 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.011) 0:00:00.992 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tasks/el_repo_setup.yml:17 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.450) 0:00:01.443 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tasks/el_repo_setup.yml:22 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.267) 0:00:01.710 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tasks/el_repo_setup.yml:26 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.014) 0:00:01.725 ***** 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.16aax8kf7c/tests/tasks/el_repo_setup.yml:51 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.011) 0:00:01.736 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tasks/enable_epel.yml:8 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.048) 0:00:01.785 ***** 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.16aax8kf7c/tests/tasks/enable_epel.yml:24 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.272) 0:00:02.057 ***** 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.16aax8kf7c/tests/tasks/enable_epel.yml:30 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.011) 0:00:02.068 ***** 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.16aax8kf7c/tests/tasks/enable_epel.yml:35 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.009) 0:00:02.078 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247539", "end": "2023-12-23 21:30:43.966423", "rc": 0, "start": "2023-12-23 21:30:43.718884" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tasks/enable_epel.yml:40 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.449) 0:00:02.527 ***** 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.16aax8kf7c/tests/tests_ethtool_coalesce_initscripts.yml:10 Saturday 23 December 2023 21:30:44 +0000 (0:00:00.009) 0:00:02.536 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:3 Saturday 23 December 2023 21:30:44 +0000 (0:00:00.040) 0:00:02.577 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:9 Saturday 23 December 2023 21:30:44 +0000 (0:00:00.725) 0:00:03.302 ***** ok: [sut] => {} MSG: this is: playbooks/tests_ethtool_coalesce.yml TASK [INIT: Ethtool coalesce tests] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:15 Saturday 23 December 2023 21:30:44 +0000 (0:00:00.029) 0:00:03.331 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:18 Saturday 23 December 2023 21:30:44 +0000 (0:00:00.020) 0:00:03.352 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:30:44 +0000 (0:00:00.033) 0:00:03.385 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:30:44 +0000 (0:00:00.020) 0:00:03.406 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003605", "end": "2023-12-23 21:30:45.060396", "rc": 0, "start": "2023-12-23 21:30:45.056791" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.210) 0:00:03.617 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.026) 0:00:03.643 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:20 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.020) 0:00:03.663 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.026) 0:00:03.690 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.031) 0:00:03.722 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.043) 0:00:03.765 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.022) 0:00:03.788 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.021) 0:00:03.809 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003498", "end": "2023-12-23 21:30:45.467591", "rc": 0, "start": "2023-12-23 21:30:45.464093" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.212) 0:00:04.022 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.048) 0:00:04.070 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.030) 0:00:04.101 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 21:30:49 +0000 (0:00:03.536) 0:00:07.638 ***** 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.013302", "end": "2023-12-23 21:30:49.350180", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-12-23 21:30:49.336878" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004000", "end": "2023-12-23 21:30:49.576605", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-12-23 21:30:49.572605" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004485", "end": "2023-12-23 21:30:49.763689", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-12-23 21:30:49.759204" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 21:30:49 +0000 (0:00:00.674) 0:00:08.312 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.024041", "end": "2023-12-23 21:30:49.987187", "rc": 0, "start": "2023-12-23 21:30:49.963146" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.225) 0:00:08.538 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.028) 0:00:08.567 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.025) 0:00:08.592 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.021) 0:00:08.614 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.045) 0:00:08.659 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:24 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.027) 0:00:08.686 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/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.16aax8kf7c/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.023) 0:00:08.710 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.020) 0:00:08.730 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367049.3407395, "block_size": 4096, "blocks": 0, "ctime": 1703367049.3407395, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32101, "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": 1703367049.3407395, "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.16aax8kf7c/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.204) 0:00:08.934 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Install ethtool (test dependency)] *************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:26 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.028) 0:00:08.963 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:34 Saturday 23 December 2023 21:30:53 +0000 (0:00:03.031) 0:00:11.994 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.043) 0:00:12.038 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.038) 0:00:12.076 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.023) 0:00:12.100 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.021) 0:00:12.122 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.021) 0:00:12.143 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:55 +0000 (0:00:01.718) 0:00:13.861 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:56 +0000 (0:00:01.540) 0:00:15.402 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.031) 0:00:15.434 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.029) 0:00:15.463 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.028) 0:00:15.492 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:57 +0000 (0:00:00.052) 0:00:15.544 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:57 +0000 (0:00:00.036) 0:00:15.581 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:57 +0000 (0:00:00.059) 0:00:15.641 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:57 +0000 (0:00:00.047) 0:00:15.689 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:57 +0000 (0:00:00.041) 0:00:15.730 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:57 +0000 (0:00:00.033) 0:00:15.763 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:57 +0000 (0:00:00.561) 0:00:16.324 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7265_a2s8vg5/tmp4h3g932c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:58 +0000 (0:00:00.300) 0:00:16.624 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:58 +0000 (0:00:00.553) 0:00:17.178 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:58 +0000 (0:00:00.029) 0:00:17.208 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:58 +0000 (0:00:00.029) 0:00:17.237 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:58 +0000 (0:00:00.030) 0:00:17.268 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:58 +0000 (0:00:00.034) 0:00:17.303 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:50 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.333) 0:00:17.636 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:56 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.029) 0:00:17.665 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:61 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.028) 0:00:17.693 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003577", "end": "2023-12-23 21:30:59.349588", "rc": 1, "start": "2023-12-23 21:30:59.346011" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does not contain coalescing options] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:68 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.211) 0:00:17.905 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can set rx-frames.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:74 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.030) 0:00:17.936 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.050) 0:00:17.986 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.041) 0:00:18.028 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.032) 0:00:18.061 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.029) 0:00:18.091 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.031) 0:00:18.122 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:31:01 +0000 (0:00:01.660) 0:00:19.782 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:31:02 +0000 (0:00:01.356) 0:00:21.138 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:31:02 +0000 (0:00:00.032) 0:00:21.170 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:31:02 +0000 (0:00:00.031) 0:00:21.202 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:31:02 +0000 (0:00:00.029) 0:00:21.232 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:31:02 +0000 (0:00:00.053) 0:00:21.285 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:31:02 +0000 (0:00:00.037) 0:00:21.322 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:31:02 +0000 (0:00:00.032) 0:00:21.354 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:31:02 +0000 (0:00:00.066) 0:00:21.421 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:31:02 +0000 (0:00:00.030) 0:00:21.451 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:31:02 +0000 (0:00:00.029) 0:00:21.481 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.397) 0:00:21.878 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7265_a2s8vg5/tmpj0n792fc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.305) 0:00:22.184 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.423) 0:00:22.607 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.030) 0:00:22.638 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.030) 0:00:22.668 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.037) 0:00:22.705 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.029) 0:00:22.735 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:92 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.226) 0:00:22.962 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:98 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.036) 0:00:22.999 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:104 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.035) 0:00:23.034 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003363", "end": "2023-12-23 21:31:04.699947", "rc": 0, "start": "2023-12-23 21:31:04.696584" } STDOUT: ETHTOOL_OPTS="-C testnic1 rx-frames 128" TASK [Assert coalesce options set in profile] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:111 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.224) 0:00:23.258 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can clear coalescing options] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:117 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.029) 0:00:23.288 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.028) 0:00:23.317 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.089) 0:00:23.407 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.040) 0:00:23.448 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.034) 0:00:23.483 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:31:05 +0000 (0:00:00.049) 0:00:23.532 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:31:06 +0000 (0:00:01.647) 0:00:25.180 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:31:07 +0000 (0:00:01.337) 0:00:26.517 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.030) 0:00:26.548 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.029) 0:00:26.578 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.029) 0:00:26.608 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.054) 0:00:26.662 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.041) 0:00:26.704 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.029) 0:00:26.734 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.035) 0:00:26.769 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.059) 0:00:26.829 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.030) 0:00:26.859 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.429) 0:00:27.289 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7265_a2s8vg5/tmpac5_cgce" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:31:09 +0000 (0:00:00.383) 0:00:27.672 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:31:09 +0000 (0:00:00.437) 0:00:28.109 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:31:09 +0000 (0:00:00.033) 0:00:28.143 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:31:09 +0000 (0:00:00.039) 0:00:28.183 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:31:09 +0000 (0:00:00.032) 0:00:28.215 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:31:09 +0000 (0:00:00.032) 0:00:28.248 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get profile's coalescing options] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:132 Saturday 23 December 2023 21:31:09 +0000 (0:00:00.221) 0:00:28.469 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:138 Saturday 23 December 2023 21:31:09 +0000 (0:00:00.029) 0:00:28.498 ***** 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.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:143 Saturday 23 December 2023 21:31:10 +0000 (0:00:00.036) 0:00:28.535 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "grep", "ETHTOOL", "/etc/sysconfig/network-scripts/ifcfg-testnic1" ], "delta": "0:00:00.003336", "end": "2023-12-23 21:31:10.196084", "rc": 1, "start": "2023-12-23 21:31:10.192748" } MSG: non-zero return code ...ignoring TASK [ASSERT: The profile does reset coalescing options] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:150 Saturday 23 December 2023 21:31:10 +0000 (0:00:00.221) 0:00:28.756 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:31:10 +0000 (0:00:00.030) 0:00:28.786 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:31:10 +0000 (0:00:00.078) 0:00:28.865 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:31:10 +0000 (0:00:00.037) 0:00:28.902 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:31:10 +0000 (0:00:00.039) 0:00:28.941 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:31:10 +0000 (0:00:00.040) 0:00:28.982 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:31:12 +0000 (0:00:01.705) 0:00:30.688 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:31:13 +0000 (0:00:01.346) 0:00:32.035 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.034) 0:00:32.069 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.034) 0:00:32.104 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.054) 0:00:32.158 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.056) 0:00:32.214 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.030) 0:00:32.245 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.032) 0:00:32.278 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.034) 0:00:32.312 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.030) 0:00:32.343 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.078) 0:00:32.421 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:31:14 +0000 (0:00:00.409) 0:00:32.831 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7265_a2s8vg5/tmp1a53zogt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:31:14 +0000 (0:00:00.365) 0:00:33.197 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.368) 0:00:33.565 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.030) 0:00:33.596 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.030) 0:00:33.627 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.032) 0:00:33.659 ***** 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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.030) 0:00:33.690 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:169 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.216) 0:00:33.907 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.044) 0:00:33.951 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.036) 0:00:33.987 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.029) 0:00:34.017 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.046) 0:00:34.064 ***** included: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.095) 0:00:34.160 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003343", "end": "2023-12-23 21:31:15.813163", "rc": 0, "start": "2023-12-23 21:31:15.809820" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.212) 0:00:34.373 ***** 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.16aax8kf7c/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.030) 0:00:34.403 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 23 December 2023 21:31:15 +0000 (0:00:00.030) 0:00:34.434 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:23 Saturday 23 December 2023 21:31:18 +0000 (0:00:02.991) 0:00:37.425 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:31 Saturday 23 December 2023 21:31:18 +0000 (0:00:00.041) 0:00:37.467 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:39 Saturday 23 December 2023 21:31:18 +0000 (0:00:00.028) 0:00:37.496 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.011719", "end": "2023-12-23 21:31:19.157740", "rc": 0, "start": "2023-12-23 21:31:19.146021" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 23 December 2023 21:31:19 +0000 (0:00:00.221) 0:00:37.718 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:50 Saturday 23 December 2023 21:31:19 +0000 (0:00:00.031) 0:00:37.750 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:56 Saturday 23 December 2023 21:31:19 +0000 (0:00:00.030) 0:00:37.780 ***** 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.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 23 December 2023 21:31:19 +0000 (0:00:00.054) 0:00:37.834 ***** 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 Saturday 23 December 2023 21:31:19 +0000 (0:00:00.071) 0:00:37.906 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.54s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:16 Install ethtool (test dependency) --------------------------------------- 3.03s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:26 Install iproute --------------------------------------------------------- 2.99s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.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.16aax8kf7c/.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.66s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.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.54s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.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.36s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.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.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.97s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tests_ethtool_coalesce_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tests_ethtool_coalesce.yml:3 Create veth interface testnic1 ------------------------------------------ 0.67s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable network service -------------- 0.56s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gather the minimum subset of ansible_facts required by the network role test --- 0.45s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tasks/el_repo_setup.yml:3 --- Enable EPEL 8 ----------------------------------------------------------- 0.45s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/tests/tasks/enable_epel.yml:35 ---- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable network service -------------- 0.43s /WORKDIR/git-ansible-lint-test-2.16aax8kf7c/.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. ---^---^---^---^---^---