# 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_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tests_auto_gateway_nm.yml:6 Monday 25 December 2023 22:04:23 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tests_auto_gateway_nm.yml:9 Monday 25 December 2023 22:04:24 +0000 (0:00:00.728) 0:00:00.740 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:04:24 +0000 (0:00:00.028) 0:00:00.769 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:19 Monday 25 December 2023 22:04:24 +0000 (0:00:00.453) 0:00:01.222 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:24 Monday 25 December 2023 22:04:24 +0000 (0:00:00.302) 0:00:01.525 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:28 Monday 25 December 2023 22:04:24 +0000 (0:00:00.034) 0:00:01.559 ******* 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.16i1pchpmv/tests/tasks/el_repo_setup.yml:53 Monday 25 December 2023 22:04:25 +0000 (0:00:00.029) 0:00:01.589 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:04:25 +0000 (0:00:00.050) 0:00:01.639 ******* 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.16i1pchpmv/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:04:25 +0000 (0:00:00.269) 0:00:01.909 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:04:25 +0000 (0:00:00.023) 0:00:01.932 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:04:25 +0000 (0:00:00.010) 0:00:01.943 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.244847", "end": "2023-12-25 22:04:26.773115", "rc": 0, "start": "2023-12-25 22:04:25.528268" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:04:26 +0000 (0:00:01.432) 0:00:03.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tests_auto_gateway_nm.yml:11 Monday 25 December 2023 22:04:26 +0000 (0:00:00.010) 0:00:03.386 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:3 Monday 25 December 2023 22:04:26 +0000 (0:00:00.016) 0:00:03.403 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:9 Monday 25 December 2023 22:04:27 +0000 (0:00:00.554) 0:00:03.958 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:27 +0000 (0:00:00.042) 0:00:04.001 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:27 +0000 (0:00:00.027) 0:00:04.028 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002986", "end": "2023-12-25 22:04:27.614606", "rc": 0, "start": "2023-12-25 22:04:27.611620" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:27 +0000 (0:00:00.186) 0:00:04.215 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:27 +0000 (0:00:00.016) 0:00:04.231 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:11 Monday 25 December 2023 22:04:27 +0000 (0:00:00.013) 0:00:04.244 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:04:27 +0000 (0:00:00.030) 0:00:04.274 ******* 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.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:04:27 +0000 (0:00:00.012) 0:00:04.286 ******* 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.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:04:27 +0000 (0:00:00.019) 0:00:04.306 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:27 +0000 (0:00:00.014) 0:00:04.320 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:27 +0000 (0:00:00.012) 0:00:04.333 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003102", "end": "2023-12-25 22:04:27.918502", "rc": 0, "start": "2023-12-25 22:04:27.915400" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:27 +0000 (0:00:00.191) 0:00:04.525 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:27 +0000 (0:00:00.035) 0:00:04.560 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:04:28 +0000 (0:00:00.044) 0:00:04.604 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 25 December 2023 22:04:31 +0000 (0:00:03.268) 0:00:07.873 ******* ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.011131", "end": "2023-12-25 22:04:31.471418", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-25 22:04:31.460287" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003717", "end": "2023-12-25 22:04:31.712438", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-25 22:04:31.708721" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004005", "end": "2023-12-25 22:04:31.911388", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-25 22:04:31.907383" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 25 December 2023 22:04:31 +0000 (0:00:00.640) 0:00:08.513 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023765", "end": "2023-12-25 22:04:32.121195", "rc": 0, "start": "2023-12-25 22:04:32.097430" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 25 December 2023 22:04:32 +0000 (0:00:00.217) 0:00:08.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 25 December 2023 22:04:32 +0000 (0:00:00.016) 0:00:08.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 December 2023 22:04:32 +0000 (0:00:00.017) 0:00:08.764 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:04:32 +0000 (0:00:00.015) 0:00:08.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 25 December 2023 22:04:32 +0000 (0:00:00.027) 0:00:08.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:15 Monday 25 December 2023 22:04:32 +0000 (0:00:00.017) 0:00:08.824 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:04:32 +0000 (0:00:00.064) 0:00:08.889 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:32 +0000 (0:00:00.015) 0:00:08.905 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541871.4637802, "block_size": 4096, "blocks": 0, "ctime": 1703541871.4637802, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22855, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703541871.4637802, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:04:32 +0000 (0:00:00.199) 0:00:09.105 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:17 Monday 25 December 2023 22:04:32 +0000 (0:00:00.020) 0:00:09.125 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:32 +0000 (0:00:00.011) 0:00:09.136 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:32 +0000 (0:00:00.069) 0:00:09.206 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:32 +0000 (0:00:00.013) 0:00:09.219 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:32 +0000 (0:00:00.010) 0:00:09.230 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:32 +0000 (0:00:00.013) 0:00:09.243 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:34 +0000 (0:00:01.609) 0:00:10.852 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:35 +0000 (0:00:01.540) 0:00:12.393 ******* ok: [sut] => {} MSG: Using network provider: nm 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:35 +0000 (0:00:00.048) 0:00:12.441 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:35 +0000 (0:00:00.037) 0:00:12.478 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:35 +0000 (0:00:00.073) 0:00:12.552 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:36 +0000 (0:00:00.094) 0:00:12.647 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:36 +0000 (0:00:00.059) 0:00:12.706 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:36 +0000 (0:00:00.058) 0:00:12.764 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:36 +0000 (0:00:00.033) 0:00:12.798 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:36 +0000 (0:00:00.520) 0:00:13.319 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:36 +0000 (0:00:00.031) 0:00:13.351 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:36 +0000 (0:00:00.022) 0:00:13.373 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:36 +0000 (0:00:00.047) 0:00:13.421 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 95a01a68-e055-4631-a7ce-e304871f18d7 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 95a01a68-e055-4631-a7ce-e304871f18d7 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:37 +0000 (0:00:00.508) 0:00:13.930 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:37 +0000 (0:00:00.021) 0:00:13.951 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 95a01a68-e055-4631-a7ce-e304871f18d7", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 95a01a68-e055-4631-a7ce-e304871f18d7 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:37 +0000 (0:00:00.023) 0:00:13.975 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 95a01a68-e055-4631-a7ce-e304871f18d7\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 95a01a68-e055-4631-a7ce-e304871f18d7 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 95a01a68-e055-4631-a7ce-e304871f18d7", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 95a01a68-e055-4631-a7ce-e304871f18d7 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:37 +0000 (0:00:00.024) 0:00:14.000 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:37 +0000 (0:00:00.023) 0:00:14.023 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:42 Monday 25 December 2023 22:04:37 +0000 (0:00:00.353) 0:00:14.376 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:04:37 +0000 (0:00:00.056) 0:00:14.433 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:37 +0000 (0:00:00.040) 0:00:14.474 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541871.4637802, "block_size": 4096, "blocks": 0, "ctime": 1703541871.4637802, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22855, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703541871.4637802, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:04:38 +0000 (0:00:00.224) 0:00:14.698 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:44 Monday 25 December 2023 22:04:38 +0000 (0:00:00.029) 0:00:14.728 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:04:38 +0000 (0:00:00.062) 0:00:14.790 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:38 +0000 (0:00:00.067) 0:00:14.857 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:38 +0000 (0:00:00.055) 0:00:14.913 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541877.2934487, "block_size": 4096, "blocks": 8, "ctime": 1703541877.2534492, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533380, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541877.2534492, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:38 +0000 (0:00:00.233) 0:00:15.146 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:38 +0000 (0:00:00.023) 0:00:15.170 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021213", "end": "2023-12-25 22:04:38.771679", "rc": 0, "start": "2023-12-25 22:04:38.750466" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:38 +0000 (0:00:00.211) 0:00:15.381 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:38 +0000 (0:00:00.025) 0:00:15.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:38 +0000 (0:00:00.027) 0:00:15.433 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:38 +0000 (0:00:00.022) 0:00:15.456 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:38 +0000 (0:00:00.051) 0:00:15.508 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:04:38 +0000 (0:00:00.038) 0:00:15.546 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:04:39 +0000 (0:00:00.072) 0:00:15.619 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:04:39 +0000 (0:00:00.045) 0:00:15.665 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:48 Monday 25 December 2023 22:04:39 +0000 (0:00:00.095) 0:00:15.760 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004010", "end": "2023-12-25 22:04:39.360600", "rc": 0, "start": "2023-12-25 22:04:39.356590" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.234 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.234 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:52 Monday 25 December 2023 22:04:39 +0000 (0:00:00.220) 0:00:15.981 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:58 Monday 25 December 2023 22:04:39 +0000 (0:00:00.024) 0:00:16.005 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003477", "end": "2023-12-25 22:04:39.600992", "rc": 0, "start": "2023-12-25 22:04:39.597515" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:62 Monday 25 December 2023 22:04:39 +0000 (0:00:00.231) 0:00:16.237 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:69 Monday 25 December 2023 22:04:39 +0000 (0:00:00.066) 0:00:16.303 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:39 +0000 (0:00:00.061) 0:00:16.364 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:39 +0000 (0:00:00.093) 0:00:16.458 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:39 +0000 (0:00:00.034) 0:00:16.492 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:39 +0000 (0:00:00.032) 0:00:16.525 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:39 +0000 (0:00:00.025) 0:00:16.550 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:41 +0000 (0:00:01.509) 0:00:18.059 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:42 +0000 (0:00:01.402) 0:00:19.462 ******* ok: [sut] => {} MSG: Using network provider: nm 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:42 +0000 (0:00:00.024) 0:00:19.487 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:42 +0000 (0:00:00.024) 0:00:19.511 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:42 +0000 (0:00:00.024) 0:00:19.536 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:43 +0000 (0:00:00.054) 0:00:19.591 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:43 +0000 (0:00:00.031) 0:00:19.623 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:43 +0000 (0:00:00.028) 0:00:19.651 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:43 +0000 (0:00:00.027) 0:00:19.678 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:43 +0000 (0:00:00.344) 0:00:20.022 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:43 +0000 (0:00:00.025) 0:00:20.048 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:43 +0000 (0:00:00.029) 0:00:20.078 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:43 +0000 (0:00:00.023) 0:00:20.101 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:43 +0000 (0:00:00.394) 0:00:20.496 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:43 +0000 (0:00:00.026) 0:00:20.522 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:44 +0000 (0:00:00.068) 0:00:20.590 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:44 +0000 (0:00:00.024) 0:00:20.614 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:44 +0000 (0:00:00.020) 0:00:20.635 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:81 Monday 25 December 2023 22:04:44 +0000 (0:00:00.211) 0:00:20.847 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:04:44 +0000 (0:00:00.072) 0:00:20.919 ******* 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.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:04:44 +0000 (0:00:00.039) 0:00:20.958 ******* 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.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:04:44 +0000 (0:00:00.023) 0:00:20.982 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:44 +0000 (0:00:00.070) 0:00:21.053 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:44 +0000 (0:00:00.073) 0:00:21.126 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003156", "end": "2023-12-25 22:04:44.744217", "rc": 0, "start": "2023-12-25 22:04:44.741061" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:44 +0000 (0:00:00.232) 0:00:21.359 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:44 +0000 (0:00:00.028) 0:00:21.387 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:04:44 +0000 (0:00:00.028) 0:00:21.415 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 25 December 2023 22:04:47 +0000 (0:00:03.027) 0:00:24.443 ******* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 25 December 2023 22:04:47 +0000 (0:00:00.036) 0:00:24.479 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 25 December 2023 22:04:47 +0000 (0:00:00.029) 0:00:24.509 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012314", "end": "2023-12-25 22:04:48.128117", "rc": 0, "start": "2023-12-25 22:04:48.115803" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 25 December 2023 22:04:48 +0000 (0:00:00.248) 0:00:24.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 December 2023 22:04:48 +0000 (0:00:00.040) 0:00:24.798 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:04:48 +0000 (0:00:00.043) 0:00:24.841 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 25 December 2023 22:04:48 +0000 (0:00:00.050) 0:00:24.892 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:85 Monday 25 December 2023 22:04:48 +0000 (0:00:00.025) 0:00:24.917 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:89 Monday 25 December 2023 22:04:48 +0000 (0:00:00.069) 0:00:24.987 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:04:48 +0000 (0:00:00.063) 0:00:25.050 ******* 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.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:04:48 +0000 (0:00:00.023) 0:00:25.073 ******* 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.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:04:48 +0000 (0:00:00.051) 0:00:25.125 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:48 +0000 (0:00:00.064) 0:00:25.189 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:48 +0000 (0:00:00.062) 0:00:25.251 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003095", "end": "2023-12-25 22:04:48.836495", "rc": 0, "start": "2023-12-25 22:04:48.833400" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:48 +0000 (0:00:00.195) 0:00:25.447 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:48 +0000 (0:00:00.023) 0:00:25.471 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:04:48 +0000 (0:00:00.026) 0:00:25.498 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 25 December 2023 22:04:51 +0000 (0:00:02.930) 0:00:28.428 ******* ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.011282", "end": "2023-12-25 22:04:52.025343", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-25 22:04:52.014061" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003564", "end": "2023-12-25 22:04:52.240896", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-25 22:04:52.237332" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004007", "end": "2023-12-25 22:04:52.419434", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-25 22:04:52.415427" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 25 December 2023 22:04:52 +0000 (0:00:00.602) 0:00:29.031 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022327", "end": "2023-12-25 22:04:52.638137", "rc": 0, "start": "2023-12-25 22:04:52.615810" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 25 December 2023 22:04:52 +0000 (0:00:00.220) 0:00:29.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 25 December 2023 22:04:52 +0000 (0:00:00.023) 0:00:29.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 December 2023 22:04:52 +0000 (0:00:00.022) 0:00:29.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:04:52 +0000 (0:00:00.022) 0:00:29.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 25 December 2023 22:04:52 +0000 (0:00:00.023) 0:00:29.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:52 +0000 (0:00:00.072) 0:00:29.417 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:52 +0000 (0:00:00.040) 0:00:29.457 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:52 +0000 (0:00:00.028) 0:00:29.485 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:52 +0000 (0:00:00.024) 0:00:29.510 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:52 +0000 (0:00:00.033) 0:00:29.543 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:54 +0000 (0:00:01.503) 0:00:31.047 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:55 +0000 (0:00:01.284) 0:00:32.332 ******* ok: [sut] => {} MSG: Using network provider: nm 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:55 +0000 (0:00:00.023) 0:00:32.355 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:55 +0000 (0:00:00.022) 0:00:32.377 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:55 +0000 (0:00:00.020) 0:00:32.398 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:55 +0000 (0:00:00.043) 0:00:32.442 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:55 +0000 (0:00:00.021) 0:00:32.463 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:55 +0000 (0:00:00.020) 0:00:32.484 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:55 +0000 (0:00:00.049) 0:00:32.533 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:56 +0000 (0:00:00.420) 0:00:32.954 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:56 +0000 (0:00:00.027) 0:00:32.981 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:56 +0000 (0:00:00.031) 0:00:33.012 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:56 +0000 (0:00:00.020) 0:00:33.033 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8aaa24cc-3620-49e0-a5e7-0ba41492f578 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8aaa24cc-3620-49e0-a5e7-0ba41492f578 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:56 +0000 (0:00:00.425) 0:00:33.459 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:56 +0000 (0:00:00.034) 0:00:33.493 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8aaa24cc-3620-49e0-a5e7-0ba41492f578", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8aaa24cc-3620-49e0-a5e7-0ba41492f578 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:56 +0000 (0:00:00.025) 0:00:33.518 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8aaa24cc-3620-49e0-a5e7-0ba41492f578\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8aaa24cc-3620-49e0-a5e7-0ba41492f578 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8aaa24cc-3620-49e0-a5e7-0ba41492f578", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8aaa24cc-3620-49e0-a5e7-0ba41492f578 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:56 +0000 (0:00:00.050) 0:00:33.569 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:57 +0000 (0:00:00.024) 0:00:33.594 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:110 Monday 25 December 2023 22:04:57 +0000 (0:00:00.202) 0:00:33.797 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:04:57 +0000 (0:00:00.068) 0:00:33.866 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:57 +0000 (0:00:00.038) 0:00:33.905 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541892.0175302, "block_size": 4096, "blocks": 0, "ctime": 1703541892.0175302, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703541892.0175302, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:04:57 +0000 (0:00:00.208) 0:00:34.113 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:112 Monday 25 December 2023 22:04:57 +0000 (0:00:00.036) 0:00:34.149 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:04:57 +0000 (0:00:00.142) 0:00:34.292 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:57 +0000 (0:00:00.050) 0:00:34.343 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:57 +0000 (0:00:00.040) 0:00:34.383 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541896.8242161, "block_size": 4096, "blocks": 8, "ctime": 1703541896.7862165, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533380, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541896.7862165, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:58 +0000 (0:00:00.207) 0:00:34.590 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:58 +0000 (0:00:00.040) 0:00:34.631 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022108", "end": "2023-12-25 22:04:58.242278", "rc": 0, "start": "2023-12-25 22:04:58.220170" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:58 +0000 (0:00:00.238) 0:00:34.869 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:58 +0000 (0:00:00.066) 0:00:34.936 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:58 +0000 (0:00:00.077) 0:00:35.014 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:58 +0000 (0:00:00.027) 0:00:35.041 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:58 +0000 (0:00:00.026) 0:00:35.068 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:04:58 +0000 (0:00:00.023) 0:00:35.092 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:04:58 +0000 (0:00:00.025) 0:00:35.117 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:04:58 +0000 (0:00:00.027) 0:00:35.145 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:116 Monday 25 December 2023 22:04:58 +0000 (0:00:00.027) 0:00:35.172 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003515", "end": "2023-12-25 22:04:58.769189", "rc": 0, "start": "2023-12-25 22:04:58.765674" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.234 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.234 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:120 Monday 25 December 2023 22:04:58 +0000 (0:00:00.229) 0:00:35.402 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:126 Monday 25 December 2023 22:04:58 +0000 (0:00:00.025) 0:00:35.427 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003469", "end": "2023-12-25 22:04:59.012588", "rc": 0, "start": "2023-12-25 22:04:59.009119" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:130 Monday 25 December 2023 22:04:59 +0000 (0:00:00.197) 0:00:35.624 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:137 Monday 25 December 2023 22:04:59 +0000 (0:00:00.031) 0:00:35.656 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:59 +0000 (0:00:00.024) 0:00:35.681 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:59 +0000 (0:00:00.039) 0:00:35.720 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:59 +0000 (0:00:00.027) 0:00:35.748 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:59 +0000 (0:00:00.022) 0:00:35.770 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:59 +0000 (0:00:00.021) 0:00:35.792 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:05:00 +0000 (0:00:01.538) 0:00:37.330 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:05:02 +0000 (0:00:01.325) 0:00:38.656 ******* ok: [sut] => {} MSG: Using network provider: nm 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:05:02 +0000 (0:00:00.032) 0:00:38.689 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:05:02 +0000 (0:00:00.043) 0:00:38.733 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:05:02 +0000 (0:00:00.047) 0:00:38.780 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:05:02 +0000 (0:00:00.095) 0:00:38.875 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:05:02 +0000 (0:00:00.025) 0:00:38.900 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:05:02 +0000 (0:00:00.036) 0:00:38.936 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:05:02 +0000 (0:00:00.037) 0:00:38.974 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:05:02 +0000 (0:00:00.387) 0:00:39.361 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:05:02 +0000 (0:00:00.028) 0:00:39.390 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:05:02 +0000 (0:00:00.021) 0:00:39.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:02 +0000 (0:00:00.024) 0:00:39.436 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:03 +0000 (0:00:00.395) 0:00:39.832 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:03 +0000 (0:00:00.023) 0:00:39.855 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:03 +0000 (0:00:00.024) 0:00:39.880 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:03 +0000 (0:00:00.022) 0:00:39.903 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:03 +0000 (0:00:00.020) 0:00:39.924 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:149 Monday 25 December 2023 22:05:03 +0000 (0:00:00.190) 0:00:40.114 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:05:03 +0000 (0:00:00.054) 0:00:40.169 ******* 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.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:05:03 +0000 (0:00:00.068) 0:00:40.238 ******* 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.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:05:03 +0000 (0:00:00.031) 0:00:40.269 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:05:03 +0000 (0:00:00.108) 0:00:40.377 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:05:03 +0000 (0:00:00.047) 0:00:40.425 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003098", "end": "2023-12-25 22:05:04.023743", "rc": 0, "start": "2023-12-25 22:05:04.020645" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:05:04 +0000 (0:00:00.264) 0:00:40.689 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:05:04 +0000 (0:00:00.062) 0:00:40.752 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:05:04 +0000 (0:00:00.057) 0:00:40.809 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 25 December 2023 22:05:07 +0000 (0:00:02.964) 0:00:43.774 ******* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 25 December 2023 22:05:07 +0000 (0:00:00.129) 0:00:43.903 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 25 December 2023 22:05:07 +0000 (0:00:00.034) 0:00:43.937 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011139", "end": "2023-12-25 22:05:07.566305", "rc": 0, "start": "2023-12-25 22:05:07.555166" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 25 December 2023 22:05:07 +0000 (0:00:00.275) 0:00:44.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 December 2023 22:05:07 +0000 (0:00:00.054) 0:00:44.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:05:07 +0000 (0:00:00.054) 0:00:44.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 25 December 2023 22:05:07 +0000 (0:00:00.071) 0:00:44.393 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Monday 25 December 2023 22:05:07 +0000 (0:00:00.023) 0:00:44.416 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.27s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.93s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.54s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Enable EPEL 8 ----------------------------------------------------------- 1.43s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:35 ---- linux-system-roles.network : Check which packages are installed --------- 1.40s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.28s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.79s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.73s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tests_auto_gateway_nm.yml:6 - Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface veth0 --------------------------------------------- 0.60s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.56s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_auto_gateway.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 0.52s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---