# 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-fix-templating-warnings8aan3y38/.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-fix-templating-warnings8aan3y38/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-fix-templating-warnings8aan3y38/tests/tests_auto_gateway_initscripts.yml:5 Wednesday 24 July 2024 22:16:55 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 24 July 2024 22:16:56 +0000 (0:00:00.839) 0:00:00.851 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/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-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 22:16:56 +0000 (0:00:00.011) 0:00:00.862 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:17 Wednesday 24 July 2024 22:16:57 +0000 (0:00:00.341) 0:00:01.204 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:22 Wednesday 24 July 2024 22:16:57 +0000 (0:00:00.233) 0:00:01.437 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:26 Wednesday 24 July 2024 22:16:57 +0000 (0:00:00.013) 0:00:01.450 ******** 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-fix-templating-warnings8aan3y38/tests/tasks/el_repo_setup.yml:51 Wednesday 24 July 2024 22:16:57 +0000 (0:00:00.008) 0:00:01.459 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 22:16:57 +0000 (0:00:00.020) 0:00:01.479 ******** 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-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 22:16:57 +0000 (0:00:00.243) 0:00:01.722 ******** 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-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 22:16:57 +0000 (0:00:00.010) 0:00:01.733 ******** 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-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 22:16:57 +0000 (0:00:00.009) 0:00:01.742 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.234297", "end": "2024-07-24 22:16:58.079817", "rc": 0, "start": "2024-07-24 22:16:57.845520" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 22:16:58 +0000 (0:00:00.416) 0:00:02.158 ******** 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-fix-templating-warnings8aan3y38/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 24 July 2024 22:16:58 +0000 (0:00:00.018) 0:00:02.177 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 24 July 2024 22:16:58 +0000 (0:00:00.017) 0:00:02.195 ******** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 24 July 2024 22:16:58 +0000 (0:00:00.642) 0:00:02.837 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:16:58 +0000 (0:00:00.033) 0:00:02.870 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:16:58 +0000 (0:00:00.019) 0:00:02.889 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002845", "end": "2024-07-24 22:16:58.995956", "rc": 0, "start": "2024-07-24 22:16:58.993111" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.183) 0:00:03.073 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.019) 0:00:03.092 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.018) 0:00:03.111 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.037) 0:00:03.149 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.021) 0:00:03.170 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.019) 0:00:03.190 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.031) 0:00:03.221 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.020) 0:00:03.242 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002753", "end": "2024-07-24 22:16:59.352141", "rc": 0, "start": "2024-07-24 22:16:59.349388" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.185) 0:00:03.428 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.018) 0:00:03.446 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 22:16:59 +0000 (0:00:00.017) 0:00:03.464 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 22:17:02 +0000 (0:00:02.934) 0:00:06.398 ******** 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.022040", "end": "2024-07-24 22:17:02.541422", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-24 22:17:02.519382" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003515", "end": "2024-07-24 22:17:02.762372", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-24 22:17:02.758857" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003867", "end": "2024-07-24 22:17:02.939775", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-24 22:17:02.935908" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 22:17:02 +0000 (0:00:00.622) 0:00:07.020 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.035065", "end": "2024-07-24 22:17:03.170283", "rc": 0, "start": "2024-07-24 22:17:03.135218" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.228) 0:00:07.249 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.020) 0:00:07.269 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.019) 0:00:07.288 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.026) 0:00:07.314 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.020) 0:00:07.335 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.018) 0:00:07.353 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.036) 0:00:07.390 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.020) 0:00:07.411 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721859422.5314176, "block_size": 4096, "blocks": 0, "ctime": 1721859422.5314176, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21754, "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": 1721859422.5314176, "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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.196) 0:00:07.607 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.026) 0:00:07.633 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.029) 0:00:07.663 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.034) 0:00:07.697 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.027) 0:00:07.724 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.021) 0:00:07.746 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:17:03 +0000 (0:00:00.019) 0:00:07.765 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:17:05 +0000 (0:00:01.472) 0:00:09.238 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:17:06 +0000 (0:00:01.486) 0:00:10.725 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:17:06 +0000 (0:00:00.030) 0:00:10.756 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:17:06 +0000 (0:00:00.028) 0:00:10.785 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:17:06 +0000 (0:00:00.028) 0:00:10.813 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:17:06 +0000 (0:00:00.027) 0:00:10.841 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:17:06 +0000 (0:00:00.034) 0:00:10.876 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:17:06 +0000 (0:00:00.047) 0:00:10.923 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:17:06 +0000 (0:00:00.033) 0:00:10.957 ******** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:17:10 +0000 (0:00:03.635) 0:00:14.592 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:17:10 +0000 (0:00:00.028) 0:00:14.620 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:17:10 +0000 (0:00:00.029) 0:00:14.650 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:17:10 +0000 (0:00:00.036) 0:00:14.686 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:17:10 +0000 (0:00:00.027) 0:00:14.713 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:17:10 +0000 (0:00:00.027) 0:00:14.741 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:17:11 +0000 (0:00:00.786) 0:00:15.528 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2459wg871egu/tmp9srcbi6m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:17:11 +0000 (0:00:00.289) 0:00:15.817 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:17:18 +0000 (0:00:06.630) 0:00:22.447 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:17:18 +0000 (0:00:00.028) 0:00:22.476 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:17:18 +0000 (0:00:00.040) 0:00:22.517 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:17:18 +0000 (0:00:00.048) 0:00:22.565 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:17:18 +0000 (0:00:00.042) 0:00:22.608 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 24 July 2024 22:17:18 +0000 (0:00:00.371) 0:00:22.980 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:17:19 +0000 (0:00:00.133) 0:00:23.113 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:17:19 +0000 (0:00:00.043) 0:00:23.157 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721859422.5314176, "block_size": 4096, "blocks": 0, "ctime": 1721859422.5314176, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21754, "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": 1721859422.5314176, "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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:17:19 +0000 (0:00:00.212) 0:00:23.369 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 24 July 2024 22:17:19 +0000 (0:00:00.034) 0:00:23.403 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:17:19 +0000 (0:00:00.063) 0:00:23.467 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:17:19 +0000 (0:00:00.047) 0:00:23.514 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:17:19 +0000 (0:00:00.060) 0:00:23.575 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721859432.1627004, "block_size": 4096, "blocks": 8, "ctime": 1721859432.1447005, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301852, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721859432.1447005, "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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:17:19 +0000 (0:00:00.219) 0:00:23.794 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:17:19 +0000 (0:00:00.046) 0:00:23.840 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017687", "end": "2024-07-24 22:17:19.983238", "rc": 1, "start": "2024-07-24 22:17:19.965551" } 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:17:20 +0000 (0:00:00.233) 0:00:24.073 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:17:20 +0000 (0:00:00.029) 0:00:24.103 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003070", "end": "2024-07-24 22:17:20.215261", "rc": 0, "start": "2024-07-24 22:17:20.212191" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:17:20 +0000 (0:00:00.203) 0:00:24.306 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:17:20 +0000 (0:00:00.033) 0:00:24.340 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.004018", "end": "2024-07-24 22:17:21.461192", "rc": 0, "start": "2024-07-24 22:17:20.457174" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:17:21 +0000 (0:00:01.209) 0:00:25.549 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:17:21 +0000 (0:00:00.033) 0:00:25.582 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:17:21 +0000 (0:00:00.062) 0:00:25.645 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:17:21 +0000 (0:00:00.030) 0:00:25.676 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 24 July 2024 22:17:21 +0000 (0:00:00.031) 0:00:25.707 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003415", "end": "2024-07-24 22:17:21.827710", "rc": 0, "start": "2024-07-24 22:17:21.824295" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.238 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.238 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-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 24 July 2024 22:17:21 +0000 (0:00:00.205) 0:00:25.913 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:57 Wednesday 24 July 2024 22:17:21 +0000 (0:00:00.029) 0:00:25.943 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003678", "end": "2024-07-24 22:17:22.062561", "rc": 0, "start": "2024-07-24 22:17:22.058883" } 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-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:61 Wednesday 24 July 2024 22:17:22 +0000 (0:00:00.207) 0:00:26.150 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:67 Wednesday 24 July 2024 22:17:22 +0000 (0:00:00.028) 0:00:26.178 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:17:22 +0000 (0:00:00.032) 0:00:26.211 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:17:22 +0000 (0:00:00.044) 0:00:26.256 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:17:22 +0000 (0:00:00.035) 0:00:26.291 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:17:22 +0000 (0:00:00.037) 0:00:26.329 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:17:22 +0000 (0:00:00.034) 0:00:26.363 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:17:23 +0000 (0:00:01.467) 0:00:27.831 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:17:25 +0000 (0:00:01.309) 0:00:29.140 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.065) 0:00:29.205 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.028) 0:00:29.233 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.037) 0:00:29.271 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.037) 0:00:29.309 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.045) 0:00:29.355 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.037) 0:00:29.393 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.035) 0:00:29.428 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.070) 0:00:29.499 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.029) 0:00:29.528 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.029) 0:00:29.558 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.035) 0:00:29.593 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.031) 0:00:29.625 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.028) 0:00:29.654 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:17:25 +0000 (0:00:00.363) 0:00:30.017 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2459wg871egu/tmpoujucacb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:17:26 +0000 (0:00:00.289) 0:00:30.307 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:17:26 +0000 (0:00:00.407) 0:00:30.714 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:17:26 +0000 (0:00:00.029) 0:00:30.743 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:17:26 +0000 (0:00:00.032) 0:00:30.776 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:17:26 +0000 (0:00:00.032) 0:00:30.809 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:17:26 +0000 (0:00:00.058) 0:00:30.867 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:79 Wednesday 24 July 2024 22:17:27 +0000 (0:00:00.205) 0:00:31.072 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 22:17:27 +0000 (0:00:00.060) 0:00:31.133 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 22:17:27 +0000 (0:00:00.027) 0:00:31.160 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 22:17:27 +0000 (0:00:00.030) 0:00:31.190 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:17:27 +0000 (0:00:00.040) 0:00:31.231 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:17:27 +0000 (0:00:00.038) 0:00:31.269 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002667", "end": "2024-07-24 22:17:27.377470", "rc": 0, "start": "2024-07-24 22:17:27.374803" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:17:27 +0000 (0:00:00.194) 0:00:31.463 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:17:27 +0000 (0:00:00.030) 0:00:31.494 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 22:17:27 +0000 (0:00:00.029) 0:00:31.524 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 22:17:29 +0000 (0:00:02.505) 0:00:34.030 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.040) 0:00:34.071 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.028) 0:00:34.099 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013043", "end": "2024-07-24 22:17:30.233555", "rc": 0, "start": "2024-07-24 22:17:30.220512" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.260) 0:00:34.360 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.033) 0:00:34.393 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.031) 0:00:34.424 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.031) 0:00:34.456 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:83 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.036) 0:00:34.492 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:87 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.031) 0:00:34.523 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.061) 0:00:34.585 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.035) 0:00:34.620 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.027) 0:00:34.648 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.041) 0:00:34.690 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.043) 0:00:34.734 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003119", "end": "2024-07-24 22:17:30.850077", "rc": 0, "start": "2024-07-24 22:17:30.846958" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.207) 0:00:34.941 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.029) 0:00:34.971 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 22:17:30 +0000 (0:00:00.029) 0:00:35.001 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 22:17:33 +0000 (0:00:02.544) 0:00:37.545 ******** 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.010459", "end": "2024-07-24 22:17:33.675224", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-24 22:17:33.664765" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003433", "end": "2024-07-24 22:17:33.900209", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-24 22:17:33.896776" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003640", "end": "2024-07-24 22:17:34.076231", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-24 22:17:34.072591" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.669) 0:00:38.214 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021068", "end": "2024-07-24 22:17:34.350730", "rc": 0, "start": "2024-07-24 22:17:34.329662" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.224) 0:00:38.439 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.031) 0:00:38.471 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.031) 0:00:38.502 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.029) 0:00:38.532 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.029) 0:00:38.562 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.044) 0:00:38.607 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.062) 0:00:38.669 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.036) 0:00:38.705 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.035) 0:00:38.741 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:17:34 +0000 (0:00:00.034) 0:00:38.775 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:17:36 +0000 (0:00:01.505) 0:00:40.281 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:17:37 +0000 (0:00:01.253) 0:00:41.535 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.031) 0:00:41.566 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.065) 0:00:41.631 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.029) 0:00:41.661 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.029) 0:00:41.690 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.038) 0:00:41.729 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.028) 0:00:41.757 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.036) 0:00:41.794 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.054) 0:00:41.849 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.031) 0:00:41.880 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.032) 0:00:41.913 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.042) 0:00:41.955 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.029) 0:00:41.985 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:17:37 +0000 (0:00:00.027) 0:00:42.013 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:17:38 +0000 (0:00:00.371) 0:00:42.384 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2459wg871egu/tmp8xuwqrpm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:17:38 +0000 (0:00:00.326) 0:00:42.711 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:17:45 +0000 (0:00:06.497) 0:00:49.209 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:17:45 +0000 (0:00:00.029) 0:00:49.238 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:17:45 +0000 (0:00:00.031) 0:00:49.270 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:17:45 +0000 (0:00:00.032) 0:00:49.302 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:17:45 +0000 (0:00:00.071) 0:00:49.373 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:108 Wednesday 24 July 2024 22:17:45 +0000 (0:00:00.220) 0:00:49.594 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:17:45 +0000 (0:00:00.073) 0:00:49.668 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:17:45 +0000 (0:00:00.054) 0:00:49.722 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721859453.6683025, "block_size": 4096, "blocks": 0, "ctime": 1721859453.6683025, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22340, "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": 1721859453.6683025, "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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:17:45 +0000 (0:00:00.293) 0:00:50.015 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.064) 0:00:50.079 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.072) 0:00:50.152 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.045) 0:00:50.197 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.029) 0:00:50.227 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721859458.9537609, "block_size": 4096, "blocks": 8, "ctime": 1721859458.9367607, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301852, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721859458.9367607, "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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.208) 0:00:50.435 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.031) 0:00:50.467 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.018194", "end": "2024-07-24 22:17:46.607309", "rc": 1, "start": "2024-07-24 22:17:46.589115" } 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.237) 0:00:50.705 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.082) 0:00:50.787 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002755", "end": "2024-07-24 22:17:46.904175", "rc": 0, "start": "2024-07-24 22:17:46.901420" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.204) 0:00:50.992 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:17:46 +0000 (0:00:00.037) 0:00:51.029 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002812", "end": "2024-07-24 22:17:47.143793", "rc": 0, "start": "2024-07-24 22:17:47.140981" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.201) 0:00:51.231 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.035) 0:00:51.267 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.032) 0:00:51.300 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.032) 0:00:51.332 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:114 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.032) 0:00:51.364 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003341", "end": "2024-07-24 22:17:47.477432", "rc": 0, "start": "2024-07-24 22:17:47.474091" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.238 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.238 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-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:118 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.200) 0:00:51.565 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.033) 0:00:51.599 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003624", "end": "2024-07-24 22:17:47.715446", "rc": 0, "start": "2024-07-24 22:17:47.711822" } 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-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:127 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.206) 0:00:51.805 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:133 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.027) 0:00:51.833 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.030) 0:00:51.864 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/.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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.047) 0:00:51.911 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.035) 0:00:51.946 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.030) 0:00:51.976 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 22:17:47 +0000 (0:00:00.033) 0:00:52.010 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 22:17:49 +0000 (0:00:01.550) 0:00:53.560 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 22:17:50 +0000 (0:00:01.269) 0:00:54.830 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 22:17:50 +0000 (0:00:00.032) 0:00:54.862 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 22:17:50 +0000 (0:00:00.029) 0:00:54.891 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 22:17:50 +0000 (0:00:00.028) 0:00:54.920 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 22:17:50 +0000 (0:00:00.028) 0:00:54.949 ******** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 22:17:50 +0000 (0:00:00.035) 0:00:54.984 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 22:17:50 +0000 (0:00:00.029) 0:00:55.014 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 22:17:50 +0000 (0:00:00.035) 0:00:55.049 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 22:17:51 +0000 (0:00:00.057) 0:00:55.107 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 22:17:51 +0000 (0:00:00.030) 0:00:55.137 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 22:17:51 +0000 (0:00:00.031) 0:00:55.168 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 22:17:51 +0000 (0:00:00.036) 0:00:55.205 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 22:17:51 +0000 (0:00:00.029) 0:00:55.234 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 22:17:51 +0000 (0:00:00.028) 0:00:55.263 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 22:17:51 +0000 (0:00:00.359) 0:00:55.622 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2459wg871egu/tmp6cdpszwh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 22:17:51 +0000 (0:00:00.338) 0:00:55.960 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.412) 0:00:56.373 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.030) 0:00:56.403 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.037) 0:00:56.441 ******** 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-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.043) 0:00:56.484 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.028) 0:00:56.513 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:145 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.206) 0:00:56.720 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.065) 0:00:56.786 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.028) 0:00:56.814 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.033) 0:00:56.848 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.042) 0:00:56.890 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:17:52 +0000 (0:00:00.042) 0:00:56.932 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002781", "end": "2024-07-24 22:17:53.059014", "rc": 0, "start": "2024-07-24 22:17:53.056233" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:17:53 +0000 (0:00:00.212) 0:00:57.145 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:17:53 +0000 (0:00:00.079) 0:00:57.225 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 22:17:53 +0000 (0:00:00.034) 0:00:57.260 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 22:17:55 +0000 (0:00:02.507) 0:00:59.767 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 22:17:55 +0000 (0:00:00.040) 0:00:59.807 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 22:17:55 +0000 (0:00:00.031) 0:00:59.839 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012983", "end": "2024-07-24 22:17:55.968078", "rc": 0, "start": "2024-07-24 22:17:55.955095" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 22:17:56 +0000 (0:00:00.220) 0:01:00.059 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 22:17:56 +0000 (0:00:00.029) 0:01:00.089 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 22:17:56 +0000 (0:00:00.030) 0:01:00.119 ******** 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-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 22:17:56 +0000 (0:00:00.029) 0:01:00.149 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 24 July 2024 22:17:56 +0000 (0:00:00.031) 0:01:00.180 ******** included: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 22:17:56 +0000 (0:00:00.079) 0:01:00.260 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008196", "end": "2024-07-24 22:17:56.391094", "rc": 0, "start": "2024-07-24 22:17:56.382898" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:a7:8a:6b:68:5b brd ff:ff:ff:ff:ff:ff inet 10.31.41.238/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2759sec preferred_lft 2759sec inet6 fe80::ca7:8aff:fe6b:685b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.238 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.238 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 22:17:56 +0000 (0:00:00.220) 0:01:00.480 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.262500", "end": "2024-07-24 22:17:56.863680", "rc": 0, "start": "2024-07-24 22:17:56.601180" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10892 0 --:--:-- --:--:-- --:--:-- 10892 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1399 0 --:--:-- --:--:-- --:--:-- 1399 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Wednesday 24 July 2024 22:17:56 +0000 (0:00:00.506) 0:01:00.986 ******** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.63s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.50s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Install packages -------------------- 3.64s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Install iproute --------------------------------------------------------- 2.93s /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.51s /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.51s /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /WORKDIR/git-fix-templating-warnings8aan3y38/.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.51s /WORKDIR/git-fix-templating-warnings8aan3y38/.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.49s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-fix-templating-warnings8aan3y38/.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.47s /WORKDIR/git-fix-templating-warnings8aan3y38/.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.31s /WORKDIR/git-fix-templating-warnings8aan3y38/.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.27s /WORKDIR/git-fix-templating-warnings8aan3y38/.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.25s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Get the fingerprint comment in ifcfg-veth0 ------------------------------ 1.21s /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/get_profile_stat.yml:62 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-fix-templating-warnings8aan3y38/tests/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Enable network service -------------- 0.79s /WORKDIR/git-fix-templating-warnings8aan3y38/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-fix-templating-warnings8aan3y38/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---