# 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-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/tests_auto_gateway_initscripts.yml:5 Monday 25 March 2024 20:20:11 +0000 (0:00:00.020) 0:00:00.020 ********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_auto_gateway_initscripts.yml:8 Monday 25 March 2024 20:20:12 +0000 (0:00:01.005) 0:00:01.026 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:3 Monday 25 March 2024 20:20:12 +0000 (0:00:00.011) 0:00:01.037 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:17 Monday 25 March 2024 20:20:12 +0000 (0:00:00.416) 0:00:01.453 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:22 Monday 25 March 2024 20:20:12 +0000 (0:00:00.270) 0:00:01.724 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:26 Monday 25 March 2024 20:20:12 +0000 (0:00:00.014) 0:00:01.738 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:51 Monday 25 March 2024 20:20:12 +0000 (0:00:00.009) 0:00:01.747 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:8 Monday 25 March 2024 20:20:13 +0000 (0:00:00.020) 0:00:01.768 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:24 Monday 25 March 2024 20:20:13 +0000 (0:00:00.267) 0:00:02.036 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:30 Monday 25 March 2024 20:20:13 +0000 (0:00:00.008) 0:00:02.044 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:35 Monday 25 March 2024 20:20:13 +0000 (0:00:00.007) 0:00:02.052 ********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.265847", "end": "2024-03-25 20:20:14.747416", "rc": 0, "start": "2024-03-25 20:20:13.481569" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:40 Monday 25 March 2024 20:20:14 +0000 (0:00:01.476) 0:00:03.529 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tests_auto_gateway_initscripts.yml:10 Monday 25 March 2024 20:20:14 +0000 (0:00:00.008) 0:00:03.537 ********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:3 Monday 25 March 2024 20:20:14 +0000 (0:00:00.015) 0:00:03.552 ********** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:9 Monday 25 March 2024 20:20:15 +0000 (0:00:00.744) 0:00:04.297 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:20:15 +0000 (0:00:00.031) 0:00:04.328 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:20:15 +0000 (0:00:00.019) 0:00:04.347 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003842", "end": "2024-03-25 20:20:15.787760", "rc": 0, "start": "2024-03-25 20:20:15.783918" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:20:15 +0000 (0:00:00.222) 0:00:04.570 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:20:15 +0000 (0:00:00.019) 0:00:04.589 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:11 Monday 25 March 2024 20:20:15 +0000 (0:00:00.018) 0:00:04.608 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:20:15 +0000 (0:00:00.051) 0:00:04.659 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:20:15 +0000 (0:00:00.028) 0:00:04.687 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:20:15 +0000 (0:00:00.030) 0:00:04.718 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:20:15 +0000 (0:00:00.032) 0:00:04.750 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:20:16 +0000 (0:00:00.027) 0:00:04.778 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003857", "end": "2024-03-25 20:20:16.246924", "rc": 0, "start": "2024-03-25 20:20:16.243067" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:20:16 +0000 (0:00:00.250) 0:00:05.028 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:20:16 +0000 (0:00:00.018) 0:00:05.047 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:20:16 +0000 (0:00:00.018) 0:00:05.065 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:20:19 +0000 (0:00:03.151) 0:00:08.216 ********** 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.023049", "end": "2024-03-25 20:20:19.682022", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-25 20:20:19.658973" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004523", "end": "2024-03-25 20:20:19.959840", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-25 20:20:19.955317" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004930", "end": "2024-03-25 20:20:20.173042", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-25 20:20:20.168112" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:20:20 +0000 (0:00:00.742) 0:00:08.959 ********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.130339", "end": "2024-03-25 20:20:20.544825", "rc": 0, "start": "2024-03-25 20:20:20.414486" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:20:20 +0000 (0:00:00.368) 0:00:09.328 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:20:20 +0000 (0:00:00.017) 0:00:09.345 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:20:20 +0000 (0:00:00.016) 0:00:09.362 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:20:20 +0000 (0:00:00.016) 0:00:09.379 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:20:20 +0000 (0:00:00.017) 0:00:09.397 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:15 Monday 25 March 2024 20:20:20 +0000 (0:00:00.017) 0:00:09.414 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 March 2024 20:20:20 +0000 (0:00:00.033) 0:00:09.447 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:20:20 +0000 (0:00:00.019) 0:00:09.467 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398019.671188, "block_size": 4096, "blocks": 0, "ctime": 1711398019.671188, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21682, "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": 1711398019.671188, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 March 2024 20:20:20 +0000 (0:00:00.233) 0:00:09.701 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:17 Monday 25 March 2024 20:20:20 +0000 (0:00:00.028) 0:00:09.729 ********** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:20:21 +0000 (0:00:00.053) 0:00:09.782 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:20:21 +0000 (0:00:00.029) 0:00:09.811 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:20:21 +0000 (0:00:00.037) 0:00:09.849 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:20:21 +0000 (0:00:00.035) 0:00:09.884 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:20:21 +0000 (0:00:00.032) 0:00:09.917 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:20:22 +0000 (0:00:01.769) 0:00:11.687 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:20:24 +0000 (0:00:01.653) 0:00:13.340 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:20:24 +0000 (0:00:00.029) 0:00:13.370 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:20:24 +0000 (0:00:00.030) 0:00:13.401 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:20:24 +0000 (0:00:00.033) 0:00:13.434 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:20:24 +0000 (0:00:00.038) 0:00:13.473 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:20:24 +0000 (0:00:00.031) 0:00:13.504 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:20:24 +0000 (0:00:00.062) 0:00:13.567 ********** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:20:30 +0000 (0:00:05.246) 0:00:18.813 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:20:30 +0000 (0:00:00.030) 0:00:18.843 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:20:30 +0000 (0:00:00.029) 0:00:18.873 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:20:30 +0000 (0:00:00.036) 0:00:18.910 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:20:30 +0000 (0:00:00.037) 0:00:18.947 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:20:30 +0000 (0:00:00.027) 0:00:18.975 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:20:31 +0000 (0:00:00.946) 0:00:19.921 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-27488z9xscvl/tmpl4f8meiz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:20:31 +0000 (0:00:00.338) 0:00:20.259 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:20:38 +0000 (0:00:06.806) 0:00:27.066 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:20:38 +0000 (0:00:00.030) 0:00:27.096 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:20:38 +0000 (0:00:00.030) 0:00:27.126 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:20:38 +0000 (0:00:00.030) 0:00:27.157 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:20:38 +0000 (0:00:00.029) 0:00:27.187 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:42 Monday 25 March 2024 20:20:38 +0000 (0:00:00.329) 0:00:27.516 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 March 2024 20:20:38 +0000 (0:00:00.052) 0:00:27.568 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:20:38 +0000 (0:00:00.062) 0:00:27.631 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398019.671188, "block_size": 4096, "blocks": 0, "ctime": 1711398019.671188, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21682, "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": 1711398019.671188, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 March 2024 20:20:39 +0000 (0:00:00.234) 0:00:27.865 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:44 Monday 25 March 2024 20:20:39 +0000 (0:00:00.037) 0:00:27.902 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 March 2024 20:20:39 +0000 (0:00:00.069) 0:00:27.971 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:20:39 +0000 (0:00:00.051) 0:00:28.023 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:20:39 +0000 (0:00:00.033) 0:00:28.056 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398031.9452908, "block_size": 4096, "blocks": 8, "ctime": 1711398031.9232907, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5971656, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1711398031.9232907, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:20:39 +0000 (0:00:00.247) 0:00:28.303 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:20:39 +0000 (0:00:00.030) 0:00:28.333 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021792", "end": "2024-03-25 20:20:39.793274", "rc": 1, "start": "2024-03-25 20:20:39.771482" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:20:39 +0000 (0:00:00.251) 0:00:28.585 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:20:39 +0000 (0:00:00.028) 0:00:28.613 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003604", "end": "2024-03-25 20:20:40.056205", "rc": 0, "start": "2024-03-25 20:20:40.052601" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:20:40 +0000 (0:00:00.260) 0:00:28.873 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:20:40 +0000 (0:00:00.035) 0:00:28.909 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003774", "end": "2024-03-25 20:20:40.356939", "rc": 0, "start": "2024-03-25 20:20:40.353165" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:20:40 +0000 (0:00:00.241) 0:00:29.150 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 March 2024 20:20:40 +0000 (0:00:00.032) 0:00:29.182 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 March 2024 20:20:40 +0000 (0:00:00.037) 0:00:29.220 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 March 2024 20:20:40 +0000 (0:00:00.068) 0:00:29.289 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:48 Monday 25 March 2024 20:20:40 +0000 (0:00:00.030) 0:00:29.319 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004343", "end": "2024-03-25 20:20:40.762346", "rc": 0, "start": "2024-03-25 20:20:40.758003" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.227 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.227 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:52 Monday 25 March 2024 20:20:40 +0000 (0:00:00.242) 0:00:29.561 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:58 Monday 25 March 2024 20:20:40 +0000 (0:00:00.030) 0:00:29.592 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004431", "end": "2024-03-25 20:20:41.032092", "rc": 0, "start": "2024-03-25 20:20:41.027661" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:62 Monday 25 March 2024 20:20:41 +0000 (0:00:00.231) 0:00:29.823 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:69 Monday 25 March 2024 20:20:41 +0000 (0:00:00.027) 0:00:29.850 ********** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:20:41 +0000 (0:00:00.027) 0:00:29.877 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:20:41 +0000 (0:00:00.045) 0:00:29.923 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:20:41 +0000 (0:00:00.033) 0:00:29.956 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:20:41 +0000 (0:00:00.030) 0:00:29.987 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:20:41 +0000 (0:00:00.029) 0:00:30.016 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:20:42 +0000 (0:00:01.727) 0:00:31.744 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:20:44 +0000 (0:00:01.477) 0:00:33.221 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:20:44 +0000 (0:00:00.030) 0:00:33.251 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:20:44 +0000 (0:00:00.064) 0:00:33.316 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:20:44 +0000 (0:00:00.030) 0:00:33.346 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:20:44 +0000 (0:00:00.034) 0:00:33.381 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:20:44 +0000 (0:00:00.026) 0:00:33.408 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:20:44 +0000 (0:00:00.034) 0:00:33.442 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:20:44 +0000 (0:00:00.051) 0:00:33.494 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:20:44 +0000 (0:00:00.030) 0:00:33.525 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:20:44 +0000 (0:00:00.033) 0:00:33.559 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:20:44 +0000 (0:00:00.039) 0:00:33.599 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:20:44 +0000 (0:00:00.038) 0:00:33.637 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:20:44 +0000 (0:00:00.031) 0:00:33.668 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:20:45 +0000 (0:00:00.424) 0:00:34.092 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-27488z9xscvl/tmp77eim8jq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:20:45 +0000 (0:00:00.329) 0:00:34.422 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:20:46 +0000 (0:00:00.475) 0:00:34.898 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:20:46 +0000 (0:00:00.032) 0:00:34.930 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:20:46 +0000 (0:00:00.029) 0:00:34.960 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:20:46 +0000 (0:00:00.031) 0:00:34.991 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:20:46 +0000 (0:00:00.029) 0:00:35.021 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:81 Monday 25 March 2024 20:20:46 +0000 (0:00:00.262) 0:00:35.284 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:20:46 +0000 (0:00:00.057) 0:00:35.342 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:20:46 +0000 (0:00:00.028) 0:00:35.371 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:20:46 +0000 (0:00:00.031) 0:00:35.403 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:20:46 +0000 (0:00:00.040) 0:00:35.443 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:20:46 +0000 (0:00:00.039) 0:00:35.482 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003832", "end": "2024-03-25 20:20:46.923783", "rc": 0, "start": "2024-03-25 20:20:46.919951" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:20:46 +0000 (0:00:00.233) 0:00:35.715 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:20:46 +0000 (0:00:00.030) 0:00:35.746 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:20:47 +0000 (0:00:00.028) 0:00:35.774 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:20:49 +0000 (0:00:02.917) 0:00:38.692 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:20:49 +0000 (0:00:00.036) 0:00:38.729 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:20:49 +0000 (0:00:00.031) 0:00:38.760 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012509", "end": "2024-03-25 20:20:50.213541", "rc": 0, "start": "2024-03-25 20:20:50.201032" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:20:50 +0000 (0:00:00.261) 0:00:39.021 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:20:50 +0000 (0:00:00.050) 0:00:39.072 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:20:50 +0000 (0:00:00.104) 0:00:39.176 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:20:50 +0000 (0:00:00.049) 0:00:39.226 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:85 Monday 25 March 2024 20:20:50 +0000 (0:00:00.065) 0:00:39.291 ********** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:89 Monday 25 March 2024 20:20:50 +0000 (0:00:00.036) 0:00:39.328 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:20:50 +0000 (0:00:00.100) 0:00:39.428 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:20:50 +0000 (0:00:00.028) 0:00:39.457 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:20:50 +0000 (0:00:00.028) 0:00:39.485 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:20:50 +0000 (0:00:00.043) 0:00:39.529 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:20:50 +0000 (0:00:00.047) 0:00:39.576 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003830", "end": "2024-03-25 20:20:51.024932", "rc": 0, "start": "2024-03-25 20:20:51.021102" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:20:51 +0000 (0:00:00.239) 0:00:39.815 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:20:51 +0000 (0:00:00.032) 0:00:39.848 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:20:51 +0000 (0:00:00.028) 0:00:39.876 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:20:54 +0000 (0:00:02.906) 0:00:42.783 ********** 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.011553", "end": "2024-03-25 20:20:54.236081", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-25 20:20:54.224528" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004467", "end": "2024-03-25 20:20:54.484435", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-25 20:20:54.479968" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004736", "end": "2024-03-25 20:20:54.693698", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-25 20:20:54.688962" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:20:54 +0000 (0:00:00.705) 0:00:43.489 ********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024293", "end": "2024-03-25 20:20:54.953172", "rc": 0, "start": "2024-03-25 20:20:54.928879" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:20:54 +0000 (0:00:00.257) 0:00:43.747 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:20:55 +0000 (0:00:00.114) 0:00:43.861 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:20:55 +0000 (0:00:00.030) 0:00:43.891 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:20:55 +0000 (0:00:00.030) 0:00:43.922 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:20:55 +0000 (0:00:00.035) 0:00:43.958 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:20:55 +0000 (0:00:00.032) 0:00:43.991 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:20:55 +0000 (0:00:00.058) 0:00:44.050 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:20:55 +0000 (0:00:00.085) 0:00:44.135 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:20:55 +0000 (0:00:00.056) 0:00:44.192 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:20:55 +0000 (0:00:00.042) 0:00:44.234 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:20:57 +0000 (0:00:01.775) 0:00:46.009 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:20:58 +0000 (0:00:01.504) 0:00:47.514 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:20:58 +0000 (0:00:00.033) 0:00:47.547 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:20:58 +0000 (0:00:00.035) 0:00:47.583 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:20:58 +0000 (0:00:00.042) 0:00:47.626 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:20:59 +0000 (0:00:00.145) 0:00:47.772 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:20:59 +0000 (0:00:00.046) 0:00:47.818 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:20:59 +0000 (0:00:00.036) 0:00:47.855 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:20:59 +0000 (0:00:00.055) 0:00:47.910 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:20:59 +0000 (0:00:00.033) 0:00:47.944 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:20:59 +0000 (0:00:00.045) 0:00:47.990 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:20:59 +0000 (0:00:00.038) 0:00:48.028 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:20:59 +0000 (0:00:00.067) 0:00:48.096 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:20:59 +0000 (0:00:00.051) 0:00:48.147 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:20:59 +0000 (0:00:00.462) 0:00:48.609 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-27488z9xscvl/tmpe157ymyl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:21:00 +0000 (0:00:00.334) 0:00:48.944 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:21:06 +0000 (0:00:06.561) 0:00:55.506 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:21:06 +0000 (0:00:00.035) 0:00:55.541 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:21:06 +0000 (0:00:00.040) 0:00:55.581 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:21:06 +0000 (0:00:00.039) 0:00:55.621 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:21:06 +0000 (0:00:00.029) 0:00:55.651 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:110 Monday 25 March 2024 20:21:07 +0000 (0:00:00.235) 0:00:55.886 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 March 2024 20:21:07 +0000 (0:00:00.091) 0:00:55.978 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:21:07 +0000 (0:00:00.044) 0:00:56.022 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398054.2286866, "block_size": 4096, "blocks": 0, "ctime": 1711398054.2286866, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22268, "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": 1711398054.2286866, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 March 2024 20:21:07 +0000 (0:00:00.231) 0:00:56.254 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:112 Monday 25 March 2024 20:21:07 +0000 (0:00:00.032) 0:00:56.286 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 March 2024 20:21:07 +0000 (0:00:00.057) 0:00:56.344 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:21:07 +0000 (0:00:00.039) 0:00:56.383 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:21:07 +0000 (0:00:00.029) 0:00:56.412 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398060.5063312, "block_size": 4096, "blocks": 8, "ctime": 1711398060.4843314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5971656, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1711398060.4843314, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:21:07 +0000 (0:00:00.225) 0:00:56.638 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:21:07 +0000 (0:00:00.029) 0:00:56.668 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021513", "end": "2024-03-25 20:21:08.124289", "rc": 1, "start": "2024-03-25 20:21:08.102776" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:21:08 +0000 (0:00:00.256) 0:00:56.924 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:21:08 +0000 (0:00:00.049) 0:00:56.973 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003597", "end": "2024-03-25 20:21:08.416641", "rc": 0, "start": "2024-03-25 20:21:08.413044" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:21:08 +0000 (0:00:00.237) 0:00:57.211 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:21:08 +0000 (0:00:00.043) 0:00:57.255 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003574", "end": "2024-03-25 20:21:08.696146", "rc": 0, "start": "2024-03-25 20:21:08.692572" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:21:08 +0000 (0:00:00.267) 0:00:57.522 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 March 2024 20:21:08 +0000 (0:00:00.035) 0:00:57.557 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 March 2024 20:21:08 +0000 (0:00:00.033) 0:00:57.590 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 March 2024 20:21:08 +0000 (0:00:00.031) 0:00:57.622 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:116 Monday 25 March 2024 20:21:08 +0000 (0:00:00.036) 0:00:57.658 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004081", "end": "2024-03-25 20:21:09.098083", "rc": 0, "start": "2024-03-25 20:21:09.094002" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.227 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.227 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:120 Monday 25 March 2024 20:21:09 +0000 (0:00:00.230) 0:00:57.889 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:126 Monday 25 March 2024 20:21:09 +0000 (0:00:00.031) 0:00:57.920 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004251", "end": "2024-03-25 20:21:09.361444", "rc": 0, "start": "2024-03-25 20:21:09.357193" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:130 Monday 25 March 2024 20:21:09 +0000 (0:00:00.245) 0:00:58.165 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:137 Monday 25 March 2024 20:21:09 +0000 (0:00:00.033) 0:00:58.199 ********** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:21:09 +0000 (0:00:00.049) 0:00:58.249 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:21:09 +0000 (0:00:00.072) 0:00:58.321 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:21:09 +0000 (0:00:00.075) 0:00:58.396 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:21:09 +0000 (0:00:00.053) 0:00:58.449 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:21:09 +0000 (0:00:00.039) 0:00:58.489 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:21:11 +0000 (0:00:01.762) 0:01:00.251 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:21:13 +0000 (0:00:01.569) 0:01:01.821 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:21:13 +0000 (0:00:00.033) 0:01:01.854 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:21:13 +0000 (0:00:00.030) 0:01:01.885 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:21:13 +0000 (0:00:00.030) 0:01:01.915 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:21:13 +0000 (0:00:00.035) 0:01:01.951 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:21:13 +0000 (0:00:00.035) 0:01:01.987 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:21:13 +0000 (0:00:00.051) 0:01:02.039 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:21:13 +0000 (0:00:00.083) 0:01:02.122 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:21:13 +0000 (0:00:00.037) 0:01:02.160 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:21:13 +0000 (0:00:00.049) 0:01:02.210 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:21:13 +0000 (0:00:00.045) 0:01:02.255 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:21:13 +0000 (0:00:00.049) 0:01:02.305 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:21:13 +0000 (0:00:00.032) 0:01:02.338 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:21:14 +0000 (0:00:00.430) 0:01:02.769 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-27488z9xscvl/tmpdtqg0xih" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:21:14 +0000 (0:00:00.375) 0:01:03.145 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:21:14 +0000 (0:00:00.489) 0:01:03.635 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:21:14 +0000 (0:00:00.033) 0:01:03.669 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:21:14 +0000 (0:00:00.049) 0:01:03.718 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:21:15 +0000 (0:00:00.128) 0:01:03.846 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:21:15 +0000 (0:00:00.044) 0:01:03.890 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:149 Monday 25 March 2024 20:21:15 +0000 (0:00:00.280) 0:01:04.171 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:21:15 +0000 (0:00:00.081) 0:01:04.253 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:21:15 +0000 (0:00:00.034) 0:01:04.287 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:21:15 +0000 (0:00:00.044) 0:01:04.331 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:21:15 +0000 (0:00:00.054) 0:01:04.386 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:21:15 +0000 (0:00:00.039) 0:01:04.425 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003712", "end": "2024-03-25 20:21:15.867213", "rc": 0, "start": "2024-03-25 20:21:15.863501" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:21:15 +0000 (0:00:00.231) 0:01:04.657 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:21:15 +0000 (0:00:00.032) 0:01:04.690 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:21:15 +0000 (0:00:00.030) 0:01:04.720 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:21:18 +0000 (0:00:02.888) 0:01:07.609 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:21:18 +0000 (0:00:00.052) 0:01:07.661 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:21:18 +0000 (0:00:00.043) 0:01:07.704 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013026", "end": "2024-03-25 20:21:19.154539", "rc": 0, "start": "2024-03-25 20:21:19.141513" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:21:19 +0000 (0:00:00.272) 0:01:07.976 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:21:19 +0000 (0:00:00.029) 0:01:08.006 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:21:19 +0000 (0:00:00.030) 0:01:08.036 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:21:19 +0000 (0:00:00.030) 0:01:08.067 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:153 Monday 25 March 2024 20:21:19 +0000 (0:00:00.030) 0:01:08.097 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml:6 Monday 25 March 2024 20:21:19 +0000 (0:00:00.067) 0:01:08.164 ********** 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.010105", "end": "2024-03-25 20:21:19.608877", "rc": 0, "start": "2024-03-25 20:21:19.598772" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:86:78:52:89:57 brd ff:ff:ff:ff:ff:ff inet 10.31.43.227/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2714sec preferred_lft 2714sec inet6 fe80::c86:78ff:fe52:8957/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.227 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.227 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml:24 Monday 25 March 2024 20:21:19 +0000 (0:00:00.235) 0:01:08.400 ********** 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.141426", "end": "2024-03-25 20:21:19.984024", "rc": 0, "start": "2024-03-25 20:21:19.842598" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 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 12200 0 --:--:-- --:--:-- --:--:-- 12200 % 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 3383 0 --:--:-- --:--:-- --:--:-- 3383 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=101 rescued=0 ignored=2 Monday 25 March 2024 20:21:20 +0000 (0:00:00.417) 0:01:08.818 ********** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.81s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.56s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Install packages -------------------- 5.25s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Install iproute --------------------------------------------------------- 3.15s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.92s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.91s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.89s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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.77s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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.76s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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.73s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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.57s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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.51s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Enable EPEL 8 ----------------------------------------------------------- 1.48s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:35 Gathering Facts --------------------------------------------------------- 1.01s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Enable network service -------------- 0.95s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.74s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---