# 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_route_device_initscripts.yml *********************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tests_route_device_initscripts.yml PLAY [Run playbook 'playbooks/tests_route_device.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tests_route_device_initscripts.yml:4 Thursday 14 December 2023 17:45:37 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tests_route_device_initscripts.yml:8 Thursday 14 December 2023 17:45:38 +0000 (0:00:00.669) 0:00:00.681 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/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.160i_gkni7/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:45:38 +0000 (0:00:00.010) 0:00:00.692 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/el_repo_setup.yml:19 Thursday 14 December 2023 17:45:38 +0000 (0:00:00.336) 0:00:01.028 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/el_repo_setup.yml:24 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.252) 0:00:01.281 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/el_repo_setup.yml:28 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.019) 0:00:01.300 ***** 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.160i_gkni7/tests/tasks/el_repo_setup.yml:53 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.016) 0:00:01.317 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.029) 0:00:01.347 ***** 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.160i_gkni7/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.235) 0:00:01.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.010) 0:00:01.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.010) 0:00:01.604 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245203", "end": "2023-12-14 17:45:39.814300", "rc": 0, "start": "2023-12-14 17:45:39.569097" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.429) 0:00:02.033 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tests_route_device_initscripts.yml:10 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.009) 0:00:02.042 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:3 Thursday 14 December 2023 17:45:39 +0000 (0:00:00.010) 0:00:02.053 ***** ok: [sut] META: ran handlers TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:11 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.550) 0:00:02.603 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:15 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.011) 0:00:02.615 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.013) 0:00:02.628 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.012) 0:00:02.641 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003465", "end": "2023-12-14 17:45:40.611588", "rc": 0, "start": "2023-12-14 17:45:40.608123" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.189) 0:00:02.830 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.011) 0:00:02.842 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:17 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.010) 0:00:02.852 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.016) 0:00:02.869 ***** 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.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.009) 0:00:02.878 ***** 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.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.010) 0:00:02.889 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.012) 0:00:02.902 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.012) 0:00:02.915 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003551", "end": "2023-12-14 17:45:40.884751", "rc": 0, "start": "2023-12-14 17:45:40.881200" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.188) 0:00:03.103 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.011) 0:00:03.114 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:45:40 +0000 (0:00:00.009) 0:00:03.124 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:45:44 +0000 (0:00:03.461) 0:00:06.586 ***** ok: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.013370", "end": "2023-12-14 17:45:44.569575", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2023-12-14 17:45:44.556205" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004084", "end": "2023-12-14 17:45:44.792139", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2023-12-14 17:45:44.788055" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004256", "end": "2023-12-14 17:45:44.977548", "item": "ip link set ethtest0 up", "rc": 0, "start": "2023-12-14 17:45:44.973292" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:45:44 +0000 (0:00:00.611) 0:00:07.197 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024205", "end": "2023-12-14 17:45:45.186256", "rc": 0, "start": "2023-12-14 17:45:45.162051" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.208) 0:00:07.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.011) 0:00:07.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.010) 0:00:07.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.010) 0:00:07.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.011) 0:00:07.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:21 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.010) 0:00:07.460 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/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.160i_gkni7/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.013) 0:00:07.474 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.013) 0:00:07.487 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575944.5600114, "block_size": 4096, "blocks": 0, "ctime": 1702575944.5600114, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22584, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1702575944.5600114, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.183) 0:00:07.670 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface1] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:23 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.011) 0:00:07.682 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest1" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:26 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.010) 0:00:07.692 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.014) 0:00:07.707 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.012) 0:00:07.719 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003025", "end": "2023-12-14 17:45:45.686072", "rc": 0, "start": "2023-12-14 17:45:45.683047" } STDOUT: eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.185) 0:00:07.905 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.011) 0:00:07.916 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:28 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.011) 0:00:07.928 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.016) 0:00:07.945 ***** 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.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.009) 0:00:07.954 ***** 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.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.010) 0:00:07.964 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.013) 0:00:07.977 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.011) 0:00:07.989 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003451", "end": "2023-12-14 17:45:45.958541", "rc": 0, "start": "2023-12-14 17:45:45.955090" } STDOUT: eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.188) 0:00:08.178 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:45:45 +0000 (0:00:00.011) 0:00:08.189 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:45:46 +0000 (0:00:00.011) 0:00:08.201 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:45:49 +0000 (0:00:03.015) 0:00:11.216 ***** ok: [sut] => (item=ip link add ethtest1 type veth peer name peerethtest1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest1", "type", "veth", "peer", "name", "peerethtest1" ], "delta": "0:00:00.012013", "end": "2023-12-14 17:45:49.197000", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2023-12-14 17:45:49.184987" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003797", "end": "2023-12-14 17:45:49.413926", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2023-12-14 17:45:49.410129" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004277", "end": "2023-12-14 17:45:49.596732", "item": "ip link set ethtest1 up", "rc": 0, "start": "2023-12-14 17:45:49.592455" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:45:49 +0000 (0:00:00.600) 0:00:11.817 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.024455", "end": "2023-12-14 17:45:49.810560", "rc": 0, "start": "2023-12-14 17:45:49.786105" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:45:49 +0000 (0:00:00.214) 0:00:12.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:45:49 +0000 (0:00:00.011) 0:00:12.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:45:49 +0000 (0:00:00.011) 0:00:12.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:45:49 +0000 (0:00:00.010) 0:00:12.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:45:49 +0000 (0:00:00.011) 0:00:12.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:32 Thursday 14 December 2023 17:45:49 +0000 (0:00:00.010) 0:00:12.085 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/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.160i_gkni7/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:45:49 +0000 (0:00:00.015) 0:00:12.100 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:45:49 +0000 (0:00:00.013) 0:00:12.113 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575949.1884854, "block_size": 4096, "blocks": 0, "ctime": 1702575949.1884854, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23170, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest1", "lnk_target": "../../devices/virtual/net/ethtest1", "mode": "0777", "mtime": 1702575949.1884854, "nlink": 1, "path": "/sys/class/net/ethtest1", "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 - 'ethtest1'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:45:50 +0000 (0:00:00.189) 0:00:12.302 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:45:50 +0000 (0:00:00.013) 0:00:12.316 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:45:50 +0000 (0:00:00.065) 0:00:12.381 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:45:50 +0000 (0:00:00.011) 0:00:12.393 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:45:50 +0000 (0:00:00.010) 0:00:12.403 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:45:50 +0000 (0:00:00.009) 0:00:12.412 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:45:51 +0000 (0:00:01.594) 0:00:14.006 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:45:53 +0000 (0:00:01.424) 0:00:15.431 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.037) 0:00:15.468 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.022) 0:00:15.491 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.021) 0:00:15.512 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.043) 0:00:15.556 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.021) 0:00:15.577 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.020) 0:00:15.598 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.024) 0:00:15.622 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.021) 0:00:15.644 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.019) 0:00:15.664 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:45:53 +0000 (0:00:00.478) 0:00:16.142 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18087yn3jh25f/tmp20186xi9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:45:54 +0000 (0:00:00.295) 0:00:16.438 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'ethtest0': add ifcfg-rh profile 'ethtest0' [006] #1, state:up persistent_state:present, 'ethtest1': add ifcfg-rh profile 'ethtest1' [007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0 (is-modified) [008] #0, state:up persistent_state:present, 'ethtest0': call 'ifup ethtest0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\n"', 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"' [009] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1 (is-modified) [010] #1, state:up persistent_state:present, 'ethtest1': call 'ifup ethtest1': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\n"', 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:46:07 +0000 (0:00:12.864) 0:00:29.302 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:46:07 +0000 (0:00:00.023) 0:00:29.325 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add ifcfg-rh profile 'ethtest0'", "[006] #1, state:up persistent_state:present, 'ethtest1': add ifcfg-rh profile 'ethtest1'", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0 (is-modified)", "[008] #0, state:up persistent_state:present, 'ethtest0': call 'ifup ethtest0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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\"'", "[009] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1 (is-modified)", "[010] #1, state:up persistent_state:present, 'ethtest1': call 'ifup ethtest1': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\\n\"', 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:46:07 +0000 (0:00:00.022) 0:00:29.348 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'ethtest0': add ifcfg-rh profile 'ethtest0'\n[006] #1, state:up persistent_state:present, 'ethtest1': add ifcfg-rh profile 'ethtest1'\n[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0 (is-modified)\n[008] #0, state:up persistent_state:present, 'ethtest0': call 'ifup ethtest0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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[009] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1 (is-modified)\n[010] #1, state:up persistent_state:present, 'ethtest1': call 'ifup ethtest1': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\\n\"', 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": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add ifcfg-rh profile 'ethtest0'", "[006] #1, state:up persistent_state:present, 'ethtest1': add ifcfg-rh profile 'ethtest1'", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0 (is-modified)", "[008] #0, state:up persistent_state:present, 'ethtest0': call 'ifup ethtest0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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\"'", "[009] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1 (is-modified)", "[010] #1, state:up persistent_state:present, 'ethtest1': call 'ifup ethtest1': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface ethtest1 IPv6 address(es) to leave the 'tentative' state\\n\"', 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:46:07 +0000 (0:00:00.024) 0:00:29.372 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:46:07 +0000 (0:00:00.021) 0:00:29.394 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the IPv4 routes from the route table main] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:75 Thursday 14 December 2023 17:46:07 +0000 (0:00:00.258) 0:00:29.652 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-4", "route" ], "delta": "0:00:00.003356", "end": "2023-12-14 17:46:07.619525", "rc": 0, "start": "2023-12-14 17:46:07.616169" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.47 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.47 metric 100 169.254.0.0/16 dev ethtest0 scope link metric 1007 169.254.0.0/16 dev ethtest1 scope link metric 1009 198.51.10.64/26 via 198.51.100.6 dev ethtest0 metric 4 198.51.12.128/26 via 198.51.100.1 dev ethtest1 metric 2 198.51.100.0/24 dev ethtest0 proto kernel scope link src 198.51.100.3 198.51.100.0/24 dev ethtest1 proto kernel scope link src 198.51.100.6 TASK [Assert that the route table main contains the specified IPv4 routes] ***** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:80 Thursday 14 December 2023 17:46:07 +0000 (0:00:00.196) 0:00:29.849 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the IPv6 routes from the route table main] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:95 Thursday 14 December 2023 17:46:07 +0000 (0:00:00.024) 0:00:29.873 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003867", "end": "2023-12-14 17:46:07.842822", "rc": 0, "start": "2023-12-14 17:46:07.838955" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db6::4 via 2001:db8::1 dev ethtest0 metric 2 pref medium 2001:db8::/32 dev ethtest0 proto kernel metric 256 pref medium 2001:db8::/32 dev ethtest1 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerethtest0 proto kernel metric 256 pref medium fe80::/64 dev peerethtest1 proto kernel metric 256 pref medium fe80::/64 dev ethtest0 proto kernel metric 256 pref medium fe80::/64 dev ethtest1 proto kernel metric 256 pref medium TASK [Assert that the route table main contains the specified IPv6 routes] ***** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:100 Thursday 14 December 2023 17:46:07 +0000 (0:00:00.198) 0:00:30.072 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the interface1 MAC address] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:108 Thursday 14 December 2023 17:46:07 +0000 (0:00:00.022) 0:00:30.094 ***** ok: [sut] => { "changed": false, "cmd": [ "cat", "/sys/class/net/ethtest1/address" ], "delta": "0:00:00.003013", "end": "2023-12-14 17:46:08.063159", "rc": 0, "start": "2023-12-14 17:46:08.060146" } STDOUT: de:92:87:d5:dc:c4 TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:46:08 +0000 (0:00:00.198) 0:00:30.293 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:46:08 +0000 (0:00:00.037) 0:00:30.330 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:46:08 +0000 (0:00:00.027) 0:00:30.358 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:46:08 +0000 (0:00:00.021) 0:00:30.379 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:46:08 +0000 (0:00:00.021) 0:00:30.401 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:46:09 +0000 (0:00:01.527) 0:00:31.928 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:46:11 +0000 (0:00:01.309) 0:00:33.237 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.022) 0:00:33.260 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.021) 0:00:33.282 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.020) 0:00:33.302 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.085) 0:00:33.388 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.022) 0:00:33.410 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.020) 0:00:33.431 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.024) 0:00:33.455 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.021) 0:00:33.477 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.020) 0:00:33.497 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.345) 0:00:33.842 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18087yn3jh25f/tmpejlvp_xn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:46:11 +0000 (0:00:00.298) 0:00:34.140 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "de:92:87:d5:dc:c4", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately. [004] #0, state:None persistent_state:present, 'ethtest1': update ifcfg-rh profile 'ethtest1' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.296) 0:00:34.437 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.021) 0:00:34.459 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately.", "[004] #0, state:None persistent_state:present, 'ethtest1': update ifcfg-rh profile 'ethtest1'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.022) 0:00:34.481 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "de:92:87:d5:dc:c4", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately.\n[004] #0, state:None persistent_state:present, 'ethtest1': update ifcfg-rh profile 'ethtest1'\n", "stderr_lines": [ "[003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately.", "[004] #0, state:None persistent_state:present, 'ethtest1': update ifcfg-rh profile 'ethtest1'" ], "warnings": [ "[003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately." ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.022) 0:00:34.504 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.021) 0:00:34.525 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that the warning about specifying the route without the output device is logged for initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:132 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.191) 0:00:34.716 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that no warning is logged for nm provider] ************************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:148 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.025) 0:00:34.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Bring down test devices and profiles] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:159 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.020) 0:00:34.762 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.041) 0:00:34.804 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.038) 0:00:34.843 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.025) 0:00:34.868 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.021) 0:00:34.890 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:46:12 +0000 (0:00:00.020) 0:00:34.910 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:46:14 +0000 (0:00:01.566) 0:00:36.477 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:46:15 +0000 (0:00:01.300) 0:00:37.777 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:46:15 +0000 (0:00:00.022) 0:00:37.800 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:46:15 +0000 (0:00:00.021) 0:00:37.822 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:46:15 +0000 (0:00:00.020) 0:00:37.843 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:46:15 +0000 (0:00:00.041) 0:00:37.885 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:46:15 +0000 (0:00:00.020) 0:00:37.906 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:46:15 +0000 (0:00:00.041) 0:00:37.947 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:46:15 +0000 (0:00:00.025) 0:00:37.972 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:46:15 +0000 (0:00:00.021) 0:00:37.994 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:46:15 +0000 (0:00:00.020) 0:00:38.015 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:46:16 +0000 (0:00:00.350) 0:00:38.366 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18087yn3jh25f/tmpeo0alcd5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:46:16 +0000 (0:00:00.293) 0:00:38.659 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [008] #0, state:down persistent_state:absent, 'ethtest0': up connection ethtest0 (active) [009] #0, state:down persistent_state:absent, 'ethtest0': call 'ifdown ethtest0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [010] #1, state:down persistent_state:absent, 'ethtest1': up connection ethtest1 (active) [011] #1, state:down persistent_state:absent, 'ethtest1': call 'ifdown ethtest1': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [012] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest0' [013] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest0' [014] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route6-ethtest0' [015] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest1' [016] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest1' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.574) 0:00:39.234 ***** 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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.021) 0:00:39.255 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[008] #0, state:down persistent_state:absent, 'ethtest0': up connection ethtest0 (active)", "[009] #0, state:down persistent_state:absent, 'ethtest0': call 'ifdown ethtest0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[010] #1, state:down persistent_state:absent, 'ethtest1': up connection ethtest1 (active)", "[011] #1, state:down persistent_state:absent, 'ethtest1': call 'ifdown ethtest1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[012] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest0'", "[013] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest0'", "[014] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route6-ethtest0'", "[015] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest1'", "[016] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest1'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.022) 0:00:39.278 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[008] #0, state:down persistent_state:absent, 'ethtest0': up connection ethtest0 (active)\n[009] #0, state:down persistent_state:absent, 'ethtest0': call 'ifdown ethtest0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[010] #1, state:down persistent_state:absent, 'ethtest1': up connection ethtest1 (active)\n[011] #1, state:down persistent_state:absent, 'ethtest1': call 'ifdown ethtest1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[012] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest0'\n[013] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest0'\n[014] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route6-ethtest0'\n[015] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest1'\n[016] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest1'\n", "stderr_lines": [ "[008] #0, state:down persistent_state:absent, 'ethtest0': up connection ethtest0 (active)", "[009] #0, state:down persistent_state:absent, 'ethtest0': call 'ifdown ethtest0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[010] #1, state:down persistent_state:absent, 'ethtest1': up connection ethtest1 (active)", "[011] #1, state:down persistent_state:absent, 'ethtest1': call 'ifdown ethtest1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[012] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest0'", "[013] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest0'", "[014] #0, state:down persistent_state:absent, 'ethtest0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route6-ethtest0'", "[015] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-ethtest1'", "[016] #1, state:down persistent_state:absent, 'ethtest1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/route-ethtest1'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.022) 0:00:39.301 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.020) 0:00:39.322 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete interface1] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:170 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.193) 0:00:39.515 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.060) 0:00:39.576 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.009399", "end": "2023-12-14 17:46:17.556424", "rc": 0, "start": "2023-12-14 17:46:17.547025" } TASK [Assert interface1 is absent] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:172 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.213) 0:00:39.790 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.038) 0:00:39.828 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.035) 0:00:39.864 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.199) 0:00:40.063 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface0] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:174 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.024) 0:00:40.088 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0" }, "changed": false } TASK [Delete interface0] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:177 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.021) 0:00:40.110 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 December 2023 17:46:17 +0000 (0:00:00.037) 0:00:40.148 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011479", "end": "2023-12-14 17:46:18.126805", "rc": 0, "start": "2023-12-14 17:46:18.115326" } TASK [Assert interface0 is absent] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:179 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.210) 0:00:40.358 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.059) 0:00:40.418 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.036) 0:00:40.454 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.197) 0:00:40.652 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert interface0 profile and interface1 profile are absent] ************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:181 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.023) 0:00:40.675 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.043) 0:00:40.719 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.036) 0:00:40.755 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.021) 0:00:40.777 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.198) 0:00:40.975 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:46:18 +0000 (0:00:00.022) 0:00:40.998 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.018994", "end": "2023-12-14 17:46:18.983129", "rc": 1, "start": "2023-12-14 17:46:18.964135" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.215) 0:00:41.214 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.022) 0:00:41.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.047) 0:00:41.284 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.024) 0:00:41.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.022) 0:00:41.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.023) 0:00:41.354 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.024) 0:00:41.378 ***** included: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.036) 0:00:41.414 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.021) 0:00:41.436 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.193) 0:00:41.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.021) 0:00:41.651 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest1 | grep /etc", "delta": "0:00:00.018676", "end": "2023-12-14 17:46:19.634818", "rc": 1, "start": "2023-12-14 17:46:19.616142" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.212) 0:00:41.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest1] *********************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.022) 0:00:41.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest1] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.022) 0:00:41.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest1] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.021) 0:00:41.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest1] ************************ task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.021) 0:00:41.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest1'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.045) 0:00:41.998 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=109 changed=3 unreachable=0 failed=0 skipped=70 rescued=0 ignored=2 Thursday 14 December 2023 17:46:19 +0000 (0:00:00.011) 0:00:42.010 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles -- 12.86s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Install iproute --------------------------------------------------------- 3.46s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.02s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.42s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/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.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tests_route_device_initscripts.yml:4 Create veth interface ethtest0 ------------------------------------------ 0.61s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface ethtest1 ------------------------------------------ 0.60s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/playbooks/tests_route_device.yml:3 linux-system-roles.network : Enable network service --------------------- 0.48s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/enable_epel.yml:35 ---- linux-system-roles.network : Enable network service --------------------- 0.35s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Enable network service --------------------- 0.35s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gather the minimum subset of ansible_facts required by the network role test --- 0.34s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/tasks/el_repo_setup.yml:3 --- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.30s /WORKDIR/git-ansible-lint-test-2.160i_gkni7/tests/roles/linux-system-roles.network/tasks/main.yml:113 ---^---^---^---^---^--- # 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. [WARNING]: [003] #0, state:None persistent_state:present, 'ethtest1': The connection ethtest1 does not specify an interface name. Therefore, the route to 198.58.10.64/26 will be configured without the output device and the kernel will choose it automatically which might result in an unwanted device being used. To avoid this, specify `interface_name` in the connection appropriately. ---^---^---^---^---^---