# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_vlan_mtu_initscripts.yml *************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_vlan_mtu_initscripts.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_vlan_mtu_initscripts.yml:4 Tuesday 19 December 2023 16:04:11 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_vlan_mtu_initscripts.yml:8 Tuesday 19 December 2023 16:04:12 +0000 (0:00:00.869) 0:00:00.881 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 16:04:12 +0000 (0:00:00.011) 0:00:00.892 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:17 Tuesday 19 December 2023 16:04:12 +0000 (0:00:00.352) 0:00:01.245 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:22 Tuesday 19 December 2023 16:04:12 +0000 (0:00:00.246) 0:00:01.492 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:26 Tuesday 19 December 2023 16:04:12 +0000 (0:00:00.013) 0:00:01.505 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:51 Tuesday 19 December 2023 16:04:12 +0000 (0:00:00.007) 0:00:01.512 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 16:04:12 +0000 (0:00:00.021) 0:00:01.533 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 16:04:13 +0000 (0:00:00.244) 0:00:01.778 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 16:04:13 +0000 (0:00:00.008) 0:00:01.787 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 16:04:13 +0000 (0:00:00.007) 0:00:01.794 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247757", "end": "2023-12-19 16:04:13.616053", "rc": 0, "start": "2023-12-19 16:04:13.368296" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 16:04:13 +0000 (0:00:00.436) 0:00:02.231 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_vlan_mtu_initscripts.yml:10 Tuesday 19 December 2023 16:04:13 +0000 (0:00:00.007) 0:00:02.239 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:3 Tuesday 19 December 2023 16:04:13 +0000 (0:00:00.015) 0:00:02.254 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:10 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.735) 0:00:02.990 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.024) 0:00:03.015 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.019) 0:00:03.034 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003844", "end": "2023-12-19 16:04:14.623522", "rc": 0, "start": "2023-12-19 16:04:14.619678" } STDOUT: bonding_masters eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.205) 0:00:03.239 ****** 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.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.018) 0:00:03.258 ****** 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.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:12 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.017) 0:00:03.275 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.028) 0:00:03.304 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.017) 0:00:03.322 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.016) 0:00:03.338 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.020) 0:00:03.358 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.018) 0:00:03.377 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003849", "end": "2023-12-19 16:04:14.965887", "rc": 0, "start": "2023-12-19 16:04:14.962038" } STDOUT: bonding_masters eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 16:04:14 +0000 (0:00:00.202) 0:00:03.580 ****** 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.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 16:04:15 +0000 (0:00:00.018) 0:00:03.599 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 16:04:15 +0000 (0:00:00.017) 0:00:03.616 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 16:04:18 +0000 (0:00:03.264) 0:00:06.880 ****** 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.015577", "end": "2023-12-19 16:04:18.486906", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2023-12-19 16:04:18.471329" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004326", "end": "2023-12-19 16:04:18.717759", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2023-12-19 16:04:18.713433" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004873", "end": "2023-12-19 16:04:18.909846", "item": "ip link set lsr101 up", "rc": 0, "start": "2023-12-19 16:04:18.904973" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 16:04:18 +0000 (0:00:00.644) 0:00:07.525 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.028681", "end": "2023-12-19 16:04:19.140585", "rc": 0, "start": "2023-12-19 16:04:19.111904" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.234) 0:00:07.760 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.018) 0:00:07.778 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.018) 0:00:07.796 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.018) 0:00:07.814 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.017) 0:00:07.832 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:16 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.017) 0:00:07.849 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.026) 0:00:07.876 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.022) 0:00:07.898 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001858.4753726, "block_size": 4096, "blocks": 0, "ctime": 1703001858.4753726, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42489, "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": 1703001858.4753726, "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.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.205) 0:00:08.104 ****** 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.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:18 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.020) 0:00:08.124 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.019) 0:00:08.143 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.025) 0:00:08.169 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.021) 0:00:08.191 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.021) 0:00:08.212 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:04:19 +0000 (0:00:00.020) 0:00:08.232 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:04:21 +0000 (0:00:01.736) 0:00:09.968 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:04:22 +0000 (0:00:01.541) 0:00:11.510 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:04:22 +0000 (0:00:00.030) 0:00:11.541 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:04:22 +0000 (0:00:00.030) 0:00:11.571 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:04:23 +0000 (0:00:00.030) 0:00:11.601 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:04:23 +0000 (0:00:00.054) 0:00:11.655 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:04:23 +0000 (0:00:00.030) 0:00:11.685 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:04:23 +0000 (0:00:00.030) 0:00:11.716 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:04:23 +0000 (0:00:00.077) 0:00:11.793 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:04:23 +0000 (0:00:00.030) 0:00:11.823 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:04:23 +0000 (0:00:00.027) 0:00:11.851 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:04:23 +0000 (0:00:00.546) 0:00:12.397 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145414hj_6xtw/tmpwgnr6eqm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:04:24 +0000 (0:00:00.308) 0:00:12.705 ****** 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": "initscripts" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101' [006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90' [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified) [008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active) [010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:04:24 +0000 (0:00:00.713) 0:00:13.419 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:04:24 +0000 (0:00:00.029) 0:00:13.449 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:04:24 +0000 (0:00:00.031) 0:00:13.481 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'\n[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)\n[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)\n[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:04:24 +0000 (0:00:00.030) 0:00:13.512 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:04:24 +0000 (0:00:00.028) 0:00:13.540 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:46 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.299) 0:00:13.840 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.045) 0:00:13.886 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.038) 0:00:13.925 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001864.6704814, "block_size": 4096, "blocks": 0, "ctime": 1703001864.6704814, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42782, "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": 1703001864.6704814, "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.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.237) 0:00:14.162 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:50 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.031) 0:00:14.193 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101.90) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.050) 0:00:14.244 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.039) 0:00:14.283 ****** 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.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.028) 0:00:14.311 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001864.5014155, "block_size": 4096, "blocks": 8, "ctime": 1703001864.5004153, "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": 1703001864.5004153, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 136, "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.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.210) 0:00:14.521 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 16:04:25 +0000 (0:00:00.030) 0:00:14.552 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.024758", "end": "2023-12-19 16:04:26.171037", "rc": 1, "start": "2023-12-19 16:04:26.146279" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.244) 0:00:14.796 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.029) 0:00:14.825 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003425", "end": "2023-12-19 16:04:26.417197", "rc": 0, "start": "2023-12-19 16:04:26.413772" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.216) 0:00:15.042 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.034) 0:00:15.077 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003507", "end": "2023-12-19 16:04:26.667453", "rc": 0, "start": "2023-12-19 16:04:26.663946" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.215) 0:00:15.293 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.032) 0:00:15.326 ****** 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.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.032) 0:00:15.359 ****** 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.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.059) 0:00:15.418 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.031) 0:00:15.450 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.040) 0:00:15.491 ****** 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.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 16:04:26 +0000 (0:00:00.028) 0:00:15.519 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001864.634415, "block_size": 4096, "blocks": 8, "ctime": 1703001864.5004153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4216325, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703001864.5004153, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 166, "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.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.207) 0:00:15.727 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.028) 0:00:15.756 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.025037", "end": "2023-12-19 16:04:27.363115", "rc": 1, "start": "2023-12-19 16:04:27.338078" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.230) 0:00:15.987 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.028) 0:00:16.015 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003121", "end": "2023-12-19 16:04:27.602767", "rc": 0, "start": "2023-12-19 16:04:27.599646" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.212) 0:00:16.227 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.031) 0:00:16.259 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003057", "end": "2023-12-19 16:04:27.844797", "rc": 0, "start": "2023-12-19 16:04:27.841740" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.209) 0:00:16.469 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.031) 0:00:16.501 ****** 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.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.029) 0:00:16.531 ****** 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.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.029) 0:00:16.560 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:58 Tuesday 19 December 2023 16:04:27 +0000 (0:00:00.028) 0:00:16.589 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:04:28 +0000 (0:00:00.026) 0:00:16.616 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:04:28 +0000 (0:00:00.064) 0:00:16.680 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:04:28 +0000 (0:00:00.033) 0:00:16.713 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:04:28 +0000 (0:00:00.030) 0:00:16.744 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:04:28 +0000 (0:00:00.029) 0:00:16.774 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:04:29 +0000 (0:00:01.608) 0:00:18.383 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:04:31 +0000 (0:00:01.352) 0:00:19.735 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.030) 0:00:19.765 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.029) 0:00:19.795 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.030) 0:00:19.825 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.053) 0:00:19.878 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.029) 0:00:19.908 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.030) 0:00:19.938 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.060) 0:00:19.999 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.030) 0:00:20.029 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.027) 0:00:20.057 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:04:31 +0000 (0:00:00.412) 0:00:20.470 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-145414hj_6xtw/tmp5_m1y3z3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:04:32 +0000 (0:00:00.306) 0:00:20.776 ****** 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": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active) [006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active [008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101' [009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:04:32 +0000 (0:00:00.453) 0:00:21.229 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:04:32 +0000 (0:00:00.030) 0:00:21.260 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:04:32 +0000 (0:00:00.029) 0:00:21.290 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)\n[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active\n[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'\n[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:04:32 +0000 (0:00:00.030) 0:00:21.320 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:04:32 +0000 (0:00:00.030) 0:00:21.350 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:73 Tuesday 19 December 2023 16:04:32 +0000 (0:00:00.218) 0:00:21.569 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 16:04:33 +0000 (0:00:00.048) 0:00:21.618 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 16:04:33 +0000 (0:00:00.027) 0:00:21.645 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 16:04:33 +0000 (0:00:00.026) 0:00:21.672 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 16:04:33 +0000 (0:00:00.063) 0:00:21.736 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 16:04:33 +0000 (0:00:00.039) 0:00:21.776 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003565", "end": "2023-12-19 16:04:33.363853", "rc": 0, "start": "2023-12-19 16:04:33.360288" } STDOUT: bonding_masters eth0 lo lsr101 lsr101.90 peerlsr101 rpltstbr team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 16:04:33 +0000 (0:00:00.212) 0:00:21.989 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 16:04:33 +0000 (0:00:00.029) 0:00:22.018 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101', 'rpltstbr', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 16:04:33 +0000 (0:00:00.028) 0:00:22.046 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 16:04:36 +0000 (0:00:03.027) 0:00:25.073 ****** skipping: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 16:04:36 +0000 (0:00:00.036) 0:00:25.110 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 16:04:36 +0000 (0:00:00.027) 0:00:25.137 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.012356", "end": "2023-12-19 16:04:36.736280", "rc": 0, "start": "2023-12-19 16:04:36.723924" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 16:04:36 +0000 (0:00:00.227) 0:00:25.365 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 16:04:36 +0000 (0:00:00.028) 0:00:25.393 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 16:04:36 +0000 (0:00:00.027) 0:00:25.420 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 16:04:36 +0000 (0:00:00.026) 0:00:25.447 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=88 changed=2 unreachable=0 failed=0 skipped=47 rescued=0 ignored=2 Tuesday 19 December 2023 16:04:36 +0000 (0:00:00.080) 0:00:25.528 ****** =============================================================================== Install iproute --------------------------------------------------------- 3.26s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_vlan_mtu_initscripts.yml:4 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_vlan_mtu.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.71s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface lsr101 -------------------------------------------- 0.65s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable network service -------------- 0.55s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:35 ---- fedora.linux_system_roles.network : Enable network service -------------- 0.41s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Gather the minimum subset of ansible_facts required by the network role test --- 0.35s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:3 --- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.31s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.31s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.30s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:17 -- Create EPEL 8 ----------------------------------------------------------- 0.24s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:8 ----- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---