# 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_hotfixpfq7v57w/.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_hotfixpfq7v57w/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_hotfixpfq7v57w/tests/tests_auto_gateway_initscripts.yml:5 Sunday 18 February 2024 13:45:01 +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_hotfixpfq7v57w/tests/tests_auto_gateway_initscripts.yml:8 Sunday 18 February 2024 13:45:02 +0000 (0:00:01.876) 0:00:01.887 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/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_hotfixpfq7v57w/tests/tasks/el_repo_setup.yml:3 Sunday 18 February 2024 13:45:02 +0000 (0:00:00.011) 0:00:01.899 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/tasks/el_repo_setup.yml:17 Sunday 18 February 2024 13:45:03 +0000 (0:00:00.361) 0:00:02.260 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/tasks/el_repo_setup.yml:22 Sunday 18 February 2024 13:45:03 +0000 (0:00:00.246) 0:00:02.507 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/tasks/el_repo_setup.yml:26 Sunday 18 February 2024 13:45:03 +0000 (0:00:00.013) 0:00:02.520 ******* 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_hotfixpfq7v57w/tests/tasks/el_repo_setup.yml:51 Sunday 18 February 2024 13:45:03 +0000 (0:00:00.007) 0:00:02.527 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/tasks/enable_epel.yml:8 Sunday 18 February 2024 13:45:03 +0000 (0:00:00.019) 0:00:02.547 ******* 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_hotfixpfq7v57w/tests/tasks/enable_epel.yml:24 Sunday 18 February 2024 13:45:03 +0000 (0:00:00.248) 0:00:02.796 ******* 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_hotfixpfq7v57w/tests/tasks/enable_epel.yml:30 Sunday 18 February 2024 13:45:03 +0000 (0:00:00.008) 0:00:02.804 ******* 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_hotfixpfq7v57w/tests/tasks/enable_epel.yml:35 Sunday 18 February 2024 13:45:03 +0000 (0:00:00.008) 0:00:02.812 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.258260", "end": "2024-02-18 13:45:05.331980", "rc": 0, "start": "2024-02-18 13:45:04.073720" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/tasks/enable_epel.yml:40 Sunday 18 February 2024 13:45:05 +0000 (0:00:01.451) 0:00:04.264 ******* 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_hotfixpfq7v57w/tests/tests_auto_gateway_initscripts.yml:10 Sunday 18 February 2024 13:45:05 +0000 (0:00:00.008) 0:00:04.272 ******* 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:3 Sunday 18 February 2024 13:45:05 +0000 (0:00:00.016) 0:00:04.289 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:9 Sunday 18 February 2024 13:45:07 +0000 (0:00:01.710) 0:00:06.000 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.032) 0:00:06.032 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.018) 0:00:06.051 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003380", "end": "2024-02-18 13:45:07.319686", "rc": 0, "start": "2024-02-18 13:45:07.316306" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.198) 0:00:06.250 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.018) 0:00:06.269 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:11 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.017) 0:00:06.286 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.032) 0:00:06.318 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.015) 0:00:06.334 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.016) 0:00:06.350 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.018) 0:00:06.368 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.017) 0:00:06.386 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003678", "end": "2024-02-18 13:45:07.657890", "rc": 0, "start": "2024-02-18 13:45:07.654212" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.205) 0:00:06.591 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.018) 0:00:06.609 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 13:45:07 +0000 (0:00:00.019) 0:00:06.628 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 13:49:10 +0000 (0:04:02.959) 0:04:09.587 ******* 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.022361", "end": "2024-02-18 13:49:10.881259", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-18 13:49:10.858898" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004199", "end": "2024-02-18 13:49:11.110598", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-18 13:49:11.106399" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004452", "end": "2024-02-18 13:49:11.301989", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-18 13:49:11.297537" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.648) 0:04:10.236 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.101718", "end": "2024-02-18 13:49:11.605574", "rc": 0, "start": "2024-02-18 13:49:11.503856" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.302) 0:04:10.539 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.018) 0:04:10.557 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.016) 0:04:10.574 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.016) 0:04:10.590 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.016) 0:04:10.607 ******* 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:15 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.015) 0:04:10.623 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.031) 0:04:10.654 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.018) 0:04:10.673 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708264150.8705342, "block_size": 4096, "blocks": 0, "ctime": 1708264150.8705342, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21708, "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": 1708264150.8705342, "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_hotfixpfq7v57w/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.199) 0:04:10.873 ******* 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:17 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.018) 0:04:10.892 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 18 February 2024 13:49:11 +0000 (0:00:00.017) 0:04:10.909 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 18 February 2024 13:49:12 +0000 (0:00:00.024) 0:04:10.933 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 18 February 2024 13:49:12 +0000 (0:00:00.018) 0:04:10.952 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 18 February 2024 13:49:12 +0000 (0:00:00.018) 0:04:10.970 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 18 February 2024 13:49:12 +0000 (0:00:00.018) 0:04:10.989 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 18 February 2024 13:49:13 +0000 (0:00:01.601) 0:04:12.591 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 18 February 2024 13:49:15 +0000 (0:00:01.512) 0:04:14.103 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 18 February 2024 13:49:15 +0000 (0:00:00.030) 0:04:14.134 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 18 February 2024 13:49:15 +0000 (0:00:00.029) 0:04:14.163 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Sunday 18 February 2024 13:49:15 +0000 (0:00:00.030) 0:04:14.194 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Sunday 18 February 2024 13:53:19 +0000 (0:04:04.309) 0:08:18.503 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Sunday 18 February 2024 13:53:19 +0000 (0:00:00.029) 0:08:18.533 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Sunday 18 February 2024 13:53:19 +0000 (0:00:00.028) 0:08:18.561 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Sunday 18 February 2024 13:53:19 +0000 (0:00:00.072) 0:08:18.634 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Sunday 18 February 2024 13:53:19 +0000 (0:00:00.029) 0:08:18.664 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Sunday 18 February 2024 13:53:19 +0000 (0:00:00.026) 0:08:18.690 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Sunday 18 February 2024 13:53:20 +0000 (0:00:00.830) 0:08:19.521 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23552apu69bf/tmpky4ptaay" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Sunday 18 February 2024 13:53:20 +0000 (0:00:00.305) 0:08:19.827 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Sunday 18 February 2024 13:53:28 +0000 (0:00:07.646) 0:08:27.473 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Sunday 18 February 2024 13:53:28 +0000 (0:00:00.029) 0:08:27.503 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Sunday 18 February 2024 13:53:28 +0000 (0:00:00.028) 0:08:27.532 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Sunday 18 February 2024 13:53:28 +0000 (0:00:00.031) 0:08:27.563 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Sunday 18 February 2024 13:53:28 +0000 (0:00:00.029) 0:08:27.593 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:42 Sunday 18 February 2024 13:53:28 +0000 (0:00:00.297) 0:08:27.890 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.050) 0:08:27.940 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.036) 0:08:27.977 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708264150.8705342, "block_size": 4096, "blocks": 0, "ctime": 1708264150.8705342, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21708, "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": 1708264150.8705342, "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_hotfixpfq7v57w/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.209) 0:08:28.187 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:44 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.052) 0:08:28.240 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.051) 0:08:28.292 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.039) 0:08:28.331 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.028) 0:08:28.360 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708264401.318976, "block_size": 4096, "blocks": 8, "ctime": 1708264401.2979767, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976914, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708264401.2979767, "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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.207) 0:08:28.567 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.028) 0:08:28.595 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021669", "end": "2024-02-18 13:53:29.883187", "rc": 1, "start": "2024-02-18 13:53:29.861518" } 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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.228) 0:08:28.824 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 13:53:29 +0000 (0:00:00.027) 0:08:28.851 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003320", "end": "2024-02-18 13:53:30.121737", "rc": 0, "start": "2024-02-18 13:53:30.118417" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.211) 0:08:29.063 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.031) 0:08:29.095 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003159", "end": "2024-02-18 13:53:30.367243", "rc": 0, "start": "2024-02-18 13:53:30.364084" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.214) 0:08:29.309 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.031) 0:08:29.340 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.028) 0:08:29.369 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.029) 0:08:29.399 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:48 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.028) 0:08:29.427 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003852", "end": "2024-02-18 13:53:30.698839", "rc": 0, "start": "2024-02-18 13:53:30.694987" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.157 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.157 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:52 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.211) 0:08:29.639 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:58 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.054) 0:08:29.694 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004012", "end": "2024-02-18 13:53:30.964423", "rc": 0, "start": "2024-02-18 13:53:30.960411" } 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:62 Sunday 18 February 2024 13:53:30 +0000 (0:00:00.210) 0:08:29.905 ******* 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:69 Sunday 18 February 2024 13:53:31 +0000 (0:00:00.026) 0:08:29.931 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 18 February 2024 13:53:31 +0000 (0:00:00.027) 0:08:29.959 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 18 February 2024 13:53:31 +0000 (0:00:00.042) 0:08:30.001 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 18 February 2024 13:53:31 +0000 (0:00:00.032) 0:08:30.034 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 18 February 2024 13:53:31 +0000 (0:00:00.029) 0:08:30.063 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 18 February 2024 13:53:31 +0000 (0:00:00.028) 0:08:30.092 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 18 February 2024 13:53:32 +0000 (0:00:01.573) 0:08:31.666 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 18 February 2024 13:53:34 +0000 (0:00:01.330) 0:08:32.997 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.029) 0:08:33.027 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.029) 0:08:33.056 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.028) 0:08:33.085 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.051) 0:08:33.136 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.029) 0:08:33.165 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.056) 0:08:33.222 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.033) 0:08:33.256 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.030) 0:08:33.287 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.027) 0:08:33.315 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Sunday 18 February 2024 13:53:34 +0000 (0:00:00.377) 0:08:33.692 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23552apu69bf/tmpcdd_ok5v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.302) 0:08:33.995 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.437) 0:08:34.432 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.029) 0:08:34.461 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.030) 0:08:34.492 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.030) 0:08:34.523 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.031) 0:08:34.555 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:81 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.214) 0:08:34.769 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.054) 0:08:34.823 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.028) 0:08:34.852 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 13:53:35 +0000 (0:00:00.027) 0:08:34.880 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 13:53:36 +0000 (0:00:00.066) 0:08:34.947 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 13:53:36 +0000 (0:00:00.039) 0:08:34.986 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003378", "end": "2024-02-18 13:53:36.253657", "rc": 0, "start": "2024-02-18 13:53:36.250279" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 13:53:36 +0000 (0:00:00.209) 0:08:35.195 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 13:53:36 +0000 (0:00:00.029) 0:08:35.225 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 13:53:36 +0000 (0:00:00.030) 0:08:35.255 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 13:57:39 +0000 (0:04:02.689) 0:12:37.945 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.036) 0:12:37.982 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.028) 0:12:38.010 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011939", "end": "2024-02-18 13:57:39.288213", "rc": 0, "start": "2024-02-18 13:57:39.276274" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.221) 0:12:38.232 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.027) 0:12:38.259 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.028) 0:12:38.287 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.027) 0:12:38.315 ******* 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:85 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.027) 0:12:38.342 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:89 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.028) 0:12:38.370 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.053) 0:12:38.424 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.055) 0:12:38.480 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.027) 0:12:38.507 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.038) 0:12:38.546 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.036) 0:12:38.583 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003308", "end": "2024-02-18 13:57:39.852150", "rc": 0, "start": "2024-02-18 13:57:39.848842" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.209) 0:12:38.792 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.030) 0:12:38.822 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 13:57:39 +0000 (0:00:00.029) 0:12:38.852 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 14:01:42 +0000 (0:04:02.574) 0:16:41.426 ******* 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.023846", "end": "2024-02-18 14:01:42.720786", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-18 14:01:42.696940" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003828", "end": "2024-02-18 14:01:42.938518", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-18 14:01:42.934690" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004282", "end": "2024-02-18 14:01:43.125137", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-18 14:01:43.120855" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.642) 0:16:42.068 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023484", "end": "2024-02-18 14:01:43.358648", "rc": 0, "start": "2024-02-18 14:01:43.335164" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.233) 0:16:42.301 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.027) 0:16:42.329 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.027) 0:16:42.356 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.027) 0:16:42.383 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.027) 0:16:42.411 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.027) 0:16:42.438 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.070) 0:16:42.508 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.033) 0:16:42.542 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.029) 0:16:42.572 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 18 February 2024 14:01:43 +0000 (0:00:00.029) 0:16:42.601 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 18 February 2024 14:01:45 +0000 (0:00:01.583) 0:16:44.184 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 18 February 2024 14:01:46 +0000 (0:00:01.340) 0:16:45.525 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 18 February 2024 14:01:46 +0000 (0:00:00.031) 0:16:45.556 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 18 February 2024 14:01:46 +0000 (0:00:00.031) 0:16:45.588 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Sunday 18 February 2024 14:01:46 +0000 (0:00:00.031) 0:16:45.619 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Sunday 18 February 2024 14:01:46 +0000 (0:00:00.054) 0:16:45.674 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Sunday 18 February 2024 14:01:46 +0000 (0:00:00.029) 0:16:45.703 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Sunday 18 February 2024 14:01:46 +0000 (0:00:00.031) 0:16:45.735 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Sunday 18 February 2024 14:01:46 +0000 (0:00:00.035) 0:16:45.770 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Sunday 18 February 2024 14:01:46 +0000 (0:00:00.030) 0:16:45.801 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Sunday 18 February 2024 14:01:46 +0000 (0:00:00.029) 0:16:45.831 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Sunday 18 February 2024 14:01:47 +0000 (0:00:00.382) 0:16:46.213 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23552apu69bf/tmpd0qumj4f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Sunday 18 February 2024 14:01:47 +0000 (0:00:00.338) 0:16:46.552 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Sunday 18 February 2024 14:01:54 +0000 (0:00:06.519) 0:16:53.072 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.029) 0:16:53.102 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.030) 0:16:53.132 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.031) 0:16:53.163 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.029) 0:16:53.192 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:110 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.214) 0:16:53.406 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.055) 0:16:53.462 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.038) 0:16:53.500 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708264902.7007759, "block_size": 4096, "blocks": 0, "ctime": 1708264902.7007759, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22294, "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": 1708264902.7007759, "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_hotfixpfq7v57w/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.209) 0:16:53.710 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:112 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.029) 0:16:53.739 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.055) 0:16:53.794 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.065) 0:16:53.860 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 14:01:54 +0000 (0:00:00.028) 0:16:53.889 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708264907.930235, "block_size": 4096, "blocks": 8, "ctime": 1708264907.9082358, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976914, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708264907.9082358, "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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 14:01:55 +0000 (0:00:00.208) 0:16:54.098 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 14:01:55 +0000 (0:00:00.029) 0:16:54.128 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021275", "end": "2024-02-18 14:01:55.416706", "rc": 1, "start": "2024-02-18 14:01:55.395431" } 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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 14:01:55 +0000 (0:00:00.229) 0:16:54.358 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 14:01:55 +0000 (0:00:00.028) 0:16:54.386 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003393", "end": "2024-02-18 14:01:55.657980", "rc": 0, "start": "2024-02-18 14:01:55.654587" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 14:01:55 +0000 (0:00:00.214) 0:16:54.600 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 14:01:55 +0000 (0:00:00.032) 0:16:54.633 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003371", "end": "2024-02-18 14:01:55.905343", "rc": 0, "start": "2024-02-18 14:01:55.901972" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 14:01:55 +0000 (0:00:00.215) 0:16:54.848 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 14:01:55 +0000 (0:00:00.032) 0:16:54.880 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 14:01:55 +0000 (0:00:00.031) 0:16:54.912 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.030) 0:16:54.943 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:116 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.028) 0:16:54.971 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003720", "end": "2024-02-18 14:01:56.240973", "rc": 0, "start": "2024-02-18 14:01:56.237253" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.157 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.157 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:120 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.211) 0:16:55.183 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:126 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.028) 0:16:55.212 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003831", "end": "2024-02-18 14:01:56.480993", "rc": 0, "start": "2024-02-18 14:01:56.477162" } 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:130 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.211) 0:16:55.423 ******* 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:137 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.027) 0:16:55.450 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.031) 0:16:55.482 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.072) 0:16:55.555 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.033) 0:16:55.589 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.029) 0:16:55.618 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Sunday 18 February 2024 14:01:56 +0000 (0:00:00.030) 0:16:55.648 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Sunday 18 February 2024 14:02:00 +0000 (0:00:03.579) 0:16:59.228 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 18 February 2024 14:02:01 +0000 (0:00:01.342) 0:17:00.570 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 18 February 2024 14:02:01 +0000 (0:00:00.031) 0:17:00.602 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 18 February 2024 14:02:01 +0000 (0:00:00.029) 0:17:00.631 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Sunday 18 February 2024 14:02:01 +0000 (0:00:00.029) 0:17:00.661 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Sunday 18 February 2024 14:02:01 +0000 (0:00:00.051) 0:17:00.713 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Sunday 18 February 2024 14:02:01 +0000 (0:00:00.031) 0:17:00.745 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Sunday 18 February 2024 14:02:01 +0000 (0:00:00.030) 0:17:00.775 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Sunday 18 February 2024 14:02:01 +0000 (0:00:00.033) 0:17:00.808 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Sunday 18 February 2024 14:02:01 +0000 (0:00:00.029) 0:17:00.838 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Sunday 18 February 2024 14:02:01 +0000 (0:00:00.026) 0:17:00.865 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Sunday 18 February 2024 14:02:02 +0000 (0:00:00.457) 0:17:01.323 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23552apu69bf/tmp0nffk8c7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Sunday 18 February 2024 14:02:02 +0000 (0:00:00.311) 0:17:01.634 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.444) 0:17:02.078 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.030) 0:17:02.109 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.030) 0:17:02.140 ******* 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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.030) 0:17:02.171 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.029) 0:17:02.201 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:149 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.218) 0:17:02.419 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.057) 0:17:02.477 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.027) 0:17:02.504 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.026) 0:17:02.531 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.037) 0:17:02.569 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.036) 0:17:02.605 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003501", "end": "2024-02-18 14:02:03.875491", "rc": 0, "start": "2024-02-18 14:02:03.871990" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.241) 0:17:02.847 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.029) 0:17:02.876 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 14:02:03 +0000 (0:00:00.029) 0:17:02.906 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:27 Sunday 18 February 2024 14:06:06 +0000 (0:04:02.605) 0:21:05.512 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:35 Sunday 18 February 2024 14:06:06 +0000 (0:00:00.038) 0:21:05.550 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:43 Sunday 18 February 2024 14:06:06 +0000 (0:00:00.027) 0:21:05.578 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010644", "end": "2024-02-18 14:06:06.857733", "rc": 0, "start": "2024-02-18 14:06:06.847089" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:49 Sunday 18 February 2024 14:06:06 +0000 (0:00:00.222) 0:21:05.801 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:54 Sunday 18 February 2024 14:06:06 +0000 (0:00:00.028) 0:21:05.829 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:60 Sunday 18 February 2024 14:06:06 +0000 (0:00:00.028) 0:21:05.857 ******* 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_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 14:06:06 +0000 (0:00:00.027) 0:21:05.884 ******* 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_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:153 Sunday 18 February 2024 14:06:06 +0000 (0:00:00.027) 0:21:05.912 ******* included: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/check_network_dns.yml:6 Sunday 18 February 2024 14:06:07 +0000 (0:00:00.056) 0:21:05.968 ******* 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.010048", "end": "2024-02-18 14:06:07.245900", "rc": 0, "start": "2024-02-18 14:06:07.235852" } 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 12:8f:84:5b:55:f7 brd ff:ff:ff:ff:ff:ff inet 10.31.9.157/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3135sec preferred_lft 3135sec inet6 fe80::108f:84ff:fe5b:55f7/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.157 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.157 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_hotfixpfq7v57w/tests/playbooks/tasks/check_network_dns.yml:24 Sunday 18 February 2024 14:06:07 +0000 (0:00:00.219) 0:21:06.188 ******* 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.328830", "end": "2024-02-18 14:06:07.787815", "rc": 0, "start": "2024-02-18 14:06:07.458985" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 2328 0 --:--:-- --:--:-- --:--:-- 2328 % 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 2171 0 --:--:-- --:--:-- --:--:-- 2171 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Sunday 18 February 2024 14:06:07 +0000 (0:00:00.572) 0:21:06.760 ******* =============================================================================== fedora.linux_system_roles.network : Install packages ------------------ 244.31s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute ------------------------------------------------------- 242.96s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute ------------------------------------------------------- 242.69s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute ------------------------------------------------------- 242.61s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute ------------------------------------------------------- 242.57s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 7.65s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.52s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Check which services are running ---- 3.58s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.88s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/tests_auto_gateway_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 1.71s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.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.57s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.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.51s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Enable EPEL 8 ----------------------------------------------------------- 1.45s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/tasks/enable_epel.yml:35 ---------- fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.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_hotfixpfq7v57w/.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_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.83s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-nm_plugin_hotfixpfq7v57w/tests/playbooks/tasks/manage_test_interface.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---