# 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-cinj_kwjw8/.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-cinj_kwjw8/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-cinj_kwjw8/tests/tests_auto_gateway_initscripts.yml:5 Thursday 25 July 2024 11:17:49 +0000 (0:00:00.031) 0:00:00.031 ********* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/tests_auto_gateway_initscripts.yml:8 Thursday 25 July 2024 11:17:50 +0000 (0:00:00.897) 0:00:00.928 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/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-cinj_kwjw8/tests/tasks/el_repo_setup.yml:3 Thursday 25 July 2024 11:17:50 +0000 (0:00:00.011) 0:00:00.940 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/tasks/el_repo_setup.yml:17 Thursday 25 July 2024 11:17:51 +0000 (0:00:00.341) 0:00:01.281 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/tasks/el_repo_setup.yml:22 Thursday 25 July 2024 11:17:51 +0000 (0:00:00.241) 0:00:01.522 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/tasks/el_repo_setup.yml:26 Thursday 25 July 2024 11:17:51 +0000 (0:00:00.013) 0:00:01.536 ********* 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-cinj_kwjw8/tests/tasks/el_repo_setup.yml:51 Thursday 25 July 2024 11:17:51 +0000 (0:00:00.008) 0:00:01.544 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/tasks/enable_epel.yml:8 Thursday 25 July 2024 11:17:51 +0000 (0:00:00.021) 0:00:01.566 ********* 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-cinj_kwjw8/tests/tasks/enable_epel.yml:24 Thursday 25 July 2024 11:17:51 +0000 (0:00:00.242) 0:00:01.808 ********* 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-cinj_kwjw8/tests/tasks/enable_epel.yml:30 Thursday 25 July 2024 11:17:51 +0000 (0:00:00.008) 0:00:01.817 ********* 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-cinj_kwjw8/tests/tasks/enable_epel.yml:35 Thursday 25 July 2024 11:17:51 +0000 (0:00:00.009) 0:00:01.826 ********* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.224640", "end": "2024-07-25 11:17:52.956484", "rc": 0, "start": "2024-07-25 11:17:51.731844" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/tasks/enable_epel.yml:40 Thursday 25 July 2024 11:17:52 +0000 (0:00:01.408) 0:00:03.235 ********* 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-cinj_kwjw8/tests/tests_auto_gateway_initscripts.yml:10 Thursday 25 July 2024 11:17:52 +0000 (0:00:00.011) 0:00:03.247 ********* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:3 Thursday 25 July 2024 11:17:53 +0000 (0:00:00.024) 0:00:03.272 ********* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:9 Thursday 25 July 2024 11:17:53 +0000 (0:00:00.621) 0:00:03.893 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 25 July 2024 11:17:53 +0000 (0:00:00.038) 0:00:03.931 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 25 July 2024 11:17:53 +0000 (0:00:00.038) 0:00:03.970 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002869", "end": "2024-07-25 11:17:53.906700", "rc": 0, "start": "2024-07-25 11:17:53.903831" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 25 July 2024 11:17:53 +0000 (0:00:00.206) 0:00:04.176 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 25 July 2024 11:17:53 +0000 (0:00:00.027) 0:00:04.203 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:11 Thursday 25 July 2024 11:17:53 +0000 (0:00:00.029) 0:00:04.233 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 25 July 2024 11:17:54 +0000 (0:00:00.046) 0:00:04.279 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 25 July 2024 11:17:54 +0000 (0:00:00.018) 0:00:04.298 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 25 July 2024 11:17:54 +0000 (0:00:00.017) 0:00:04.315 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 25 July 2024 11:17:54 +0000 (0:00:00.024) 0:00:04.340 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 25 July 2024 11:17:54 +0000 (0:00:00.024) 0:00:04.364 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003166", "end": "2024-07-25 11:17:54.286315", "rc": 0, "start": "2024-07-25 11:17:54.283149" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 25 July 2024 11:17:54 +0000 (0:00:00.203) 0:00:04.568 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 25 July 2024 11:17:54 +0000 (0:00:00.026) 0:00:04.595 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 25 July 2024 11:17:54 +0000 (0:00:00.036) 0:00:04.631 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 25 July 2024 11:17:57 +0000 (0:00:02.942) 0:00:07.574 ********* 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.018038", "end": "2024-07-25 11:17:57.512507", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-25 11:17:57.494469" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005162", "end": "2024-07-25 11:17:57.728623", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-25 11:17:57.723461" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003583", "end": "2024-07-25 11:17:57.903351", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-25 11:17:57.899768" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 25 July 2024 11:17:57 +0000 (0:00:00.600) 0:00:08.174 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.119382", "end": "2024-07-25 11:17:58.211585", "rc": 0, "start": "2024-07-25 11:17:58.092203" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.315) 0:00:08.490 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.024) 0:00:08.514 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.053) 0:00:08.568 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.028) 0:00:08.596 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.024) 0:00:08.620 ********* 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-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:15 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.017) 0:00:08.638 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.034) 0:00:08.672 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.019) 0:00:08.692 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1721906277.5038896, "block_size": 4096, "blocks": 0, "ctime": 1721906277.5038896, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21754, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1721906277.5038896, "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-cinj_kwjw8/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.189) 0:00:08.882 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:17 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.020) 0:00:08.903 ********* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.024) 0:00:08.928 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/.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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.029) 0:00:08.957 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.022) 0:00:08.980 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.032) 0:00:09.012 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 25 July 2024 11:17:58 +0000 (0:00:00.021) 0:00:09.034 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 25 July 2024 11:18:00 +0000 (0:00:01.459) 0:00:10.494 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 25 July 2024 11:18:01 +0000 (0:00:01.514) 0:00:12.008 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 25 July 2024 11:18:01 +0000 (0:00:00.036) 0:00:12.045 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 25 July 2024 11:18:01 +0000 (0:00:00.034) 0:00:12.080 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 25 July 2024 11:18:01 +0000 (0:00:00.032) 0:00:12.112 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 25 July 2024 11:18:01 +0000 (0:00:00.041) 0:00:12.153 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 25 July 2024 11:18:01 +0000 (0:00:00.042) 0:00:12.195 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 25 July 2024 11:18:02 +0000 (0:00:00.069) 0:00:12.265 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 25 July 2024 11:18:02 +0000 (0:00:00.033) 0:00:12.299 ********* changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 25 July 2024 11:18:06 +0000 (0:00:04.326) 0:00:16.625 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 25 July 2024 11:18:06 +0000 (0:00:00.030) 0:00:16.655 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 25 July 2024 11:18:06 +0000 (0:00:00.035) 0:00:16.690 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 25 July 2024 11:18:06 +0000 (0:00:00.036) 0:00:16.727 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 25 July 2024 11:18:06 +0000 (0:00:00.049) 0:00:16.776 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 25 July 2024 11:18:06 +0000 (0:00:00.028) 0:00:16.805 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 25 July 2024 11:18:07 +0000 (0:00:00.801) 0:00:17.606 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2845fyqi7b31/tmp5416oep7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 25 July 2024 11:18:07 +0000 (0:00:00.339) 0:00:17.945 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 25 July 2024 11:18:14 +0000 (0:00:06.668) 0:00:24.614 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 25 July 2024 11:18:14 +0000 (0:00:00.044) 0:00:24.659 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 25 July 2024 11:18:14 +0000 (0:00:00.046) 0:00:24.705 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 25 July 2024 11:18:14 +0000 (0:00:00.047) 0:00:24.753 ********* skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 25 July 2024 11:18:14 +0000 (0:00:00.042) 0:00:24.796 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:42 Thursday 25 July 2024 11:18:14 +0000 (0:00:00.300) 0:00:25.096 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 25 July 2024 11:18:14 +0000 (0:00:00.086) 0:00:25.183 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 25 July 2024 11:18:14 +0000 (0:00:00.041) 0:00:25.225 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1721906277.5038896, "block_size": 4096, "blocks": 0, "ctime": 1721906277.5038896, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21754, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1721906277.5038896, "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-cinj_kwjw8/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 25 July 2024 11:18:15 +0000 (0:00:00.223) 0:00:25.448 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:44 Thursday 25 July 2024 11:18:15 +0000 (0:00:00.030) 0:00:25.479 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 25 July 2024 11:18:15 +0000 (0:00:00.068) 0:00:25.548 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 25 July 2024 11:18:15 +0000 (0:00:00.047) 0:00:25.595 ********* 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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 25 July 2024 11:18:15 +0000 (0:00:00.040) 0:00:25.635 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1721906288.150217, "block_size": 4096, "blocks": 8, "ctime": 1721906288.1332169, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301838, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721906288.1332169, "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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 25 July 2024 11:18:15 +0000 (0:00:00.200) 0:00:25.836 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 25 July 2024 11:18:15 +0000 (0:00:00.047) 0:00:25.884 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017302", "end": "2024-07-25 11:18:15.824552", "rc": 1, "start": "2024-07-25 11:18:15.807250" } 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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 25 July 2024 11:18:15 +0000 (0:00:00.220) 0:00:26.104 ********* 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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 25 July 2024 11:18:15 +0000 (0:00:00.030) 0:00:26.135 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002893", "end": "2024-07-25 11:18:16.085033", "rc": 0, "start": "2024-07-25 11:18:16.082140" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 25 July 2024 11:18:16 +0000 (0:00:00.233) 0:00:26.368 ********* 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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 25 July 2024 11:18:16 +0000 (0:00:00.036) 0:00:26.405 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.004648", "end": "2024-07-25 11:18:16.327489", "rc": 0, "start": "2024-07-25 11:18:16.322841" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 25 July 2024 11:18:16 +0000 (0:00:00.205) 0:00:26.610 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 25 July 2024 11:18:16 +0000 (0:00:00.034) 0:00:26.644 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 25 July 2024 11:18:16 +0000 (0:00:00.069) 0:00:26.714 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 25 July 2024 11:18:16 +0000 (0:00:00.032) 0:00:26.746 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:48 Thursday 25 July 2024 11:18:16 +0000 (0:00:00.035) 0:00:26.782 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003413", "end": "2024-07-25 11:18:16.722843", "rc": 0, "start": "2024-07-25 11:18:16.719430" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.56 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.56 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-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:52 Thursday 25 July 2024 11:18:16 +0000 (0:00:00.232) 0:00:27.014 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:58 Thursday 25 July 2024 11:18:16 +0000 (0:00:00.035) 0:00:27.050 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003570", "end": "2024-07-25 11:18:17.020942", "rc": 0, "start": "2024-07-25 11:18:17.017372" } 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-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:62 Thursday 25 July 2024 11:18:17 +0000 (0:00:00.260) 0:00:27.311 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:69 Thursday 25 July 2024 11:18:17 +0000 (0:00:00.032) 0:00:27.344 ********* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 25 July 2024 11:18:17 +0000 (0:00:00.031) 0:00:27.375 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/.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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 25 July 2024 11:18:17 +0000 (0:00:00.044) 0:00:27.419 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 25 July 2024 11:18:17 +0000 (0:00:00.034) 0:00:27.454 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 25 July 2024 11:18:17 +0000 (0:00:00.031) 0:00:27.485 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 25 July 2024 11:18:17 +0000 (0:00:00.032) 0:00:27.518 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 25 July 2024 11:18:18 +0000 (0:00:01.452) 0:00:28.970 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 25 July 2024 11:18:20 +0000 (0:00:01.321) 0:00:30.292 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.070) 0:00:30.363 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.027) 0:00:30.391 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.027) 0:00:30.418 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.027) 0:00:30.445 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.046) 0:00:30.491 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.041) 0:00:30.533 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.089) 0:00:30.623 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.087) 0:00:30.710 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.028) 0:00:30.738 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.030) 0:00:30.768 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.037) 0:00:30.806 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.029) 0:00:30.836 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.027) 0:00:30.863 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 25 July 2024 11:18:20 +0000 (0:00:00.359) 0:00:31.223 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2845fyqi7b31/tmpk7bsjjro" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 25 July 2024 11:18:21 +0000 (0:00:00.306) 0:00:31.529 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 25 July 2024 11:18:21 +0000 (0:00:00.409) 0:00:31.939 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 25 July 2024 11:18:21 +0000 (0:00:00.049) 0:00:31.989 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 25 July 2024 11:18:21 +0000 (0:00:00.032) 0:00:32.021 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 25 July 2024 11:18:21 +0000 (0:00:00.038) 0:00:32.060 ********* skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 25 July 2024 11:18:21 +0000 (0:00:00.119) 0:00:32.179 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:81 Thursday 25 July 2024 11:18:22 +0000 (0:00:00.235) 0:00:32.414 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 25 July 2024 11:18:22 +0000 (0:00:00.058) 0:00:32.473 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 25 July 2024 11:18:22 +0000 (0:00:00.027) 0:00:32.500 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 25 July 2024 11:18:22 +0000 (0:00:00.029) 0:00:32.529 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 25 July 2024 11:18:22 +0000 (0:00:00.053) 0:00:32.582 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 25 July 2024 11:18:22 +0000 (0:00:00.048) 0:00:32.631 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003196", "end": "2024-07-25 11:18:22.571200", "rc": 0, "start": "2024-07-25 11:18:22.568004" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 25 July 2024 11:18:22 +0000 (0:00:00.223) 0:00:32.854 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 25 July 2024 11:18:22 +0000 (0:00:00.042) 0:00:32.897 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 25 July 2024 11:18:22 +0000 (0:00:00.069) 0:00:32.967 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 25 July 2024 11:18:25 +0000 (0:00:02.539) 0:00:35.506 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.036) 0:00:35.543 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.027) 0:00:35.570 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009626", "end": "2024-07-25 11:18:25.497899", "rc": 0, "start": "2024-07-25 11:18:25.488273" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.259) 0:00:35.830 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.036) 0:00:35.867 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.036) 0:00:35.903 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.030) 0:00:35.934 ********* 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-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:85 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.056) 0:00:35.991 ********* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:89 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.095) 0:00:36.087 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.067) 0:00:36.155 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.035) 0:00:36.190 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 25 July 2024 11:18:25 +0000 (0:00:00.028) 0:00:36.218 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 25 July 2024 11:18:26 +0000 (0:00:00.042) 0:00:36.260 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 25 July 2024 11:18:26 +0000 (0:00:00.038) 0:00:36.299 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003169", "end": "2024-07-25 11:18:26.219722", "rc": 0, "start": "2024-07-25 11:18:26.216553" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 25 July 2024 11:18:26 +0000 (0:00:00.203) 0:00:36.503 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 25 July 2024 11:18:26 +0000 (0:00:00.038) 0:00:36.541 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 25 July 2024 11:18:26 +0000 (0:00:00.031) 0:00:36.572 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 25 July 2024 11:18:28 +0000 (0:00:02.506) 0:00:39.079 ********* 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.009444", "end": "2024-07-25 11:18:29.009167", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-25 11:18:28.999723" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003496", "end": "2024-07-25 11:18:29.242766", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-25 11:18:29.239270" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003532", "end": "2024-07-25 11:18:29.414061", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-25 11:18:29.410529" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 25 July 2024 11:18:29 +0000 (0:00:00.658) 0:00:39.737 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020209", "end": "2024-07-25 11:18:29.675514", "rc": 0, "start": "2024-07-25 11:18:29.655305" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 25 July 2024 11:18:29 +0000 (0:00:00.220) 0:00:39.957 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 25 July 2024 11:18:29 +0000 (0:00:00.030) 0:00:39.988 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 25 July 2024 11:18:29 +0000 (0:00:00.046) 0:00:40.034 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 25 July 2024 11:18:29 +0000 (0:00:00.045) 0:00:40.080 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 25 July 2024 11:18:29 +0000 (0:00:00.048) 0:00:40.128 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 25 July 2024 11:18:29 +0000 (0:00:00.029) 0:00:40.158 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/.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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 25 July 2024 11:18:29 +0000 (0:00:00.043) 0:00:40.202 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 25 July 2024 11:18:29 +0000 (0:00:00.038) 0:00:40.240 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 25 July 2024 11:18:30 +0000 (0:00:00.032) 0:00:40.272 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 25 July 2024 11:18:30 +0000 (0:00:00.031) 0:00:40.303 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 25 July 2024 11:18:31 +0000 (0:00:01.433) 0:00:41.736 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 25 July 2024 11:18:32 +0000 (0:00:01.264) 0:00:43.001 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 25 July 2024 11:18:32 +0000 (0:00:00.035) 0:00:43.037 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 25 July 2024 11:18:32 +0000 (0:00:00.084) 0:00:43.122 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 25 July 2024 11:18:32 +0000 (0:00:00.059) 0:00:43.181 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 25 July 2024 11:18:32 +0000 (0:00:00.033) 0:00:43.215 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.038) 0:00:43.253 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.037) 0:00:43.291 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.070) 0:00:43.361 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.075) 0:00:43.436 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.043) 0:00:43.480 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.041) 0:00:43.521 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.084) 0:00:43.606 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.053) 0:00:43.659 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.032) 0:00:43.692 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 25 July 2024 11:18:33 +0000 (0:00:00.366) 0:00:44.058 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2845fyqi7b31/tmpytffn4fy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 25 July 2024 11:18:34 +0000 (0:00:00.283) 0:00:44.342 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 25 July 2024 11:18:40 +0000 (0:00:06.482) 0:00:50.824 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 25 July 2024 11:18:40 +0000 (0:00:00.030) 0:00:50.855 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 25 July 2024 11:18:40 +0000 (0:00:00.032) 0:00:50.888 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 25 July 2024 11:18:40 +0000 (0:00:00.038) 0:00:50.926 ********* skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 25 July 2024 11:18:40 +0000 (0:00:00.077) 0:00:51.004 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:110 Thursday 25 July 2024 11:18:40 +0000 (0:00:00.204) 0:00:51.208 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.080) 0:00:51.288 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.044) 0:00:51.333 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1721906309.0031865, "block_size": 4096, "blocks": 0, "ctime": 1721906309.0031865, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1721906309.0031865, "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-cinj_kwjw8/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.197) 0:00:51.531 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:112 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.032) 0:00:51.563 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.057) 0:00:51.621 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.040) 0:00:51.662 ********* 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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.028) 0:00:51.690 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1721906314.3733294, "block_size": 4096, "blocks": 8, "ctime": 1721906314.3553295, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301838, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721906314.3553295, "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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.200) 0:00:51.890 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.037) 0:00:51.928 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017366", "end": "2024-07-25 11:18:41.863306", "rc": 1, "start": "2024-07-25 11:18:41.845940" } 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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.215) 0:00:52.144 ********* 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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 25 July 2024 11:18:41 +0000 (0:00:00.068) 0:00:52.212 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002964", "end": "2024-07-25 11:18:42.159923", "rc": 0, "start": "2024-07-25 11:18:42.156959" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 25 July 2024 11:18:42 +0000 (0:00:00.231) 0:00:52.443 ********* 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-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 25 July 2024 11:18:42 +0000 (0:00:00.033) 0:00:52.477 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002887", "end": "2024-07-25 11:18:42.398128", "rc": 0, "start": "2024-07-25 11:18:42.395241" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 25 July 2024 11:18:42 +0000 (0:00:00.201) 0:00:52.679 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 25 July 2024 11:18:42 +0000 (0:00:00.039) 0:00:52.718 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 25 July 2024 11:18:42 +0000 (0:00:00.035) 0:00:52.754 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 25 July 2024 11:18:42 +0000 (0:00:00.050) 0:00:52.804 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:116 Thursday 25 July 2024 11:18:42 +0000 (0:00:00.040) 0:00:52.844 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003286", "end": "2024-07-25 11:18:42.762436", "rc": 0, "start": "2024-07-25 11:18:42.759150" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.56 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.56 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-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:120 Thursday 25 July 2024 11:18:42 +0000 (0:00:00.197) 0:00:53.042 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:126 Thursday 25 July 2024 11:18:42 +0000 (0:00:00.034) 0:00:53.077 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003318", "end": "2024-07-25 11:18:43.005632", "rc": 0, "start": "2024-07-25 11:18:43.002314" } 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-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:130 Thursday 25 July 2024 11:18:43 +0000 (0:00:00.207) 0:00:53.285 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:137 Thursday 25 July 2024 11:18:43 +0000 (0:00:00.026) 0:00:53.311 ********* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 25 July 2024 11:18:43 +0000 (0:00:00.028) 0:00:53.340 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/.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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 25 July 2024 11:18:43 +0000 (0:00:00.042) 0:00:53.383 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 25 July 2024 11:18:43 +0000 (0:00:00.033) 0:00:53.416 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 25 July 2024 11:18:43 +0000 (0:00:00.028) 0:00:53.445 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 25 July 2024 11:18:43 +0000 (0:00:00.030) 0:00:53.475 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 25 July 2024 11:18:44 +0000 (0:00:01.485) 0:00:54.961 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 25 July 2024 11:18:45 +0000 (0:00:01.250) 0:00:56.211 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 25 July 2024 11:18:45 +0000 (0:00:00.038) 0:00:56.250 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.027) 0:00:56.278 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.028) 0:00:56.306 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.029) 0:00:56.335 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.037) 0:00:56.373 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.028) 0:00:56.402 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.033) 0:00:56.436 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.052) 0:00:56.489 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.027) 0:00:56.517 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.030) 0:00:56.547 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.034) 0:00:56.582 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.027) 0:00:56.609 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.027) 0:00:56.637 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Thursday 25 July 2024 11:18:46 +0000 (0:00:00.359) 0:00:56.996 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2845fyqi7b31/tmp5ms97b5l" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.312) 0:00:57.309 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.399) 0:00:57.709 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.031) 0:00:57.740 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.032) 0:00:57.773 ********* 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-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.031) 0:00:57.805 ********* skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.027) 0:00:57.832 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:149 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.200) 0:00:58.033 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.060) 0:00:58.093 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.028) 0:00:58.122 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.028) 0:00:58.150 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.038) 0:00:58.189 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 25 July 2024 11:18:47 +0000 (0:00:00.037) 0:00:58.227 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003004", "end": "2024-07-25 11:18:48.146327", "rc": 0, "start": "2024-07-25 11:18:48.143323" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 25 July 2024 11:18:48 +0000 (0:00:00.208) 0:00:58.435 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 25 July 2024 11:18:48 +0000 (0:00:00.074) 0:00:58.510 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 25 July 2024 11:18:48 +0000 (0:00:00.036) 0:00:58.547 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 25 July 2024 11:18:50 +0000 (0:00:02.517) 0:01:01.064 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 25 July 2024 11:18:50 +0000 (0:00:00.035) 0:01:01.100 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 25 July 2024 11:18:50 +0000 (0:00:00.027) 0:01:01.127 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012799", "end": "2024-07-25 11:18:51.056448", "rc": 0, "start": "2024-07-25 11:18:51.043649" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 25 July 2024 11:18:51 +0000 (0:00:00.213) 0:01:01.341 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 25 July 2024 11:18:51 +0000 (0:00:00.028) 0:01:01.369 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 25 July 2024 11:18:51 +0000 (0:00:00.030) 0:01:01.400 ********* 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-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 25 July 2024 11:18:51 +0000 (0:00:00.029) 0:01:01.430 ********* 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-cinj_kwjw8/tests/playbooks/tests_auto_gateway.yml:153 Thursday 25 July 2024 11:18:51 +0000 (0:00:00.029) 0:01:01.459 ********* included: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 25 July 2024 11:18:51 +0000 (0:00:00.071) 0:01:01.531 ********* 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.008146", "end": "2024-07-25 11:18:51.458718", "rc": 0, "start": "2024-07-25 11:18:51.450572" } 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 12:f3:99:f3:0a:d1 brd ff:ff:ff:ff:ff:ff inet 10.31.10.56/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2766sec preferred_lft 2766sec inet6 fe80::10f3:99ff:fef3:ad1/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.56 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.56 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-cinj_kwjw8/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 25 July 2024 11:18:51 +0000 (0:00:00.211) 0:01:01.742 ********* 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.193503", "end": "2024-07-25 11:18:51.858732", "rc": 0, "start": "2024-07-25 11:18:51.665229" } STDOUT: CHECK DNS AND CONNECTIVITY 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5980 0 --:--:-- --:--:-- --:--:-- 5980 % 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 2575 0 --:--:-- --:--:-- --:--:-- 2575 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Thursday 25 July 2024 11:18:51 +0000 (0:00:00.428) 0:01:02.171 ********* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.67s /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.48s /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Install packages -------------------- 4.33s /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Install iproute --------------------------------------------------------- 2.94s /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.52s /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.51s /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /WORKDIR/git-weekly-cinj_kwjw8/.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.46s /WORKDIR/git-weekly-cinj_kwjw8/.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.45s /WORKDIR/git-weekly-cinj_kwjw8/.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.43s /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Enable EPEL 8 ----------------------------------------------------------- 1.41s /WORKDIR/git-weekly-cinj_kwjw8/tests/tasks/enable_epel.yml:35 ----------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /WORKDIR/git-weekly-cinj_kwjw8/.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.26s /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.25s /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-weekly-cinj_kwjw8/tests/tests_auto_gateway_initscripts.yml:5 ----- fedora.linux_system_roles.network : Enable network service -------------- 0.80s /WORKDIR/git-weekly-cinj_kwjw8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Create veth interface veth0 --------------------------------------------- 0.66s /WORKDIR/git-weekly-cinj_kwjw8/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-weekly-cinj_kwjw8/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. ---^---^---^---^---^---