# 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-nm_plugin_hotfixd8i6_zc5/.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-nm_plugin_hotfixd8i6_zc5/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-nm_plugin_hotfixd8i6_zc5/tests/tests_auto_gateway_initscripts.yml:5 Monday 19 February 2024 23:48:10 +0000 (0:00:00.018) 0:00:00.018 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tests_auto_gateway_initscripts.yml:8 Monday 19 February 2024 23:48:11 +0000 (0:00:00.945) 0:00:00.963 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/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-nm_plugin_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 23:48:11 +0000 (0:00:00.012) 0:00:00.976 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:17 Monday 19 February 2024 23:48:11 +0000 (0:00:00.372) 0:00:01.349 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:22 Monday 19 February 2024 23:48:12 +0000 (0:00:00.297) 0:00:01.646 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:26 Monday 19 February 2024 23:48:12 +0000 (0:00:00.014) 0:00:01.660 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/tasks/el_repo_setup.yml:51 Monday 19 February 2024 23:48:12 +0000 (0:00:00.009) 0:00:01.670 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 23:48:12 +0000 (0:00:00.024) 0:00:01.695 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 23:48:12 +0000 (0:00:00.261) 0:00:01.956 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 23:48:12 +0000 (0:00:00.021) 0:00:01.978 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 23:48:12 +0000 (0:00:00.014) 0:00:01.993 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244791", "end": "2024-02-19 23:48:12.841978", "rc": 0, "start": "2024-02-19 23:48:12.597187" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 23:48:12 +0000 (0:00:00.435) 0:00:02.428 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/tests_auto_gateway_initscripts.yml:10 Monday 19 February 2024 23:48:12 +0000 (0:00:00.010) 0:00:02.438 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:3 Monday 19 February 2024 23:48:12 +0000 (0:00:00.018) 0:00:02.456 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:9 Monday 19 February 2024 23:48:13 +0000 (0:00:00.713) 0:00:03.170 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:48:13 +0000 (0:00:00.039) 0:00:03.210 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:48:13 +0000 (0:00:00.035) 0:00:03.245 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003309", "end": "2024-02-19 23:48:13.867366", "rc": 0, "start": "2024-02-19 23:48:13.864057" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:48:13 +0000 (0:00:00.233) 0:00:03.479 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:48:13 +0000 (0:00:00.034) 0:00:03.514 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:11 Monday 19 February 2024 23:48:13 +0000 (0:00:00.030) 0:00:03.544 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:48:14 +0000 (0:00:00.048) 0:00:03.593 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:48:14 +0000 (0:00:00.031) 0:00:03.625 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:48:14 +0000 (0:00:00.019) 0:00:03.644 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:48:14 +0000 (0:00:00.024) 0:00:03.668 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:48:14 +0000 (0:00:00.027) 0:00:03.695 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003525", "end": "2024-02-19 23:48:14.311762", "rc": 0, "start": "2024-02-19 23:48:14.308237" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:48:14 +0000 (0:00:00.202) 0:00:03.897 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:48:14 +0000 (0:00:00.037) 0:00:03.935 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:48:14 +0000 (0:00:00.022) 0:00:03.958 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 19 February 2024 23:48:17 +0000 (0:00:02.876) 0:00:06.834 ******* 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.012351", "end": "2024-02-19 23:48:17.462938", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-19 23:48:17.450587" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003873", "end": "2024-02-19 23:48:17.692480", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-19 23:48:17.688607" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004750", "end": "2024-02-19 23:48:17.889911", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-19 23:48:17.885161" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 19 February 2024 23:48:17 +0000 (0:00:00.641) 0:00:07.476 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.112873", "end": "2024-02-19 23:48:18.199277", "rc": 0, "start": "2024-02-19 23:48:18.086404" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 19 February 2024 23:48:18 +0000 (0:00:00.316) 0:00:07.793 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 19 February 2024 23:48:18 +0000 (0:00:00.021) 0:00:07.814 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 19 February 2024 23:48:18 +0000 (0:00:00.018) 0:00:07.833 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 19 February 2024 23:48:18 +0000 (0:00:00.026) 0:00:07.859 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:48:18 +0000 (0:00:00.024) 0:00:07.884 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:15 Monday 19 February 2024 23:48:18 +0000 (0:00:00.018) 0:00:07.902 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:48:18 +0000 (0:00:00.032) 0:00:07.935 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:48:18 +0000 (0:00:00.019) 0:00:07.955 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386497.4608943, "block_size": 4096, "blocks": 0, "ctime": 1708386497.4608943, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21663, "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": 1708386497.4608943, "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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:48:18 +0000 (0:00:00.220) 0:00:08.175 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:17 Monday 19 February 2024 23:48:18 +0000 (0:00:00.031) 0:00:08.207 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:48:18 +0000 (0:00:00.031) 0:00:08.238 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:48:18 +0000 (0:00:00.030) 0:00:08.268 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:48:18 +0000 (0:00:00.038) 0:00:08.306 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:48:18 +0000 (0:00:00.024) 0:00:08.330 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:48:18 +0000 (0:00:00.020) 0:00:08.351 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:48:20 +0000 (0:00:01.548) 0:00:09.899 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:48:22 +0000 (0:00:01.694) 0:00:11.594 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:48:22 +0000 (0:00:00.074) 0:00:11.668 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:48:22 +0000 (0:00:00.052) 0:00:11.720 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:48:22 +0000 (0:00:00.053) 0:00:11.774 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:48:26 +0000 (0:00:04.665) 0:00:16.439 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:48:26 +0000 (0:00:00.070) 0:00:16.510 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:48:26 +0000 (0:00:00.051) 0:00:16.562 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:48:27 +0000 (0:00:00.110) 0:00:16.672 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:48:27 +0000 (0:00:00.042) 0:00:16.714 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:48:27 +0000 (0:00:00.080) 0:00:16.794 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:48:28 +0000 (0:00:00.991) 0:00:17.786 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22885n0rap48/tmpo39q3tnu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:48:28 +0000 (0:00:00.317) 0:00:18.103 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:48:35 +0000 (0:00:06.713) 0:00:24.817 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:48:35 +0000 (0:00:00.034) 0:00:24.852 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:48:35 +0000 (0:00:00.044) 0:00:24.896 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:48:35 +0000 (0:00:00.049) 0:00:24.945 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:48:35 +0000 (0:00:00.041) 0:00:24.987 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:42 Monday 19 February 2024 23:48:35 +0000 (0:00:00.327) 0:00:25.314 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:48:35 +0000 (0:00:00.054) 0:00:25.369 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:48:35 +0000 (0:00:00.041) 0:00:25.411 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386497.4608943, "block_size": 4096, "blocks": 0, "ctime": 1708386497.4608943, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21663, "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": 1708386497.4608943, "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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:48:36 +0000 (0:00:00.236) 0:00:25.648 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:44 Monday 19 February 2024 23:48:36 +0000 (0:00:00.128) 0:00:25.776 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:48:36 +0000 (0:00:00.108) 0:00:25.885 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:48:36 +0000 (0:00:00.084) 0:00:25.969 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:48:36 +0000 (0:00:00.040) 0:00:26.010 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386509.0158124, "block_size": 4096, "blocks": 8, "ctime": 1708386508.995813, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708386508.995813, "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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:48:36 +0000 (0:00:00.232) 0:00:26.243 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:48:36 +0000 (0:00:00.043) 0:00:26.286 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020739", "end": "2024-02-19 23:48:36.940093", "rc": 1, "start": "2024-02-19 23:48:36.919354" } 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:48:36 +0000 (0:00:00.253) 0:00:26.540 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:48:37 +0000 (0:00:00.042) 0:00:26.583 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003561", "end": "2024-02-19 23:48:37.221750", "rc": 0, "start": "2024-02-19 23:48:37.218189" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:48:37 +0000 (0:00:00.240) 0:00:26.823 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:48:37 +0000 (0:00:00.034) 0:00:26.858 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003171", "end": "2024-02-19 23:48:37.485584", "rc": 0, "start": "2024-02-19 23:48:37.482413" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:48:37 +0000 (0:00:00.225) 0:00:27.083 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:48:37 +0000 (0:00:00.077) 0:00:27.160 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:48:37 +0000 (0:00:00.047) 0:00:27.208 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:48:37 +0000 (0:00:00.047) 0:00:27.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:48 Monday 19 February 2024 23:48:37 +0000 (0:00:00.078) 0:00:27.334 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004252", "end": "2024-02-19 23:48:37.962816", "rc": 0, "start": "2024-02-19 23:48:37.958564" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.162 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.162 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:52 Monday 19 February 2024 23:48:38 +0000 (0:00:00.236) 0:00:27.571 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:58 Monday 19 February 2024 23:48:38 +0000 (0:00:00.074) 0:00:27.646 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003994", "end": "2024-02-19 23:48:38.294284", "rc": 0, "start": "2024-02-19 23:48:38.290290" } 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:62 Monday 19 February 2024 23:48:38 +0000 (0:00:00.249) 0:00:27.895 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:69 Monday 19 February 2024 23:48:38 +0000 (0:00:00.036) 0:00:27.932 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:48:38 +0000 (0:00:00.032) 0:00:27.964 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:48:38 +0000 (0:00:00.054) 0:00:28.019 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:48:38 +0000 (0:00:00.068) 0:00:28.087 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:48:38 +0000 (0:00:00.049) 0:00:28.136 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:48:38 +0000 (0:00:00.043) 0:00:28.180 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:48:40 +0000 (0:00:01.561) 0:00:29.742 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:48:41 +0000 (0:00:01.357) 0:00:31.099 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:48:41 +0000 (0:00:00.037) 0:00:31.137 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:48:41 +0000 (0:00:00.034) 0:00:31.172 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:48:41 +0000 (0:00:00.040) 0:00:31.212 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:48:41 +0000 (0:00:00.075) 0:00:31.287 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:48:41 +0000 (0:00:00.061) 0:00:31.349 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:48:41 +0000 (0:00:00.107) 0:00:31.457 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:48:41 +0000 (0:00:00.051) 0:00:31.508 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:48:41 +0000 (0:00:00.051) 0:00:31.560 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:48:42 +0000 (0:00:00.065) 0:00:31.626 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:48:42 +0000 (0:00:00.420) 0:00:32.047 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22885n0rap48/tmpgrfzhtag" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:48:42 +0000 (0:00:00.330) 0:00:32.377 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:48:43 +0000 (0:00:00.445) 0:00:32.823 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:48:43 +0000 (0:00:00.053) 0:00:32.876 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:48:43 +0000 (0:00:00.046) 0:00:32.923 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:48:43 +0000 (0:00:00.038) 0:00:32.962 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:48:43 +0000 (0:00:00.036) 0:00:32.998 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:81 Monday 19 February 2024 23:48:43 +0000 (0:00:00.237) 0:00:33.236 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:48:43 +0000 (0:00:00.066) 0:00:33.302 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:48:43 +0000 (0:00:00.043) 0:00:33.346 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:48:43 +0000 (0:00:00.062) 0:00:33.408 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:48:43 +0000 (0:00:00.077) 0:00:33.486 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:48:43 +0000 (0:00:00.056) 0:00:33.542 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003508", "end": "2024-02-19 23:48:44.168769", "rc": 0, "start": "2024-02-19 23:48:44.165261" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:48:44 +0000 (0:00:00.223) 0:00:33.766 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:48:44 +0000 (0:00:00.051) 0:00:33.818 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:48:44 +0000 (0:00:00.044) 0:00:33.862 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 19 February 2024 23:48:46 +0000 (0:00:02.640) 0:00:36.503 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 19 February 2024 23:48:46 +0000 (0:00:00.060) 0:00:36.563 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 19 February 2024 23:48:47 +0000 (0:00:00.047) 0:00:36.611 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014076", "end": "2024-02-19 23:48:47.277194", "rc": 0, "start": "2024-02-19 23:48:47.263118" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 19 February 2024 23:48:47 +0000 (0:00:00.265) 0:00:36.876 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 19 February 2024 23:48:47 +0000 (0:00:00.042) 0:00:36.919 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 19 February 2024 23:48:47 +0000 (0:00:00.044) 0:00:36.964 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:48:47 +0000 (0:00:00.069) 0:00:37.033 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:85 Monday 19 February 2024 23:48:47 +0000 (0:00:00.072) 0:00:37.106 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:89 Monday 19 February 2024 23:48:47 +0000 (0:00:00.036) 0:00:37.142 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:48:47 +0000 (0:00:00.086) 0:00:37.229 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:48:47 +0000 (0:00:00.090) 0:00:37.319 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:48:47 +0000 (0:00:00.062) 0:00:37.382 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:48:47 +0000 (0:00:00.042) 0:00:37.425 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:48:47 +0000 (0:00:00.041) 0:00:37.466 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003494", "end": "2024-02-19 23:48:48.104770", "rc": 0, "start": "2024-02-19 23:48:48.101276" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:48:48 +0000 (0:00:00.256) 0:00:37.723 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:48:48 +0000 (0:00:00.054) 0:00:37.777 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:48:48 +0000 (0:00:00.036) 0:00:37.814 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 19 February 2024 23:48:50 +0000 (0:00:02.558) 0:00:40.372 ******* 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.012468", "end": "2024-02-19 23:48:51.011538", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-19 23:48:50.999070" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003950", "end": "2024-02-19 23:48:51.233895", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-19 23:48:51.229945" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004211", "end": "2024-02-19 23:48:51.433132", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-19 23:48:51.428921" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 19 February 2024 23:48:51 +0000 (0:00:00.674) 0:00:41.047 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022984", "end": "2024-02-19 23:48:51.684289", "rc": 0, "start": "2024-02-19 23:48:51.661305" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 19 February 2024 23:48:51 +0000 (0:00:00.287) 0:00:41.334 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 19 February 2024 23:48:51 +0000 (0:00:00.077) 0:00:41.411 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 19 February 2024 23:48:51 +0000 (0:00:00.078) 0:00:41.489 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 19 February 2024 23:48:51 +0000 (0:00:00.051) 0:00:41.541 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:48:52 +0000 (0:00:00.062) 0:00:41.603 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:48:52 +0000 (0:00:00.046) 0:00:41.650 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:48:52 +0000 (0:00:00.114) 0:00:41.765 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:48:52 +0000 (0:00:00.053) 0:00:41.818 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:48:52 +0000 (0:00:00.057) 0:00:41.875 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:48:52 +0000 (0:00:00.076) 0:00:41.952 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:48:53 +0000 (0:00:01.607) 0:00:43.560 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:48:55 +0000 (0:00:01.400) 0:00:44.960 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:48:55 +0000 (0:00:00.045) 0:00:45.006 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:48:55 +0000 (0:00:00.063) 0:00:45.069 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:48:55 +0000 (0:00:00.059) 0:00:45.128 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:48:55 +0000 (0:00:00.085) 0:00:45.214 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:48:55 +0000 (0:00:00.059) 0:00:45.273 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:48:55 +0000 (0:00:00.047) 0:00:45.321 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:48:55 +0000 (0:00:00.042) 0:00:45.363 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:48:55 +0000 (0:00:00.086) 0:00:45.450 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:48:55 +0000 (0:00:00.043) 0:00:45.494 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:48:56 +0000 (0:00:00.436) 0:00:45.931 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22885n0rap48/tmphzvhtpa6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:48:56 +0000 (0:00:00.490) 0:00:46.421 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:49:03 +0000 (0:00:06.539) 0:00:52.960 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:49:03 +0000 (0:00:00.032) 0:00:52.992 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:49:03 +0000 (0:00:00.058) 0:00:53.051 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:49:03 +0000 (0:00:00.088) 0:00:53.140 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:49:03 +0000 (0:00:00.049) 0:00:53.190 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:110 Monday 19 February 2024 23:49:03 +0000 (0:00:00.308) 0:00:53.498 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:49:04 +0000 (0:00:00.083) 0:00:53.581 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:49:04 +0000 (0:00:00.075) 0:00:53.657 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386531.0027776, "block_size": 4096, "blocks": 0, "ctime": 1708386531.0027776, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22249, "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": 1708386531.0027776, "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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:49:04 +0000 (0:00:00.255) 0:00:53.912 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:112 Monday 19 February 2024 23:49:04 +0000 (0:00:00.082) 0:00:53.995 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:49:04 +0000 (0:00:00.144) 0:00:54.140 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:49:04 +0000 (0:00:00.179) 0:00:54.319 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:49:04 +0000 (0:00:00.056) 0:00:54.376 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386537.1679535, "block_size": 4096, "blocks": 8, "ctime": 1708386537.147954, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708386537.147954, "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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:49:05 +0000 (0:00:00.282) 0:00:54.658 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:49:05 +0000 (0:00:00.059) 0:00:54.718 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020367", "end": "2024-02-19 23:49:05.383054", "rc": 1, "start": "2024-02-19 23:49:05.362687" } 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:49:05 +0000 (0:00:00.264) 0:00:54.983 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:49:05 +0000 (0:00:00.051) 0:00:55.034 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003362", "end": "2024-02-19 23:49:05.715451", "rc": 0, "start": "2024-02-19 23:49:05.712089" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:49:05 +0000 (0:00:00.293) 0:00:55.328 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:49:05 +0000 (0:00:00.045) 0:00:55.373 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003227", "end": "2024-02-19 23:49:06.000702", "rc": 0, "start": "2024-02-19 23:49:05.997475" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:49:06 +0000 (0:00:00.223) 0:00:55.597 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:49:06 +0000 (0:00:00.033) 0:00:55.630 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:49:06 +0000 (0:00:00.033) 0:00:55.663 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:49:06 +0000 (0:00:00.033) 0:00:55.696 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:116 Monday 19 February 2024 23:49:06 +0000 (0:00:00.030) 0:00:55.727 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003799", "end": "2024-02-19 23:49:06.341274", "rc": 0, "start": "2024-02-19 23:49:06.337475" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.162 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.162 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:120 Monday 19 February 2024 23:49:06 +0000 (0:00:00.224) 0:00:55.952 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:126 Monday 19 February 2024 23:49:06 +0000 (0:00:00.034) 0:00:55.986 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003946", "end": "2024-02-19 23:49:06.620774", "rc": 0, "start": "2024-02-19 23:49:06.616828" } 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:130 Monday 19 February 2024 23:49:06 +0000 (0:00:00.231) 0:00:56.217 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:137 Monday 19 February 2024 23:49:06 +0000 (0:00:00.054) 0:00:56.272 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:49:06 +0000 (0:00:00.057) 0:00:56.329 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:49:06 +0000 (0:00:00.216) 0:00:56.546 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:49:07 +0000 (0:00:00.055) 0:00:56.601 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:49:07 +0000 (0:00:00.038) 0:00:56.640 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:49:07 +0000 (0:00:00.092) 0:00:56.732 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:49:08 +0000 (0:00:01.581) 0:00:58.314 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:49:10 +0000 (0:00:01.438) 0:00:59.752 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:49:10 +0000 (0:00:00.047) 0:00:59.800 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:49:10 +0000 (0:00:00.076) 0:00:59.876 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:49:10 +0000 (0:00:00.049) 0:00:59.926 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:49:10 +0000 (0:00:00.077) 0:01:00.003 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:49:10 +0000 (0:00:00.057) 0:01:00.060 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:49:10 +0000 (0:00:00.041) 0:01:00.102 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:49:10 +0000 (0:00:00.054) 0:01:00.156 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:49:10 +0000 (0:00:00.087) 0:01:00.244 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:49:10 +0000 (0:00:00.082) 0:01:00.327 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:49:11 +0000 (0:00:00.667) 0:01:00.994 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22885n0rap48/tmpnghm0_8o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:49:11 +0000 (0:00:00.376) 0:01:01.371 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:49:12 +0000 (0:00:00.459) 0:01:01.830 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:49:12 +0000 (0:00:00.039) 0:01:01.869 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:49:12 +0000 (0:00:00.031) 0:01:01.901 ******* 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-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:49:12 +0000 (0:00:00.036) 0:01:01.938 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:49:12 +0000 (0:00:00.033) 0:01:01.972 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:149 Monday 19 February 2024 23:49:12 +0000 (0:00:00.227) 0:01:02.199 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 19 February 2024 23:49:12 +0000 (0:00:00.063) 0:01:02.263 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 19 February 2024 23:49:12 +0000 (0:00:00.032) 0:01:02.295 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 19 February 2024 23:49:12 +0000 (0:00:00.032) 0:01:02.327 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:49:12 +0000 (0:00:00.049) 0:01:02.377 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:49:12 +0000 (0:00:00.065) 0:01:02.442 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2024-02-19 23:49:13.083576", "rc": 0, "start": "2024-02-19 23:49:13.080097" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:49:13 +0000 (0:00:00.310) 0:01:02.752 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:49:13 +0000 (0:00:00.056) 0:01:02.808 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 19 February 2024 23:49:13 +0000 (0:00:00.117) 0:01:02.926 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 19 February 2024 23:49:15 +0000 (0:00:02.593) 0:01:05.520 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 19 February 2024 23:49:16 +0000 (0:00:00.066) 0:01:05.586 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 19 February 2024 23:49:16 +0000 (0:00:00.035) 0:01:05.622 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012672", "end": "2024-02-19 23:49:16.297709", "rc": 0, "start": "2024-02-19 23:49:16.285037" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 19 February 2024 23:49:16 +0000 (0:00:00.277) 0:01:05.899 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 19 February 2024 23:49:16 +0000 (0:00:00.038) 0:01:05.938 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 19 February 2024 23:49:16 +0000 (0:00:00.049) 0:01:05.987 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 19 February 2024 23:49:16 +0000 (0:00:00.035) 0:01:06.022 ******* 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:153 Monday 19 February 2024 23:49:16 +0000 (0:00:00.044) 0:01:06.067 ******* included: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 23:49:16 +0000 (0:00:00.073) 0:01:06.141 ******* 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.009731", "end": "2024-02-19 23:49:16.816055", "rc": 0, "start": "2024-02-19 23:49:16.806324" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:c0:aa:32:5d:f3 brd ff:ff:ff:ff:ff:ff inet 10.31.46.162/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2834sec preferred_lft 2834sec inet6 fe80::c0:aaff:fe32:5df3/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.162 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.162 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-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 23:49:16 +0000 (0:00:00.269) 0:01:06.411 ******* 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.224835", "end": "2024-02-19 23:49:17.291181", "rc": 0, "start": "2024-02-19 23:49:17.066346" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 4178 0 --:--:-- --:--:-- --:--:-- 4236 % 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 17117 0 --:--:-- --:--:-- --:--:-- 17117 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Monday 19 February 2024 23:49:17 +0000 (0:00:00.531) 0:01:06.943 ******* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.71s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.54s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Install packages -------------------- 4.67s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 2.88s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.56s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.58s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.56s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.55s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.44s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.40s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.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.36s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.99s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Gathering Facts --------------------------------------------------------- 0.95s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/tests_auto_gateway_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable network service -------------- 0.67s /WORKDIR/git-nm_plugin_hotfixd8i6_zc5/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---