# 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.16tqmt1xoe/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.16tqmt1xoe/tests/tests_auto_gateway_nm.yml:5 Thursday 14 December 2023 17:17:37 +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.16tqmt1xoe/tests/tests_auto_gateway_nm.yml:9 Thursday 14 December 2023 17:17:38 +0000 (0:00:00.925) 0:00:00.938 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:17:38 +0000 (0:00:00.010) 0:00:00.949 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tasks/el_repo_setup.yml:19 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.544) 0:00:01.493 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tasks/el_repo_setup.yml:24 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.302) 0:00:01.796 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tasks/el_repo_setup.yml:28 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.021) 0:00:01.817 ***** 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.16tqmt1xoe/tests/tasks/el_repo_setup.yml:53 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.016) 0:00:01.834 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.030) 0:00:01.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.009) 0:00:01.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.009) 0:00:01.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.029) 0:00:01.913 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.011) 0:00:01.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tests_auto_gateway_nm.yml:11 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.008) 0:00:01.933 ***** 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.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:3 Thursday 14 December 2023 17:17:39 +0000 (0:00:00.012) 0:00:01.946 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:9 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.804) 0:00:02.750 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.022) 0:00:02.773 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.011) 0:00:02.784 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003740", "end": "2023-12-14 17:17:40.704725", "rc": 0, "start": "2023-12-14 17:17:40.700985" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.254) 0:00:03.039 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.012) 0:00:03.051 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:11 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.010) 0:00:03.062 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.030) 0:00:03.092 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.011) 0:00:03.104 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.010) 0:00:03.114 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.014) 0:00:03.129 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:17:40 +0000 (0:00:00.012) 0:00:03.142 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004037", "end": "2023-12-14 17:17:41.017914", "rc": 0, "start": "2023-12-14 17:17:41.013877" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:17:41 +0000 (0:00:00.210) 0:00:03.352 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:17:41 +0000 (0:00:00.011) 0:00:03.364 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:17:41 +0000 (0:00:00.011) 0:00:03.375 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:17:43 +0000 (0:00:02.595) 0:00:05.971 ***** 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.039954", "end": "2023-12-14 17:17:43.885686", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-14 17:17:43.845732" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004422", "end": "2023-12-14 17:17:44.145660", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-14 17:17:44.141238" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004291", "end": "2023-12-14 17:17:44.357367", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-14 17:17:44.353076" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:17:44 +0000 (0:00:00.722) 0:00:06.693 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.150755", "end": "2023-12-14 17:17:44.717572", "rc": 0, "start": "2023-12-14 17:17:44.566817" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:17:44 +0000 (0:00:00.361) 0:00:07.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:17:44 +0000 (0:00:00.011) 0:00:07.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:17:44 +0000 (0:00:00.010) 0:00:07.077 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:17:44 +0000 (0:00:00.010) 0:00:07.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:17:44 +0000 (0:00:00.010) 0:00:07.098 ***** 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.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:15 Thursday 14 December 2023 17:17:44 +0000 (0:00:00.009) 0:00:07.108 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:17:44 +0000 (0:00:00.043) 0:00:07.151 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:17:44 +0000 (0:00:00.016) 0:00:07.168 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702574263.882018, "block_size": 4096, "blocks": 0, "ctime": 1702574263.882018, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26200, "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": 1702574263.882018, "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.16tqmt1xoe/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:17:45 +0000 (0:00:00.207) 0:00:07.375 ***** 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.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:17 Thursday 14 December 2023 17:17:45 +0000 (0:00:00.013) 0:00:07.389 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:17:45 +0000 (0:00:00.011) 0:00:07.400 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:17:45 +0000 (0:00:00.068) 0:00:07.469 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:17:45 +0000 (0:00:00.013) 0:00:07.482 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:17:45 +0000 (0:00:00.010) 0:00:07.492 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:17:45 +0000 (0:00:00.012) 0:00:07.505 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:17:47 +0000 (0:00:02.344) 0:00:09.850 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:17:48 +0000 (0:00:01.099) 0:00:10.950 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:17:48 +0000 (0:00:00.050) 0:00:11.000 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:17:48 +0000 (0:00:00.022) 0:00:11.023 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:17:48 +0000 (0:00:00.023) 0:00:11.047 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:17:48 +0000 (0:00:00.047) 0:00:11.095 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:17:48 +0000 (0:00:00.022) 0:00:11.118 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:17:48 +0000 (0:00:00.023) 0:00:11.142 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:17:48 +0000 (0:00:00.029) 0:00:11.171 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:17:49 +0000 (0:00:00.800) 0:00:11.972 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:17:49 +0000 (0:00:00.028) 0:00:12.000 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:17:49 +0000 (0:00:00.021) 0:00:12.022 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:17:49 +0000 (0:00:00.024) 0:00:12.046 ***** 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, ad8c4964-9f4c-4421-aa2e-0737f8914fa5 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ad8c4964-9f4c-4421-aa2e-0737f8914fa5 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:17:50 +0000 (0:00:00.881) 0:00:12.928 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:17:50 +0000 (0:00:00.023) 0:00:12.951 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ad8c4964-9f4c-4421-aa2e-0737f8914fa5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ad8c4964-9f4c-4421-aa2e-0737f8914fa5 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:17:50 +0000 (0:00:00.024) 0:00:12.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, ad8c4964-9f4c-4421-aa2e-0737f8914fa5\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ad8c4964-9f4c-4421-aa2e-0737f8914fa5 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ad8c4964-9f4c-4421-aa2e-0737f8914fa5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ad8c4964-9f4c-4421-aa2e-0737f8914fa5 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:17:50 +0000 (0:00:00.024) 0:00:13.000 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:17:50 +0000 (0:00:00.021) 0:00:13.021 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:42 Thursday 14 December 2023 17:17:50 +0000 (0:00:00.261) 0:00:13.282 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.050) 0:00:13.333 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.036) 0:00:13.369 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702574263.882018, "block_size": 4096, "blocks": 0, "ctime": 1702574263.882018, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26200, "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": 1702574263.882018, "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.16tqmt1xoe/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.217) 0:00:13.587 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:44 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.024) 0:00:13.612 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.087) 0:00:13.699 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.038) 0:00:13.737 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.023) 0:00:13.760 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.219) 0:00:13.980 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.022) 0:00:14.003 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.050406", "end": "2023-12-14 17:17:51.923601", "rc": 0, "start": "2023-12-14 17:17:51.873195" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:17:51 +0000 (0:00:00.287) 0:00:14.290 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.030) 0:00:14.320 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.032) 0:00:14.353 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.024) 0:00:14.377 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.025) 0:00:14.402 ***** 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.16tqmt1xoe/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.024) 0:00:14.427 ***** 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.16tqmt1xoe/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.050) 0:00:14.478 ***** 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.16tqmt1xoe/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.029) 0:00:14.507 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:48 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.024) 0:00:14.532 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004106", "end": "2023-12-14 17:17:52.406783", "rc": 0, "start": "2023-12-14 17:17:52.402677" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.84 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.10.84 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.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:52 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.228) 0:00:14.760 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:58 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.034) 0:00:14.794 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003900", "end": "2023-12-14 17:17:52.680300", "rc": 0, "start": "2023-12-14 17:17:52.676400" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:62 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.231) 0:00:15.026 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:69 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.026) 0:00:15.053 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.028) 0:00:15.081 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.041) 0:00:15.123 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.029) 0:00:15.153 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.023) 0:00:15.176 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:17:52 +0000 (0:00:00.036) 0:00:15.212 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:17:55 +0000 (0:00:02.317) 0:00:17.530 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:17:56 +0000 (0:00:00.929) 0:00:18.459 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:17:56 +0000 (0:00:00.035) 0:00:18.495 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:17:56 +0000 (0:00:00.025) 0:00:18.520 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:17:56 +0000 (0:00:00.032) 0:00:18.553 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:17:56 +0000 (0:00:00.049) 0:00:18.602 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:17:56 +0000 (0:00:00.070) 0:00:18.672 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:17:56 +0000 (0:00:00.047) 0:00:18.720 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:17:56 +0000 (0:00:00.162) 0:00:18.883 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:17:57 +0000 (0:00:00.585) 0:00:19.468 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:17:57 +0000 (0:00:00.029) 0:00:19.497 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:17:57 +0000 (0:00:00.023) 0:00:19.521 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:17:57 +0000 (0:00:00.024) 0:00:19.545 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:17:57 +0000 (0:00:00.481) 0:00:20.026 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:17:57 +0000 (0:00:00.024) 0:00:20.051 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:17:57 +0000 (0:00:00.028) 0:00:20.080 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:17:57 +0000 (0:00:00.038) 0:00:20.119 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:17:57 +0000 (0:00:00.022) 0:00:20.141 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:81 Thursday 14 December 2023 17:17:58 +0000 (0:00:00.220) 0:00:20.362 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:17:58 +0000 (0:00:00.087) 0:00:20.449 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:17:58 +0000 (0:00:00.023) 0:00:20.472 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:17:58 +0000 (0:00:00.022) 0:00:20.494 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:17:58 +0000 (0:00:00.035) 0:00:20.530 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:17:58 +0000 (0:00:00.034) 0:00:20.565 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004813", "end": "2023-12-14 17:17:59.439118", "rc": 0, "start": "2023-12-14 17:17:58.434305" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:17:59 +0000 (0:00:01.225) 0:00:21.790 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:17:59 +0000 (0:00:00.026) 0:00:21.817 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:17:59 +0000 (0:00:00.036) 0:00:21.853 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:18:02 +0000 (0:00:02.541) 0:00:24.394 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.042) 0:00:24.437 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.046) 0:00:24.484 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008556", "end": "2023-12-14 17:18:02.391461", "rc": 0, "start": "2023-12-14 17:18:02.382905" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.297) 0:00:24.781 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.043) 0:00:24.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.027) 0:00:24.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.037) 0:00:24.889 ***** 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.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:85 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.027) 0:00:24.917 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:89 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.027) 0:00:24.944 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.091) 0:00:25.036 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.022) 0:00:25.059 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.022) 0:00:25.081 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.047) 0:00:25.129 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:18:02 +0000 (0:00:00.063) 0:00:25.193 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003741", "end": "2023-12-14 17:18:03.106561", "rc": 0, "start": "2023-12-14 17:18:03.102820" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:18:03 +0000 (0:00:00.262) 0:00:25.456 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:18:03 +0000 (0:00:00.029) 0:00:25.485 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:18:03 +0000 (0:00:00.030) 0:00:25.515 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:18:05 +0000 (0:00:02.474) 0:00:27.989 ***** 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.007947", "end": "2023-12-14 17:18:05.871983", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-14 17:18:05.864036" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003923", "end": "2023-12-14 17:18:06.132274", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-14 17:18:06.128351" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004289", "end": "2023-12-14 17:18:06.334504", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-14 17:18:06.330215" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:18:06 +0000 (0:00:00.704) 0:00:28.694 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023962", "end": "2023-12-14 17:18:06.625492", "rc": 0, "start": "2023-12-14 17:18:06.601530" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:18:06 +0000 (0:00:00.314) 0:00:29.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:18:06 +0000 (0:00:00.036) 0:00:29.046 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:18:06 +0000 (0:00:00.036) 0:00:29.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:18:06 +0000 (0:00:00.046) 0:00:29.129 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:18:06 +0000 (0:00:00.045) 0:00:29.174 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:18:06 +0000 (0:00:00.026) 0:00:29.200 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:18:06 +0000 (0:00:00.092) 0:00:29.293 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:18:07 +0000 (0:00:00.034) 0:00:29.327 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:18:07 +0000 (0:00:00.024) 0:00:29.352 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:18:07 +0000 (0:00:00.023) 0:00:29.375 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:18:09 +0000 (0:00:02.305) 0:00:31.681 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:18:10 +0000 (0:00:00.995) 0:00:32.676 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:18:10 +0000 (0:00:00.030) 0:00:32.707 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:18:10 +0000 (0:00:00.026) 0:00:32.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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:18:10 +0000 (0:00:00.033) 0:00:32.768 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:18:10 +0000 (0:00:00.065) 0:00:32.833 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:18:10 +0000 (0:00:00.052) 0:00:32.885 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:18:10 +0000 (0:00:00.029) 0:00:32.915 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:18:10 +0000 (0:00:00.033) 0:00:32.949 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:18:11 +0000 (0:00:00.588) 0:00:33.537 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:18:11 +0000 (0:00:00.049) 0:00:33.586 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:18:11 +0000 (0:00:00.029) 0:00:33.616 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:18:11 +0000 (0:00:00.039) 0:00:33.656 ***** 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, d778335b-2e21-4728-b4bc-82f8dd91669a [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d778335b-2e21-4728-b4bc-82f8dd91669a (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.684) 0:00:34.340 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.047) 0:00:34.388 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d778335b-2e21-4728-b4bc-82f8dd91669a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d778335b-2e21-4728-b4bc-82f8dd91669a (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.035) 0:00:34.424 ***** 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, d778335b-2e21-4728-b4bc-82f8dd91669a\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d778335b-2e21-4728-b4bc-82f8dd91669a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d778335b-2e21-4728-b4bc-82f8dd91669a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d778335b-2e21-4728-b4bc-82f8dd91669a (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.050) 0:00:34.474 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.026) 0:00:34.500 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:110 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.241) 0:00:34.742 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.054) 0:00:34.796 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.039) 0:00:34.835 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702574285.8683262, "block_size": 4096, "blocks": 0, "ctime": 1702574285.8683262, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26786, "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": 1702574285.8683262, "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.16tqmt1xoe/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.251) 0:00:35.087 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:112 Thursday 14 December 2023 17:18:12 +0000 (0:00:00.029) 0:00:35.117 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.212) 0:00:35.329 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.044) 0:00:35.374 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.027) 0:00:35.401 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.244) 0:00:35.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.026) 0:00:35.672 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022563", "end": "2023-12-14 17:18:13.568247", "rc": 0, "start": "2023-12-14 17:18:13.545684" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.243) 0:00:35.916 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.028) 0:00:35.945 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.027) 0:00:35.973 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.029) 0:00:36.002 ***** 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.16tqmt1xoe/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.039) 0:00:36.042 ***** 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.16tqmt1xoe/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.058) 0:00:36.101 ***** 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.16tqmt1xoe/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.031) 0:00:36.132 ***** 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.16tqmt1xoe/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.042) 0:00:36.174 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:116 Thursday 14 December 2023 17:18:13 +0000 (0:00:00.044) 0:00:36.219 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003851", "end": "2023-12-14 17:18:14.093723", "rc": 0, "start": "2023-12-14 17:18:14.089872" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.84 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.84 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.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:120 Thursday 14 December 2023 17:18:14 +0000 (0:00:00.301) 0:00:36.520 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:126 Thursday 14 December 2023 17:18:14 +0000 (0:00:00.028) 0:00:36.549 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004042", "end": "2023-12-14 17:18:14.427161", "rc": 0, "start": "2023-12-14 17:18:14.423119" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:130 Thursday 14 December 2023 17:18:14 +0000 (0:00:00.240) 0:00:36.789 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:137 Thursday 14 December 2023 17:18:14 +0000 (0:00:00.047) 0:00:36.837 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:18:14 +0000 (0:00:00.038) 0:00:36.875 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:18:14 +0000 (0:00:00.056) 0:00:36.932 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:18:14 +0000 (0:00:00.043) 0:00:36.976 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:18:14 +0000 (0:00:00.029) 0:00:37.005 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:18:14 +0000 (0:00:00.025) 0:00:37.030 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:18:17 +0000 (0:00:02.299) 0:00:39.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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:18:17 +0000 (0:00:00.951) 0:00:40.282 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:18:17 +0000 (0:00:00.028) 0:00:40.310 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.039) 0:00:40.350 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.024) 0:00:40.374 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.059) 0:00:40.434 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.023) 0:00:40.457 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.078) 0:00:40.535 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.033) 0:00:40.569 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.589) 0:00:41.159 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.026) 0:00:41.186 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.022) 0:00:41.208 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:18:18 +0000 (0:00:00.022) 0:00:41.230 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.472) 0:00:41.703 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.028) 0:00:41.731 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.025) 0:00:41.756 ***** 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.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.024) 0:00:41.781 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.023) 0:00:41.804 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:149 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.211) 0:00:42.016 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.105) 0:00:42.121 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.025) 0:00:42.147 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.022) 0:00:42.170 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.038) 0:00:42.209 ***** included: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:18:19 +0000 (0:00:00.037) 0:00:42.247 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003811", "end": "2023-12-14 17:18:20.122722", "rc": 0, "start": "2023-12-14 17:18:20.118911" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:18:20 +0000 (0:00:00.222) 0:00:42.469 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:18:20 +0000 (0:00:00.024) 0:00:42.494 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:18:20 +0000 (0:00:00.024) 0:00:42.518 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:18:22 +0000 (0:00:02.462) 0:00:44.980 ***** 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.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:18:22 +0000 (0:00:00.033) 0:00:45.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:18:22 +0000 (0:00:00.023) 0:00:45.038 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009883", "end": "2023-12-14 17:18:22.920892", "rc": 0, "start": "2023-12-14 17:18:22.911009" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:18:22 +0000 (0:00:00.240) 0:00:45.279 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:18:22 +0000 (0:00:00.028) 0:00:45.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:18:23 +0000 (0:00:00.027) 0:00:45.334 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:18:23 +0000 (0:00:00.025) 0:00:45.360 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Thursday 14 December 2023 17:18:23 +0000 (0:00:00.012) 0:00:45.372 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.60s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.47s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.46s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.34s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.23s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.17s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.95s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.93s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/tests_auto_gateway_nm.yml:5 - linux-system-roles.network : Configure networking connection profiles --- 0.88s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tests_auto_gateway.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 0.80s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create veth interface veth0 --------------------------------------------- 0.72s /WORKDIR/git-ansible-lint-test-2.16tqmt1xoe/tests/playbooks/tasks/manage_test_interface.yml:24 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---