# 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.16ofbpd5cb/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.16ofbpd5cb/tests/tests_auto_gateway_nm.yml:5 Thursday 14 December 2023 17:27:05 +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.16ofbpd5cb/tests/tests_auto_gateway_nm.yml:9 Thursday 14 December 2023 17:27:06 +0000 (0:00:00.728) 0:00:00.740 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:27:06 +0000 (0:00:00.011) 0:00:00.752 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:19 Thursday 14 December 2023 17:27:06 +0000 (0:00:00.350) 0:00:01.102 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:24 Thursday 14 December 2023 17:27:06 +0000 (0:00:00.280) 0:00:01.382 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:28 Thursday 14 December 2023 17:27:06 +0000 (0:00:00.047) 0:00:01.430 ***** 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.16ofbpd5cb/tests/tasks/el_repo_setup.yml:53 Thursday 14 December 2023 17:27:06 +0000 (0:00:00.030) 0:00:01.460 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:27:06 +0000 (0:00:00.079) 0:00:01.540 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.022) 0:00:01.562 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.025) 0:00:01.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.013) 0:00:01.602 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.043) 0:00:01.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_auto_gateway_nm.yml:11 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.028) 0:00:01.673 ***** 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.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:3 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.016) 0:00:01.690 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:9 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.489) 0:00:02.179 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.046) 0:00:02.226 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.031) 0:00:02.257 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003455", "end": "2023-12-14 12:27:07.964853", "rc": 0, "start": "2023-12-14 12:27:07.961398" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:27:07 +0000 (0:00:00.290) 0:00:02.548 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.017) 0:00:02.566 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:11 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.023) 0:00:02.589 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.060) 0:00:02.649 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.032) 0:00:02.682 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.015) 0:00:02.697 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.019) 0:00:02.717 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.023) 0:00:02.740 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003172", "end": "2023-12-14 12:27:08.401717", "rc": 0, "start": "2023-12-14 12:27:08.398545" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.257) 0:00:02.997 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.026) 0:00:03.024 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:27:08 +0000 (0:00:00.022) 0:00:03.046 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:27:12 +0000 (0:00:04.253) 0:00:07.300 ***** 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.018145", "end": "2023-12-14 12:27:12.920472", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-14 12:27:12.902327" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003716", "end": "2023-12-14 12:27:13.128661", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-14 12:27:13.124945" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003568", "end": "2023-12-14 12:27:13.307766", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-14 12:27:13.304198" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.614) 0:00:07.914 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.124447", "end": "2023-12-14 12:27:13.657607", "rc": 0, "start": "2023-12-14 12:27:13.533160" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.323) 0:00:08.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.010) 0:00:08.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.011) 0:00:08.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.010) 0:00:08.270 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.011) 0:00:08.282 ***** 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.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:15 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.010) 0:00:08.292 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.026) 0:00:08.318 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.014) 0:00:08.333 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702574832.9151578, "block_size": 4096, "blocks": 0, "ctime": 1702574832.9151578, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22929, "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": 1702574832.9151578, "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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.177) 0:00:08.510 ***** 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.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:17 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.012) 0:00:08.523 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:27:13 +0000 (0:00:00.010) 0:00:08.533 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:27:14 +0000 (0:00:00.065) 0:00:08.599 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:27:14 +0000 (0:00:00.011) 0:00:08.610 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:27:14 +0000 (0:00:00.009) 0:00:08.619 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:27:14 +0000 (0:00:00.010) 0:00:08.630 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:27:15 +0000 (0:00:01.401) 0:00:10.032 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:27:16 +0000 (0:00:01.034) 0:00:11.066 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:27:16 +0000 (0:00:00.021) 0:00:11.088 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:27:16 +0000 (0:00:00.020) 0:00:11.108 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:27:16 +0000 (0:00:00.021) 0:00:11.130 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:27:16 +0000 (0:00:00.042) 0:00:11.173 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:27:16 +0000 (0:00:00.040) 0:00:11.213 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:27:16 +0000 (0:00:00.021) 0:00:11.234 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:27:16 +0000 (0:00:00.025) 0:00:11.260 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:27:17 +0000 (0:00:00.498) 0:00:11.758 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:27:17 +0000 (0:00:00.036) 0:00:11.795 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:27:17 +0000 (0:00:00.030) 0:00:11.825 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:27:17 +0000 (0:00:00.041) 0:00:11.867 ***** 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, a4af52c4-34ef-4637-9070-89dbb1952803 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a4af52c4-34ef-4637-9070-89dbb1952803 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:27:18 +0000 (0:00:01.336) 0:00:13.204 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:27:18 +0000 (0:00:00.025) 0:00:13.229 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a4af52c4-34ef-4637-9070-89dbb1952803", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a4af52c4-34ef-4637-9070-89dbb1952803 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:27:18 +0000 (0:00:00.024) 0:00:13.253 ***** 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, a4af52c4-34ef-4637-9070-89dbb1952803\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a4af52c4-34ef-4637-9070-89dbb1952803 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a4af52c4-34ef-4637-9070-89dbb1952803", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a4af52c4-34ef-4637-9070-89dbb1952803 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:27:18 +0000 (0:00:00.023) 0:00:13.277 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:27:18 +0000 (0:00:00.039) 0:00:13.317 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:42 Thursday 14 December 2023 17:27:19 +0000 (0:00:00.386) 0:00:13.704 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:27:19 +0000 (0:00:00.094) 0:00:13.799 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:27:19 +0000 (0:00:00.038) 0:00:13.837 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702574832.9151578, "block_size": 4096, "blocks": 0, "ctime": 1702574832.9151578, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22929, "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": 1702574832.9151578, "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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:27:19 +0000 (0:00:00.199) 0:00:14.037 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:44 Thursday 14 December 2023 17:27:19 +0000 (0:00:00.073) 0:00:14.110 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:27:19 +0000 (0:00:00.080) 0:00:14.190 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:27:19 +0000 (0:00:00.063) 0:00:14.254 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:27:19 +0000 (0:00:00.055) 0:00:14.309 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.261) 0:00:14.570 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.065) 0:00:14.636 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.125181", "end": "2023-12-14 12:27:20.407471", "rc": 0, "start": "2023-12-14 12:27:20.282290" } 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.369) 0:00:15.006 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.053) 0:00:15.059 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.025) 0:00:15.084 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.036) 0:00:15.120 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.040) 0:00:15.161 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.030) 0:00:15.192 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.050) 0:00:15.242 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.024) 0:00:15.266 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:48 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.032) 0:00:15.298 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003342", "end": "2023-12-14 12:27:20.917399", "rc": 0, "start": "2023-12-14 12:27:20.914057" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.113 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.113 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.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:52 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.211) 0:00:15.509 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:58 Thursday 14 December 2023 17:27:20 +0000 (0:00:00.022) 0:00:15.532 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003695", "end": "2023-12-14 12:27:21.133256", "rc": 0, "start": "2023-12-14 12:27:21.129561" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:62 Thursday 14 December 2023 17:27:21 +0000 (0:00:00.204) 0:00:15.736 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:69 Thursday 14 December 2023 17:27:21 +0000 (0:00:00.029) 0:00:15.765 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:27:21 +0000 (0:00:00.036) 0:00:15.802 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:27:21 +0000 (0:00:00.044) 0:00:15.847 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:27:21 +0000 (0:00:00.034) 0:00:15.881 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:27:21 +0000 (0:00:00.032) 0:00:15.914 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:27:21 +0000 (0:00:00.080) 0:00:15.994 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:27:22 +0000 (0:00:01.345) 0:00:17.340 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:27:23 +0000 (0:00:00.928) 0:00:18.269 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:27:23 +0000 (0:00:00.025) 0:00:18.294 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:27:23 +0000 (0:00:00.032) 0:00:18.327 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:27:23 +0000 (0:00:00.034) 0:00:18.362 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:27:23 +0000 (0:00:00.043) 0:00:18.406 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:27:23 +0000 (0:00:00.021) 0:00:18.427 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:27:23 +0000 (0:00:00.020) 0:00:18.447 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:27:23 +0000 (0:00:00.023) 0:00:18.471 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:27:24 +0000 (0:00:00.384) 0:00:18.855 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:27:24 +0000 (0:00:00.033) 0:00:18.889 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:27:24 +0000 (0:00:00.023) 0:00:18.913 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:27:24 +0000 (0:00:00.027) 0:00:18.941 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:27:24 +0000 (0:00:00.420) 0:00:19.361 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:27:24 +0000 (0:00:00.020) 0:00:19.382 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:27:24 +0000 (0:00:00.022) 0:00:19.404 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:27:24 +0000 (0:00:00.022) 0:00:19.427 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:27:24 +0000 (0:00:00.033) 0:00:19.460 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:81 Thursday 14 December 2023 17:27:25 +0000 (0:00:00.193) 0:00:19.654 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:27:25 +0000 (0:00:00.060) 0:00:19.714 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:27:25 +0000 (0:00:00.038) 0:00:19.753 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:27:25 +0000 (0:00:00.049) 0:00:19.802 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:27:25 +0000 (0:00:00.139) 0:00:19.942 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:27:25 +0000 (0:00:00.035) 0:00:19.977 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003045", "end": "2023-12-14 12:27:25.601654", "rc": 0, "start": "2023-12-14 12:27:25.598609" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:27:25 +0000 (0:00:00.214) 0:00:20.192 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:27:25 +0000 (0:00:00.024) 0:00:20.216 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:27:25 +0000 (0:00:00.022) 0:00:20.239 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.777) 0:00:21.017 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.035) 0:00:21.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.025) 0:00:21.079 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014298", "end": "2023-12-14 12:27:26.709782", "rc": 0, "start": "2023-12-14 12:27:26.695484" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.223) 0:00:21.303 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.033) 0:00:21.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.025) 0:00:21.362 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.022) 0:00:21.385 ***** 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.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:85 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.022) 0:00:21.408 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:89 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.021) 0:00:21.429 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.092) 0:00:21.522 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:27:26 +0000 (0:00:00.022) 0:00:21.544 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:27:27 +0000 (0:00:00.021) 0:00:21.566 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:27:27 +0000 (0:00:00.036) 0:00:21.602 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:27:27 +0000 (0:00:00.034) 0:00:21.637 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003043", "end": "2023-12-14 12:27:27.239405", "rc": 0, "start": "2023-12-14 12:27:27.236362" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:27:27 +0000 (0:00:00.192) 0:00:21.829 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:27:27 +0000 (0:00:00.026) 0:00:21.856 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:27:27 +0000 (0:00:00.022) 0:00:21.878 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:27:28 +0000 (0:00:00.762) 0:00:22.641 ***** 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.015973", "end": "2023-12-14 12:27:28.262545", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-14 12:27:28.246572" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003445", "end": "2023-12-14 12:27:28.453230", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-14 12:27:28.449785" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003563", "end": "2023-12-14 12:27:28.626169", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-14 12:27:28.622606" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:27:28 +0000 (0:00:00.575) 0:00:23.217 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021997", "end": "2023-12-14 12:27:28.838715", "rc": 0, "start": "2023-12-14 12:27:28.816718" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:27:28 +0000 (0:00:00.212) 0:00:23.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:27:28 +0000 (0:00:00.023) 0:00:23.452 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:27:28 +0000 (0:00:00.023) 0:00:23.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:27:28 +0000 (0:00:00.024) 0:00:23.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:27:28 +0000 (0:00:00.026) 0:00:23.526 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:27:28 +0000 (0:00:00.023) 0:00:23.549 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:27:29 +0000 (0:00:00.058) 0:00:23.608 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:27:29 +0000 (0:00:00.028) 0:00:23.636 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:27:29 +0000 (0:00:00.021) 0:00:23.658 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:27:29 +0000 (0:00:00.022) 0:00:23.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:27:30 +0000 (0:00:01.372) 0:00:25.053 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:27:31 +0000 (0:00:00.902) 0:00:25.956 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:27:31 +0000 (0:00:00.030) 0:00:25.986 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:27:31 +0000 (0:00:00.039) 0:00:26.025 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:27:31 +0000 (0:00:00.049) 0:00:26.075 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:27:31 +0000 (0:00:00.104) 0:00:26.179 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:27:31 +0000 (0:00:00.037) 0:00:26.216 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:27:31 +0000 (0:00:00.022) 0:00:26.239 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:27:31 +0000 (0:00:00.024) 0:00:26.263 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.350) 0:00:26.614 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.036) 0:00:26.650 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.067) 0:00:26.717 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.021) 0:00:26.739 ***** 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, 4471d62b-21f1-492c-b3c0-0bfc685f16d1 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4471d62b-21f1-492c-b3c0-0bfc685f16d1 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.437) 0:00:27.176 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.049) 0:00:27.226 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4471d62b-21f1-492c-b3c0-0bfc685f16d1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4471d62b-21f1-492c-b3c0-0bfc685f16d1 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.022) 0:00:27.248 ***** 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, 4471d62b-21f1-492c-b3c0-0bfc685f16d1\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4471d62b-21f1-492c-b3c0-0bfc685f16d1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4471d62b-21f1-492c-b3c0-0bfc685f16d1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4471d62b-21f1-492c-b3c0-0bfc685f16d1 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.025) 0:00:27.274 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.020) 0:00:27.294 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:110 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.183) 0:00:27.478 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:27:32 +0000 (0:00:00.051) 0:00:27.529 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.038) 0:00:27.567 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702574848.2507536, "block_size": 4096, "blocks": 0, "ctime": 1702574848.2507536, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23515, "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": 1702574848.2507536, "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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.199) 0:00:27.766 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:112 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.023) 0:00:27.790 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.092) 0:00:27.883 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.040) 0:00:27.923 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.024) 0:00:27.947 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.226) 0:00:28.174 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.059) 0:00:28.234 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020473", "end": "2023-12-14 12:27:33.871124", "rc": 0, "start": "2023-12-14 12:27:33.850651" } 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.229) 0:00:28.463 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.025) 0:00:28.488 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.021) 0:00:28.510 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.021) 0:00:28.531 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:27:33 +0000 (0:00:00.022) 0:00:28.554 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.027) 0:00:28.581 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.023) 0:00:28.605 ***** 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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.022) 0:00:28.627 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:116 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.028) 0:00:28.655 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003223", "end": "2023-12-14 12:27:34.262579", "rc": 0, "start": "2023-12-14 12:27:34.259356" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.113 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.113 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.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:120 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.235) 0:00:28.891 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:126 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.024) 0:00:28.916 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003393", "end": "2023-12-14 12:27:34.520775", "rc": 0, "start": "2023-12-14 12:27:34.517382" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:130 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.193) 0:00:29.109 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:137 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.024) 0:00:29.134 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.020) 0:00:29.154 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.037) 0:00:29.192 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.033) 0:00:29.226 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.028) 0:00:29.254 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:27:34 +0000 (0:00:00.020) 0:00:29.275 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:27:36 +0000 (0:00:01.319) 0:00:30.594 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.971) 0:00:31.566 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.030) 0:00:31.597 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.027) 0:00:31.625 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.024) 0:00:31.649 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.060) 0:00:31.710 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.032) 0:00:31.742 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.023) 0:00:31.765 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.026) 0:00:31.792 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.352) 0:00:32.145 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.063) 0:00:32.208 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.048) 0:00:32.256 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:27:37 +0000 (0:00:00.066) 0:00:32.323 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.523) 0:00:32.846 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.032) 0:00:32.879 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.031) 0:00:32.910 ***** 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.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.026) 0:00:32.937 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.029) 0:00:32.966 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:149 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.202) 0:00:33.169 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.066) 0:00:33.235 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.021) 0:00:33.256 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.022) 0:00:33.279 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.063) 0:00:33.342 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:27:38 +0000 (0:00:00.054) 0:00:33.397 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003131", "end": "2023-12-14 12:27:39.033571", "rc": 0, "start": "2023-12-14 12:27:39.030440" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:27:39 +0000 (0:00:00.238) 0:00:33.636 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:27:39 +0000 (0:00:00.024) 0:00:33.660 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:27:39 +0000 (0:00:00.094) 0:00:33.755 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:27:39 +0000 (0:00:00.790) 0:00:34.545 ***** 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.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 14 December 2023 17:27:40 +0000 (0:00:00.030) 0:00:34.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:27:40 +0000 (0:00:00.022) 0:00:34.598 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013648", "end": "2023-12-14 12:27:40.223860", "rc": 0, "start": "2023-12-14 12:27:40.210212" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:27:40 +0000 (0:00:00.223) 0:00:34.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:27:40 +0000 (0:00:00.028) 0:00:34.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:27:40 +0000 (0:00:00.023) 0:00:34.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:27:40 +0000 (0:00:00.022) 0:00:34.896 ***** 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:27:40 +0000 (0:00:00.009) 0:00:34.905 ***** =============================================================================== Install iproute --------------------------------------------------------- 4.25s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.35s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.34s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.32s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.94s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.79s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.78s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.76s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Enable and start NetworkManager ------------ 0.74s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_auto_gateway_nm.yml:5 - Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface veth0 --------------------------------------------- 0.58s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---