# 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_hotfixdqm37epu/.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_hotfixdqm37epu/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_hotfixdqm37epu/tests/tests_auto_gateway_initscripts.yml:5 Friday 15 March 2024 15:32:32 +0000 (0:00:00.014) 0:00:00.014 ********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tests_auto_gateway_initscripts.yml:8 Friday 15 March 2024 15:32:33 +0000 (0:00:00.959) 0:00:00.973 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/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_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:3 Friday 15 March 2024 15:32:33 +0000 (0:00:00.017) 0:00:00.991 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:17 Friday 15 March 2024 15:32:33 +0000 (0:00:00.359) 0:00:01.351 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:22 Friday 15 March 2024 15:32:33 +0000 (0:00:00.260) 0:00:01.611 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:26 Friday 15 March 2024 15:32:33 +0000 (0:00:00.017) 0:00:01.628 ********** 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_hotfixdqm37epu/tests/tasks/el_repo_setup.yml:51 Friday 15 March 2024 15:32:33 +0000 (0:00:00.012) 0:00:01.641 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/enable_epel.yml:8 Friday 15 March 2024 15:32:33 +0000 (0:00:00.025) 0:00:01.666 ********** 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_hotfixdqm37epu/tests/tasks/enable_epel.yml:24 Friday 15 March 2024 15:32:34 +0000 (0:00:00.252) 0:00:01.919 ********** 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_hotfixdqm37epu/tests/tasks/enable_epel.yml:30 Friday 15 March 2024 15:32:34 +0000 (0:00:00.009) 0:00:01.928 ********** 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_hotfixdqm37epu/tests/tasks/enable_epel.yml:35 Friday 15 March 2024 15:32:34 +0000 (0:00:00.008) 0:00:01.936 ********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.249545", "end": "2024-03-15 15:32:34.456863", "rc": 0, "start": "2024-03-15 15:32:34.207318" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tasks/enable_epel.yml:40 Friday 15 March 2024 15:32:34 +0000 (0:00:00.441) 0:00:02.377 ********** 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_hotfixdqm37epu/tests/tests_auto_gateway_initscripts.yml:10 Friday 15 March 2024 15:32:34 +0000 (0:00:00.009) 0:00:02.386 ********** 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:3 Friday 15 March 2024 15:32:34 +0000 (0:00:00.017) 0:00:02.404 ********** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:9 Friday 15 March 2024 15:32:35 +0000 (0:00:00.629) 0:00:03.034 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:32:35 +0000 (0:00:00.035) 0:00:03.069 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:32:35 +0000 (0:00:00.021) 0:00:03.090 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003327", "end": "2024-03-15 15:32:35.367910", "rc": 0, "start": "2024-03-15 15:32:35.364583" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:32:35 +0000 (0:00:00.199) 0:00:03.289 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:32:35 +0000 (0:00:00.025) 0:00:03.315 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:11 Friday 15 March 2024 15:32:35 +0000 (0:00:00.027) 0:00:03.343 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 15 March 2024 15:32:35 +0000 (0:00:00.040) 0:00:03.383 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 15 March 2024 15:32:35 +0000 (0:00:00.040) 0:00:03.424 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 15 March 2024 15:32:35 +0000 (0:00:00.036) 0:00:03.460 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:32:35 +0000 (0:00:00.026) 0:00:03.487 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:32:35 +0000 (0:00:00.029) 0:00:03.516 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003422", "end": "2024-03-15 15:32:35.804327", "rc": 0, "start": "2024-03-15 15:32:35.800905" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:32:35 +0000 (0:00:00.221) 0:00:03.738 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:32:35 +0000 (0:00:00.028) 0:00:03.766 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 15 March 2024 15:32:35 +0000 (0:00:00.035) 0:00:03.802 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 15 March 2024 15:32:38 +0000 (0:00:03.001) 0:00:06.804 ********** 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.015010", "end": "2024-03-15 15:32:39.098080", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-15 15:32:39.083070" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004115", "end": "2024-03-15 15:32:39.326377", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-15 15:32:39.322262" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004578", "end": "2024-03-15 15:32:39.512796", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-15 15:32:39.508218" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 15 March 2024 15:32:39 +0000 (0:00:00.629) 0:00:07.433 ********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.129575", "end": "2024-03-15 15:32:39.840844", "rc": 0, "start": "2024-03-15 15:32:39.711269" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 15 March 2024 15:32:39 +0000 (0:00:00.329) 0:00:07.763 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 15 March 2024 15:32:39 +0000 (0:00:00.020) 0:00:07.784 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 15 March 2024 15:32:39 +0000 (0:00:00.021) 0:00:07.805 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 15 March 2024 15:32:39 +0000 (0:00:00.019) 0:00:07.824 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 15 March 2024 15:32:39 +0000 (0:00:00.019) 0:00:07.844 ********** 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:15 Friday 15 March 2024 15:32:39 +0000 (0:00:00.019) 0:00:07.864 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:32:39 +0000 (0:00:00.035) 0:00:07.899 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:32:40 +0000 (0:00:00.022) 0:00:07.922 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516759.0932446, "block_size": 4096, "blocks": 0, "ctime": 1710516759.0932446, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21657, "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": 1710516759.0932446, "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_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:32:40 +0000 (0:00:00.201) 0:00:08.124 ********** 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:17 Friday 15 March 2024 15:32:40 +0000 (0:00:00.021) 0:00:08.145 ********** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:32:40 +0000 (0:00:00.020) 0:00:08.166 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:32:40 +0000 (0:00:00.027) 0:00:08.193 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:32:40 +0000 (0:00:00.021) 0:00:08.215 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:32:40 +0000 (0:00:00.020) 0:00:08.235 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:32:40 +0000 (0:00:00.021) 0:00:08.257 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:32:41 +0000 (0:00:01.566) 0:00:09.824 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:32:43 +0000 (0:00:01.563) 0:00:11.388 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:32:43 +0000 (0:00:00.032) 0:00:11.420 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:32:43 +0000 (0:00:00.038) 0:00:11.459 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:32:43 +0000 (0:00:00.031) 0:00:11.491 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:32:43 +0000 (0:00:00.036) 0:00:11.527 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:32:43 +0000 (0:00:00.029) 0:00:11.557 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:32:43 +0000 (0:00:00.067) 0:00:11.624 ********** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:32:48 +0000 (0:00:05.065) 0:00:16.690 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:32:48 +0000 (0:00:00.032) 0:00:16.722 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:32:48 +0000 (0:00:00.034) 0:00:16.756 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:32:48 +0000 (0:00:00.039) 0:00:16.796 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:32:48 +0000 (0:00:00.052) 0:00:16.849 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:32:48 +0000 (0:00:00.031) 0:00:16.881 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:32:49 +0000 (0:00:01.005) 0:00:17.886 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2256vs2ipcp3/tmptp4chh28" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:32:50 +0000 (0:00:00.378) 0:00:18.265 ********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:32:57 +0000 (0:00:06.866) 0:00:25.132 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:32:57 +0000 (0:00:00.034) 0:00:25.166 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:32:57 +0000 (0:00:00.040) 0:00:25.207 ********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:32:57 +0000 (0:00:00.032) 0:00:25.240 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:32:57 +0000 (0:00:00.033) 0:00:25.274 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:42 Friday 15 March 2024 15:32:57 +0000 (0:00:00.436) 0:00:25.711 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:32:57 +0000 (0:00:00.072) 0:00:25.784 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:32:57 +0000 (0:00:00.117) 0:00:25.901 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516759.0932446, "block_size": 4096, "blocks": 0, "ctime": 1710516759.0932446, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21657, "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": 1710516759.0932446, "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_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:32:58 +0000 (0:00:00.249) 0:00:26.151 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:44 Friday 15 March 2024 15:32:58 +0000 (0:00:00.061) 0:00:26.213 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:32:58 +0000 (0:00:00.112) 0:00:26.325 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:32:58 +0000 (0:00:00.047) 0:00:26.373 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:32:58 +0000 (0:00:00.053) 0:00:26.426 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516770.8371685, "block_size": 4096, "blocks": 8, "ctime": 1710516770.817169, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5971656, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710516770.817169, "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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:32:58 +0000 (0:00:00.226) 0:00:26.653 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:32:58 +0000 (0:00:00.035) 0:00:26.688 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021251", "end": "2024-03-15 15:32:58.997044", "rc": 1, "start": "2024-03-15 15:32:58.975793" } 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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:32:59 +0000 (0:00:00.239) 0:00:26.928 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:32:59 +0000 (0:00:00.036) 0:00:26.964 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003366", "end": "2024-03-15 15:32:59.251121", "rc": 0, "start": "2024-03-15 15:32:59.247755" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:32:59 +0000 (0:00:00.217) 0:00:27.182 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:32:59 +0000 (0:00:00.032) 0:00:27.214 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003358", "end": "2024-03-15 15:32:59.495094", "rc": 0, "start": "2024-03-15 15:32:59.491736" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:32:59 +0000 (0:00:00.211) 0:00:27.426 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:32:59 +0000 (0:00:00.033) 0:00:27.460 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:32:59 +0000 (0:00:00.032) 0:00:27.492 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:32:59 +0000 (0:00:00.084) 0:00:27.576 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:48 Friday 15 March 2024 15:32:59 +0000 (0:00:00.036) 0:00:27.612 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003895", "end": "2024-03-15 15:32:59.902360", "rc": 0, "start": "2024-03-15 15:32:59.898465" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.22 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.22 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:52 Friday 15 March 2024 15:32:59 +0000 (0:00:00.231) 0:00:27.844 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:58 Friday 15 March 2024 15:32:59 +0000 (0:00:00.030) 0:00:27.874 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004031", "end": "2024-03-15 15:33:00.156200", "rc": 0, "start": "2024-03-15 15:33:00.152169" } 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:62 Friday 15 March 2024 15:33:00 +0000 (0:00:00.226) 0:00:28.101 ********** 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:69 Friday 15 March 2024 15:33:00 +0000 (0:00:00.046) 0:00:28.147 ********** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:33:00 +0000 (0:00:00.037) 0:00:28.184 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:33:00 +0000 (0:00:00.105) 0:00:28.290 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:33:00 +0000 (0:00:00.039) 0:00:28.330 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:33:00 +0000 (0:00:00.033) 0:00:28.364 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:33:00 +0000 (0:00:00.033) 0:00:28.397 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:33:02 +0000 (0:00:01.649) 0:00:30.047 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:33:03 +0000 (0:00:01.420) 0:00:31.468 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:33:03 +0000 (0:00:00.057) 0:00:31.525 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:33:03 +0000 (0:00:00.173) 0:00:31.699 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:33:03 +0000 (0:00:00.055) 0:00:31.754 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:33:03 +0000 (0:00:00.116) 0:00:31.870 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:33:04 +0000 (0:00:00.045) 0:00:31.916 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:33:04 +0000 (0:00:00.062) 0:00:31.979 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:33:04 +0000 (0:00:00.073) 0:00:32.053 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:33:04 +0000 (0:00:00.051) 0:00:32.104 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:33:04 +0000 (0:00:00.042) 0:00:32.146 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:33:04 +0000 (0:00:00.059) 0:00:32.206 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:33:04 +0000 (0:00:00.042) 0:00:32.249 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:33:04 +0000 (0:00:00.040) 0:00:32.289 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:33:04 +0000 (0:00:00.404) 0:00:32.694 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2256vs2ipcp3/tmp2zujqcs4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:33:05 +0000 (0:00:00.402) 0:00:33.096 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:33:05 +0000 (0:00:00.481) 0:00:33.578 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:33:05 +0000 (0:00:00.049) 0:00:33.627 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:33:05 +0000 (0:00:00.036) 0:00:33.663 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:33:05 +0000 (0:00:00.031) 0:00:33.695 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:33:05 +0000 (0:00:00.031) 0:00:33.726 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:81 Friday 15 March 2024 15:33:06 +0000 (0:00:00.257) 0:00:33.983 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 15 March 2024 15:33:06 +0000 (0:00:00.059) 0:00:34.043 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 15 March 2024 15:33:06 +0000 (0:00:00.030) 0:00:34.073 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 15 March 2024 15:33:06 +0000 (0:00:00.040) 0:00:34.113 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:33:06 +0000 (0:00:00.059) 0:00:34.173 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:33:06 +0000 (0:00:00.059) 0:00:34.232 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003403", "end": "2024-03-15 15:33:06.516482", "rc": 0, "start": "2024-03-15 15:33:06.513079" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:33:06 +0000 (0:00:00.216) 0:00:34.448 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:33:06 +0000 (0:00:00.032) 0:00:34.481 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 15 March 2024 15:33:06 +0000 (0:00:00.030) 0:00:34.511 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 15 March 2024 15:33:09 +0000 (0:00:02.608) 0:00:37.120 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 15 March 2024 15:33:09 +0000 (0:00:00.038) 0:00:37.159 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 15 March 2024 15:33:09 +0000 (0:00:00.030) 0:00:37.189 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011876", "end": "2024-03-15 15:33:09.481655", "rc": 0, "start": "2024-03-15 15:33:09.469779" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 15 March 2024 15:33:09 +0000 (0:00:00.225) 0:00:37.415 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 15 March 2024 15:33:09 +0000 (0:00:00.030) 0:00:37.445 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 15 March 2024 15:33:09 +0000 (0:00:00.078) 0:00:37.524 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 15 March 2024 15:33:09 +0000 (0:00:00.032) 0:00:37.556 ********** 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:85 Friday 15 March 2024 15:33:09 +0000 (0:00:00.035) 0:00:37.592 ********** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:89 Friday 15 March 2024 15:33:09 +0000 (0:00:00.037) 0:00:37.629 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 15 March 2024 15:33:09 +0000 (0:00:00.066) 0:00:37.695 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 15 March 2024 15:33:09 +0000 (0:00:00.046) 0:00:37.742 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 15 March 2024 15:33:09 +0000 (0:00:00.034) 0:00:37.777 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:33:09 +0000 (0:00:00.063) 0:00:37.840 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:33:10 +0000 (0:00:00.064) 0:00:37.904 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003458", "end": "2024-03-15 15:33:10.187079", "rc": 0, "start": "2024-03-15 15:33:10.183621" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:33:10 +0000 (0:00:00.231) 0:00:38.136 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:33:10 +0000 (0:00:00.041) 0:00:38.177 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 15 March 2024 15:33:10 +0000 (0:00:00.032) 0:00:38.210 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 15 March 2024 15:33:12 +0000 (0:00:02.575) 0:00:40.785 ********** 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.006487", "end": "2024-03-15 15:33:13.074954", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-15 15:33:13.068467" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003929", "end": "2024-03-15 15:33:13.305507", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-15 15:33:13.301578" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004681", "end": "2024-03-15 15:33:13.495698", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-15 15:33:13.491017" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 15 March 2024 15:33:13 +0000 (0:00:00.648) 0:00:41.433 ********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022138", "end": "2024-03-15 15:33:13.736720", "rc": 0, "start": "2024-03-15 15:33:13.714582" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 15 March 2024 15:33:13 +0000 (0:00:00.250) 0:00:41.684 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 15 March 2024 15:33:13 +0000 (0:00:00.200) 0:00:41.885 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 15 March 2024 15:33:14 +0000 (0:00:00.042) 0:00:41.928 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 15 March 2024 15:33:14 +0000 (0:00:00.046) 0:00:41.974 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 15 March 2024 15:33:14 +0000 (0:00:00.049) 0:00:42.024 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:33:14 +0000 (0:00:00.051) 0:00:42.075 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:33:14 +0000 (0:00:00.067) 0:00:42.143 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:33:14 +0000 (0:00:00.043) 0:00:42.187 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:33:14 +0000 (0:00:00.048) 0:00:42.235 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:33:14 +0000 (0:00:00.036) 0:00:42.272 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:33:15 +0000 (0:00:01.568) 0:00:43.840 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:33:17 +0000 (0:00:01.341) 0:00:45.182 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:33:17 +0000 (0:00:00.050) 0:00:45.232 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:33:17 +0000 (0:00:00.036) 0:00:45.269 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:33:17 +0000 (0:00:00.035) 0:00:45.304 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:33:17 +0000 (0:00:00.183) 0:00:45.488 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:33:17 +0000 (0:00:00.032) 0:00:45.521 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:33:17 +0000 (0:00:00.039) 0:00:45.560 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:33:17 +0000 (0:00:00.069) 0:00:45.629 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:33:17 +0000 (0:00:00.035) 0:00:45.665 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:33:17 +0000 (0:00:00.043) 0:00:45.708 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:33:17 +0000 (0:00:00.051) 0:00:45.759 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:33:17 +0000 (0:00:00.038) 0:00:45.798 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:33:17 +0000 (0:00:00.031) 0:00:45.830 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:33:18 +0000 (0:00:00.381) 0:00:46.211 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2256vs2ipcp3/tmpvt13fg7_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:33:18 +0000 (0:00:00.313) 0:00:46.524 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:33:25 +0000 (0:00:06.520) 0:00:53.045 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:33:25 +0000 (0:00:00.033) 0:00:53.078 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:33:25 +0000 (0:00:00.042) 0:00:53.121 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:33:25 +0000 (0:00:00.038) 0:00:53.160 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:33:25 +0000 (0:00:00.032) 0:00:53.193 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:110 Friday 15 March 2024 15:33:25 +0000 (0:00:00.218) 0:00:53.411 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:33:25 +0000 (0:00:00.113) 0:00:53.524 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:33:25 +0000 (0:00:00.049) 0:00:53.574 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516793.0723398, "block_size": 4096, "blocks": 0, "ctime": 1710516793.0723398, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22243, "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": 1710516793.0723398, "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_hotfixdqm37epu/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:33:25 +0000 (0:00:00.210) 0:00:53.784 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:112 Friday 15 March 2024 15:33:25 +0000 (0:00:00.047) 0:00:53.831 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:33:26 +0000 (0:00:00.087) 0:00:53.918 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:33:26 +0000 (0:00:00.088) 0:00:54.006 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:33:26 +0000 (0:00:00.038) 0:00:54.045 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516798.9133792, "block_size": 4096, "blocks": 8, "ctime": 1710516798.89338, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5971656, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710516798.89338, "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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:33:26 +0000 (0:00:00.218) 0:00:54.264 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:33:26 +0000 (0:00:00.074) 0:00:54.339 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021083", "end": "2024-03-15 15:33:26.654215", "rc": 1, "start": "2024-03-15 15:33:26.633132" } 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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:33:26 +0000 (0:00:00.255) 0:00:54.594 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:33:26 +0000 (0:00:00.030) 0:00:54.625 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003308", "end": "2024-03-15 15:33:26.911089", "rc": 0, "start": "2024-03-15 15:33:26.907781" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:33:26 +0000 (0:00:00.225) 0:00:54.850 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:33:26 +0000 (0:00:00.035) 0:00:54.886 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003258", "end": "2024-03-15 15:33:27.175188", "rc": 0, "start": "2024-03-15 15:33:27.171930" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:33:27 +0000 (0:00:00.315) 0:00:55.202 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:33:27 +0000 (0:00:00.049) 0:00:55.251 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:33:27 +0000 (0:00:00.038) 0:00:55.289 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:33:27 +0000 (0:00:00.053) 0:00:55.343 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:116 Friday 15 March 2024 15:33:27 +0000 (0:00:00.048) 0:00:55.392 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003576", "end": "2024-03-15 15:33:27.685682", "rc": 0, "start": "2024-03-15 15:33:27.682106" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.22 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.22 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:120 Friday 15 March 2024 15:33:27 +0000 (0:00:00.236) 0:00:55.628 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:126 Friday 15 March 2024 15:33:27 +0000 (0:00:00.049) 0:00:55.678 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003955", "end": "2024-03-15 15:33:27.969058", "rc": 0, "start": "2024-03-15 15:33:27.965103" } 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:130 Friday 15 March 2024 15:33:28 +0000 (0:00:00.229) 0:00:55.907 ********** 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:137 Friday 15 March 2024 15:33:28 +0000 (0:00:00.050) 0:00:55.957 ********** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 15:33:28 +0000 (0:00:00.045) 0:00:56.003 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 15:33:28 +0000 (0:00:00.053) 0:00:56.056 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 15:33:28 +0000 (0:00:00.065) 0:00:56.122 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 15:33:28 +0000 (0:00:00.045) 0:00:56.167 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 15:33:28 +0000 (0:00:00.062) 0:00:56.230 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 15:33:29 +0000 (0:00:01.574) 0:00:57.805 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 15:33:31 +0000 (0:00:01.488) 0:00:59.294 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 15:33:31 +0000 (0:00:00.091) 0:00:59.385 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 15:33:31 +0000 (0:00:00.049) 0:00:59.434 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 15:33:31 +0000 (0:00:00.055) 0:00:59.490 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 15:33:31 +0000 (0:00:00.053) 0:00:59.544 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 15:33:31 +0000 (0:00:00.035) 0:00:59.580 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 15:33:31 +0000 (0:00:00.040) 0:00:59.620 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 15:33:31 +0000 (0:00:00.085) 0:00:59.705 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 15:33:31 +0000 (0:00:00.040) 0:00:59.746 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 15:33:31 +0000 (0:00:00.047) 0:00:59.793 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 15:33:31 +0000 (0:00:00.049) 0:00:59.843 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 15:33:32 +0000 (0:00:00.076) 0:00:59.919 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 15:33:32 +0000 (0:00:00.043) 0:00:59.963 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 15:33:32 +0000 (0:00:00.408) 0:01:00.371 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2256vs2ipcp3/tmpvw8trabm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 15:33:32 +0000 (0:00:00.395) 0:01:00.766 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 15:33:33 +0000 (0:00:00.487) 0:01:01.254 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 15:33:33 +0000 (0:00:00.042) 0:01:01.296 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 15:33:33 +0000 (0:00:00.067) 0:01:01.364 ********** 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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 15:33:33 +0000 (0:00:00.182) 0:01:01.546 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 15:33:33 +0000 (0:00:00.066) 0:01:01.613 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:149 Friday 15 March 2024 15:33:34 +0000 (0:00:00.352) 0:01:01.966 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 15 March 2024 15:33:34 +0000 (0:00:00.089) 0:01:02.055 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 15 March 2024 15:33:34 +0000 (0:00:00.048) 0:01:02.104 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 15 March 2024 15:33:34 +0000 (0:00:00.079) 0:01:02.183 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:33:34 +0000 (0:00:00.102) 0:01:02.286 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:33:34 +0000 (0:00:00.131) 0:01:02.417 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003569", "end": "2024-03-15 15:33:34.756838", "rc": 0, "start": "2024-03-15 15:33:34.753269" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:33:34 +0000 (0:00:00.283) 0:01:02.701 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:33:34 +0000 (0:00:00.053) 0:01:02.754 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 15 March 2024 15:33:34 +0000 (0:00:00.084) 0:01:02.838 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 15 March 2024 15:33:37 +0000 (0:00:02.578) 0:01:05.417 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 15 March 2024 15:33:37 +0000 (0:00:00.039) 0:01:05.456 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 15 March 2024 15:33:37 +0000 (0:00:00.030) 0:01:05.487 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011054", "end": "2024-03-15 15:33:37.778096", "rc": 0, "start": "2024-03-15 15:33:37.767042" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 15 March 2024 15:33:37 +0000 (0:00:00.281) 0:01:05.768 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 15 March 2024 15:33:37 +0000 (0:00:00.033) 0:01:05.801 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 15 March 2024 15:33:37 +0000 (0:00:00.037) 0:01:05.839 ********** 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_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 15 March 2024 15:33:37 +0000 (0:00:00.050) 0:01:05.889 ********** 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_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:153 Friday 15 March 2024 15:33:38 +0000 (0:00:00.032) 0:01:05.921 ********** included: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/check_network_dns.yml:6 Friday 15 March 2024 15:33:38 +0000 (0:00:00.106) 0:01:06.027 ********** 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.009740", "end": "2024-03-15 15:33:38.347989", "rc": 0, "start": "2024-03-15 15:33:38.338249" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:d1:66:b9:3d:cb brd ff:ff:ff:ff:ff:ff inet 10.31.45.22/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2468sec preferred_lft 2468sec inet6 fe80::d1:66ff:feb9:3dcb/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.22 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.22 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_hotfixdqm37epu/tests/playbooks/tasks/check_network_dns.yml:24 Friday 15 March 2024 15:33:38 +0000 (0:00:00.255) 0:01:06.283 ********** 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.068593", "end": "2024-03-15 15:33:38.642110", "rc": 0, "start": "2024-03-15 15:33:38.573517" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 12200 0 --:--:-- --:--:-- --:--:-- 12200 % 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 16166 0 --:--:-- --:--:-- --:--:-- 16166 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=101 rescued=0 ignored=2 Friday 15 March 2024 15:33:38 +0000 (0:00:00.327) 0:01:06.610 ********** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.87s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.52s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Install packages -------------------- 5.07s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Install iproute --------------------------------------------------------- 3.00s /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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_hotfixdqm37epu/.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_hotfixdqm37epu/.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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.49s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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.42s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.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_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 1.01s /WORKDIR/git-nm_plugin_hotfixdqm37epu/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-nm_plugin_hotfixdqm37epu/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-nm_plugin_hotfixdqm37epu/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. ---^---^---^---^---^---