# 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_vlan_mtu_nm.yml ************************************************ 2 plays in /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_vlan_mtu_nm.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_vlan_mtu_nm.yml:5 Thursday 14 December 2023 17:33:23 +0000 (0:00:00.032) 0:00:00.032 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_vlan_mtu_nm.yml:9 Thursday 14 December 2023 17:33:24 +0000 (0:00:00.690) 0:00:00.722 ***** 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:33:24 +0000 (0:00:00.033) 0:00:00.756 ***** 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:33:24 +0000 (0:00:00.383) 0:00:01.139 ***** 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:33:25 +0000 (0:00:00.312) 0:00:01.451 ***** 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:33:25 +0000 (0:00:00.028) 0:00:01.480 ***** 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:33:25 +0000 (0:00:00.037) 0:00:01.518 ***** 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:33:25 +0000 (0:00:00.034) 0:00:01.553 ***** 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:33:25 +0000 (0:00:00.019) 0:00:01.572 ***** 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:33:25 +0000 (0:00:00.012) 0:00:01.584 ***** 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:33:25 +0000 (0:00:00.012) 0:00:01.597 ***** 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:33:25 +0000 (0:00:00.027) 0:00:01.624 ***** 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_vlan_mtu_nm.yml:11 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.012) 0:00:01.637 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_vlan_mtu.yml:3 Thursday 14 December 2023 17:33:25 +0000 (0:00:00.043) 0:00:01.681 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_vlan_mtu.yml:10 Thursday 14 December 2023 17:33:26 +0000 (0:00:00.565) 0:00:02.247 ***** 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:33:26 +0000 (0:00:00.018) 0:00:02.265 ***** 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:33:26 +0000 (0:00:00.012) 0:00:02.277 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003045", "end": "2023-12-14 12:33:26.268973", "rc": 0, "start": "2023-12-14 12:33:26.265928" } STDOUT: bonding_masters eth0 lo rpltstbr team0 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:33:26 +0000 (0:00:00.241) 0:00:02.519 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr", "team0" ] }, "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:33:26 +0000 (0:00:00.023) 0:00:02.542 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_vlan_mtu.yml:12 Thursday 14 December 2023 17:33:26 +0000 (0:00:00.015) 0:00:02.558 ***** 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:33:26 +0000 (0:00:00.023) 0:00:02.582 ***** 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:33:26 +0000 (0:00:00.011) 0:00:02.593 ***** 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:33:26 +0000 (0:00:00.022) 0:00:02.615 ***** 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:33:26 +0000 (0:00:00.026) 0:00:02.642 ***** 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:33:26 +0000 (0:00:00.012) 0:00:02.655 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003192", "end": "2023-12-14 12:33:26.602787", "rc": 0, "start": "2023-12-14 12:33:26.599595" } STDOUT: bonding_masters eth0 lo rpltstbr team0 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:33:26 +0000 (0:00:00.190) 0:00:02.845 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr", "team0" ] }, "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:33:26 +0000 (0:00:00.013) 0:00:02.859 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr', 'team0'] 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:33:26 +0000 (0:00:00.028) 0:00:02.887 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:33:27 +0000 (0:00:00.947) 0:00:03.835 ***** ok: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101" ], "delta": "0:00:00.010148", "end": "2023-12-14 12:33:27.789570", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2023-12-14 12:33:27.779422" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003451", "end": "2023-12-14 12:33:27.999264", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2023-12-14 12:33:27.995813" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.003704", "end": "2023-12-14 12:33:28.199443", "item": "ip link set lsr101 up", "rc": 0, "start": "2023-12-14 12:33:28.195739" } 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:33:28 +0000 (0:00:00.623) 0:00:04.458 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.025681", "end": "2023-12-14 12:33:28.429977", "rc": 0, "start": "2023-12-14 12:33:28.404296" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.216) 0:00:04.675 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.010) 0:00:04.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.010) 0:00:04.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.009) 0:00:04.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.010) 0:00:04.716 ***** 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_vlan_mtu.yml:16 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.009) 0:00:04.726 ***** 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:33:28 +0000 (0:00:00.019) 0:00:04.745 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.013) 0:00:04.758 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575207.7830145, "block_size": 4096, "blocks": 0, "ctime": 1702575207.7830145, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31445, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1702575207.7830145, "nlink": 1, "path": "/sys/class/net/lsr101", "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 - 'lsr101'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.178) 0:00:04.937 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_vlan_mtu.yml:18 Thursday 14 December 2023 17:33:28 +0000 (0:00:00.012) 0:00:04.950 ***** 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:33:28 +0000 (0:00:00.011) 0:00:04.961 ***** 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:33:28 +0000 (0:00:00.065) 0:00:05.026 ***** 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:33:28 +0000 (0:00:00.011) 0:00:05.038 ***** 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:33:28 +0000 (0:00:00.023) 0:00:05.061 ***** 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:33:28 +0000 (0:00:00.012) 0:00:05.074 ***** 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:33:30 +0000 (0:00:01.479) 0:00:06.553 ***** 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:33:31 +0000 (0:00:01.089) 0:00:07.643 ***** 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:33:31 +0000 (0:00:00.021) 0:00:07.664 ***** 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:33:31 +0000 (0:00:00.020) 0:00:07.685 ***** 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:33:31 +0000 (0:00:00.020) 0:00:07.706 ***** 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:33:31 +0000 (0:00:00.043) 0:00:07.749 ***** 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:33:31 +0000 (0:00:00.019) 0:00:07.769 ***** 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:33:31 +0000 (0:00:00.020) 0:00:07.789 ***** 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:33:31 +0000 (0:00:00.025) 0:00:07.815 ***** 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:33:32 +0000 (0:00:00.502) 0:00:08.318 ***** 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:33:32 +0000 (0:00:00.037) 0:00:08.355 ***** 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:33:32 +0000 (0:00:00.055) 0:00:08.411 ***** 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:33:32 +0000 (0:00:00.104) 0:00:08.515 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 0bd78332-aab1-4258-ba55-5fe6f1e3e704 [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, b69e730f-9dca-440b-bae1-959ab5a81f37 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 0bd78332-aab1-4258-ba55-5fe6f1e3e704 (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, b69e730f-9dca-440b-bae1-959ab5a81f37 (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:33:32 +0000 (0:00:00.579) 0:00:09.095 ***** 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:33:32 +0000 (0:00:00.020) 0:00:09.115 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 0bd78332-aab1-4258-ba55-5fe6f1e3e704", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, b69e730f-9dca-440b-bae1-959ab5a81f37", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 0bd78332-aab1-4258-ba55-5fe6f1e3e704 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, b69e730f-9dca-440b-bae1-959ab5a81f37 (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:33:32 +0000 (0:00:00.023) 0:00:09.138 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 0bd78332-aab1-4258-ba55-5fe6f1e3e704\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, b69e730f-9dca-440b-bae1-959ab5a81f37\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 0bd78332-aab1-4258-ba55-5fe6f1e3e704 (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, b69e730f-9dca-440b-bae1-959ab5a81f37 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 0bd78332-aab1-4258-ba55-5fe6f1e3e704", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, b69e730f-9dca-440b-bae1-959ab5a81f37", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 0bd78332-aab1-4258-ba55-5fe6f1e3e704 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, b69e730f-9dca-440b-bae1-959ab5a81f37 (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:33:32 +0000 (0:00:00.031) 0:00:09.169 ***** 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:33:32 +0000 (0:00:00.055) 0:00:09.225 ***** 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_vlan_mtu.yml:46 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.239) 0:00:09.464 ***** 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:33:33 +0000 (0:00:00.061) 0:00:09.526 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.037) 0:00:09.563 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575212.7993867, "block_size": 4096, "blocks": 0, "ctime": 1702575212.7993867, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1702575212.7993867, "nlink": 1, "path": "/sys/class/net/lsr101.90", "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 - 'lsr101.90'] ********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.234) 0:00:09.798 ***** 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_vlan_mtu.yml:50 Thursday 14 December 2023 17:33:33 +0000 (0:00:00.083) 0:00:09.882 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml for sut 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:33:33 +0000 (0:00:00.111) 0:00:09.994 ***** 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:33:33 +0000 (0:00:00.050) 0:00:10.045 ***** 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:33:33 +0000 (0:00:00.031) 0:00:10.076 ***** 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:33:34 +0000 (0:00:00.186) 0:00:10.263 ***** 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:33:34 +0000 (0:00:00.021) 0:00:10.284 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.024786", "end": "2023-12-14 12:33:34.242876", "rc": 0, "start": "2023-12-14 12:33:34.218090" } STDOUT: lsr101 /etc/NetworkManager/system-connections/lsr101.nmconnection lsr101.90 /etc/NetworkManager/system-connections/lsr101.90.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:33:34 +0000 (0:00:00.213) 0:00:10.497 ***** 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-lsr101] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:33:34 +0000 (0:00:00.022) 0:00:10.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:33:34 +0000 (0:00:00.021) 0:00:10.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:33:34 +0000 (0:00:00.021) 0:00:10.563 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:33:34 +0000 (0:00:00.021) 0:00:10.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:33:34 +0000 (0:00:00.023) 0:00:10.608 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:33:34 +0000 (0:00:00.024) 0:00:10.632 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:33:34 +0000 (0:00:00.024) 0:00:10.656 ***** ok: [sut] => { "changed": false } MSG: All assertions passed 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:33:34 +0000 (0:00:00.021) 0:00:10.678 ***** 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:33:34 +0000 (0:00:00.061) 0:00:10.740 ***** 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:33:34 +0000 (0:00:00.021) 0:00:10.761 ***** 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:33:34 +0000 (0:00:00.185) 0:00:10.947 ***** 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:33:34 +0000 (0:00:00.022) 0:00:10.970 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.024519", "end": "2023-12-14 12:33:34.930795", "rc": 0, "start": "2023-12-14 12:33:34.906276" } STDOUT: lsr101.90 /etc/NetworkManager/system-connections/lsr101.90.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:33:34 +0000 (0:00:00.222) 0:00:11.192 ***** 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-lsr101.90] ********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:33:35 +0000 (0:00:00.033) 0:00:11.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:33:35 +0000 (0:00:00.028) 0:00:11.254 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:33:35 +0000 (0:00:00.025) 0:00:11.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:33:35 +0000 (0:00:00.023) 0:00:11.303 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:33:35 +0000 (0:00:00.022) 0:00:11.325 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:33:35 +0000 (0:00:00.022) 0:00:11.348 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:33:35 +0000 (0:00:00.037) 0:00:11.386 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_vlan_mtu.yml:58 Thursday 14 December 2023 17:33:35 +0000 (0:00:00.031) 0:00:11.417 ***** 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:33:35 +0000 (0:00:00.043) 0:00:11.460 ***** 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:33:35 +0000 (0:00:00.046) 0:00:11.506 ***** 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:33:35 +0000 (0:00:00.033) 0:00:11.540 ***** 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:33:35 +0000 (0:00:00.081) 0:00:11.621 ***** 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:33:35 +0000 (0:00:00.027) 0:00:11.649 ***** 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:33:36 +0000 (0:00:01.378) 0:00:13.028 ***** 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:33:37 +0000 (0:00:00.927) 0:00:13.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:33:37 +0000 (0:00:00.033) 0:00:13.990 ***** 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:33:37 +0000 (0:00:00.054) 0:00:14.044 ***** 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:33:37 +0000 (0:00:00.060) 0:00:14.105 ***** 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:33:37 +0000 (0:00:00.050) 0:00:14.155 ***** 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:33:37 +0000 (0:00:00.069) 0:00:14.225 ***** 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:33:38 +0000 (0:00:00.042) 0:00:14.268 ***** 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:33:38 +0000 (0:00:00.026) 0:00:14.294 ***** 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:33:38 +0000 (0:00:00.365) 0:00:14.660 ***** 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:33:38 +0000 (0:00:00.049) 0:00:14.709 ***** 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:33:38 +0000 (0:00:00.048) 0:00:14.758 ***** 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:33:38 +0000 (0:00:00.029) 0:00:14.788 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "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:33:39 +0000 (0:00:00.676) 0:00:15.464 ***** 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:33:39 +0000 (0:00:00.024) 0:00:15.489 ***** 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:33:39 +0000 (0:00:00.024) 0:00:15.513 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "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:33:39 +0000 (0:00:00.040) 0:00:15.554 ***** 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:33:39 +0000 (0:00:00.059) 0:00:15.613 ***** 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_vlan_mtu.yml:73 Thursday 14 December 2023 17:33:39 +0000 (0:00:00.255) 0:00:15.869 ***** 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:33:39 +0000 (0:00:00.084) 0:00:15.953 ***** 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:33:39 +0000 (0:00:00.031) 0:00:15.985 ***** 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:33:39 +0000 (0:00:00.021) 0:00:16.007 ***** 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:33:39 +0000 (0:00:00.034) 0:00:16.041 ***** 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:33:39 +0000 (0:00:00.036) 0:00:16.077 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003309", "end": "2023-12-14 12:33:40.015457", "rc": 0, "start": "2023-12-14 12:33:40.012148" } STDOUT: bonding_masters eth0 lo lsr101 peerlsr101 rpltstbr team0 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:33:40 +0000 (0:00:00.191) 0:00:16.269 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "peerlsr101", "rpltstbr", "team0" ] }, "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:33:40 +0000 (0:00:00.022) 0:00:16.292 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'peerlsr101', 'rpltstbr', 'team0'] 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:33:40 +0000 (0:00:00.024) 0:00:16.317 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 14 December 2023 17:33:40 +0000 (0:00:00.765) 0:00:17.082 ***** skipping: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set lsr101 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:33:40 +0000 (0:00:00.030) 0:00:17.112 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 14 December 2023 17:33:40 +0000 (0:00:00.021) 0:00:17.133 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.007259", "end": "2023-12-14 12:33:41.075672", "rc": 0, "start": "2023-12-14 12:33:41.068413" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 14 December 2023 17:33:41 +0000 (0:00:00.233) 0:00:17.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 14 December 2023 17:33:41 +0000 (0:00:00.024) 0:00:17.391 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:33:41 +0000 (0:00:00.032) 0:00:17.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 14 December 2023 17:33:41 +0000 (0:00:00.023) 0:00:17.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=76 changed=2 unreachable=0 failed=0 skipped=59 rescued=0 ignored=0 Thursday 14 December 2023 17:33:41 +0000 (0:00:00.023) 0:00:17.472 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.48s /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.38s /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.09s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.95s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 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 Install iproute --------------------------------------------------------- 0.77s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_vlan_mtu_nm.yml:5 ----- linux-system-roles.network : Configure networking connection profiles --- 0.68s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Create veth interface lsr101 -------------------------------------------- 0.62s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Configure networking connection profiles --- 0.58s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_vlan_mtu.yml:3 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 Gather the minimum subset of ansible_facts required by the network role test --- 0.38s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:3 --- linux-system-roles.network : Enable and start NetworkManager ------------ 0.37s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Check if system is ostree ----------------------------------------------- 0.31s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:19 -- linux-system-roles.network : Re-test connectivity ----------------------- 0.26s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Re-test connectivity ----------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Get stat for interface lsr101.90 ---------------------------------------- 0.23s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Delete veth interface lsr101 -------------------------------------------- 0.23s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/manage_test_interface.yml:41 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---