# 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.16el2pk_r4/.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.16el2pk_r4/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.16el2pk_r4/tests/tests_auto_gateway_initscripts.yml:5 Wednesday 20 December 2023 03:49:18 +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.16el2pk_r4/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.856) 0:00:00.868 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 03:49:19 +0000 (0:00:00.012) 0:00:00.880 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:17 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.372) 0:00:01.252 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:22 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.254) 0:00:01.507 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:26 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.014) 0:00:01.521 **** 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.16el2pk_r4/tests/tasks/el_repo_setup.yml:51 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.008) 0:00:01.530 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.026) 0:00:01.556 **** 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.16el2pk_r4/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.254) 0:00:01.811 **** 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.16el2pk_r4/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.009) 0:00:01.821 **** 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.16el2pk_r4/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 03:49:20 +0000 (0:00:00.008) 0:00:01.829 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.250397", "end": "2023-12-20 03:49:21.236566", "rc": 0, "start": "2023-12-20 03:49:20.986169" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 03:49:21 +0000 (0:00:00.444) 0:00:02.274 **** 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.16el2pk_r4/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 20 December 2023 03:49:21 +0000 (0:00:00.009) 0:00:02.283 **** 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 20 December 2023 03:49:21 +0000 (0:00:00.038) 0:00:02.322 **** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.752) 0:00:03.075 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.032) 0:00:03.107 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.019) 0:00:03.127 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003741", "end": "2023-12-20 03:49:22.293667", "rc": 0, "start": "2023-12-20 03:49:22.289926" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.203) 0:00:03.330 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.018) 0:00:03.349 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.018) 0:00:03.367 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.033) 0:00:03.401 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.017) 0:00:03.418 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.016) 0:00:03.434 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.020) 0:00:03.454 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.018) 0:00:03.473 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003626", "end": "2023-12-20 03:49:22.641941", "rc": 0, "start": "2023-12-20 03:49:22.638315" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.205) 0:00:03.679 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.021) 0:00:03.700 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:49:22 +0000 (0:00:00.025) 0:00:03.725 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:49:25 +0000 (0:00:03.283) 0:00:07.009 **** 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.023519", "end": "2023-12-20 03:49:26.196568", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 03:49:26.173049" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004128", "end": "2023-12-20 03:49:26.422664", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 03:49:26.418536" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004507", "end": "2023-12-20 03:49:26.609574", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 03:49:26.605067" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:49:26 +0000 (0:00:00.637) 0:00:07.647 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.052337", "end": "2023-12-20 03:49:26.861117", "rc": 0, "start": "2023-12-20 03:49:26.808780" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:49:26 +0000 (0:00:00.253) 0:00:07.900 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:49:26 +0000 (0:00:00.017) 0:00:07.918 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:49:26 +0000 (0:00:00.017) 0:00:07.936 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:49:26 +0000 (0:00:00.017) 0:00:07.953 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:49:26 +0000 (0:00:00.017) 0:00:07.971 **** 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 20 December 2023 03:49:26 +0000 (0:00:00.017) 0:00:07.988 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.031) 0:00:08.020 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.019) 0:00:08.039 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044166.1850708, "block_size": 4096, "blocks": 0, "ctime": 1703044166.1850708, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21734, "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": 1703044166.1850708, "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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.199) 0:00:08.238 **** 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.020) 0:00:08.259 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.020) 0:00:08.279 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.025) 0:00:08.304 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.019) 0:00:08.324 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.024) 0:00:08.348 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 03:49:27 +0000 (0:00:00.021) 0:00:08.369 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 03:49:29 +0000 (0:00:01.670) 0:00:10.039 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:30 +0000 (0:00:01.542) 0:00:11.582 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:30 +0000 (0:00:00.029) 0:00:11.611 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 03:49:30 +0000 (0:00:00.027) 0:00:11.639 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 03:49:30 +0000 (0:00:00.028) 0:00:11.667 **** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 03:49:35 +0000 (0:00:04.730) 0:00:16.398 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.029) 0:00:16.428 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.050) 0:00:16.478 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.038) 0:00:16.516 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.031) 0:00:16.548 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 03:49:35 +0000 (0:00:00.043) 0:00:16.592 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.908) 0:00:17.500 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2356fb_garb9/tmpj2_44l1f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 03:49:36 +0000 (0:00:00.325) 0:00:17.825 **** 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\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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 03:49:42 +0000 (0:00:05.664) 0:00:23.489 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 03:49:42 +0000 (0:00:00.029) 0:00:23.519 **** 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\\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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 03:49:42 +0000 (0:00:00.032) 0:00:23.551 **** 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\\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\\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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 03:49:42 +0000 (0:00:00.031) 0:00:23.583 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 03:49:42 +0000 (0:00:00.035) 0:00:23.618 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 20 December 2023 03:49:42 +0000 (0:00:00.352) 0:00:23.971 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:49:43 +0000 (0:00:00.053) 0:00:24.025 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:49:43 +0000 (0:00:00.040) 0:00:24.065 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044166.1850708, "block_size": 4096, "blocks": 0, "ctime": 1703044166.1850708, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21734, "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": 1703044166.1850708, "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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:49:43 +0000 (0:00:00.284) 0:00:24.350 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 20 December 2023 03:49:43 +0000 (0:00:00.070) 0:00:24.421 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:49:43 +0000 (0:00:00.060) 0:00:24.481 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:49:43 +0000 (0:00:00.083) 0:00:24.565 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:49:43 +0000 (0:00:00.029) 0:00:24.595 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044177.227416, "block_size": 4096, "blocks": 8, "ctime": 1703044177.2064166, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4750457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703044177.2064166, "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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:49:43 +0000 (0:00:00.229) 0:00:24.824 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:49:43 +0000 (0:00:00.032) 0:00:24.857 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022492", "end": "2023-12-20 03:49:44.047968", "rc": 1, "start": "2023-12-20 03:49:44.025476" } 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.237) 0:00:25.095 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.027) 0:00:25.123 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003731", "end": "2023-12-20 03:49:44.295886", "rc": 0, "start": "2023-12-20 03:49:44.292155" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.222) 0:00:25.346 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.035) 0:00:25.381 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003695", "end": "2023-12-20 03:49:44.560190", "rc": 0, "start": "2023-12-20 03:49:44.556495" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.227) 0:00:25.609 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.032) 0:00:25.641 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.032) 0:00:25.673 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.055) 0:00:25.729 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.030) 0:00:25.759 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004333", "end": "2023-12-20 03:49:44.930563", "rc": 0, "start": "2023-12-20 03:49:44.926230" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.250 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.250 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.219) 0:00:25.979 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 20 December 2023 03:49:44 +0000 (0:00:00.030) 0:00:26.009 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004375", "end": "2023-12-20 03:49:45.179079", "rc": 0, "start": "2023-12-20 03:49:45.174704" } 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 20 December 2023 03:49:45 +0000 (0:00:00.217) 0:00:26.227 **** 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 20 December 2023 03:49:45 +0000 (0:00:00.026) 0:00:26.254 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:45 +0000 (0:00:00.028) 0:00:26.282 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:45 +0000 (0:00:00.041) 0:00:26.324 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 03:49:45 +0000 (0:00:00.032) 0:00:26.357 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 03:49:45 +0000 (0:00:00.028) 0:00:26.386 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 03:49:45 +0000 (0:00:00.030) 0:00:26.416 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 03:49:47 +0000 (0:00:01.826) 0:00:28.243 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 03:49:48 +0000 (0:00:01.399) 0:00:29.642 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 03:49:48 +0000 (0:00:00.062) 0:00:29.704 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 03:49:48 +0000 (0:00:00.029) 0:00:29.734 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 03:49:48 +0000 (0:00:00.030) 0:00:29.765 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 03:49:48 +0000 (0:00:00.051) 0:00:29.816 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 03:49:48 +0000 (0:00:00.036) 0:00:29.852 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 03:49:48 +0000 (0:00:00.032) 0:00:29.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 03:49:48 +0000 (0:00:00.035) 0:00:29.920 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 03:49:48 +0000 (0:00:00.029) 0:00:29.950 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 03:49:48 +0000 (0:00:00.026) 0:00:29.976 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 03:49:49 +0000 (0:00:00.394) 0:00:30.371 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2356fb_garb9/tmpb8v7zzv1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 03:49:49 +0000 (0:00:00.326) 0:00:30.697 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.466) 0:00:31.164 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.031) 0:00:31.195 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.031) 0:00:31.227 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.033) 0:00:31.260 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.029) 0:00:31.290 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.249) 0:00:31.540 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.054) 0:00:31.594 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.027) 0:00:31.621 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.027) 0:00:31.649 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.039) 0:00:31.688 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.037) 0:00:31.726 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003789", "end": "2023-12-20 03:49:50.897469", "rc": 0, "start": "2023-12-20 03:49:50.893680" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.221) 0:00:31.947 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.030) 0:00:31.977 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:49:50 +0000 (0:00:00.028) 0:00:32.005 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:49:54 +0000 (0:00:03.115) 0:00:35.121 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.038) 0:00:35.159 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.030) 0:00:35.190 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011890", "end": "2023-12-20 03:49:54.373500", "rc": 0, "start": "2023-12-20 03:49:54.361610" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.238) 0:00:35.428 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.060) 0:00:35.488 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.047) 0:00:35.536 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.034) 0:00:35.570 **** 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.070) 0:00:35.641 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.049) 0:00:35.691 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.072) 0:00:35.763 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.030) 0:00:35.793 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.029) 0:00:35.823 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.045) 0:00:35.868 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:49:54 +0000 (0:00:00.039) 0:00:35.908 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003910", "end": "2023-12-20 03:49:55.080585", "rc": 0, "start": "2023-12-20 03:49:55.076675" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:49:55 +0000 (0:00:00.244) 0:00:36.152 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:49:55 +0000 (0:00:00.045) 0:00:36.197 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:49:55 +0000 (0:00:00.053) 0:00:36.251 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:49:58 +0000 (0:00:03.112) 0:00:39.363 **** 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.007383", "end": "2023-12-20 03:49:58.544499", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-20 03:49:58.537116" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004455", "end": "2023-12-20 03:49:58.836388", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-20 03:49:58.831933" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004875", "end": "2023-12-20 03:49:59.050666", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-20 03:49:59.045791" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.790) 0:00:40.154 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024420", "end": "2023-12-20 03:49:59.355536", "rc": 0, "start": "2023-12-20 03:49:59.331116" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.253) 0:00:40.407 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.029) 0:00:40.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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.043) 0:00:40.480 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.032) 0:00:40.513 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.037) 0:00:40.550 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.029) 0:00:40.579 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.060) 0:00:40.640 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.045) 0:00:40.685 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.033) 0:00:40.718 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 03:49:59 +0000 (0:00:00.031) 0:00:40.750 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 03:50:01 +0000 (0:00:01.820) 0:00:42.570 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 03:50:03 +0000 (0:00:01.463) 0:00:44.034 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 03:50:03 +0000 (0:00:00.135) 0:00:44.169 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 03:50:03 +0000 (0:00:00.063) 0:00:44.232 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 03:50:03 +0000 (0:00:00.114) 0:00:44.347 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 03:50:03 +0000 (0:00:00.125) 0:00:44.473 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 03:50:03 +0000 (0:00:00.053) 0:00:44.527 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 03:50:03 +0000 (0:00:00.059) 0:00:44.586 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 03:50:03 +0000 (0:00:00.048) 0:00:44.635 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 03:50:03 +0000 (0:00:00.034) 0:00:44.669 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 03:50:03 +0000 (0:00:00.035) 0:00:44.705 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 03:50:04 +0000 (0:00:00.419) 0:00:45.124 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2356fb_garb9/tmpscbc9aby" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 03:50:04 +0000 (0:00:00.376) 0:00:45.501 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 03:50:11 +0000 (0:00:06.586) 0:00:52.087 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.037) 0:00:52.124 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.036) 0:00:52.160 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.042) 0:00:52.203 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.032) 0:00:52.236 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.262) 0:00:52.498 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.059) 0:00:52.558 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.042) 0:00:52.600 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044198.541684, "block_size": 4096, "blocks": 0, "ctime": 1703044198.541684, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22320, "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": 1703044198.541684, "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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.229) 0:00:52.830 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.032) 0:00:52.862 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.072) 0:00:52.934 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:50:11 +0000 (0:00:00.053) 0:00:52.988 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:50:12 +0000 (0:00:00.040) 0:00:53.028 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044204.8116076, "block_size": 4096, "blocks": 8, "ctime": 1703044204.7886083, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4750457, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703044204.7886083, "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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:50:12 +0000 (0:00:00.224) 0:00:53.253 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:50:12 +0000 (0:00:00.028) 0:00:53.282 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022264", "end": "2023-12-20 03:50:12.476001", "rc": 1, "start": "2023-12-20 03:50:12.453737" } 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:50:12 +0000 (0:00:00.241) 0:00:53.524 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:50:12 +0000 (0:00:00.058) 0:00:53.583 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003722", "end": "2023-12-20 03:50:12.764070", "rc": 0, "start": "2023-12-20 03:50:12.760348" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:50:12 +0000 (0:00:00.230) 0:00:53.813 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:50:12 +0000 (0:00:00.034) 0:00:53.847 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003976", "end": "2023-12-20 03:50:13.020956", "rc": 0, "start": "2023-12-20 03:50:13.016980" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.225) 0:00:54.072 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.032) 0:00:54.105 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.030) 0:00:54.136 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.031) 0:00:54.167 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.028) 0:00:54.196 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004291", "end": "2023-12-20 03:50:13.369757", "rc": 0, "start": "2023-12-20 03:50:13.365466" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.250 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.250 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.227) 0:00:54.424 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.031) 0:00:54.456 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004460", "end": "2023-12-20 03:50:13.629232", "rc": 0, "start": "2023-12-20 03:50:13.624772" } 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.221) 0:00:54.677 **** 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.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.028) 0:00:54.705 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.035) 0:00:54.741 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.043) 0:00:54.784 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.034) 0:00:54.819 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.030) 0:00:54.850 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 03:50:13 +0000 (0:00:00.072) 0:00:54.922 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 03:50:15 +0000 (0:00:01.798) 0:00:56.720 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 03:50:17 +0000 (0:00:01.496) 0:00:58.217 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 03:50:17 +0000 (0:00:00.064) 0:00:58.281 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 03:50:17 +0000 (0:00:00.035) 0:00:58.316 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 03:50:17 +0000 (0:00:00.061) 0:00:58.378 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 03:50:17 +0000 (0:00:00.088) 0:00:58.466 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 03:50:17 +0000 (0:00:00.042) 0:00:58.508 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 03:50:17 +0000 (0:00:00.055) 0:00:58.563 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 03:50:17 +0000 (0:00:00.080) 0:00:58.644 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 03:50:17 +0000 (0:00:00.066) 0:00:58.710 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 03:50:17 +0000 (0:00:00.039) 0:00:58.749 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 03:50:18 +0000 (0:00:00.450) 0:00:59.200 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2356fb_garb9/tmpvdnheio9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 03:50:18 +0000 (0:00:00.413) 0:00:59.613 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.542) 0:01:00.155 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.051) 0:01:00.207 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.051) 0:01:00.258 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.033) 0:01:00.292 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.031) 0:01:00.323 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.220) 0:01:00.544 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.059) 0:01:00.603 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.031) 0:01:00.635 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.029) 0:01:00.664 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.038) 0:01:00.703 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.037) 0:01:00.740 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003905", "end": "2023-12-20 03:50:19.910382", "rc": 0, "start": "2023-12-20 03:50:19.906477" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:50:19 +0000 (0:00:00.218) 0:01:00.958 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:50:20 +0000 (0:00:00.064) 0:01:01.023 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 03:50:20 +0000 (0:00:00.030) 0:01:01.054 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 20 December 2023 03:50:23 +0000 (0:00:03.133) 0:01:04.188 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 20 December 2023 03:50:23 +0000 (0:00:00.037) 0:01:04.225 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 20 December 2023 03:50:23 +0000 (0:00:00.028) 0:01:04.254 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011042", "end": "2023-12-20 03:50:23.437099", "rc": 0, "start": "2023-12-20 03:50:23.426057" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 20 December 2023 03:50:23 +0000 (0:00:00.234) 0:01:04.488 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 20 December 2023 03:50:23 +0000 (0:00:00.032) 0:01:04.521 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 20 December 2023 03:50:23 +0000 (0:00:00.029) 0:01:04.550 **** 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.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 03:50:23 +0000 (0:00:00.028) 0:01:04.579 **** 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 Wednesday 20 December 2023 03:50:23 +0000 (0:00:00.058) 0:01:04.637 **** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.59s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 5.66s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Install packages -------------------- 4.73s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 3.28s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.13s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.12s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.11s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.82s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.80s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.67s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.50s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.46s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.40s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.91s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 0.79s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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. ---^---^---^---^---^---