# 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.16i1pchpmv/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.16i1pchpmv/tests/tests_vlan_mtu_nm.yml:6 Monday 25 December 2023 22:21:00 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tests_vlan_mtu_nm.yml:9 Monday 25 December 2023 22:21:01 +0000 (0:00:00.663) 0:00:00.674 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:21:01 +0000 (0:00:00.011) 0:00:00.685 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:19 Monday 25 December 2023 22:21:01 +0000 (0:00:00.333) 0:00:01.018 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:24 Monday 25 December 2023 22:21:01 +0000 (0:00:00.251) 0:00:01.270 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:28 Monday 25 December 2023 22:21:01 +0000 (0:00:00.019) 0:00:01.290 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:53 Monday 25 December 2023 22:21:01 +0000 (0:00:00.017) 0:00:01.307 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:21:01 +0000 (0:00:00.030) 0:00:01.337 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:21:02 +0000 (0:00:00.232) 0:00:01.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:21:02 +0000 (0:00:00.010) 0:00:01.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:21:02 +0000 (0:00:00.010) 0:00:01.591 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243731", "end": "2023-12-25 22:21:02.560501", "rc": 0, "start": "2023-12-25 22:21:02.316770" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:21:02 +0000 (0:00:00.427) 0:00:02.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tests_vlan_mtu_nm.yml:11 Monday 25 December 2023 22:21:02 +0000 (0:00:00.009) 0:00:02.028 ******* 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.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:3 Monday 25 December 2023 22:21:02 +0000 (0:00:00.009) 0:00:02.038 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:10 Monday 25 December 2023 22:21:03 +0000 (0:00:00.572) 0:00:02.610 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:21:03 +0000 (0:00:00.016) 0:00:02.627 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:21:03 +0000 (0:00:00.012) 0:00:02.640 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002866", "end": "2023-12-25 22:21:03.366356", "rc": 0, "start": "2023-12-25 22:21:03.363490" } STDOUT: bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:21:03 +0000 (0:00:00.182) 0:00:02.822 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:21:03 +0000 (0:00:00.010) 0:00:02.833 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:12 Monday 25 December 2023 22:21:03 +0000 (0:00:00.010) 0:00:02.843 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:21:03 +0000 (0:00:00.021) 0:00:02.865 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:21:03 +0000 (0:00:00.009) 0:00:02.874 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:21:03 +0000 (0:00:00.009) 0:00:02.884 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:21:03 +0000 (0:00:00.012) 0:00:02.896 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:21:03 +0000 (0:00:00.011) 0:00:02.908 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002923", "end": "2023-12-25 22:21:03.633618", "rc": 0, "start": "2023-12-25 22:21:03.630695" } STDOUT: bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:21:03 +0000 (0:00:00.181) 0:00:03.090 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:21:03 +0000 (0:00:00.010) 0:00:03.101 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:21:03 +0000 (0:00:00.009) 0:00:03.110 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 25 December 2023 22:21:07 +0000 (0:00:03.427) 0:00:06.538 ******* 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.012935", "end": "2023-12-25 22:21:07.280203", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2023-12-25 22:21:07.267268" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003423", "end": "2023-12-25 22:21:07.494523", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2023-12-25 22:21:07.491100" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004257", "end": "2023-12-25 22:21:07.672342", "item": "ip link set lsr101 up", "rc": 0, "start": "2023-12-25 22:21:07.668085" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 25 December 2023 22:21:07 +0000 (0:00:00.591) 0:00:07.130 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.025152", "end": "2023-12-25 22:21:07.880388", "rc": 0, "start": "2023-12-25 22:21:07.855236" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 25 December 2023 22:21:07 +0000 (0:00:00.209) 0:00:07.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 25 December 2023 22:21:07 +0000 (0:00:00.010) 0:00:07.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 December 2023 22:21:07 +0000 (0:00:00.010) 0:00:07.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:21:07 +0000 (0:00:00.010) 0:00:07.371 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 25 December 2023 22:21:07 +0000 (0:00:00.010) 0:00:07.381 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:16 Monday 25 December 2023 22:21:07 +0000 (0:00:00.009) 0:00:07.390 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:21:07 +0000 (0:00:00.018) 0:00:07.409 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:21:07 +0000 (0:00:00.012) 0:00:07.422 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542867.2707074, "block_size": 4096, "blocks": 0, "ctime": 1703542867.2707074, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38888, "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": 1703542867.2707074, "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.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:21:08 +0000 (0:00:00.184) 0:00:07.606 ******* 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.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:18 Monday 25 December 2023 22:21:08 +0000 (0:00:00.012) 0:00:07.618 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:21:08 +0000 (0:00:00.009) 0:00:07.627 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:21:08 +0000 (0:00:00.065) 0:00:07.693 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:21:08 +0000 (0:00:00.010) 0:00:07.704 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:21:08 +0000 (0:00:00.009) 0:00:07.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:21:08 +0000 (0:00:00.009) 0:00:07.723 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:21:09 +0000 (0:00:01.597) 0:00:09.320 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:21:11 +0000 (0:00:01.429) 0:00:10.750 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:21:11 +0000 (0:00:00.023) 0:00:10.773 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:21:11 +0000 (0:00:00.039) 0:00:10.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:21:11 +0000 (0:00:00.022) 0:00:10.835 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:21:11 +0000 (0:00:00.045) 0:00:10.881 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:21:11 +0000 (0:00:00.022) 0:00:10.903 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:21:11 +0000 (0:00:00.020) 0:00:10.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:21:11 +0000 (0:00:00.025) 0:00:10.950 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:21:11 +0000 (0:00:00.476) 0:00:11.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:21:12 +0000 (0:00:00.026) 0:00:11.453 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:21:12 +0000 (0:00:00.020) 0:00:11.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:21:12 +0000 (0:00:00.020) 0:00:11.494 ******* 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, 528f8fe8-3977-47ea-beed-bb345c18db7d [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 32f9f324-b012-44e3-a756-6b7a22ea61a3 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 528f8fe8-3977-47ea-beed-bb345c18db7d (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 32f9f324-b012-44e3-a756-6b7a22ea61a3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:21:12 +0000 (0:00:00.545) 0:00:12.040 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:21:12 +0000 (0:00:00.022) 0:00:12.062 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 528f8fe8-3977-47ea-beed-bb345c18db7d", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 32f9f324-b012-44e3-a756-6b7a22ea61a3", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 528f8fe8-3977-47ea-beed-bb345c18db7d (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 32f9f324-b012-44e3-a756-6b7a22ea61a3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:21:12 +0000 (0:00:00.023) 0:00:12.085 ******* 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, 528f8fe8-3977-47ea-beed-bb345c18db7d\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 32f9f324-b012-44e3-a756-6b7a22ea61a3\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 528f8fe8-3977-47ea-beed-bb345c18db7d (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 32f9f324-b012-44e3-a756-6b7a22ea61a3 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 528f8fe8-3977-47ea-beed-bb345c18db7d", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 32f9f324-b012-44e3-a756-6b7a22ea61a3", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 528f8fe8-3977-47ea-beed-bb345c18db7d (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 32f9f324-b012-44e3-a756-6b7a22ea61a3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:21:12 +0000 (0:00:00.043) 0:00:12.128 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:21:12 +0000 (0:00:00.021) 0:00:12.150 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:46 Monday 25 December 2023 22:21:12 +0000 (0:00:00.239) 0:00:12.389 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:21:12 +0000 (0:00:00.042) 0:00:12.432 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:21:13 +0000 (0:00:00.034) 0:00:12.467 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542872.5300364, "block_size": 4096, "blocks": 0, "ctime": 1703542872.5300364, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39181, "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": 1703542872.5300364, "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.16i1pchpmv/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:21:13 +0000 (0:00:00.194) 0:00:12.662 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:50 Monday 25 December 2023 22:21:13 +0000 (0:00:00.025) 0:00:12.687 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:21:13 +0000 (0:00:00.047) 0:00:12.735 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:21:13 +0000 (0:00:00.036) 0:00:12.771 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:21:13 +0000 (0:00:00.022) 0:00:12.793 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542872.523848, "block_size": 4096, "blocks": 8, "ctime": 1703542872.4618478, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5025621, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542872.4618478, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 214, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:21:13 +0000 (0:00:00.192) 0:00:12.986 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:21:13 +0000 (0:00:00.023) 0:00:13.009 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.023227", "end": "2023-12-25 22:21:13.757539", "rc": 0, "start": "2023-12-25 22:21:13.734312" } STDOUT: lsr101 /etc/sysconfig/network-scripts/ifcfg-lsr101 lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:21:13 +0000 (0:00:00.216) 0:00:13.225 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:21:13 +0000 (0:00:00.024) 0:00:13.250 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:21:13 +0000 (0:00:00.023) 0:00:13.274 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:21:13 +0000 (0:00:00.022) 0:00:13.296 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:21:13 +0000 (0:00:00.023) 0:00:13.320 ******* 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.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:21:13 +0000 (0:00:00.023) 0:00:13.343 ******* 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.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:21:13 +0000 (0:00:00.024) 0:00:13.367 ******* 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.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:21:13 +0000 (0:00:00.024) 0:00:13.392 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:21:13 +0000 (0:00:00.023) 0:00:13.416 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:21:14 +0000 (0:00:00.037) 0:00:13.453 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:21:14 +0000 (0:00:00.022) 0:00:13.475 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542872.6198487, "block_size": 4096, "blocks": 8, "ctime": 1703542872.4718478, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4750457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542872.4718478, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 321, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:21:14 +0000 (0:00:00.226) 0:00:13.701 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:21:14 +0000 (0:00:00.024) 0:00:13.726 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.023312", "end": "2023-12-25 22:21:14.474268", "rc": 0, "start": "2023-12-25 22:21:14.450956" } STDOUT: lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:21:14 +0000 (0:00:00.217) 0:00:13.943 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:21:14 +0000 (0:00:00.030) 0:00:13.974 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:21:14 +0000 (0:00:00.027) 0:00:14.001 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:21:14 +0000 (0:00:00.024) 0:00:14.026 ******* 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.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:21:14 +0000 (0:00:00.026) 0:00:14.053 ******* 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.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:21:14 +0000 (0:00:00.025) 0:00:14.079 ******* 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.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:21:14 +0000 (0:00:00.026) 0:00:14.105 ******* 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.16i1pchpmv/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:21:14 +0000 (0:00:00.027) 0:00:14.133 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:58 Monday 25 December 2023 22:21:14 +0000 (0:00:00.025) 0:00:14.158 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:21:14 +0000 (0:00:00.030) 0:00:14.188 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:21:14 +0000 (0:00:00.037) 0:00:14.226 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:21:14 +0000 (0:00:00.027) 0:00:14.254 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:21:14 +0000 (0:00:00.021) 0:00:14.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:21:14 +0000 (0:00:00.066) 0:00:14.342 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:21:16 +0000 (0:00:01.535) 0:00:15.878 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:21:17 +0000 (0:00:01.300) 0:00:17.178 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:21:17 +0000 (0:00:00.049) 0:00:17.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:21:17 +0000 (0:00:00.022) 0:00:17.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:21:17 +0000 (0:00:00.021) 0:00:17.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:21:17 +0000 (0:00:00.044) 0:00:17.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:21:17 +0000 (0:00:00.020) 0:00:17.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:21:17 +0000 (0:00:00.020) 0:00:17.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:21:17 +0000 (0:00:00.024) 0:00:17.382 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:21:18 +0000 (0:00:00.339) 0:00:17.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:21:18 +0000 (0:00:00.026) 0:00:17.748 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:21:18 +0000 (0:00:00.021) 0:00:17.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:21:18 +0000 (0:00:00.020) 0:00:17.789 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:21:18 +0000 (0:00:00.483) 0:00:18.273 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:21:18 +0000 (0:00:00.022) 0:00:18.295 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:21:18 +0000 (0:00:00.048) 0:00:18.344 ******* 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.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:21:18 +0000 (0:00:00.025) 0:00:18.369 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:21:18 +0000 (0:00:00.023) 0:00:18.393 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:73 Monday 25 December 2023 22:21:19 +0000 (0:00:00.189) 0:00:18.582 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 December 2023 22:21:19 +0000 (0:00:00.045) 0:00:18.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 December 2023 22:21:19 +0000 (0:00:00.020) 0:00:18.649 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 December 2023 22:21:19 +0000 (0:00:00.021) 0:00:18.670 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:21:19 +0000 (0:00:00.034) 0:00:18.705 ******* included: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:21:19 +0000 (0:00:00.034) 0:00:18.739 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002981", "end": "2023-12-25 22:21:19.466142", "rc": 0, "start": "2023-12-25 22:21:19.463161" } STDOUT: bonding_masters eth0 lo lsr101 peerlsr101 team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:21:19 +0000 (0:00:00.194) 0:00:18.934 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "peerlsr101", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:21:19 +0000 (0:00:00.023) 0:00:18.957 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'peerlsr101', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 December 2023 22:21:19 +0000 (0:00:00.021) 0:00:18.978 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 25 December 2023 22:21:22 +0000 (0:00:02.953) 0:00:21.932 ******* 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.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 25 December 2023 22:21:22 +0000 (0:00:00.031) 0:00:21.964 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 25 December 2023 22:21:22 +0000 (0:00:00.021) 0:00:21.986 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.008881", "end": "2023-12-25 22:21:22.721231", "rc": 0, "start": "2023-12-25 22:21:22.712350" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 25 December 2023 22:21:22 +0000 (0:00:00.205) 0:00:22.191 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 December 2023 22:21:22 +0000 (0:00:00.023) 0:00:22.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 25 December 2023 22:21:22 +0000 (0:00:00.045) 0:00:22.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 25 December 2023 22:21:22 +0000 (0:00:00.023) 0:00:22.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=80 changed=2 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Monday 25 December 2023 22:21:22 +0000 (0:00:00.007) 0:00:22.291 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.43s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.43s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tests_vlan_mtu_nm.yml:6 ----- Create veth interface lsr101 -------------------------------------------- 0.59s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tests_vlan_mtu.yml:3 linux-system-roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.48s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:35 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.34s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather the minimum subset of ansible_facts required by the network role test --- 0.33s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:3 --- Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/el_repo_setup.yml:19 -- linux-system-roles.network : Re-test connectivity ----------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Create EPEL 8 ----------------------------------------------------------- 0.23s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/tasks/enable_epel.yml:8 ----- Stat profile file ------------------------------------------------------- 0.23s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:9 Get NM profile info ----------------------------------------------------- 0.22s /WORKDIR/git-ansible-lint-test-2.16i1pchpmv/tests/playbooks/tasks/get_profile_stat.yml:25 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---