# 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.160qav5ktt/.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_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tests_auto_gateway_initscripts.yml:4 Thursday 14 December 2023 17:36:00 +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.160qav5ktt/tests/tests_auto_gateway_initscripts.yml:8 Thursday 14 December 2023 17:36:01 +0000 (0:00:00.845) 0:00:00.856 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/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.160qav5ktt/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:36:01 +0000 (0:00:00.012) 0:00:00.869 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:17 Thursday 14 December 2023 17:36:01 +0000 (0:00:00.393) 0:00:01.263 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:22 Thursday 14 December 2023 17:36:01 +0000 (0:00:00.245) 0:00:01.508 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/el_repo_setup.yml:26 Thursday 14 December 2023 17:36:01 +0000 (0:00:00.013) 0:00:01.522 ***** 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.160qav5ktt/tests/tasks/el_repo_setup.yml:51 Thursday 14 December 2023 17:36:01 +0000 (0:00:00.007) 0:00:01.529 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:36:01 +0000 (0:00:00.019) 0:00:01.549 ***** 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.160qav5ktt/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:36:02 +0000 (0:00:00.245) 0:00:01.795 ***** 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.160qav5ktt/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:36:02 +0000 (0:00:00.008) 0:00:01.803 ***** 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.160qav5ktt/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:36:02 +0000 (0:00:00.007) 0:00:01.811 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243380", "end": "2023-12-14 17:36:02.551340", "rc": 0, "start": "2023-12-14 17:36:02.307960" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:36:02 +0000 (0:00:00.429) 0:00:02.240 ***** 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.160qav5ktt/tests/tests_auto_gateway_initscripts.yml:10 Thursday 14 December 2023 17:36:02 +0000 (0:00:00.008) 0:00:02.249 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:3 Thursday 14 December 2023 17:36:02 +0000 (0:00:00.015) 0:00:02.264 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:9 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.726) 0:00:02.991 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.030) 0:00:03.022 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.017) 0:00:03.039 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003142", "end": "2023-12-14 17:36:03.546760", "rc": 0, "start": "2023-12-14 17:36:03.543618" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.194) 0:00:03.234 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.018) 0:00:03.252 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:11 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.016) 0:00:03.269 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.032) 0:00:03.301 ***** 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.017) 0:00:03.319 ***** 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.018) 0:00:03.338 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.020) 0:00:03.359 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.024) 0:00:03.383 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003309", "end": "2023-12-14 17:36:03.891045", "rc": 0, "start": "2023-12-14 17:36:03.887736" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.195) 0:00:03.578 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.019) 0:00:03.598 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:36:03 +0000 (0:00:00.019) 0:00:03.618 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:36:07 +0000 (0:00:03.240) 0:00:06.858 ***** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.012039", "end": "2023-12-14 17:36:07.377103", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-14 17:36:07.365064" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003687", "end": "2023-12-14 17:36:07.606075", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-14 17:36:07.602388" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004115", "end": "2023-12-14 17:36:07.788783", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-14 17:36:07.784668" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:36:07 +0000 (0:00:00.619) 0:00:07.477 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.308245", "end": "2023-12-14 17:36:08.291166", "rc": 0, "start": "2023-12-14 17:36:07.982921" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.505) 0:00:07.983 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.017) 0:00:08.000 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.023) 0:00:08.023 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.019) 0:00:08.043 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.019) 0:00:08.062 ***** 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.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:15 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.025) 0:00:08.088 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/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.160qav5ktt/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.037) 0:00:08.125 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.019) 0:00:08.145 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575367.375483, "block_size": 4096, "blocks": 0, "ctime": 1702575367.375483, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21753, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1702575367.375483, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.209) 0:00:08.354 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:17 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.020) 0:00:08.375 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.017) 0:00:08.392 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.024) 0:00:08.417 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.019) 0:00:08.437 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.023) 0:00:08.460 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 December 2023 17:36:08 +0000 (0:00:00.020) 0:00:08.480 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 December 2023 17:36:10 +0000 (0:00:01.576) 0:00:10.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 : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 December 2023 17:36:11 +0000 (0:00:01.519) 0:00:11.576 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 December 2023 17:36:11 +0000 (0:00:00.029) 0:00:11.606 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 December 2023 17:36:11 +0000 (0:00:00.028) 0:00:11.635 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 14 December 2023 17:36:11 +0000 (0:00:00.030) 0:00:11.665 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 14 December 2023 17:36:17 +0000 (0:00:05.865) 0:00:17.530 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 14 December 2023 17:36:17 +0000 (0:00:00.029) 0:00:17.560 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 14 December 2023 17:36:17 +0000 (0:00:00.063) 0:00:17.623 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 14 December 2023 17:36:17 +0000 (0:00:00.035) 0:00:17.659 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.028) 0:00:17.687 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.026) 0:00:17.714 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.870) 0:00:18.585 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2337piex5jco/tmpdakws3j1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.310) 0:00:18.896 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 14 December 2023 17:36:25 +0000 (0:00:06.677) 0:00:25.574 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.030) 0:00:25.605 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.051) 0:00:25.656 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.036) 0:00:25.693 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.053) 0:00:25.746 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:42 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.327) 0:00:26.074 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/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.160qav5ktt/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.069) 0:00:26.143 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.046) 0:00:26.189 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575367.375483, "block_size": 4096, "blocks": 0, "ctime": 1702575367.375483, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21753, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1702575367.375483, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.265) 0:00:26.455 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:44 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.030) 0:00:26.485 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/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.160qav5ktt/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.060) 0:00:26.546 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/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.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.045) 0:00:26.591 ***** 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.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.036) 0:00:26.627 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575379.6660137, "block_size": 4096, "blocks": 8, "ctime": 1702575379.6450143, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702575379.6450143, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "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.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.205) 0:00:26.833 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.029) 0:00:26.863 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020672", "end": "2023-12-14 17:36:27.394517", "rc": 1, "start": "2023-12-14 17:36:27.373845" } 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.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.228) 0:00:27.091 ***** 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-veth0] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.028) 0:00:27.119 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002958", "end": "2023-12-14 17:36:27.629800", "rc": 0, "start": "2023-12-14 17:36:27.626842" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.208) 0:00:27.328 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.033) 0:00:27.361 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002960", "end": "2023-12-14 17:36:27.870214", "rc": 0, "start": "2023-12-14 17:36:27.867254" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.207) 0:00:27.569 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.031) 0:00:27.600 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.030) 0:00:27.631 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.053) 0:00:27.685 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:48 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.031) 0:00:27.716 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003464", "end": "2023-12-14 17:36:28.227491", "rc": 0, "start": "2023-12-14 17:36:28.224027" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.3 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.3 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:52 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.208) 0:00:27.925 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:58 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.029) 0:00:27.954 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003527", "end": "2023-12-14 17:36:28.462654", "rc": 0, "start": "2023-12-14 17:36:28.459127" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:62 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.205) 0:00:28.159 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:69 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.027) 0:00:28.187 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.028) 0:00:28.215 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.041) 0:00:28.256 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.032) 0:00:28.289 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.028) 0:00:28.317 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.030) 0:00:28.348 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 December 2023 17:36:30 +0000 (0:00:01.586) 0:00:29.935 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 December 2023 17:36:31 +0000 (0:00:01.360) 0:00:31.295 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.056) 0:00:31.351 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.029) 0:00:31.381 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.037) 0:00:31.418 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.052) 0:00:31.471 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.029) 0:00:31.500 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.031) 0:00:31.532 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.034) 0:00:31.566 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.034) 0:00:31.601 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.029) 0:00:31.630 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 14 December 2023 17:36:32 +0000 (0:00:00.411) 0:00:32.041 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2337piex5jco/tmpcmvxlbf9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 14 December 2023 17:36:32 +0000 (0:00:00.299) 0:00:32.341 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.434) 0:00:32.775 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.031) 0:00:32.807 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.030) 0:00:32.837 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.036) 0:00:32.873 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.035) 0:00:32.909 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:81 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.247) 0:00:33.157 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.059) 0:00:33.216 ***** 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.026) 0:00:33.243 ***** 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.027) 0:00:33.270 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.039) 0:00:33.310 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.039) 0:00:33.350 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003151", "end": "2023-12-14 17:36:33.861686", "rc": 0, "start": "2023-12-14 17:36:33.858535" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.210) 0:00:33.560 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.029) 0:00:33.590 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.029) 0:00:33.619 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:36:36 +0000 (0:00:02.955) 0:00:36.575 ***** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:36:36 +0000 (0:00:00.037) 0:00:36.612 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:36:36 +0000 (0:00:00.029) 0:00:36.642 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012382", "end": "2023-12-14 17:36:37.164329", "rc": 0, "start": "2023-12-14 17:36:37.151947" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.224) 0:00:36.867 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.064) 0:00:36.932 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.029) 0:00:36.961 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.029) 0:00:36.991 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:85 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.028) 0:00:37.019 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:89 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.029) 0:00:37.049 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.059) 0:00:37.108 ***** 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.028) 0:00:37.136 ***** 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.029) 0:00:37.166 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.040) 0:00:37.207 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.038) 0:00:37.245 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003106", "end": "2023-12-14 17:36:37.754227", "rc": 0, "start": "2023-12-14 17:36:37.751121" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.207) 0:00:37.452 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.039) 0:00:37.492 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.031) 0:00:37.523 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:36:40 +0000 (0:00:02.973) 0:00:40.496 ***** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.011392", "end": "2023-12-14 17:36:41.031043", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-14 17:36:41.019651" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003694", "end": "2023-12-14 17:36:41.268484", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-14 17:36:41.264790" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004153", "end": "2023-12-14 17:36:41.451050", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-14 17:36:41.446897" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.682) 0:00:41.179 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022234", "end": "2023-12-14 17:36:41.709296", "rc": 0, "start": "2023-12-14 17:36:41.687062" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.229) 0:00:41.408 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.028) 0:00:41.437 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.028) 0:00:41.466 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.028) 0:00:41.495 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.030) 0:00:41.525 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.034) 0:00:41.559 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.043) 0:00:41.603 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.035) 0:00:41.638 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.032) 0:00:41.671 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 December 2023 17:36:42 +0000 (0:00:00.029) 0:00:41.701 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 December 2023 17:36:43 +0000 (0:00:01.571) 0:00:43.272 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 December 2023 17:36:44 +0000 (0:00:01.353) 0:00:44.625 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.062) 0:00:44.688 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.031) 0:00:44.720 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.038) 0:00:44.758 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.058) 0:00:44.817 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.032) 0:00:44.849 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.035) 0:00:44.885 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.049) 0:00:44.934 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.041) 0:00:44.976 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.030) 0:00:45.007 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.392) 0:00:45.399 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2337piex5jco/tmpacvy9xp5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.333) 0:00:45.732 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 14 December 2023 17:36:52 +0000 (0:00:06.514) 0:00:52.247 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.033) 0:00:52.280 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.030) 0:00:52.311 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.032) 0:00:52.343 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.032) 0:00:52.376 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:110 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.260) 0:00:52.636 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/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.160qav5ktt/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.069) 0:00:52.705 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.117) 0:00:52.823 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575401.0231118, "block_size": 4096, "blocks": 0, "ctime": 1702575401.0231118, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1702575401.0231118, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.234) 0:00:53.057 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:112 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.061) 0:00:53.119 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/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.160qav5ktt/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.074) 0:00:53.194 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/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.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.042) 0:00:53.237 ***** 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.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.031) 0:00:53.268 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575406.3461664, "block_size": 4096, "blocks": 8, "ctime": 1702575406.325167, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702575406.325167, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "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.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.213) 0:00:53.482 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.033) 0:00:53.516 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020839", "end": "2023-12-14 17:36:54.044526", "rc": 1, "start": "2023-12-14 17:36:54.023687" } 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.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.226) 0:00:53.743 ***** 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-veth0] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.070) 0:00:53.814 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003065", "end": "2023-12-14 17:36:54.330705", "rc": 0, "start": "2023-12-14 17:36:54.327640" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.222) 0:00:54.036 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.040) 0:00:54.076 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003148", "end": "2023-12-14 17:36:54.601806", "rc": 0, "start": "2023-12-14 17:36:54.598658" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.224) 0:00:54.301 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.033) 0:00:54.334 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.031) 0:00:54.366 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.032) 0:00:54.398 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:116 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.029) 0:00:54.428 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003635", "end": "2023-12-14 17:36:54.936645", "rc": 0, "start": "2023-12-14 17:36:54.933010" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.3 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.3 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:120 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.206) 0:00:54.635 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:126 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.039) 0:00:54.674 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003537", "end": "2023-12-14 17:36:55.183648", "rc": 0, "start": "2023-12-14 17:36:55.180111" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:130 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.207) 0:00:54.881 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:137 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.029) 0:00:54.910 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.032) 0:00:54.943 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.044) 0:00:54.987 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.038) 0:00:55.026 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.034) 0:00:55.060 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.086) 0:00:55.146 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 December 2023 17:36:57 +0000 (0:00:01.572) 0:00:56.719 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 December 2023 17:36:58 +0000 (0:00:01.342) 0:00:58.062 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.032) 0:00:58.094 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.030) 0:00:58.125 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.032) 0:00:58.158 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.059) 0:00:58.217 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.036) 0:00:58.254 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.032) 0:00:58.287 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.034) 0:00:58.321 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.029) 0:00:58.351 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.029) 0:00:58.380 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.386) 0:00:58.767 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2337piex5jco/tmpmmn6ctaf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.304) 0:00:59.071 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.519) 0:00:59.590 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.032) 0:00:59.623 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.036) 0:00:59.660 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.033) 0:00:59.693 ***** 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.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.034) 0:00:59.728 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:149 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.218) 0:00:59.947 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.058) 0:01:00.005 ***** 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.028) 0:01:00.034 ***** 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.028) 0:01:00.062 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.040) 0:01:00.102 ***** included: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.039) 0:01:00.142 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2023-12-14 17:37:00.652175", "rc": 0, "start": "2023-12-14 17:37:00.648919" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.211) 0:01:00.353 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.072) 0:01:00.425 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.030) 0:01:00.455 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 14 December 2023 17:37:03 +0000 (0:00:02.964) 0:01:03.420 ***** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 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.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 14 December 2023 17:37:03 +0000 (0:00:00.036) 0:01:03.456 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 14 December 2023 17:37:03 +0000 (0:00:00.027) 0:01:03.484 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008774", "end": "2023-12-14 17:37:03.999370", "rc": 0, "start": "2023-12-14 17:37:03.990596" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.218) 0:01:03.702 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.031) 0:01:03.734 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.033) 0:01:03.767 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.034) 0:01:03.802 ***** 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=138 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.068) 0:01:03.871 ***** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.68s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.51s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Install packages -------------------- 5.87s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 3.24s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.97s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.58s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.57s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.57s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.52s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.36s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.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.160qav5ktt/.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.34s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.87s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/tests_auto_gateway_initscripts.yml:4 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-ansible-lint-test-2.160qav5ktt/tests/playbooks/tasks/manage_test_interface.yml:23 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---