# 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_hotfixuvkrtg0r/.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_hotfixuvkrtg0r/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_hotfixuvkrtg0r/tests/tests_auto_gateway_initscripts.yml:5 Sunday 18 February 2024 17:04:55 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/tests_auto_gateway_initscripts.yml:8 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.903) 0:00:00.914 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/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_hotfixuvkrtg0r/tests/tasks/el_repo_setup.yml:3 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.011) 0:00:00.926 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/tasks/el_repo_setup.yml:17 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.363) 0:00:01.290 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/tasks/el_repo_setup.yml:22 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.241) 0:00:01.531 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/tasks/el_repo_setup.yml:26 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.014) 0:00:01.546 ******* 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_hotfixuvkrtg0r/tests/tasks/el_repo_setup.yml:51 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.008) 0:00:01.555 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/tasks/enable_epel.yml:8 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.021) 0:00:01.577 ******* 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_hotfixuvkrtg0r/tests/tasks/enable_epel.yml:24 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.244) 0:00:01.821 ******* 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_hotfixuvkrtg0r/tests/tasks/enable_epel.yml:30 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.009) 0:00:01.830 ******* 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_hotfixuvkrtg0r/tests/tasks/enable_epel.yml:35 Sunday 18 February 2024 17:04:56 +0000 (0:00:00.009) 0:00:01.840 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.240158", "end": "2024-02-18 17:04:57.349056", "rc": 0, "start": "2024-02-18 17:04:57.108898" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/tasks/enable_epel.yml:40 Sunday 18 February 2024 17:04:57 +0000 (0:00:00.425) 0:00:02.265 ******* 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_hotfixuvkrtg0r/tests/tests_auto_gateway_initscripts.yml:10 Sunday 18 February 2024 17:04:57 +0000 (0:00:00.009) 0:00:02.275 ******* 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:3 Sunday 18 February 2024 17:04:57 +0000 (0:00:00.016) 0:00:02.292 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:9 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.618) 0:00:02.911 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.036) 0:00:02.947 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.022) 0:00:02.969 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003187", "end": "2024-02-18 17:04:58.252065", "rc": 0, "start": "2024-02-18 17:04:58.248878" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.198) 0:00:03.167 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.021) 0:00:03.189 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:11 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.020) 0:00:03.209 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.036) 0:00:03.246 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.019) 0:00:03.265 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.019) 0:00:03.284 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.022) 0:00:03.306 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.021) 0:00:03.328 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003033", "end": "2024-02-18 17:04:58.610021", "rc": 0, "start": "2024-02-18 17:04:58.606988" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.197) 0:00:03.525 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.021) 0:00:03.546 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 17:04:58 +0000 (0:00:00.023) 0:00:03.570 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 17:09:01 +0000 (0:04:02.724) 0:04:06.294 ******* 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.015840", "end": "2024-02-18 17:09:01.594273", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-18 17:09:01.578433" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004073", "end": "2024-02-18 17:09:01.820125", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-18 17:09:01.816052" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004471", "end": "2024-02-18 17:09:02.009326", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-18 17:09:02.004855" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.633) 0:04:06.928 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.101282", "end": "2024-02-18 17:09:02.311057", "rc": 0, "start": "2024-02-18 17:09:02.209775" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.300) 0:04:07.229 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.021) 0:04:07.250 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.020) 0:04:07.271 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.020) 0:04:07.292 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.020) 0:04:07.312 ******* 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:15 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.019) 0:04:07.332 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.035) 0:04:07.368 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.023) 0:04:07.391 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708276141.5893922, "block_size": 4096, "blocks": 0, "ctime": 1708276141.5893922, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21627, "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": 1708276141.5893922, "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_hotfixuvkrtg0r/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.200) 0:04:07.591 ******* 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:17 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.022) 0:04:07.614 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.021) 0:04:07.635 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.028) 0:04:07.664 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.022) 0:04:07.686 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.023) 0:04:07.710 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 18 February 2024 17:09:02 +0000 (0:00:00.022) 0:04:07.733 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 18 February 2024 17:09:04 +0000 (0:00:01.555) 0:04:09.288 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 18 February 2024 17:09:05 +0000 (0:00:01.528) 0:04:10.816 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 18 February 2024 17:09:05 +0000 (0:00:00.032) 0:04:10.848 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 18 February 2024 17:09:05 +0000 (0:00:00.031) 0:04:10.880 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Sunday 18 February 2024 17:09:06 +0000 (0:00:00.031) 0:04:10.912 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Sunday 18 February 2024 17:13:10 +0000 (0:04:04.389) 0:08:15.301 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Sunday 18 February 2024 17:13:10 +0000 (0:00:00.031) 0:08:15.332 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Sunday 18 February 2024 17:13:10 +0000 (0:00:00.030) 0:08:15.363 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Sunday 18 February 2024 17:13:10 +0000 (0:00:00.087) 0:08:15.451 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Sunday 18 February 2024 17:13:10 +0000 (0:00:00.031) 0:08:15.482 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Sunday 18 February 2024 17:13:10 +0000 (0:00:00.028) 0:08:15.510 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Sunday 18 February 2024 17:13:11 +0000 (0:00:00.826) 0:08:16.337 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23552c06b0xq/tmpunke7aj9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Sunday 18 February 2024 17:13:11 +0000 (0:00:00.299) 0:08:16.637 ******* 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\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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Sunday 18 February 2024 17:13:19 +0000 (0:00:07.642) 0:08:24.279 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Sunday 18 February 2024 17:13:19 +0000 (0:00:00.031) 0:08:24.311 ******* 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\\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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Sunday 18 February 2024 17:13:19 +0000 (0:00:00.030) 0:08:24.342 ******* 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\\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\\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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Sunday 18 February 2024 17:13:19 +0000 (0:00:00.033) 0:08:24.375 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Sunday 18 February 2024 17:13:19 +0000 (0:00:00.031) 0:08:24.407 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:42 Sunday 18 February 2024 17:13:19 +0000 (0:00:00.306) 0:08:24.713 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 17:13:19 +0000 (0:00:00.052) 0:08:24.765 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 17:13:19 +0000 (0:00:00.038) 0:08:24.804 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708276141.5893922, "block_size": 4096, "blocks": 0, "ctime": 1708276141.5893922, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21627, "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": 1708276141.5893922, "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_hotfixuvkrtg0r/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.205) 0:08:25.009 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:44 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.056) 0:08:25.066 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.052) 0:08:25.119 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.041) 0:08:25.161 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.029) 0:08:25.190 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708276392.131019, "block_size": 4096, "blocks": 8, "ctime": 1708276392.1300192, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976904, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708276392.1300192, "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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.206) 0:08:25.397 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.031) 0:08:25.428 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020445", "end": "2024-02-18 17:13:20.728009", "rc": 1, "start": "2024-02-18 17:13:20.707564" } 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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.224) 0:08:25.653 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.030) 0:08:25.683 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002938", "end": "2024-02-18 17:13:20.967047", "rc": 0, "start": "2024-02-18 17:13:20.964109" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 17:13:20 +0000 (0:00:00.209) 0:08:25.893 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.033) 0:08:25.927 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003166", "end": "2024-02-18 17:13:21.211802", "rc": 0, "start": "2024-02-18 17:13:21.208636" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.211) 0:08:26.138 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.033) 0:08:26.172 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.032) 0:08:26.204 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.032) 0:08:26.237 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:48 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.031) 0:08:26.269 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003579", "end": "2024-02-18 17:13:21.552448", "rc": 0, "start": "2024-02-18 17:13:21.548869" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.32 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.45.32 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:52 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.208) 0:08:26.477 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:58 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.062) 0:08:26.540 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003689", "end": "2024-02-18 17:13:21.820466", "rc": 0, "start": "2024-02-18 17:13:21.816777" } 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:62 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.205) 0:08:26.745 ******* 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:69 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.028) 0:08:26.773 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.029) 0:08:26.803 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.044) 0:08:26.847 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 18 February 2024 17:13:21 +0000 (0:00:00.035) 0:08:26.883 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 18 February 2024 17:13:22 +0000 (0:00:00.031) 0:08:26.915 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 18 February 2024 17:13:22 +0000 (0:00:00.030) 0:08:26.945 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 18 February 2024 17:13:23 +0000 (0:00:01.511) 0:08:28.457 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 18 February 2024 17:13:24 +0000 (0:00:01.318) 0:08:29.775 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 18 February 2024 17:13:24 +0000 (0:00:00.032) 0:08:29.808 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 18 February 2024 17:13:24 +0000 (0:00:00.031) 0:08:29.840 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Sunday 18 February 2024 17:13:24 +0000 (0:00:00.031) 0:08:29.871 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Sunday 18 February 2024 17:13:25 +0000 (0:00:00.054) 0:08:29.926 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Sunday 18 February 2024 17:13:25 +0000 (0:00:00.031) 0:08:29.958 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Sunday 18 February 2024 17:13:25 +0000 (0:00:00.064) 0:08:30.023 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Sunday 18 February 2024 17:13:25 +0000 (0:00:00.035) 0:08:30.058 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Sunday 18 February 2024 17:13:25 +0000 (0:00:00.033) 0:08:30.092 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Sunday 18 February 2024 17:13:25 +0000 (0:00:00.030) 0:08:30.122 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Sunday 18 February 2024 17:13:25 +0000 (0:00:00.370) 0:08:30.492 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23552c06b0xq/tmprmjk4bli" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Sunday 18 February 2024 17:13:25 +0000 (0:00:00.299) 0:08:30.792 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.429) 0:08:31.222 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.031) 0:08:31.253 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.031) 0:08:31.285 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.032) 0:08:31.317 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.032) 0:08:31.349 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:81 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.210) 0:08:31.560 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.056) 0:08:31.617 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.028) 0:08:31.646 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.028) 0:08:31.674 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.070) 0:08:31.745 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 17:13:26 +0000 (0:00:00.040) 0:08:31.786 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003228", "end": "2024-02-18 17:13:27.068034", "rc": 0, "start": "2024-02-18 17:13:27.064806" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 17:13:27 +0000 (0:00:00.207) 0:08:31.993 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 17:13:27 +0000 (0:00:00.029) 0:08:32.023 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 17:13:27 +0000 (0:00:00.031) 0:08:32.054 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 17:17:29 +0000 (0:04:02.562) 0:12:34.617 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 17:17:29 +0000 (0:00:00.036) 0:12:34.654 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 17:17:29 +0000 (0:00:00.029) 0:12:34.683 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013356", "end": "2024-02-18 17:17:29.976660", "rc": 0, "start": "2024-02-18 17:17:29.963304" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.220) 0:12:34.904 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.028) 0:12:34.933 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.029) 0:12:34.962 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.029) 0:12:34.992 ******* 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:85 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.028) 0:12:35.021 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:89 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.029) 0:12:35.051 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.054) 0:12:35.106 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.061) 0:12:35.167 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.029) 0:12:35.197 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.042) 0:12:35.239 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.040) 0:12:35.280 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003119", "end": "2024-02-18 17:17:30.564078", "rc": 0, "start": "2024-02-18 17:17:30.560959" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.208) 0:12:35.489 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.032) 0:12:35.521 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 17:17:30 +0000 (0:00:00.031) 0:12:35.553 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 17:21:33 +0000 (0:04:02.544) 0:16:38.098 ******* 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.016763", "end": "2024-02-18 17:21:33.395264", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-18 17:21:33.378501" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003626", "end": "2024-02-18 17:21:33.611282", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-18 17:21:33.607656" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004284", "end": "2024-02-18 17:21:33.793598", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-18 17:21:33.789314" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 17:21:33 +0000 (0:00:00.623) 0:16:38.721 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022712", "end": "2024-02-18 17:21:34.024109", "rc": 0, "start": "2024-02-18 17:21:34.001397" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.229) 0:16:38.951 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.029) 0:16:38.980 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.030) 0:16:39.010 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.028) 0:16:39.039 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.029) 0:16:39.069 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.028) 0:16:39.098 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.077) 0:16:39.175 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.035) 0:16:39.211 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.033) 0:16:39.244 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 18 February 2024 17:21:34 +0000 (0:00:00.031) 0:16:39.275 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 18 February 2024 17:21:35 +0000 (0:00:01.503) 0:16:40.779 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 18 February 2024 17:21:37 +0000 (0:00:01.317) 0:16:42.096 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.032) 0:16:42.129 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.033) 0:16:42.162 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.031) 0:16:42.193 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.055) 0:16:42.249 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.031) 0:16:42.281 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.033) 0:16:42.314 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.036) 0:16:42.350 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.031) 0:16:42.382 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.030) 0:16:42.412 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Sunday 18 February 2024 17:21:37 +0000 (0:00:00.376) 0:16:42.788 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23552c06b0xq/tmpzvt231lk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Sunday 18 February 2024 17:21:38 +0000 (0:00:00.335) 0:16:43.124 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Sunday 18 February 2024 17:21:44 +0000 (0:00:06.511) 0:16:49.635 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Sunday 18 February 2024 17:21:44 +0000 (0:00:00.031) 0:16:49.667 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Sunday 18 February 2024 17:21:44 +0000 (0:00:00.033) 0:16:49.700 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Sunday 18 February 2024 17:21:44 +0000 (0:00:00.033) 0:16:49.733 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Sunday 18 February 2024 17:21:44 +0000 (0:00:00.031) 0:16:49.765 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:110 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.210) 0:16:49.975 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.059) 0:16:50.034 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.041) 0:16:50.076 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708276893.3819091, "block_size": 4096, "blocks": 0, "ctime": 1708276893.3819091, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22213, "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": 1708276893.3819091, "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_hotfixuvkrtg0r/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.205) 0:16:50.282 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:112 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.030) 0:16:50.312 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.056) 0:16:50.369 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.078) 0:16:50.448 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.031) 0:16:50.479 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708276898.5134754, "block_size": 4096, "blocks": 8, "ctime": 1708276898.4934762, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976904, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708276898.4934762, "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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.206) 0:16:50.685 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 17:21:45 +0000 (0:00:00.031) 0:16:50.717 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020994", "end": "2024-02-18 17:21:46.015266", "rc": 1, "start": "2024-02-18 17:21:45.994272" } 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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.224) 0:16:50.941 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.032) 0:16:50.974 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003090", "end": "2024-02-18 17:21:46.258582", "rc": 0, "start": "2024-02-18 17:21:46.255492" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.211) 0:16:51.185 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.033) 0:16:51.219 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002948", "end": "2024-02-18 17:21:46.500977", "rc": 0, "start": "2024-02-18 17:21:46.498029" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.208) 0:16:51.428 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.034) 0:16:51.462 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.032) 0:16:51.494 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.033) 0:16:51.528 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:116 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.031) 0:16:51.559 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003350", "end": "2024-02-18 17:21:46.840238", "rc": 0, "start": "2024-02-18 17:21:46.836888" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.32 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.32 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:120 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.206) 0:16:51.766 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:126 Sunday 18 February 2024 17:21:46 +0000 (0:00:00.031) 0:16:51.797 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003472", "end": "2024-02-18 17:21:47.077971", "rc": 0, "start": "2024-02-18 17:21:47.074499" } 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:130 Sunday 18 February 2024 17:21:47 +0000 (0:00:00.206) 0:16:52.003 ******* 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:137 Sunday 18 February 2024 17:21:47 +0000 (0:00:00.028) 0:16:52.031 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 18 February 2024 17:21:47 +0000 (0:00:00.031) 0:16:52.063 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 18 February 2024 17:21:47 +0000 (0:00:00.078) 0:16:52.142 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 18 February 2024 17:21:47 +0000 (0:00:00.034) 0:16:52.176 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 18 February 2024 17:21:47 +0000 (0:00:00.031) 0:16:52.207 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 18 February 2024 17:21:47 +0000 (0:00:00.033) 0:16:52.241 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 18 February 2024 17:21:48 +0000 (0:00:01.498) 0:16:53.739 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 18 February 2024 17:21:50 +0000 (0:00:01.319) 0:16:55.059 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.032) 0:16:55.092 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.032) 0:16:55.125 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.031) 0:16:55.156 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.055) 0:16:55.212 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.034) 0:16:55.246 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.033) 0:16:55.279 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.035) 0:16:55.315 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.032) 0:16:55.348 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.029) 0:16:55.377 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Sunday 18 February 2024 17:21:50 +0000 (0:00:00.456) 0:16:55.833 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23552c06b0xq/tmp9foxkygi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Sunday 18 February 2024 17:21:51 +0000 (0:00:00.300) 0:16:56.134 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Sunday 18 February 2024 17:21:51 +0000 (0:00:00.427) 0:16:56.561 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Sunday 18 February 2024 17:21:51 +0000 (0:00:00.033) 0:16:56.594 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Sunday 18 February 2024 17:21:51 +0000 (0:00:00.032) 0:16:56.627 ******* 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_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Sunday 18 February 2024 17:21:51 +0000 (0:00:00.034) 0:16:56.661 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Sunday 18 February 2024 17:21:51 +0000 (0:00:00.034) 0:16:56.696 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:149 Sunday 18 February 2024 17:21:52 +0000 (0:00:00.213) 0:16:56.909 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 17:21:52 +0000 (0:00:00.061) 0:16:56.971 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 17:21:52 +0000 (0:00:00.030) 0:16:57.001 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 17:21:52 +0000 (0:00:00.029) 0:16:57.031 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 17:21:52 +0000 (0:00:00.042) 0:16:57.073 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 17:21:52 +0000 (0:00:00.041) 0:16:57.114 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003124", "end": "2024-02-18 17:21:52.397576", "rc": 0, "start": "2024-02-18 17:21:52.394452" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 17:21:52 +0000 (0:00:00.250) 0:16:57.365 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 17:21:52 +0000 (0:00:00.031) 0:16:57.396 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 17:21:52 +0000 (0:00:00.031) 0:16:57.428 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 17:25:55 +0000 (0:04:02.572) 0:21:00.001 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 17:25:55 +0000 (0:00:00.042) 0:21:00.043 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 17:25:55 +0000 (0:00:00.029) 0:21:00.073 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009169", "end": "2024-02-18 17:25:55.361644", "rc": 0, "start": "2024-02-18 17:25:55.352475" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 17:25:55 +0000 (0:00:00.215) 0:21:00.289 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 17:25:55 +0000 (0:00:00.031) 0:21:00.320 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 17:25:55 +0000 (0:00:00.031) 0:21:00.352 ******* 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_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 17:25:55 +0000 (0:00:00.030) 0:21:00.382 ******* 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_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:153 Sunday 18 February 2024 17:25:55 +0000 (0:00:00.030) 0:21:00.413 ******* included: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/check_network_dns.yml:6 Sunday 18 February 2024 17:25:55 +0000 (0:00:00.061) 0:21:00.474 ******* 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.009414", "end": "2024-02-18 17:25:55.762236", "rc": 0, "start": "2024-02-18 17:25:55.752822" } 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:bb:be:cd:49:a3 brd ff:ff:ff:ff:ff:ff inet 10.31.45.32/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2983sec preferred_lft 2983sec inet6 fe80::bb:beff:fecd:49a3/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.32 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.32 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_hotfixuvkrtg0r/tests/playbooks/tasks/check_network_dns.yml:24 Sunday 18 February 2024 17:25:55 +0000 (0:00:00.214) 0:21:00.689 ******* 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.278302", "end": "2024-02-18 17:25:56.248653", "rc": 0, "start": "2024-02-18 17:25:55.970351" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 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 3315 0 --:--:-- --:--:-- --:--:-- 3315 % 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 2487 0 --:--:-- --:--:-- --:--:-- 2508 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Sunday 18 February 2024 17:25:56 +0000 (0:00:00.516) 0:21:01.205 ******* =============================================================================== fedora.linux_system_roles.network : Install packages ------------------ 244.39s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute ------------------------------------------------------- 242.72s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute ------------------------------------------------------- 242.57s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute ------------------------------------------------------- 242.56s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute ------------------------------------------------------- 242.54s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 7.64s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.51s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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.53s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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.51s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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.50s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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.50s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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.32s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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.32s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.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.32s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Enable network service -------------- 0.83s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-nm_plugin_hotfixuvkrtg0r/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---