# 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_hotfixaobt72e2/.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_hotfixaobt72e2/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_hotfixaobt72e2/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 05 March 2024 21:36:32 +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_hotfixaobt72e2/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 05 March 2024 21:36:34 +0000 (0:00:01.933) 0:00:01.944 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/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_hotfixaobt72e2/tests/tasks/el_repo_setup.yml:3 Tuesday 05 March 2024 21:36:34 +0000 (0:00:00.011) 0:00:01.956 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/tasks/el_repo_setup.yml:17 Tuesday 05 March 2024 21:36:34 +0000 (0:00:00.355) 0:00:02.311 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/tasks/el_repo_setup.yml:22 Tuesday 05 March 2024 21:36:35 +0000 (0:00:00.245) 0:00:02.557 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/tasks/el_repo_setup.yml:26 Tuesday 05 March 2024 21:36:35 +0000 (0:00:00.013) 0:00:02.571 ********* 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_hotfixaobt72e2/tests/tasks/el_repo_setup.yml:51 Tuesday 05 March 2024 21:36:35 +0000 (0:00:00.007) 0:00:02.578 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/tasks/enable_epel.yml:8 Tuesday 05 March 2024 21:36:35 +0000 (0:00:00.019) 0:00:02.598 ********* 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_hotfixaobt72e2/tests/tasks/enable_epel.yml:24 Tuesday 05 March 2024 21:36:35 +0000 (0:00:00.247) 0:00:02.846 ********* 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_hotfixaobt72e2/tests/tasks/enable_epel.yml:30 Tuesday 05 March 2024 21:36:35 +0000 (0:00:00.009) 0:00:02.855 ********* 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_hotfixaobt72e2/tests/tasks/enable_epel.yml:35 Tuesday 05 March 2024 21:36:35 +0000 (0:00:00.008) 0:00:02.864 ********* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245572", "end": "2024-03-05 21:36:35.953012", "rc": 0, "start": "2024-03-05 21:36:35.707440" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/tasks/enable_epel.yml:40 Tuesday 05 March 2024 21:36:35 +0000 (0:00:00.441) 0:00:03.306 ********* 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_hotfixaobt72e2/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 05 March 2024 21:36:35 +0000 (0:00:00.010) 0:00:03.316 ********* 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 05 March 2024 21:36:36 +0000 (0:00:00.019) 0:00:03.336 ********* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 05 March 2024 21:36:36 +0000 (0:00:00.623) 0:00:03.960 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:36:36 +0000 (0:00:00.046) 0:00:04.007 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:36:36 +0000 (0:00:00.023) 0:00:04.030 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003520", "end": "2024-03-05 21:36:36.893710", "rc": 0, "start": "2024-03-05 21:36:36.890190" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:36:36 +0000 (0:00:00.212) 0:00:04.242 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:36:36 +0000 (0:00:00.020) 0:00:04.263 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 05 March 2024 21:36:36 +0000 (0:00:00.020) 0:00:04.284 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 05 March 2024 21:36:36 +0000 (0:00:00.038) 0:00:04.322 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 05 March 2024 21:36:37 +0000 (0:00:00.018) 0:00:04.341 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 05 March 2024 21:36:37 +0000 (0:00:00.019) 0:00:04.360 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:36:37 +0000 (0:00:00.029) 0:00:04.389 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:36:37 +0000 (0:00:00.027) 0:00:04.417 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003649", "end": "2024-03-05 21:36:37.277127", "rc": 0, "start": "2024-03-05 21:36:37.273478" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:36:37 +0000 (0:00:00.212) 0:00:04.630 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:36:37 +0000 (0:00:00.019) 0:00:04.649 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 05 March 2024 21:36:37 +0000 (0:00:00.019) 0:00:04.669 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 05 March 2024 21:36:40 +0000 (0:00:02.857) 0:00:07.527 ********* 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.012854", "end": "2024-03-05 21:36:40.406874", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-05 21:36:40.394020" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004370", "end": "2024-03-05 21:36:40.643703", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-05 21:36:40.639333" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004713", "end": "2024-03-05 21:36:40.841445", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-05 21:36:40.836732" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 05 March 2024 21:36:40 +0000 (0:00:00.669) 0:00:08.196 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.137028", "end": "2024-03-05 21:36:41.183790", "rc": 0, "start": "2024-03-05 21:36:41.046762" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.348) 0:00:08.544 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.028) 0:00:08.573 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.019) 0:00:08.593 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.030) 0:00:08.623 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.033) 0:00:08.656 ********* 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.025) 0:00:08.681 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.035) 0:00:08.717 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.032) 0:00:08.750 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674600.4048429, "block_size": 4096, "blocks": 0, "ctime": 1709674600.4048429, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21638, "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": 1709674600.4048429, "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_hotfixaobt72e2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.221) 0:00:08.971 ********* 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.021) 0:00:08.992 ********* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.021) 0:00:09.013 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.031) 0:00:09.045 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.021) 0:00:09.067 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.031) 0:00:09.098 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:36:41 +0000 (0:00:00.024) 0:00:09.123 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:36:43 +0000 (0:00:01.641) 0:00:10.765 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:36:44 +0000 (0:00:01.530) 0:00:12.295 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:36:45 +0000 (0:00:00.036) 0:00:12.331 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:36:45 +0000 (0:00:00.029) 0:00:12.361 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:36:45 +0000 (0:00:00.034) 0:00:12.396 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:36:45 +0000 (0:00:00.035) 0:00:12.431 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:36:45 +0000 (0:00:00.028) 0:00:12.460 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:36:45 +0000 (0:00:00.059) 0:00:12.519 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:36:49 +0000 (0:00:04.487) 0:00:17.006 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:36:49 +0000 (0:00:00.029) 0:00:17.036 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:36:49 +0000 (0:00:00.029) 0:00:17.065 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:36:49 +0000 (0:00:00.034) 0:00:17.100 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:36:49 +0000 (0:00:00.031) 0:00:17.131 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:36:49 +0000 (0:00:00.027) 0:00:17.158 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:36:50 +0000 (0:00:00.867) 0:00:18.026 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2288d2z93qrn/tmpi0sruwg9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:36:51 +0000 (0:00:00.307) 0:00:18.333 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:36:57 +0000 (0:00:06.782) 0:00:25.116 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:36:57 +0000 (0:00:00.029) 0:00:25.145 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:36:57 +0000 (0:00:00.028) 0:00:25.174 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:36:57 +0000 (0:00:00.030) 0:00:25.205 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:36:57 +0000 (0:00:00.031) 0:00:25.237 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.311) 0:00:25.548 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.052) 0:00:25.601 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.065) 0:00:25.666 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674600.4048429, "block_size": 4096, "blocks": 0, "ctime": 1709674600.4048429, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21638, "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": 1709674600.4048429, "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_hotfixaobt72e2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.211) 0:00:25.878 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.029) 0:00:25.907 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.056) 0:00:25.964 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.044) 0:00:26.009 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.028) 0:00:26.037 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674611.4186704, "block_size": 4096, "blocks": 8, "ctime": 1709674611.3976705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6086163, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709674611.3976705, "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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.207) 0:00:26.245 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:36:58 +0000 (0:00:00.029) 0:00:26.274 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021310", "end": "2024-03-05 21:36:59.144906", "rc": 1, "start": "2024-03-05 21:36:59.123596" } 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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:36:59 +0000 (0:00:00.227) 0:00:26.502 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:36:59 +0000 (0:00:00.027) 0:00:26.529 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003296", "end": "2024-03-05 21:36:59.383505", "rc": 0, "start": "2024-03-05 21:36:59.380209" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:36:59 +0000 (0:00:00.212) 0:00:26.741 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:36:59 +0000 (0:00:00.033) 0:00:26.775 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003325", "end": "2024-03-05 21:36:59.631508", "rc": 0, "start": "2024-03-05 21:36:59.628183" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:36:59 +0000 (0:00:00.215) 0:00:26.990 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 05 March 2024 21:36:59 +0000 (0:00:00.035) 0:00:27.026 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 05 March 2024 21:36:59 +0000 (0:00:00.032) 0:00:27.058 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 05 March 2024 21:36:59 +0000 (0:00:00.066) 0:00:27.125 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 05 March 2024 21:36:59 +0000 (0:00:00.034) 0:00:27.159 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003944", "end": "2024-03-05 21:37:00.033129", "rc": 0, "start": "2024-03-05 21:37:00.029185" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.7 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.7 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 05 March 2024 21:37:00 +0000 (0:00:00.240) 0:00:27.399 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 05 March 2024 21:37:00 +0000 (0:00:00.033) 0:00:27.433 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004081", "end": "2024-03-05 21:37:00.291651", "rc": 0, "start": "2024-03-05 21:37:00.287570" } 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 05 March 2024 21:37:00 +0000 (0:00:00.216) 0:00:27.649 ********* 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 05 March 2024 21:37:00 +0000 (0:00:00.032) 0:00:27.682 ********* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:37:00 +0000 (0:00:00.037) 0:00:27.719 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:37:00 +0000 (0:00:00.045) 0:00:27.765 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:37:00 +0000 (0:00:00.037) 0:00:27.803 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:37:00 +0000 (0:00:00.033) 0:00:27.836 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:37:00 +0000 (0:00:00.039) 0:00:27.875 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:37:02 +0000 (0:00:01.670) 0:00:29.546 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:37:03 +0000 (0:00:01.344) 0:00:30.890 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.030) 0:00:30.921 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.030) 0:00:30.951 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.068) 0:00:31.019 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.036) 0:00:31.056 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.027) 0:00:31.084 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.034) 0:00:31.118 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.054) 0:00:31.173 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.030) 0:00:31.203 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.030) 0:00:31.234 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.036) 0:00:31.270 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:37:03 +0000 (0:00:00.032) 0:00:31.303 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:37:04 +0000 (0:00:00.027) 0:00:31.331 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:37:04 +0000 (0:00:00.387) 0:00:31.719 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2288d2z93qrn/tmpfckou3_8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:37:04 +0000 (0:00:00.308) 0:00:32.027 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.445) 0:00:32.472 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.030) 0:00:32.503 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.029) 0:00:32.532 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.030) 0:00:32.562 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.029) 0:00:32.592 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.252) 0:00:32.844 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.058) 0:00:32.903 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.029) 0:00:32.932 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.028) 0:00:32.961 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.041) 0:00:33.002 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.038) 0:00:33.041 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003642", "end": "2024-03-05 21:37:05.894865", "rc": 0, "start": "2024-03-05 21:37:05.891223" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.211) 0:00:33.253 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.029) 0:00:33.282 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 05 March 2024 21:37:05 +0000 (0:00:00.028) 0:00:33.311 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 05 March 2024 21:37:08 +0000 (0:00:02.525) 0:00:35.836 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 05 March 2024 21:37:08 +0000 (0:00:00.038) 0:00:35.875 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 05 March 2024 21:37:08 +0000 (0:00:00.029) 0:00:35.904 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011884", "end": "2024-03-05 21:37:08.774732", "rc": 0, "start": "2024-03-05 21:37:08.762848" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 05 March 2024 21:37:08 +0000 (0:00:00.230) 0:00:36.135 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 05 March 2024 21:37:08 +0000 (0:00:00.028) 0:00:36.164 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 05 March 2024 21:37:08 +0000 (0:00:00.030) 0:00:36.194 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 05 March 2024 21:37:08 +0000 (0:00:00.085) 0:00:36.279 ********* 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 05 March 2024 21:37:08 +0000 (0:00:00.029) 0:00:36.308 ********* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 05 March 2024 21:37:09 +0000 (0:00:00.028) 0:00:36.336 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 05 March 2024 21:37:09 +0000 (0:00:00.058) 0:00:36.395 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 05 March 2024 21:37:09 +0000 (0:00:00.030) 0:00:36.426 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 05 March 2024 21:37:09 +0000 (0:00:00.035) 0:00:36.462 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:37:09 +0000 (0:00:00.048) 0:00:36.510 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:37:09 +0000 (0:00:00.039) 0:00:36.550 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003534", "end": "2024-03-05 21:37:09.403012", "rc": 0, "start": "2024-03-05 21:37:09.399478" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:37:09 +0000 (0:00:00.245) 0:00:36.795 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:37:09 +0000 (0:00:00.032) 0:00:36.827 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 05 March 2024 21:37:09 +0000 (0:00:00.029) 0:00:36.857 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 05 March 2024 21:37:12 +0000 (0:00:02.537) 0:00:39.394 ********* 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.012589", "end": "2024-03-05 21:37:12.258747", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-05 21:37:12.246158" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004146", "end": "2024-03-05 21:37:12.487223", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-05 21:37:12.483077" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004804", "end": "2024-03-05 21:37:12.672764", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-05 21:37:12.667960" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 05 March 2024 21:37:12 +0000 (0:00:00.636) 0:00:40.031 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022635", "end": "2024-03-05 21:37:12.905065", "rc": 0, "start": "2024-03-05 21:37:12.882430" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 05 March 2024 21:37:12 +0000 (0:00:00.231) 0:00:40.262 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 05 March 2024 21:37:12 +0000 (0:00:00.055) 0:00:40.317 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 05 March 2024 21:37:13 +0000 (0:00:00.029) 0:00:40.347 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 05 March 2024 21:37:13 +0000 (0:00:00.027) 0:00:40.374 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 05 March 2024 21:37:13 +0000 (0:00:00.028) 0:00:40.402 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:37:13 +0000 (0:00:00.026) 0:00:40.429 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:37:13 +0000 (0:00:00.042) 0:00:40.472 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:37:13 +0000 (0:00:00.032) 0:00:40.505 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:37:13 +0000 (0:00:00.030) 0:00:40.535 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:37:13 +0000 (0:00:00.031) 0:00:40.567 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:37:14 +0000 (0:00:01.590) 0:00:42.157 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:37:16 +0000 (0:00:01.332) 0:00:43.490 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.031) 0:00:43.521 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.031) 0:00:43.553 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.031) 0:00:43.584 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.070) 0:00:43.655 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.028) 0:00:43.684 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.034) 0:00:43.718 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.053) 0:00:43.771 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.041) 0:00:43.813 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.039) 0:00:43.852 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.041) 0:00:43.894 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.032) 0:00:43.926 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:37:16 +0000 (0:00:00.031) 0:00:43.957 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:37:17 +0000 (0:00:00.400) 0:00:44.358 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2288d2z93qrn/tmpr4yky6ts" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:37:17 +0000 (0:00:00.340) 0:00:44.698 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:37:23 +0000 (0:00:06.520) 0:00:51.218 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:37:23 +0000 (0:00:00.044) 0:00:51.262 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:37:23 +0000 (0:00:00.042) 0:00:51.305 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.035) 0:00:51.341 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.034) 0:00:51.376 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.231) 0:00:51.607 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.089) 0:00:51.697 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.041) 0:00:51.738 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674632.2500434, "block_size": 4096, "blocks": 0, "ctime": 1709674632.2500434, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22224, "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": 1709674632.2500434, "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_hotfixaobt72e2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.209) 0:00:51.948 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.032) 0:00:51.981 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.059) 0:00:52.040 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.042) 0:00:52.082 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.029) 0:00:52.112 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674637.6556377, "block_size": 4096, "blocks": 8, "ctime": 1709674637.6346376, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6086163, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709674637.6346376, "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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:37:24 +0000 (0:00:00.208) 0:00:52.320 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.029) 0:00:52.349 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021770", "end": "2024-03-05 21:37:25.221976", "rc": 1, "start": "2024-03-05 21:37:25.200206" } 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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.231) 0:00:52.581 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.035) 0:00:52.617 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003400", "end": "2024-03-05 21:37:25.485123", "rc": 0, "start": "2024-03-05 21:37:25.481723" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.227) 0:00:52.844 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.037) 0:00:52.882 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003611", "end": "2024-03-05 21:37:25.738366", "rc": 0, "start": "2024-03-05 21:37:25.734755" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.252) 0:00:53.135 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.039) 0:00:53.174 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.046) 0:00:53.221 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.045) 0:00:53.266 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 05 March 2024 21:37:25 +0000 (0:00:00.041) 0:00:53.308 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004105", "end": "2024-03-05 21:37:26.170331", "rc": 0, "start": "2024-03-05 21:37:26.166226" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.7 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.7 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 05 March 2024 21:37:26 +0000 (0:00:00.223) 0:00:53.532 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 05 March 2024 21:37:26 +0000 (0:00:00.030) 0:00:53.562 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004118", "end": "2024-03-05 21:37:26.428847", "rc": 0, "start": "2024-03-05 21:37:26.424729" } 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 05 March 2024 21:37:26 +0000 (0:00:00.226) 0:00:53.789 ********* 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 05 March 2024 21:37:26 +0000 (0:00:00.040) 0:00:53.829 ********* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:37:26 +0000 (0:00:00.038) 0:00:53.868 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:37:26 +0000 (0:00:00.047) 0:00:53.916 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:37:26 +0000 (0:00:00.039) 0:00:53.955 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:37:26 +0000 (0:00:00.030) 0:00:53.986 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:37:26 +0000 (0:00:00.031) 0:00:54.017 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:37:28 +0000 (0:00:01.585) 0:00:55.602 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:37:29 +0000 (0:00:01.411) 0:00:57.014 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:37:29 +0000 (0:00:00.031) 0:00:57.045 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:37:29 +0000 (0:00:00.030) 0:00:57.075 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:37:29 +0000 (0:00:00.031) 0:00:57.107 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:37:29 +0000 (0:00:00.038) 0:00:57.145 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:37:29 +0000 (0:00:00.033) 0:00:57.179 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:37:29 +0000 (0:00:00.039) 0:00:57.219 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:37:29 +0000 (0:00:00.054) 0:00:57.273 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:37:29 +0000 (0:00:00.034) 0:00:57.308 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:37:30 +0000 (0:00:00.034) 0:00:57.342 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:37:30 +0000 (0:00:00.037) 0:00:57.380 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:37:30 +0000 (0:00:00.032) 0:00:57.413 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:37:30 +0000 (0:00:00.030) 0:00:57.443 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:37:30 +0000 (0:00:00.395) 0:00:57.838 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2288d2z93qrn/tmp70163_dd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:37:30 +0000 (0:00:00.321) 0:00:58.159 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.468) 0:00:58.627 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.055) 0:00:58.682 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.045) 0:00:58.728 ********* 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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.086) 0:00:58.815 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.032) 0:00:58.848 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.220) 0:00:59.068 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.060) 0:00:59.129 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.028) 0:00:59.158 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.026) 0:00:59.185 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.038) 0:00:59.224 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:37:31 +0000 (0:00:00.037) 0:00:59.261 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003691", "end": "2024-03-05 21:37:32.114660", "rc": 0, "start": "2024-03-05 21:37:32.110969" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:37:32 +0000 (0:00:00.210) 0:00:59.472 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:37:32 +0000 (0:00:00.030) 0:00:59.502 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 05 March 2024 21:37:32 +0000 (0:00:00.029) 0:00:59.532 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 05 March 2024 21:37:34 +0000 (0:00:02.711) 0:01:02.244 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 05 March 2024 21:37:34 +0000 (0:00:00.037) 0:01:02.281 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 05 March 2024 21:37:34 +0000 (0:00:00.027) 0:01:02.309 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010386", "end": "2024-03-05 21:37:35.171559", "rc": 0, "start": "2024-03-05 21:37:35.161173" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 05 March 2024 21:37:35 +0000 (0:00:00.254) 0:01:02.563 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 05 March 2024 21:37:35 +0000 (0:00:00.029) 0:01:02.592 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 05 March 2024 21:37:35 +0000 (0:00:00.027) 0:01:02.620 ********* 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_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 05 March 2024 21:37:35 +0000 (0:00:00.028) 0:01:02.648 ********* 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_hotfixaobt72e2/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 05 March 2024 21:37:35 +0000 (0:00:00.026) 0:01:02.675 ********* included: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 05 March 2024 21:37:35 +0000 (0:00:00.060) 0:01:02.736 ********* 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.010049", "end": "2024-03-05 21:37:35.595625", "rc": 0, "start": "2024-03-05 21:37:35.585576" } 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 0a:ff:cd:bd:3d:91 brd ff:ff:ff:ff:ff:ff inet 10.31.14.7/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2839sec preferred_lft 2839sec inet6 fe80::8ff:cdff:febd:3d91/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.7 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.7 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_hotfixaobt72e2/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 05 March 2024 21:37:35 +0000 (0:00:00.218) 0:01:02.954 ********* 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.119669", "end": "2024-03-05 21:37:35.927866", "rc": 0, "start": "2024-03-05 21:37:35.808197" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.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:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 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 5446 0 --:--:-- --:--:-- --:--:-- 5545 % 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 13857 0 --:--:-- --:--:-- --:--:-- 13857 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=101 rescued=0 ignored=2 Tuesday 05 March 2024 21:37:35 +0000 (0:00:00.361) 0:01:03.316 ********* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.78s /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.52s /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 fedora.linux_system_roles.network : Install packages -------------------- 4.49s /WORKDIR/git-nm_plugin_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Install iproute --------------------------------------------------------- 2.86s /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.71s /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.53s /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.93s /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /WORKDIR/git-nm_plugin_hotfixaobt72e2/.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.64s /WORKDIR/git-nm_plugin_hotfixaobt72e2/.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_hotfixaobt72e2/.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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /WORKDIR/git-nm_plugin_hotfixaobt72e2/.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.41s /WORKDIR/git-nm_plugin_hotfixaobt72e2/.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_hotfixaobt72e2/.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_hotfixaobt72e2/.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_hotfixaobt72e2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-nm_plugin_hotfixaobt72e2/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-nm_plugin_hotfixaobt72e2/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. ---^---^---^---^---^---