# 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_hotfixlw_83jts/.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_hotfixlw_83jts/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_hotfixlw_83jts/tests/tests_auto_gateway_initscripts.yml:5 Thursday 29 February 2024 00:03:53 +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_hotfixlw_83jts/tests/tests_auto_gateway_initscripts.yml:8 Thursday 29 February 2024 00:03:54 +0000 (0:00:00.855) 0:00:00.866 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/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_hotfixlw_83jts/tests/tasks/el_repo_setup.yml:3 Thursday 29 February 2024 00:03:54 +0000 (0:00:00.012) 0:00:00.879 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/tasks/el_repo_setup.yml:17 Thursday 29 February 2024 00:03:54 +0000 (0:00:00.370) 0:00:01.249 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/tasks/el_repo_setup.yml:22 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.258) 0:00:01.508 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/tasks/el_repo_setup.yml:26 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.022) 0:00:01.531 ***** 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_hotfixlw_83jts/tests/tasks/el_repo_setup.yml:51 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.018) 0:00:01.549 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/tasks/enable_epel.yml:8 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.024) 0:00:01.574 ***** 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_hotfixlw_83jts/tests/tasks/enable_epel.yml:24 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.260) 0:00:01.834 ***** 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_hotfixlw_83jts/tests/tasks/enable_epel.yml:30 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.011) 0:00:01.845 ***** 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_hotfixlw_83jts/tests/tasks/enable_epel.yml:35 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.010) 0:00:01.855 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243983", "end": "2024-02-29 00:03:55.857901", "rc": 0, "start": "2024-02-29 00:03:55.613918" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/tasks/enable_epel.yml:40 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.432) 0:00:02.287 ***** 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_hotfixlw_83jts/tests/tests_auto_gateway_initscripts.yml:10 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.008) 0:00:02.296 ***** 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:3 Thursday 29 February 2024 00:03:55 +0000 (0:00:00.015) 0:00:02.312 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:9 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.627) 0:00:02.939 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.032) 0:00:02.972 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.019) 0:00:02.992 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003583", "end": "2024-02-29 00:03:56.761334", "rc": 0, "start": "2024-02-29 00:03:56.757751" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.198) 0:00:03.191 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.019) 0:00:03.210 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:11 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.018) 0:00:03.229 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.034) 0:00:03.263 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.016) 0:00:03.280 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.017) 0:00:03.297 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.019) 0:00:03.317 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:03:56 +0000 (0:00:00.021) 0:00:03.338 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003590", "end": "2024-02-29 00:03:57.109442", "rc": 0, "start": "2024-02-29 00:03:57.105852" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:03:57 +0000 (0:00:00.200) 0:00:03.539 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:03:57 +0000 (0:00:00.018) 0:00:03.558 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 29 February 2024 00:03:57 +0000 (0:00:00.018) 0:00:03.576 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 29 February 2024 00:04:00 +0000 (0:00:02.877) 0:00:06.454 ***** 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.012807", "end": "2024-02-29 00:04:00.241640", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-29 00:04:00.228833" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004099", "end": "2024-02-29 00:04:00.478523", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-29 00:04:00.474424" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004841", "end": "2024-02-29 00:04:00.668953", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-29 00:04:00.664112" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 29 February 2024 00:04:00 +0000 (0:00:00.645) 0:00:07.100 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.156799", "end": "2024-02-29 00:04:01.027602", "rc": 0, "start": "2024-02-29 00:04:00.870803" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.358) 0:00:07.458 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.017) 0:00:07.476 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.017) 0:00:07.494 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.017) 0:00:07.511 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.017) 0:00:07.529 ***** 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:15 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.017) 0:00:07.547 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.032) 0:00:07.579 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.019) 0:00:07.599 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165040.2397096, "block_size": 4096, "blocks": 0, "ctime": 1709165040.2397096, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21697, "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": 1709165040.2397096, "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_hotfixlw_83jts/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.197) 0:00:07.797 ***** 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:17 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.020) 0:00:07.817 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.017) 0:00:07.835 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.027) 0:00:07.862 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.022) 0:00:07.885 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.020) 0:00:07.905 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:04:01 +0000 (0:00:00.022) 0:00:07.928 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:04:03 +0000 (0:00:01.698) 0:00:09.626 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:04:04 +0000 (0:00:01.560) 0:00:11.187 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:04:04 +0000 (0:00:00.032) 0:00:11.220 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:04:04 +0000 (0:00:00.043) 0:00:11.264 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:04:04 +0000 (0:00:00.034) 0:00:11.298 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:04:04 +0000 (0:00:00.037) 0:00:11.335 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:04:04 +0000 (0:00:00.028) 0:00:11.364 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:04:05 +0000 (0:00:00.056) 0:00:11.420 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:04:09 +0000 (0:00:04.417) 0:00:15.837 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:04:09 +0000 (0:00:00.051) 0:00:15.888 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:04:09 +0000 (0:00:00.040) 0:00:15.928 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:04:09 +0000 (0:00:00.060) 0:00:15.989 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:04:09 +0000 (0:00:00.036) 0:00:16.026 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:04:09 +0000 (0:00:00.032) 0:00:16.058 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:04:10 +0000 (0:00:00.871) 0:00:16.930 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-228838q3dhxt/tmpb6ocvo9c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:04:10 +0000 (0:00:00.312) 0:00:17.242 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:04:17 +0000 (0:00:06.684) 0:00:23.927 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:04:17 +0000 (0:00:00.034) 0:00:23.961 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:04:17 +0000 (0:00:00.036) 0:00:23.998 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:04:17 +0000 (0:00:00.038) 0:00:24.036 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:04:17 +0000 (0:00:00.031) 0:00:24.067 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:42 Thursday 29 February 2024 00:04:17 +0000 (0:00:00.312) 0:00:24.380 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.056) 0:00:24.436 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.076) 0:00:24.513 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165040.2397096, "block_size": 4096, "blocks": 0, "ctime": 1709165040.2397096, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21697, "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": 1709165040.2397096, "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_hotfixlw_83jts/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.211) 0:00:24.724 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:44 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.030) 0:00:24.755 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.057) 0:00:24.813 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.042) 0:00:24.855 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.030) 0:00:24.886 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165051.2626028, "block_size": 4096, "blocks": 8, "ctime": 1709165051.241603, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165051.241603, "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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.204) 0:00:25.090 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.031) 0:00:25.121 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020728", "end": "2024-02-29 00:04:18.909531", "rc": 1, "start": "2024-02-29 00:04:18.888803" } 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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.237) 0:00:25.359 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:04:18 +0000 (0:00:00.039) 0:00:25.398 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003276", "end": "2024-02-29 00:04:19.178775", "rc": 0, "start": "2024-02-29 00:04:19.175499" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:04:19 +0000 (0:00:00.220) 0:00:25.619 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:04:19 +0000 (0:00:00.041) 0:00:25.660 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003335", "end": "2024-02-29 00:04:19.451628", "rc": 0, "start": "2024-02-29 00:04:19.448293" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:04:19 +0000 (0:00:00.231) 0:00:25.891 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:04:19 +0000 (0:00:00.041) 0:00:25.933 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:04:19 +0000 (0:00:00.034) 0:00:25.967 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:04:19 +0000 (0:00:00.085) 0:00:26.053 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:48 Thursday 29 February 2024 00:04:19 +0000 (0:00:00.033) 0:00:26.086 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003689", "end": "2024-02-29 00:04:19.873261", "rc": 0, "start": "2024-02-29 00:04:19.869572" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.233 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.44.233 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:52 Thursday 29 February 2024 00:04:19 +0000 (0:00:00.226) 0:00:26.313 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:58 Thursday 29 February 2024 00:04:19 +0000 (0:00:00.032) 0:00:26.345 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003930", "end": "2024-02-29 00:04:20.116256", "rc": 0, "start": "2024-02-29 00:04:20.112326" } 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:62 Thursday 29 February 2024 00:04:20 +0000 (0:00:00.214) 0:00:26.559 ***** 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:69 Thursday 29 February 2024 00:04:20 +0000 (0:00:00.031) 0:00:26.591 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:04:20 +0000 (0:00:00.030) 0:00:26.621 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:04:20 +0000 (0:00:00.048) 0:00:26.670 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:04:20 +0000 (0:00:00.034) 0:00:26.705 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:04:20 +0000 (0:00:00.031) 0:00:26.737 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:04:20 +0000 (0:00:00.041) 0:00:26.778 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:04:21 +0000 (0:00:01.590) 0:00:28.368 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:04:23 +0000 (0:00:01.332) 0:00:29.700 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.033) 0:00:29.734 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.060) 0:00:29.795 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.031) 0:00:29.826 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.037) 0:00:29.864 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.031) 0:00:29.895 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.039) 0:00:29.934 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.056) 0:00:29.991 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.029) 0:00:30.021 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.030) 0:00:30.051 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.034) 0:00:30.086 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.033) 0:00:30.120 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:04:23 +0000 (0:00:00.030) 0:00:30.150 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:04:24 +0000 (0:00:00.393) 0:00:30.544 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-228838q3dhxt/tmpqi9t1zi_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:04:24 +0000 (0:00:00.304) 0:00:30.848 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:04:24 +0000 (0:00:00.446) 0:00:31.295 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:04:24 +0000 (0:00:00.032) 0:00:31.328 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:04:24 +0000 (0:00:00.031) 0:00:31.360 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:04:24 +0000 (0:00:00.040) 0:00:31.400 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.032) 0:00:31.433 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:81 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.241) 0:00:31.674 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.059) 0:00:31.734 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.034) 0:00:31.768 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.037) 0:00:31.806 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.050) 0:00:31.856 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.041) 0:00:31.898 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003412", "end": "2024-02-29 00:04:25.679245", "rc": 0, "start": "2024-02-29 00:04:25.675833" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.224) 0:00:32.123 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.031) 0:00:32.154 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 29 February 2024 00:04:25 +0000 (0:00:00.029) 0:00:32.184 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 29 February 2024 00:04:28 +0000 (0:00:02.516) 0:00:34.700 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.036) 0:00:34.737 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.027) 0:00:34.765 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012747", "end": "2024-02-29 00:04:28.546947", "rc": 0, "start": "2024-02-29 00:04:28.534200" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.224) 0:00:34.989 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.027) 0:00:35.017 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.054) 0:00:35.071 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.028) 0:00:35.100 ***** 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:85 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.028) 0:00:35.128 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:89 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.030) 0:00:35.159 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.057) 0:00:35.217 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.032) 0:00:35.250 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.038) 0:00:35.288 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.043) 0:00:35.332 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:04:28 +0000 (0:00:00.042) 0:00:35.374 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003483", "end": "2024-02-29 00:04:29.147646", "rc": 0, "start": "2024-02-29 00:04:29.144163" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:04:29 +0000 (0:00:00.211) 0:00:35.586 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:04:29 +0000 (0:00:00.032) 0:00:35.618 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 29 February 2024 00:04:29 +0000 (0:00:00.030) 0:00:35.649 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 29 February 2024 00:04:31 +0000 (0:00:02.726) 0:00:38.376 ***** 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.013025", "end": "2024-02-29 00:04:32.161002", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-29 00:04:32.147977" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004145", "end": "2024-02-29 00:04:32.383279", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-29 00:04:32.379134" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004468", "end": "2024-02-29 00:04:32.572210", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-29 00:04:32.567742" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 29 February 2024 00:04:32 +0000 (0:00:00.637) 0:00:39.014 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023723", "end": "2024-02-29 00:04:32.807000", "rc": 0, "start": "2024-02-29 00:04:32.783277" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 29 February 2024 00:04:32 +0000 (0:00:00.241) 0:00:39.255 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 29 February 2024 00:04:32 +0000 (0:00:00.095) 0:00:39.351 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 29 February 2024 00:04:32 +0000 (0:00:00.029) 0:00:39.380 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 29 February 2024 00:04:32 +0000 (0:00:00.027) 0:00:39.408 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 29 February 2024 00:04:33 +0000 (0:00:00.029) 0:00:39.437 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:04:33 +0000 (0:00:00.030) 0:00:39.467 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:04:33 +0000 (0:00:00.076) 0:00:39.544 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:04:33 +0000 (0:00:00.034) 0:00:39.578 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:04:33 +0000 (0:00:00.033) 0:00:39.612 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:04:33 +0000 (0:00:00.030) 0:00:39.642 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:04:34 +0000 (0:00:01.586) 0:00:41.229 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:04:36 +0000 (0:00:01.336) 0:00:42.566 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.032) 0:00:42.598 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.038) 0:00:42.637 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.082) 0:00:42.719 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.167) 0:00:42.887 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.073) 0:00:42.961 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.045) 0:00:43.006 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.060) 0:00:43.067 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.030) 0:00:43.097 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.033) 0:00:43.131 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.043) 0:00:43.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.032) 0:00:43.208 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:04:36 +0000 (0:00:00.044) 0:00:43.252 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.388) 0:00:43.641 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-228838q3dhxt/tmpz8bid3n7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:04:37 +0000 (0:00:00.327) 0:00:43.969 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:04:44 +0000 (0:00:06.542) 0:00:50.511 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.032) 0:00:50.544 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.034) 0:00:50.578 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.043) 0:00:50.621 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.031) 0:00:50.653 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:110 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.215) 0:00:50.868 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.094) 0:00:50.963 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.042) 0:00:51.005 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165072.1518416, "block_size": 4096, "blocks": 0, "ctime": 1709165072.1518416, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22283, "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": 1709165072.1518416, "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_hotfixlw_83jts/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.210) 0:00:51.216 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:112 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.032) 0:00:51.248 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.063) 0:00:51.312 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.044) 0:00:51.357 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:04:44 +0000 (0:00:00.030) 0:00:51.388 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165077.872553, "block_size": 4096, "blocks": 8, "ctime": 1709165077.8515532, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165077.8515532, "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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:04:45 +0000 (0:00:00.209) 0:00:51.597 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:04:45 +0000 (0:00:00.041) 0:00:51.639 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020731", "end": "2024-02-29 00:04:45.424995", "rc": 1, "start": "2024-02-29 00:04:45.404264" } 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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:04:45 +0000 (0:00:00.229) 0:00:51.868 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:04:45 +0000 (0:00:00.045) 0:00:51.913 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003202", "end": "2024-02-29 00:04:45.689654", "rc": 0, "start": "2024-02-29 00:04:45.686452" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:04:45 +0000 (0:00:00.216) 0:00:52.130 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:04:45 +0000 (0:00:00.032) 0:00:52.162 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003340", "end": "2024-02-29 00:04:45.933050", "rc": 0, "start": "2024-02-29 00:04:45.929710" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:04:45 +0000 (0:00:00.247) 0:00:52.410 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.034) 0:00:52.444 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.034) 0:00:52.479 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.034) 0:00:52.513 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:116 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.030) 0:00:52.543 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003792", "end": "2024-02-29 00:04:46.313531", "rc": 0, "start": "2024-02-29 00:04:46.309739" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.233 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.233 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:120 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.220) 0:00:52.764 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:126 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.044) 0:00:52.808 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004029", "end": "2024-02-29 00:04:46.584167", "rc": 0, "start": "2024-02-29 00:04:46.580138" } 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:130 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.217) 0:00:53.026 ***** 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:137 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.029) 0:00:53.056 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.033) 0:00:53.090 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.049) 0:00:53.139 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.049) 0:00:53.189 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.032) 0:00:53.222 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 29 February 2024 00:04:46 +0000 (0:00:00.037) 0:00:53.259 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 29 February 2024 00:04:48 +0000 (0:00:01.559) 0:00:54.818 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 29 February 2024 00:04:49 +0000 (0:00:01.419) 0:00:56.237 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 29 February 2024 00:04:49 +0000 (0:00:00.036) 0:00:56.274 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 29 February 2024 00:04:49 +0000 (0:00:00.031) 0:00:56.306 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 29 February 2024 00:04:49 +0000 (0:00:00.033) 0:00:56.339 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 29 February 2024 00:04:49 +0000 (0:00:00.037) 0:00:56.376 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 29 February 2024 00:04:49 +0000 (0:00:00.028) 0:00:56.404 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Thursday 29 February 2024 00:04:50 +0000 (0:00:00.035) 0:00:56.439 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 29 February 2024 00:04:50 +0000 (0:00:00.053) 0:00:56.493 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 29 February 2024 00:04:50 +0000 (0:00:00.047) 0:00:56.541 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Thursday 29 February 2024 00:04:50 +0000 (0:00:00.036) 0:00:56.577 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 29 February 2024 00:04:50 +0000 (0:00:00.052) 0:00:56.629 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Thursday 29 February 2024 00:04:50 +0000 (0:00:00.049) 0:00:56.679 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Thursday 29 February 2024 00:04:50 +0000 (0:00:00.034) 0:00:56.713 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Thursday 29 February 2024 00:04:50 +0000 (0:00:00.380) 0:00:57.094 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-228838q3dhxt/tmpcjdw4xz9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Thursday 29 February 2024 00:04:50 +0000 (0:00:00.302) 0:00:57.397 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.430) 0:00:57.828 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.031) 0:00:57.860 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.032) 0:00:57.892 ***** 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_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.092) 0:00:57.985 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.057) 0:00:58.042 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:149 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.251) 0:00:58.294 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.063) 0:00:58.358 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 29 February 2024 00:04:51 +0000 (0:00:00.036) 0:00:58.394 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.036) 0:00:58.431 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.058) 0:00:58.489 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.064) 0:00:58.553 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003478", "end": "2024-02-29 00:04:52.331169", "rc": 0, "start": "2024-02-29 00:04:52.327691" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.219) 0:00:58.773 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.032) 0:00:58.806 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 29 February 2024 00:04:52 +0000 (0:00:00.039) 0:00:58.845 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 29 February 2024 00:04:54 +0000 (0:00:02.540) 0:01:01.385 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.038) 0:01:01.424 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.027) 0:01:01.451 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010717", "end": "2024-02-29 00:04:55.232970", "rc": 0, "start": "2024-02-29 00:04:55.222253" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.265) 0:01:01.716 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.031) 0:01:01.748 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.029) 0:01:01.778 ***** 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_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.030) 0:01:01.808 ***** 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_hotfixlw_83jts/tests/playbooks/tests_auto_gateway.yml:153 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.038) 0:01:01.847 ***** included: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.071) 0:01:01.919 ***** 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.009849", "end": "2024-02-29 00:04:55.700186", "rc": 0, "start": "2024-02-29 00:04:55.690337" } 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:7d:54:12:cd:3b brd ff:ff:ff:ff:ff:ff inet 10.31.44.233/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2832sec preferred_lft 2832sec inet6 fe80::7d:54ff:fe12:cd3b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.233 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.233 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_hotfixlw_83jts/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 29 February 2024 00:04:55 +0000 (0:00:00.226) 0:01:02.146 ***** 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.168412", "end": "2024-02-29 00:04:56.090355", "rc": 0, "start": "2024-02-29 00:04:55.921943" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600: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 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 9531 0 --:--:-- --:--:-- --:--:-- 9531 % 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 6613 0 --:--:-- --:--:-- --:--:-- 6613 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=101 rescued=0 ignored=2 Thursday 29 February 2024 00:04:56 +0000 (0:00:00.447) 0:01:02.593 ***** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.68s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.54s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 fedora.linux_system_roles.network : Install packages -------------------- 4.42s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Install iproute --------------------------------------------------------- 2.88s /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.73s /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.52s /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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.59s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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.59s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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.56s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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.56s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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.42s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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.34s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.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.33s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.87s /WORKDIR/git-nm_plugin_hotfixlw_83jts/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-nm_plugin_hotfixlw_83jts/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-nm_plugin_hotfixlw_83jts/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. ---^---^---^---^---^---