# 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-cipbkwxtun/.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-cipbkwxtun/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-cipbkwxtun/tests/tests_auto_gateway_initscripts.yml:5 Saturday 30 March 2024 15:03:56 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cipbkwxtun/tests/tests_auto_gateway_initscripts.yml:8 Saturday 30 March 2024 15:03:57 +0000 (0:00:01.171) 0:00:01.184 ******** included: /WORKDIR/git-weekly-cipbkwxtun/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-cipbkwxtun/tests/tasks/el_repo_setup.yml:3 Saturday 30 March 2024 15:03:57 +0000 (0:00:00.011) 0:00:01.196 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/tasks/el_repo_setup.yml:17 Saturday 30 March 2024 15:03:57 +0000 (0:00:00.426) 0:00:01.623 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/tasks/el_repo_setup.yml:22 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.291) 0:00:01.914 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/tasks/el_repo_setup.yml:26 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.017) 0:00:01.931 ******** 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-cipbkwxtun/tests/tasks/el_repo_setup.yml:51 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.016) 0:00:01.948 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/tasks/enable_epel.yml:8 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.022) 0:00:01.970 ******** 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-cipbkwxtun/tests/tasks/enable_epel.yml:24 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.276) 0:00:02.247 ******** 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-cipbkwxtun/tests/tasks/enable_epel.yml:30 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.010) 0:00:02.257 ******** 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-cipbkwxtun/tests/tasks/enable_epel.yml:35 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.009) 0:00:02.267 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.267738", "end": "2024-03-30 15:03:58.883127", "rc": 0, "start": "2024-03-30 15:03:58.615389" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/tasks/enable_epel.yml:40 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.480) 0:00:02.747 ******** 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-cipbkwxtun/tests/tests_auto_gateway_initscripts.yml:10 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.009) 0:00:02.757 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:3 Saturday 30 March 2024 15:03:58 +0000 (0:00:00.016) 0:00:02.773 ******** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:9 Saturday 30 March 2024 15:03:59 +0000 (0:00:00.670) 0:00:03.444 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 30 March 2024 15:03:59 +0000 (0:00:00.034) 0:00:03.478 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 March 2024 15:03:59 +0000 (0:00:00.022) 0:00:03.500 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003653", "end": "2024-03-30 15:03:59.858123", "rc": 0, "start": "2024-03-30 15:03:59.854470" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 March 2024 15:03:59 +0000 (0:00:00.221) 0:00:03.722 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 30 March 2024 15:03:59 +0000 (0:00:00.023) 0:00:03.746 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:11 Saturday 30 March 2024 15:03:59 +0000 (0:00:00.021) 0:00:03.767 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 30 March 2024 15:03:59 +0000 (0:00:00.037) 0:00:03.805 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 30 March 2024 15:03:59 +0000 (0:00:00.020) 0:00:03.825 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 30 March 2024 15:03:59 +0000 (0:00:00.017) 0:00:03.843 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 30 March 2024 15:04:00 +0000 (0:00:00.023) 0:00:03.866 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 March 2024 15:04:00 +0000 (0:00:00.024) 0:00:03.891 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003710", "end": "2024-03-30 15:04:00.250794", "rc": 0, "start": "2024-03-30 15:04:00.247084" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 March 2024 15:04:00 +0000 (0:00:00.223) 0:00:04.114 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 30 March 2024 15:04:00 +0000 (0:00:00.019) 0:00:04.134 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 30 March 2024 15:04:00 +0000 (0:00:00.019) 0:00:04.153 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 30 March 2024 15:04:03 +0000 (0:00:03.217) 0:00:07.371 ******** 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.022088", "end": "2024-03-30 15:04:03.760914", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-30 15:04:03.738826" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004581", "end": "2024-03-30 15:04:04.014159", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-30 15:04:04.009578" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004766", "end": "2024-03-30 15:04:04.226411", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-30 15:04:04.221645" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 30 March 2024 15:04:04 +0000 (0:00:00.738) 0:00:08.109 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.108177", "end": "2024-03-30 15:04:04.600183", "rc": 0, "start": "2024-03-30 15:04:04.492006" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 30 March 2024 15:04:04 +0000 (0:00:00.360) 0:00:08.470 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 30 March 2024 15:04:04 +0000 (0:00:00.019) 0:00:08.490 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 30 March 2024 15:04:04 +0000 (0:00:00.028) 0:00:08.518 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 30 March 2024 15:04:04 +0000 (0:00:00.018) 0:00:08.537 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 30 March 2024 15:04:04 +0000 (0:00:00.020) 0:00:08.557 ******** 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-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:15 Saturday 30 March 2024 15:04:04 +0000 (0:00:00.034) 0:00:08.592 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 30 March 2024 15:04:04 +0000 (0:00:00.048) 0:00:08.640 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 March 2024 15:04:04 +0000 (0:00:00.024) 0:00:08.665 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711811043.7507126, "block_size": 4096, "blocks": 0, "ctime": 1711811043.7507126, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21792, "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": 1711811043.7507126, "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-cipbkwxtun/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 30 March 2024 15:04:05 +0000 (0:00:00.222) 0:00:08.888 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:17 Saturday 30 March 2024 15:04:05 +0000 (0:00:00.020) 0:00:08.908 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 March 2024 15:04:05 +0000 (0:00:00.019) 0:00:08.927 ******** included: /WORKDIR/git-weekly-cipbkwxtun/.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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 March 2024 15:04:05 +0000 (0:00:00.027) 0:00:08.954 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 March 2024 15:04:05 +0000 (0:00:00.023) 0:00:08.978 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 March 2024 15:04:05 +0000 (0:00:00.024) 0:00:09.002 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 March 2024 15:04:05 +0000 (0:00:00.029) 0:00:09.032 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 March 2024 15:04:06 +0000 (0:00:01.742) 0:00:10.774 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 March 2024 15:04:08 +0000 (0:00:01.672) 0:00:12.447 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 March 2024 15:04:08 +0000 (0:00:00.032) 0:00:12.479 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 March 2024 15:04:08 +0000 (0:00:00.030) 0:00:12.509 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 March 2024 15:04:08 +0000 (0:00:00.031) 0:00:12.541 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Saturday 30 March 2024 15:04:08 +0000 (0:00:00.037) 0:00:12.579 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Saturday 30 March 2024 15:04:08 +0000 (0:00:00.028) 0:00:12.608 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 30 March 2024 15:04:08 +0000 (0:00:00.058) 0:00:12.666 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Saturday 30 March 2024 15:04:13 +0000 (0:00:04.777) 0:00:17.443 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 March 2024 15:04:13 +0000 (0:00:00.032) 0:00:17.476 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Saturday 30 March 2024 15:04:13 +0000 (0:00:00.032) 0:00:17.509 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Saturday 30 March 2024 15:04:13 +0000 (0:00:00.039) 0:00:17.548 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 March 2024 15:04:13 +0000 (0:00:00.040) 0:00:17.588 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 30 March 2024 15:04:13 +0000 (0:00:00.032) 0:00:17.621 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 30 March 2024 15:04:14 +0000 (0:00:00.978) 0:00:18.599 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2627oizkjax7/tmphjjcmgpn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Saturday 30 March 2024 15:04:15 +0000 (0:00:00.336) 0:00:18.936 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Saturday 30 March 2024 15:04:22 +0000 (0:00:06.947) 0:00:25.883 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Saturday 30 March 2024 15:04:22 +0000 (0:00:00.034) 0:00:25.918 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Saturday 30 March 2024 15:04:22 +0000 (0:00:00.053) 0:00:25.972 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Saturday 30 March 2024 15:04:22 +0000 (0:00:00.076) 0:00:26.048 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 March 2024 15:04:22 +0000 (0:00:00.037) 0:00:26.085 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:42 Saturday 30 March 2024 15:04:22 +0000 (0:00:00.395) 0:00:26.480 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 30 March 2024 15:04:22 +0000 (0:00:00.064) 0:00:26.545 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 March 2024 15:04:22 +0000 (0:00:00.075) 0:00:26.621 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711811043.7507126, "block_size": 4096, "blocks": 0, "ctime": 1711811043.7507126, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21792, "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": 1711811043.7507126, "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-cipbkwxtun/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 30 March 2024 15:04:23 +0000 (0:00:00.274) 0:00:26.895 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:44 Saturday 30 March 2024 15:04:23 +0000 (0:00:00.068) 0:00:26.963 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 March 2024 15:04:23 +0000 (0:00:00.085) 0:00:27.049 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 March 2024 15:04:23 +0000 (0:00:00.059) 0:00:27.108 ******** 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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 March 2024 15:04:23 +0000 (0:00:00.038) 0:00:27.147 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711811055.7110386, "block_size": 4096, "blocks": 8, "ctime": 1711811055.6880386, "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": 1711811055.6880386, "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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 March 2024 15:04:23 +0000 (0:00:00.276) 0:00:27.423 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 March 2024 15:04:23 +0000 (0:00:00.061) 0:00:27.484 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023085", "end": "2024-03-30 15:04:23.886023", "rc": 1, "start": "2024-03-30 15:04:23.862938" } 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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 March 2024 15:04:23 +0000 (0:00:00.278) 0:00:27.763 ******** 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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 March 2024 15:04:23 +0000 (0:00:00.038) 0:00:27.801 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003592", "end": "2024-03-30 15:04:24.209456", "rc": 0, "start": "2024-03-30 15:04:24.205864" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 March 2024 15:04:24 +0000 (0:00:00.284) 0:00:28.086 ******** 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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 March 2024 15:04:24 +0000 (0:00:00.035) 0:00:28.121 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003475", "end": "2024-03-30 15:04:24.482591", "rc": 0, "start": "2024-03-30 15:04:24.479116" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 March 2024 15:04:24 +0000 (0:00:00.238) 0:00:28.360 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 March 2024 15:04:24 +0000 (0:00:00.070) 0:00:28.431 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 March 2024 15:04:24 +0000 (0:00:00.063) 0:00:28.494 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 March 2024 15:04:24 +0000 (0:00:00.083) 0:00:28.577 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:48 Saturday 30 March 2024 15:04:24 +0000 (0:00:00.032) 0:00:28.610 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004218", "end": "2024-03-30 15:04:24.969168", "rc": 0, "start": "2024-03-30 15:04:24.964950" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.211 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.211 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-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:52 Saturday 30 March 2024 15:04:25 +0000 (0:00:00.243) 0:00:28.853 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:58 Saturday 30 March 2024 15:04:25 +0000 (0:00:00.034) 0:00:28.887 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004186", "end": "2024-03-30 15:04:25.255267", "rc": 0, "start": "2024-03-30 15:04:25.251081" } 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-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:62 Saturday 30 March 2024 15:04:25 +0000 (0:00:00.243) 0:00:29.131 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:69 Saturday 30 March 2024 15:04:25 +0000 (0:00:00.046) 0:00:29.177 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 March 2024 15:04:25 +0000 (0:00:00.053) 0:00:29.231 ******** included: /WORKDIR/git-weekly-cipbkwxtun/.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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 March 2024 15:04:25 +0000 (0:00:00.052) 0:00:29.283 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 March 2024 15:04:25 +0000 (0:00:00.035) 0:00:29.318 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 March 2024 15:04:25 +0000 (0:00:00.035) 0:00:29.354 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 March 2024 15:04:25 +0000 (0:00:00.031) 0:00:29.385 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 March 2024 15:04:27 +0000 (0:00:01.744) 0:00:31.130 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 March 2024 15:04:28 +0000 (0:00:01.482) 0:00:32.612 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 March 2024 15:04:28 +0000 (0:00:00.034) 0:00:32.646 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 March 2024 15:04:28 +0000 (0:00:00.037) 0:00:32.684 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 March 2024 15:04:28 +0000 (0:00:00.112) 0:00:32.796 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Saturday 30 March 2024 15:04:28 +0000 (0:00:00.042) 0:00:32.839 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Saturday 30 March 2024 15:04:29 +0000 (0:00:00.031) 0:00:32.871 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 30 March 2024 15:04:29 +0000 (0:00:00.038) 0:00:32.910 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Saturday 30 March 2024 15:04:29 +0000 (0:00:00.074) 0:00:32.985 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 March 2024 15:04:29 +0000 (0:00:00.041) 0:00:33.026 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Saturday 30 March 2024 15:04:29 +0000 (0:00:00.037) 0:00:33.064 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Saturday 30 March 2024 15:04:29 +0000 (0:00:00.077) 0:00:33.141 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 March 2024 15:04:29 +0000 (0:00:00.038) 0:00:33.179 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 30 March 2024 15:04:29 +0000 (0:00:00.041) 0:00:33.220 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 30 March 2024 15:04:29 +0000 (0:00:00.448) 0:00:33.669 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2627oizkjax7/tmpqtq3j7re" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Saturday 30 March 2024 15:04:30 +0000 (0:00:00.348) 0:00:34.018 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Saturday 30 March 2024 15:04:30 +0000 (0:00:00.475) 0:00:34.494 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Saturday 30 March 2024 15:04:30 +0000 (0:00:00.031) 0:00:34.526 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Saturday 30 March 2024 15:04:30 +0000 (0:00:00.031) 0:00:34.558 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Saturday 30 March 2024 15:04:30 +0000 (0:00:00.034) 0:00:34.592 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 March 2024 15:04:30 +0000 (0:00:00.034) 0:00:34.626 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:81 Saturday 30 March 2024 15:04:31 +0000 (0:00:00.278) 0:00:34.904 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 30 March 2024 15:04:31 +0000 (0:00:00.057) 0:00:34.962 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 30 March 2024 15:04:31 +0000 (0:00:00.029) 0:00:34.991 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 30 March 2024 15:04:31 +0000 (0:00:00.028) 0:00:35.020 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 30 March 2024 15:04:31 +0000 (0:00:00.043) 0:00:35.063 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 March 2024 15:04:31 +0000 (0:00:00.039) 0:00:35.103 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003884", "end": "2024-03-30 15:04:31.463219", "rc": 0, "start": "2024-03-30 15:04:31.459335" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 March 2024 15:04:31 +0000 (0:00:00.235) 0:00:35.339 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 30 March 2024 15:04:31 +0000 (0:00:00.043) 0:00:35.382 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 30 March 2024 15:04:31 +0000 (0:00:00.045) 0:00:35.428 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 30 March 2024 15:04:34 +0000 (0:00:02.946) 0:00:38.374 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 30 March 2024 15:04:34 +0000 (0:00:00.051) 0:00:38.426 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 30 March 2024 15:04:34 +0000 (0:00:00.054) 0:00:38.481 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015828", "end": "2024-03-30 15:04:34.861964", "rc": 0, "start": "2024-03-30 15:04:34.846136" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 30 March 2024 15:04:34 +0000 (0:00:00.258) 0:00:38.739 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 30 March 2024 15:04:34 +0000 (0:00:00.031) 0:00:38.771 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 30 March 2024 15:04:34 +0000 (0:00:00.034) 0:00:38.805 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.122) 0:00:38.927 ******** 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-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:85 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.034) 0:00:38.962 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:89 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.030) 0:00:38.992 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.062) 0:00:39.055 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.037) 0:00:39.092 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.033) 0:00:39.126 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.047) 0:00:39.173 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.064) 0:00:39.238 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003982", "end": "2024-03-30 15:04:35.631702", "rc": 0, "start": "2024-03-30 15:04:35.627720" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.295) 0:00:39.534 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.042) 0:00:39.577 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 30 March 2024 15:04:35 +0000 (0:00:00.030) 0:00:39.608 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 30 March 2024 15:04:38 +0000 (0:00:02.963) 0:00:42.571 ******** 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.006904", "end": "2024-03-30 15:04:38.941092", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-30 15:04:38.934188" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004515", "end": "2024-03-30 15:04:39.194015", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-30 15:04:39.189500" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004700", "end": "2024-03-30 15:04:39.413945", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-30 15:04:39.409245" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 30 March 2024 15:04:39 +0000 (0:00:00.719) 0:00:43.291 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023728", "end": "2024-03-30 15:04:39.675078", "rc": 0, "start": "2024-03-30 15:04:39.651350" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 30 March 2024 15:04:39 +0000 (0:00:00.259) 0:00:43.551 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 30 March 2024 15:04:39 +0000 (0:00:00.108) 0:00:43.660 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 30 March 2024 15:04:39 +0000 (0:00:00.032) 0:00:43.692 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 30 March 2024 15:04:39 +0000 (0:00:00.032) 0:00:43.724 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 30 March 2024 15:04:39 +0000 (0:00:00.031) 0:00:43.755 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 March 2024 15:04:39 +0000 (0:00:00.029) 0:00:43.785 ******** included: /WORKDIR/git-weekly-cipbkwxtun/.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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 March 2024 15:04:39 +0000 (0:00:00.046) 0:00:43.831 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 March 2024 15:04:40 +0000 (0:00:00.034) 0:00:43.866 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 March 2024 15:04:40 +0000 (0:00:00.036) 0:00:43.903 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 March 2024 15:04:40 +0000 (0:00:00.033) 0:00:43.936 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 March 2024 15:04:41 +0000 (0:00:01.743) 0:00:45.680 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 March 2024 15:04:43 +0000 (0:00:01.560) 0:00:47.241 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 March 2024 15:04:43 +0000 (0:00:00.098) 0:00:47.339 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 March 2024 15:04:43 +0000 (0:00:00.056) 0:00:47.396 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 March 2024 15:04:43 +0000 (0:00:00.064) 0:00:47.461 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Saturday 30 March 2024 15:04:43 +0000 (0:00:00.156) 0:00:47.618 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Saturday 30 March 2024 15:04:43 +0000 (0:00:00.049) 0:00:47.667 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 30 March 2024 15:04:43 +0000 (0:00:00.050) 0:00:47.717 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Saturday 30 March 2024 15:04:43 +0000 (0:00:00.077) 0:00:47.795 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 March 2024 15:04:44 +0000 (0:00:00.055) 0:00:47.851 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Saturday 30 March 2024 15:04:44 +0000 (0:00:00.059) 0:00:47.911 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Saturday 30 March 2024 15:04:44 +0000 (0:00:00.039) 0:00:47.951 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 March 2024 15:04:44 +0000 (0:00:00.040) 0:00:47.991 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 30 March 2024 15:04:44 +0000 (0:00:00.048) 0:00:48.039 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 30 March 2024 15:04:44 +0000 (0:00:00.503) 0:00:48.543 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2627oizkjax7/tmpn44gem9q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Saturday 30 March 2024 15:04:45 +0000 (0:00:00.360) 0:00:48.903 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Saturday 30 March 2024 15:04:51 +0000 (0:00:06.564) 0:00:55.468 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Saturday 30 March 2024 15:04:51 +0000 (0:00:00.034) 0:00:55.503 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Saturday 30 March 2024 15:04:51 +0000 (0:00:00.034) 0:00:55.538 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Saturday 30 March 2024 15:04:51 +0000 (0:00:00.037) 0:00:55.575 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 March 2024 15:04:51 +0000 (0:00:00.032) 0:00:55.607 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:110 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.265) 0:00:55.873 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.122) 0:00:55.995 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.042) 0:00:56.038 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711811078.938337, "block_size": 4096, "blocks": 0, "ctime": 1711811078.938337, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22378, "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": 1711811078.938337, "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-cipbkwxtun/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.242) 0:00:56.280 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:112 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.036) 0:00:56.317 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.076) 0:00:56.393 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.045) 0:00:56.439 ******** 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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.030) 0:00:56.469 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1711811085.388176, "block_size": 4096, "blocks": 8, "ctime": 1711811085.366176, "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": 1711811085.366176, "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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.236) 0:00:56.705 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 March 2024 15:04:52 +0000 (0:00:00.032) 0:00:56.738 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021717", "end": "2024-03-30 15:04:53.119747", "rc": 1, "start": "2024-03-30 15:04:53.098030" } 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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 March 2024 15:04:53 +0000 (0:00:00.256) 0:00:56.995 ******** 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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 March 2024 15:04:53 +0000 (0:00:00.053) 0:00:57.048 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003649", "end": "2024-03-30 15:04:53.410586", "rc": 0, "start": "2024-03-30 15:04:53.406937" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 March 2024 15:04:53 +0000 (0:00:00.235) 0:00:57.284 ******** 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-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 March 2024 15:04:53 +0000 (0:00:00.035) 0:00:57.319 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003716", "end": "2024-03-30 15:04:53.683148", "rc": 0, "start": "2024-03-30 15:04:53.679432" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 March 2024 15:04:53 +0000 (0:00:00.292) 0:00:57.612 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 March 2024 15:04:53 +0000 (0:00:00.044) 0:00:57.656 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 March 2024 15:04:53 +0000 (0:00:00.043) 0:00:57.700 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 March 2024 15:04:53 +0000 (0:00:00.034) 0:00:57.735 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:116 Saturday 30 March 2024 15:04:53 +0000 (0:00:00.041) 0:00:57.777 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004155", "end": "2024-03-30 15:04:54.144340", "rc": 0, "start": "2024-03-30 15:04:54.140185" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.211 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.211 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-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:120 Saturday 30 March 2024 15:04:54 +0000 (0:00:00.253) 0:00:58.030 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:126 Saturday 30 March 2024 15:04:54 +0000 (0:00:00.048) 0:00:58.078 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004413", "end": "2024-03-30 15:04:54.469438", "rc": 0, "start": "2024-03-30 15:04:54.465025" } 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-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:130 Saturday 30 March 2024 15:04:54 +0000 (0:00:00.282) 0:00:58.361 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:137 Saturday 30 March 2024 15:04:54 +0000 (0:00:00.036) 0:00:58.397 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 March 2024 15:04:54 +0000 (0:00:00.056) 0:00:58.454 ******** included: /WORKDIR/git-weekly-cipbkwxtun/.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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 March 2024 15:04:54 +0000 (0:00:00.066) 0:00:58.521 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 March 2024 15:04:54 +0000 (0:00:00.056) 0:00:58.577 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 March 2024 15:04:54 +0000 (0:00:00.049) 0:00:58.627 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 March 2024 15:04:54 +0000 (0:00:00.051) 0:00:58.679 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 March 2024 15:04:56 +0000 (0:00:01.736) 0:01:00.415 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 March 2024 15:04:58 +0000 (0:00:01.638) 0:01:02.054 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.041) 0:01:02.095 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.037) 0:01:02.133 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.036) 0:01:02.169 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.049) 0:01:02.219 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.034) 0:01:02.254 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.039) 0:01:02.293 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.066) 0:01:02.359 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.045) 0:01:02.404 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.039) 0:01:02.444 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.045) 0:01:02.490 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.038) 0:01:02.529 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 30 March 2024 15:04:58 +0000 (0:00:00.034) 0:01:02.563 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 30 March 2024 15:04:59 +0000 (0:00:00.453) 0:01:03.017 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2627oizkjax7/tmpzo6gks75" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Saturday 30 March 2024 15:04:59 +0000 (0:00:00.327) 0:01:03.344 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Saturday 30 March 2024 15:04:59 +0000 (0:00:00.471) 0:01:03.816 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.035) 0:01:03.851 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.035) 0:01:03.887 ******** 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-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.117) 0:01:04.004 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.034) 0:01:04.039 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:149 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.245) 0:01:04.284 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.064) 0:01:04.349 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.030) 0:01:04.380 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.029) 0:01:04.409 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.043) 0:01:04.453 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.042) 0:01:04.496 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003734", "end": "2024-03-30 15:05:00.863650", "rc": 0, "start": "2024-03-30 15:05:00.859916" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.248) 0:01:04.745 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 30 March 2024 15:05:00 +0000 (0:00:00.075) 0:01:04.820 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 30 March 2024 15:05:01 +0000 (0:00:00.076) 0:01:04.896 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 30 March 2024 15:05:03 +0000 (0:00:02.940) 0:01:07.837 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 30 March 2024 15:05:04 +0000 (0:00:00.045) 0:01:07.882 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 30 March 2024 15:05:04 +0000 (0:00:00.030) 0:01:07.913 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011655", "end": "2024-03-30 15:05:04.289345", "rc": 0, "start": "2024-03-30 15:05:04.277690" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 30 March 2024 15:05:04 +0000 (0:00:00.297) 0:01:08.210 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 30 March 2024 15:05:04 +0000 (0:00:00.030) 0:01:08.240 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 30 March 2024 15:05:04 +0000 (0:00:00.033) 0:01:08.274 ******** 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-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 30 March 2024 15:05:04 +0000 (0:00:00.037) 0:01:08.311 ******** 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-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:153 Saturday 30 March 2024 15:05:04 +0000 (0:00:00.033) 0:01:08.345 ******** included: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 30 March 2024 15:05:04 +0000 (0:00:00.068) 0:01:08.413 ******** 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.010464", "end": "2024-03-30 15:05:04.790347", "rc": 0, "start": "2024-03-30 15:05:04.779883" } 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 02:d2:51:b4:2c:63 brd ff:ff:ff:ff:ff:ff inet 10.31.47.211/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2620sec preferred_lft 2620sec inet6 fe80::d2:51ff:feb4:2c63/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.211 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.211 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-cipbkwxtun/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 30 March 2024 15:05:04 +0000 (0:00:00.254) 0:01:08.668 ******** 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.113281", "end": "2024-03-30 15:05:05.149911", "rc": 0, "start": "2024-03-30 15:05:05.036630" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 5258 0 --:--:-- --:--:-- --:--:-- 5169 % 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 13227 0 --:--:-- --:--:-- --:--:-- 13227 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=101 rescued=0 ignored=2 Saturday 30 March 2024 15:05:05 +0000 (0:00:00.391) 0:01:09.060 ******** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.95s /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.56s /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Install packages -------------------- 4.78s /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Install iproute --------------------------------------------------------- 3.22s /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.96s /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.95s /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.94s /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-weekly-cipbkwxtun/.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-cipbkwxtun/.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-cipbkwxtun/.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-cipbkwxtun/.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.67s /WORKDIR/git-weekly-cipbkwxtun/.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.64s /WORKDIR/git-weekly-cipbkwxtun/.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.56s /WORKDIR/git-weekly-cipbkwxtun/.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.48s /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.17s /WORKDIR/git-weekly-cipbkwxtun/tests/tests_auto_gateway_initscripts.yml:5 ----- fedora.linux_system_roles.network : Enable network service -------------- 0.98s /WORKDIR/git-weekly-cipbkwxtun/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Create veth interface veth0 --------------------------------------------- 0.74s /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.72s /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-weekly-cipbkwxtun/tests/playbooks/tests_auto_gateway.yml:3 ------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---