# 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-weekly-cigz9iu8jv/.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-weekly-cigz9iu8jv/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-weekly-cigz9iu8jv/tests/tests_auto_gateway_initscripts.yml:5 Saturday 20 April 2024 16:29:03 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/tests_auto_gateway_initscripts.yml:8 Saturday 20 April 2024 16:29:05 +0000 (0:00:01.999) 0:00:02.011 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/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-weekly-cigz9iu8jv/tests/tasks/el_repo_setup.yml:3 Saturday 20 April 2024 16:29:05 +0000 (0:00:00.011) 0:00:02.022 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/tasks/el_repo_setup.yml:17 Saturday 20 April 2024 16:29:06 +0000 (0:00:00.435) 0:00:02.457 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/tasks/el_repo_setup.yml:22 Saturday 20 April 2024 16:29:06 +0000 (0:00:00.288) 0:00:02.746 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/tasks/el_repo_setup.yml:26 Saturday 20 April 2024 16:29:06 +0000 (0:00:00.035) 0:00:02.781 ******** 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-weekly-cigz9iu8jv/tests/tasks/el_repo_setup.yml:51 Saturday 20 April 2024 16:29:06 +0000 (0:00:00.010) 0:00:02.792 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/tasks/enable_epel.yml:8 Saturday 20 April 2024 16:29:06 +0000 (0:00:00.028) 0:00:02.820 ******** 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-weekly-cigz9iu8jv/tests/tasks/enable_epel.yml:24 Saturday 20 April 2024 16:29:06 +0000 (0:00:00.282) 0:00:03.103 ******** 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-weekly-cigz9iu8jv/tests/tasks/enable_epel.yml:30 Saturday 20 April 2024 16:29:06 +0000 (0:00:00.009) 0:00:03.112 ******** 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-weekly-cigz9iu8jv/tests/tasks/enable_epel.yml:35 Saturday 20 April 2024 16:29:06 +0000 (0:00:00.008) 0:00:03.120 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.266054", "end": "2024-04-20 16:29:07.288170", "rc": 0, "start": "2024-04-20 16:29:07.022116" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/tasks/enable_epel.yml:40 Saturday 20 April 2024 16:29:07 +0000 (0:00:00.483) 0:00:03.604 ******** 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-weekly-cigz9iu8jv/tests/tests_auto_gateway_initscripts.yml:10 Saturday 20 April 2024 16:29:07 +0000 (0:00:00.015) 0:00:03.619 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:3 Saturday 20 April 2024 16:29:07 +0000 (0:00:00.022) 0:00:03.642 ******** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:9 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.719) 0:00:04.362 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.039) 0:00:04.402 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.020) 0:00:04.422 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003359", "end": "2024-04-20 16:29:08.337139", "rc": 0, "start": "2024-04-20 16:29:08.333780" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.220) 0:00:04.642 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.018) 0:00:04.661 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:11 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.018) 0:00:04.679 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.033) 0:00:04.713 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.016) 0:00:04.729 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.015) 0:00:04.745 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.019) 0:00:04.764 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.020) 0:00:04.785 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003657", "end": "2024-04-20 16:29:08.699986", "rc": 0, "start": "2024-04-20 16:29:08.696329" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.222) 0:00:05.007 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.019) 0:00:05.027 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 20 April 2024 16:29:08 +0000 (0:00:00.018) 0:00:05.045 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 20 April 2024 16:29:12 +0000 (0:00:03.491) 0:00:08.536 ******** 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.023781", "end": "2024-04-20 16:29:12.475062", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-04-20 16:29:12.451281" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004279", "end": "2024-04-20 16:29:12.732391", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-04-20 16:29:12.728112" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004704", "end": "2024-04-20 16:29:12.939815", "item": "ip link set veth0 up", "rc": 0, "start": "2024-04-20 16:29:12.935111" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 20 April 2024 16:29:12 +0000 (0:00:00.711) 0:00:09.248 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.109032", "end": "2024-04-20 16:29:13.268385", "rc": 0, "start": "2024-04-20 16:29:13.159353" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.333) 0:00:09.581 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.021) 0:00:09.603 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.019) 0:00:09.622 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.018) 0:00:09.640 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.017) 0:00:09.658 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:15 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.017) 0:00:09.676 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.033) 0:00:09.709 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.019) 0:00:09.729 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713630552.4644423, "block_size": 4096, "blocks": 0, "ctime": 1713630552.4644423, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21714, "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": 1713630552.4644423, "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-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.221) 0:00:09.950 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:17 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.022) 0:00:09.973 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.018) 0:00:09.992 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/.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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.036) 0:00:10.028 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.030) 0:00:10.059 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.023) 0:00:10.082 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 20 April 2024 16:29:13 +0000 (0:00:00.021) 0:00:10.104 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 20 April 2024 16:29:15 +0000 (0:00:01.735) 0:00:11.839 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 20 April 2024 16:29:17 +0000 (0:00:01.696) 0:00:13.536 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 20 April 2024 16:29:17 +0000 (0:00:00.030) 0:00:13.566 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 20 April 2024 16:29:17 +0000 (0:00:00.028) 0:00:13.595 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 20 April 2024 16:29:17 +0000 (0:00:00.028) 0:00:13.623 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Saturday 20 April 2024 16:29:17 +0000 (0:00:00.034) 0:00:13.658 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Saturday 20 April 2024 16:29:17 +0000 (0:00:00.027) 0:00:13.685 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 20 April 2024 16:29:17 +0000 (0:00:00.060) 0:00:13.746 ******** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } lsrpackages: dhcp-client network-scripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Saturday 20 April 2024 16:29:22 +0000 (0:00:05.198) 0:00:18.944 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 20 April 2024 16:29:22 +0000 (0:00:00.030) 0:00:18.974 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Saturday 20 April 2024 16:29:22 +0000 (0:00:00.029) 0:00:19.003 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Saturday 20 April 2024 16:29:22 +0000 (0:00:00.037) 0:00:19.040 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 20 April 2024 16:29:22 +0000 (0:00:00.030) 0:00:19.071 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 20 April 2024 16:29:22 +0000 (0:00:00.026) 0:00:19.097 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 20 April 2024 16:29:23 +0000 (0:00:00.910) 0:00:20.008 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2474n58543r6/tmpasjhvvqv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Saturday 20 April 2024 16:29:24 +0000 (0:00:00.364) 0:00:20.372 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Saturday 20 April 2024 16:29:30 +0000 (0:00:06.903) 0:00:27.275 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.029) 0:00:27.305 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.029) 0:00:27.334 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.032) 0:00:27.367 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.029) 0:00:27.396 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:42 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.323) 0:00:27.719 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.051) 0:00:27.770 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.069) 0:00:27.840 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713630552.4644423, "block_size": 4096, "blocks": 0, "ctime": 1713630552.4644423, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21714, "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": 1713630552.4644423, "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-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.232) 0:00:28.072 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:44 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.028) 0:00:28.101 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.056) 0:00:28.157 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.042) 0:00:28.199 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 April 2024 16:29:31 +0000 (0:00:00.032) 0:00:28.231 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713630564.672271, "block_size": 4096, "blocks": 8, "ctime": 1713630564.6502712, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5971656, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1713630564.6502712, "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-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 April 2024 16:29:32 +0000 (0:00:00.239) 0:00:28.471 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 April 2024 16:29:32 +0000 (0:00:00.029) 0:00:28.500 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022781", "end": "2024-04-20 16:29:32.437729", "rc": 1, "start": "2024-04-20 16:29:32.414948" } 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-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 April 2024 16:29:32 +0000 (0:00:00.256) 0:00:28.757 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 April 2024 16:29:32 +0000 (0:00:00.039) 0:00:28.796 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003579", "end": "2024-04-20 16:29:32.766705", "rc": 0, "start": "2024-04-20 16:29:32.763126" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 April 2024 16:29:32 +0000 (0:00:00.301) 0:00:29.097 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 April 2024 16:29:32 +0000 (0:00:00.059) 0:00:29.156 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003745", "end": "2024-04-20 16:29:33.076947", "rc": 0, "start": "2024-04-20 16:29:33.073202" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.237) 0:00:29.394 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.032) 0:00:29.426 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.030) 0:00:29.457 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.061) 0:00:29.518 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:48 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.040) 0:00:29.559 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004217", "end": "2024-04-20 16:29:33.498349", "rc": 0, "start": "2024-04-20 16:29:33.494132" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.143 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.43.143 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-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:52 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.270) 0:00:29.830 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:58 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.043) 0:00:29.874 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003998", "end": "2024-04-20 16:29:33.808576", "rc": 0, "start": "2024-04-20 16:29:33.804578" } 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-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:62 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.250) 0:00:30.124 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:69 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.028) 0:00:30.153 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.030) 0:00:30.183 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/.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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 20 April 2024 16:29:33 +0000 (0:00:00.050) 0:00:30.234 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 20 April 2024 16:29:34 +0000 (0:00:00.062) 0:00:30.296 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 20 April 2024 16:29:34 +0000 (0:00:00.048) 0:00:30.345 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 20 April 2024 16:29:34 +0000 (0:00:00.041) 0:00:30.387 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 20 April 2024 16:29:35 +0000 (0:00:01.737) 0:00:32.125 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 20 April 2024 16:29:37 +0000 (0:00:01.516) 0:00:33.641 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.032) 0:00:33.673 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.066) 0:00:33.739 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.036) 0:00:33.776 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.036) 0:00:33.812 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.027) 0:00:33.840 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.040) 0:00:33.880 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.053) 0:00:33.934 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.029) 0:00:33.963 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.029) 0:00:33.993 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.032) 0:00:34.026 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.031) 0:00:34.057 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 20 April 2024 16:29:37 +0000 (0:00:00.029) 0:00:34.087 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 20 April 2024 16:29:38 +0000 (0:00:00.451) 0:00:34.538 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2474n58543r6/tmp9s0nth6k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Saturday 20 April 2024 16:29:38 +0000 (0:00:00.402) 0:00:34.941 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.484) 0:00:35.425 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.033) 0:00:35.458 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.044) 0:00:35.503 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.033) 0:00:35.536 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.031) 0:00:35.568 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:81 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.301) 0:00:35.870 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.056) 0:00:35.926 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.034) 0:00:35.960 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.032) 0:00:35.993 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.056) 0:00:36.049 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 April 2024 16:29:39 +0000 (0:00:00.043) 0:00:36.093 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003688", "end": "2024-04-20 16:29:40.023697", "rc": 0, "start": "2024-04-20 16:29:40.020009" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 April 2024 16:29:40 +0000 (0:00:00.268) 0:00:36.361 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 April 2024 16:29:40 +0000 (0:00:00.055) 0:00:36.416 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 20 April 2024 16:29:40 +0000 (0:00:00.035) 0:00:36.451 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 20 April 2024 16:29:43 +0000 (0:00:03.027) 0:00:39.479 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.039) 0:00:39.518 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.028) 0:00:39.546 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010438", "end": "2024-04-20 16:29:43.470950", "rc": 0, "start": "2024-04-20 16:29:43.460512" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.259) 0:00:39.806 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.039) 0:00:39.846 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.067) 0:00:39.914 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.043) 0:00:39.957 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:85 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.034) 0:00:39.991 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:89 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.036) 0:00:40.027 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.070) 0:00:40.098 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.030) 0:00:40.128 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.032) 0:00:40.161 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.048) 0:00:40.209 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 April 2024 16:29:43 +0000 (0:00:00.045) 0:00:40.254 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003996", "end": "2024-04-20 16:29:44.195646", "rc": 0, "start": "2024-04-20 16:29:44.191650" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 April 2024 16:29:44 +0000 (0:00:00.258) 0:00:40.513 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 April 2024 16:29:44 +0000 (0:00:00.032) 0:00:40.546 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 20 April 2024 16:29:44 +0000 (0:00:00.032) 0:00:40.579 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 20 April 2024 16:29:47 +0000 (0:00:02.972) 0:00:43.551 ******** 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.016450", "end": "2024-04-20 16:29:47.495502", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-04-20 16:29:47.479052" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004440", "end": "2024-04-20 16:29:47.741753", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-04-20 16:29:47.737313" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004672", "end": "2024-04-20 16:29:47.954843", "item": "ip link set veth0 up", "rc": 0, "start": "2024-04-20 16:29:47.950171" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 20 April 2024 16:29:47 +0000 (0:00:00.725) 0:00:44.277 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023995", "end": "2024-04-20 16:29:48.246226", "rc": 0, "start": "2024-04-20 16:29:48.222231" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.287) 0:00:44.565 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.099) 0:00:44.665 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.030) 0:00:44.696 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.037) 0:00:44.733 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.055) 0:00:44.788 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.040) 0:00:44.829 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/.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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.079) 0:00:44.909 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.059) 0:00:44.969 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.035) 0:00:45.004 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 20 April 2024 16:29:48 +0000 (0:00:00.036) 0:00:45.041 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 20 April 2024 16:29:50 +0000 (0:00:01.716) 0:00:46.757 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 20 April 2024 16:29:51 +0000 (0:00:01.528) 0:00:48.286 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.034) 0:00:48.320 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.034) 0:00:48.354 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.030) 0:00:48.385 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.120) 0:00:48.506 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.028) 0:00:48.535 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.034) 0:00:48.570 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.055) 0:00:48.626 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.033) 0:00:48.659 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.035) 0:00:48.695 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.042) 0:00:48.737 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.033) 0:00:48.771 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.028) 0:00:48.799 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 20 April 2024 16:29:52 +0000 (0:00:00.427) 0:00:49.226 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2474n58543r6/tmpsh24hjbn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Saturday 20 April 2024 16:29:53 +0000 (0:00:00.339) 0:00:49.565 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Saturday 20 April 2024 16:29:59 +0000 (0:00:06.583) 0:00:56.149 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Saturday 20 April 2024 16:29:59 +0000 (0:00:00.048) 0:00:56.198 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Saturday 20 April 2024 16:29:59 +0000 (0:00:00.034) 0:00:56.232 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Saturday 20 April 2024 16:29:59 +0000 (0:00:00.034) 0:00:56.267 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 20 April 2024 16:30:00 +0000 (0:00:00.038) 0:00:56.305 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:110 Saturday 20 April 2024 16:30:00 +0000 (0:00:00.263) 0:00:56.569 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 April 2024 16:30:00 +0000 (0:00:00.108) 0:00:56.678 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 April 2024 16:30:00 +0000 (0:00:00.059) 0:00:56.737 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713630587.4830632, "block_size": 4096, "blocks": 0, "ctime": 1713630587.4830632, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22300, "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": 1713630587.4830632, "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-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 April 2024 16:30:00 +0000 (0:00:00.256) 0:00:56.994 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:112 Saturday 20 April 2024 16:30:00 +0000 (0:00:00.061) 0:00:57.056 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 April 2024 16:30:00 +0000 (0:00:00.087) 0:00:57.143 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 April 2024 16:30:00 +0000 (0:00:00.055) 0:00:57.199 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 April 2024 16:30:00 +0000 (0:00:00.042) 0:00:57.242 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713630593.5991273, "block_size": 4096, "blocks": 8, "ctime": 1713630593.5761273, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5971656, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1713630593.5761273, "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-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 April 2024 16:30:01 +0000 (0:00:00.245) 0:00:57.487 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 April 2024 16:30:01 +0000 (0:00:00.035) 0:00:57.523 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022051", "end": "2024-04-20 16:30:01.471399", "rc": 1, "start": "2024-04-20 16:30:01.449348" } 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-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 April 2024 16:30:01 +0000 (0:00:00.272) 0:00:57.795 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 April 2024 16:30:01 +0000 (0:00:00.034) 0:00:57.829 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003845", "end": "2024-04-20 16:30:01.828905", "rc": 0, "start": "2024-04-20 16:30:01.825060" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 April 2024 16:30:01 +0000 (0:00:00.328) 0:00:58.158 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 April 2024 16:30:01 +0000 (0:00:00.076) 0:00:58.234 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003486", "end": "2024-04-20 16:30:02.191944", "rc": 0, "start": "2024-04-20 16:30:02.188458" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 April 2024 16:30:02 +0000 (0:00:00.329) 0:00:58.563 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 April 2024 16:30:02 +0000 (0:00:00.051) 0:00:58.615 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 April 2024 16:30:02 +0000 (0:00:00.070) 0:00:58.686 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 April 2024 16:30:02 +0000 (0:00:00.044) 0:00:58.730 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:116 Saturday 20 April 2024 16:30:02 +0000 (0:00:00.045) 0:00:58.776 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004137", "end": "2024-04-20 16:30:02.719196", "rc": 0, "start": "2024-04-20 16:30:02.715059" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.143 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.143 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-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:120 Saturday 20 April 2024 16:30:02 +0000 (0:00:00.269) 0:00:59.045 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:126 Saturday 20 April 2024 16:30:02 +0000 (0:00:00.034) 0:00:59.079 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004273", "end": "2024-04-20 16:30:02.999259", "rc": 0, "start": "2024-04-20 16:30:02.994986" } 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-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:130 Saturday 20 April 2024 16:30:03 +0000 (0:00:00.255) 0:00:59.335 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:137 Saturday 20 April 2024 16:30:03 +0000 (0:00:00.072) 0:00:59.407 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 20 April 2024 16:30:03 +0000 (0:00:00.056) 0:00:59.463 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/.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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 20 April 2024 16:30:03 +0000 (0:00:00.051) 0:00:59.515 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 20 April 2024 16:30:03 +0000 (0:00:00.042) 0:00:59.557 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 20 April 2024 16:30:03 +0000 (0:00:00.055) 0:00:59.613 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 20 April 2024 16:30:03 +0000 (0:00:00.034) 0:00:59.647 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 20 April 2024 16:30:05 +0000 (0:00:01.759) 0:01:01.406 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 20 April 2024 16:30:06 +0000 (0:00:01.608) 0:01:03.015 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 20 April 2024 16:30:06 +0000 (0:00:00.070) 0:01:03.086 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 20 April 2024 16:30:06 +0000 (0:00:00.042) 0:01:03.128 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 20 April 2024 16:30:06 +0000 (0:00:00.067) 0:01:03.195 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Saturday 20 April 2024 16:30:06 +0000 (0:00:00.053) 0:01:03.249 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Saturday 20 April 2024 16:30:07 +0000 (0:00:00.038) 0:01:03.287 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 20 April 2024 16:30:07 +0000 (0:00:00.037) 0:01:03.325 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Saturday 20 April 2024 16:30:07 +0000 (0:00:00.078) 0:01:03.403 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 20 April 2024 16:30:07 +0000 (0:00:00.049) 0:01:03.453 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Saturday 20 April 2024 16:30:07 +0000 (0:00:00.046) 0:01:03.499 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Saturday 20 April 2024 16:30:07 +0000 (0:00:00.042) 0:01:03.542 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 20 April 2024 16:30:07 +0000 (0:00:00.033) 0:01:03.575 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 20 April 2024 16:30:07 +0000 (0:00:00.037) 0:01:03.612 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 20 April 2024 16:30:07 +0000 (0:00:00.475) 0:01:04.088 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2474n58543r6/tmpcs9wh2p7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Saturday 20 April 2024 16:30:08 +0000 (0:00:00.338) 0:01:04.426 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Saturday 20 April 2024 16:30:08 +0000 (0:00:00.512) 0:01:04.939 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Saturday 20 April 2024 16:30:08 +0000 (0:00:00.053) 0:01:04.992 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Saturday 20 April 2024 16:30:08 +0000 (0:00:00.048) 0:01:05.041 ******** 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-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Saturday 20 April 2024 16:30:08 +0000 (0:00:00.097) 0:01:05.139 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 20 April 2024 16:30:08 +0000 (0:00:00.079) 0:01:05.219 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:149 Saturday 20 April 2024 16:30:09 +0000 (0:00:00.263) 0:01:05.483 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 20 April 2024 16:30:09 +0000 (0:00:00.099) 0:01:05.582 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 20 April 2024 16:30:09 +0000 (0:00:00.056) 0:01:05.638 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 20 April 2024 16:30:09 +0000 (0:00:00.072) 0:01:05.711 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 April 2024 16:30:09 +0000 (0:00:00.054) 0:01:05.766 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 April 2024 16:30:09 +0000 (0:00:00.040) 0:01:05.806 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003613", "end": "2024-04-20 16:30:09.725182", "rc": 0, "start": "2024-04-20 16:30:09.721569" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 April 2024 16:30:09 +0000 (0:00:00.234) 0:01:06.041 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 April 2024 16:30:09 +0000 (0:00:00.030) 0:01:06.072 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 20 April 2024 16:30:09 +0000 (0:00:00.030) 0:01:06.103 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 20 April 2024 16:30:12 +0000 (0:00:02.958) 0:01:09.061 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 20 April 2024 16:30:12 +0000 (0:00:00.037) 0:01:09.099 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 20 April 2024 16:30:12 +0000 (0:00:00.027) 0:01:09.126 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011873", "end": "2024-04-20 16:30:13.051764", "rc": 0, "start": "2024-04-20 16:30:13.039891" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 20 April 2024 16:30:13 +0000 (0:00:00.278) 0:01:09.405 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 20 April 2024 16:30:13 +0000 (0:00:00.029) 0:01:09.434 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 20 April 2024 16:30:13 +0000 (0:00:00.027) 0:01:09.461 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 20 April 2024 16:30:13 +0000 (0:00:00.027) 0:01:09.489 ******** 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-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:153 Saturday 20 April 2024 16:30:13 +0000 (0:00:00.026) 0:01:09.516 ******** included: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 20 April 2024 16:30:13 +0000 (0:00:00.060) 0:01:09.576 ******** 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.010333", "end": "2024-04-20 16:30:13.501913", "rc": 0, "start": "2024-04-20 16:30:13.491580" } 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:cf:47:c1:54:8f brd ff:ff:ff:ff:ff:ff inet 10.31.43.143/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2578sec preferred_lft 2578sec inet6 fe80::ccf:47ff:fec1:548f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.143 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.143 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-weekly-cigz9iu8jv/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 20 April 2024 16:30:13 +0000 (0:00:00.248) 0:01:09.824 ******** 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.340429", "end": "2024-04-20 16:30:14.090845", "rc": 0, "start": "2024-04-20 16:30:13.750416" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1337 0 --:--:-- --:--:-- --:--:-- 1331 % 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 3464 0 --:--:-- --:--:-- --:--:-- 3464 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=101 rescued=0 ignored=2 Saturday 20 April 2024 16:30:14 +0000 (0:00:00.619) 0:01:10.444 ******** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.90s /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.58s /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Install packages -------------------- 5.20s /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Install iproute --------------------------------------------------------- 3.49s /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.97s /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 2.00s /WORKDIR/git-weekly-cigz9iu8jv/tests/tests_auto_gateway_initscripts.yml:5 ----- fedora.linux_system_roles.network : Check which services are running ---- 1.76s /WORKDIR/git-weekly-cigz9iu8jv/.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.74s /WORKDIR/git-weekly-cigz9iu8jv/.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.74s /WORKDIR/git-weekly-cigz9iu8jv/.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.72s /WORKDIR/git-weekly-cigz9iu8jv/.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.70s /WORKDIR/git-weekly-cigz9iu8jv/.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.61s /WORKDIR/git-weekly-cigz9iu8jv/.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.53s /WORKDIR/git-weekly-cigz9iu8jv/.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.52s /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.91s /WORKDIR/git-weekly-cigz9iu8jv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Create veth interface veth0 --------------------------------------------- 0.73s /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tests_auto_gateway.yml:3 ------- Create veth interface veth0 --------------------------------------------- 0.71s /WORKDIR/git-weekly-cigz9iu8jv/tests/playbooks/tasks/manage_test_interface.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---