# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixo2c4clsp/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_hotfixo2c4clsp/tests/tests_auto_gateway_initscripts.yml:5 Friday 15 March 2024 15:33:01 +0000 (0:00:00.018) 0:00:00.018 ********** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tests_auto_gateway_initscripts.yml:8 Friday 15 March 2024 15:33:02 +0000 (0:00:00.897) 0:00:00.915 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/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_hotfixo2c4clsp/tests/tasks/el_repo_setup.yml:3 Friday 15 March 2024 15:33:02 +0000 (0:00:00.013) 0:00:00.928 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/el_repo_setup.yml:19 Friday 15 March 2024 15:33:02 +0000 (0:00:00.383) 0:00:01.312 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/el_repo_setup.yml:24 Friday 15 March 2024 15:33:03 +0000 (0:00:00.328) 0:00:01.641 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/el_repo_setup.yml:28 Friday 15 March 2024 15:33:03 +0000 (0:00:00.027) 0:00:01.668 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/el_repo_setup.yml:53 Friday 15 March 2024 15:33:03 +0000 (0:00:00.036) 0:00:01.704 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/enable_epel.yml:8 Friday 15 March 2024 15:33:03 +0000 (0:00:00.044) 0:00:01.748 ********** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/enable_epel.yml:24 Friday 15 March 2024 15:33:03 +0000 (0:00:00.291) 0:00:02.040 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/enable_epel.yml:30 Friday 15 March 2024 15:33:03 +0000 (0:00:00.063) 0:00:02.104 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/enable_epel.yml:35 Friday 15 March 2024 15:33:03 +0000 (0:00:00.115) 0:00:02.219 ********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243838", "end": "2024-03-15 15:33:04.174688", "rc": 0, "start": "2024-03-15 15:33:03.930850" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tasks/enable_epel.yml:40 Friday 15 March 2024 15:33:04 +0000 (0:00:00.515) 0:00:02.735 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tests_auto_gateway_initscripts.yml:10 Friday 15 March 2024 15:33:04 +0000 (0:00:00.026) 0:00:02.761 ********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:3 Friday 15 March 2024 15:33:04 +0000 (0:00:00.027) 0:00:02.789 ********** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:9 Friday 15 March 2024 15:33:04 +0000 (0:00:00.490) 0:00:03.280 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:33:04 +0000 (0:00:00.082) 0:00:03.363 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:33:04 +0000 (0:00:00.023) 0:00:03.386 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003095", "end": "2024-03-15 15:33:05.095662", "rc": 0, "start": "2024-03-15 15:33:05.092567" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:33:05 +0000 (0:00:00.253) 0:00:03.640 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:33:05 +0000 (0:00:00.016) 0:00:03.656 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:11 Friday 15 March 2024 15:33:05 +0000 (0:00:00.014) 0:00:03.671 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 15 March 2024 15:33:05 +0000 (0:00:00.062) 0:00:03.733 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 15 March 2024 15:33:05 +0000 (0:00:00.025) 0:00:03.759 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 15 March 2024 15:33:05 +0000 (0:00:00.017) 0:00:03.777 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:33:05 +0000 (0:00:00.044) 0:00:03.821 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:33:05 +0000 (0:00:00.021) 0:00:03.842 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003163", "end": "2024-03-15 15:33:05.496653", "rc": 0, "start": "2024-03-15 15:33:05.493490" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:33:05 +0000 (0:00:00.192) 0:00:04.035 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:33:05 +0000 (0:00:00.014) 0:00:04.049 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 15 March 2024 15:33:05 +0000 (0:00:00.018) 0:00:04.067 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 15 March 2024 15:33:08 +0000 (0:00:03.057) 0:00:07.125 ********** 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.012200", "end": "2024-03-15 15:33:08.812565", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-15 15:33:08.800365" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003653", "end": "2024-03-15 15:33:09.039502", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-15 15:33:09.035849" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004521", "end": "2024-03-15 15:33:09.229675", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-15 15:33:09.225154" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 15 March 2024 15:33:09 +0000 (0:00:00.646) 0:00:07.771 ********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.101718", "end": "2024-03-15 15:33:09.523526", "rc": 0, "start": "2024-03-15 15:33:09.421808" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 15 March 2024 15:33:09 +0000 (0:00:00.289) 0:00:08.060 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 15 March 2024 15:33:09 +0000 (0:00:00.014) 0:00:08.075 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 15 March 2024 15:33:09 +0000 (0:00:00.014) 0:00:08.090 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 15 March 2024 15:33:09 +0000 (0:00:00.015) 0:00:08.106 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 15 March 2024 15:33:09 +0000 (0:00:00.014) 0:00:08.120 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:15 Friday 15 March 2024 15:33:09 +0000 (0:00:00.014) 0:00:08.134 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:33:09 +0000 (0:00:00.037) 0:00:08.172 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:33:09 +0000 (0:00:00.028) 0:00:08.200 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516788.811105, "block_size": 4096, "blocks": 0, "ctime": 1710516788.811105, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21623, "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": 1710516788.811105, "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_hotfixo2c4clsp/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:33:09 +0000 (0:00:00.294) 0:00:08.495 ********** 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_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:17 Friday 15 March 2024 15:33:09 +0000 (0:00:00.018) 0:00:08.514 ********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:33:10 +0000 (0:00:00.013) 0:00:08.527 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:33:10 +0000 (0:00:00.041) 0:00:08.569 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:33:10 +0000 (0:00:00.019) 0:00:08.588 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:33:10 +0000 (0:00:00.016) 0:00:08.605 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:33:10 +0000 (0:00:00.032) 0:00:08.637 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:33:11 +0000 (0:00:01.481) 0:00:10.119 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:33:13 +0000 (0:00:01.507) 0:00:11.626 ********** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:33:13 +0000 (0:00:00.056) 0:00:11.683 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:33:13 +0000 (0:00:00.033) 0:00:11.716 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:33:13 +0000 (0:00:00.063) 0:00:11.780 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:33:13 +0000 (0:00:00.060) 0:00:11.841 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:33:13 +0000 (0:00:00.058) 0:00:11.899 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:33:13 +0000 (0:00:00.064) 0:00:11.964 ********** 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 [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:33:22 +0000 (0:00:09.501) 0:00:21.466 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:33:22 +0000 (0:00:00.034) 0:00:21.500 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:33:23 +0000 (0:00:00.024) 0:00:21.525 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:33:23 +0000 (0:00:00.032) 0:00:21.557 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:33:23 +0000 (0:00:00.073) 0:00:21.631 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:33:23 +0000 (0:00:00.037) 0:00:21.668 ********** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:33:24 +0000 (0:00:01.016) 0:00:22.684 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-27170rd6e2do/tmpf2v7riht" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:33:24 +0000 (0:00:00.350) 0:00:23.035 ********** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:33:31 +0000 (0:00:06.933) 0:00:29.968 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:33:31 +0000 (0:00:00.095) 0:00:30.063 ********** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:33:31 +0000 (0:00:00.065) 0:00:30.129 ********** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:33:31 +0000 (0:00:00.039) 0:00:30.168 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:33:31 +0000 (0:00:00.027) 0:00:30.196 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:42 Friday 15 March 2024 15:33:32 +0000 (0:00:00.333) 0:00:30.529 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:33:32 +0000 (0:00:00.065) 0:00:30.595 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:33:32 +0000 (0:00:00.082) 0:00:30.677 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516788.811105, "block_size": 4096, "blocks": 0, "ctime": 1710516788.811105, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21623, "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": 1710516788.811105, "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_hotfixo2c4clsp/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:33:32 +0000 (0:00:00.233) 0:00:30.911 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:44 Friday 15 March 2024 15:33:32 +0000 (0:00:00.055) 0:00:30.966 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:33:32 +0000 (0:00:00.091) 0:00:31.058 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:33:32 +0000 (0:00:00.140) 0:00:31.198 ********** 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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:33:32 +0000 (0:00:00.048) 0:00:31.246 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516805.0589566, "block_size": 4096, "blocks": 8, "ctime": 1710516805.0389574, "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": 1710516805.0389574, "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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:33:32 +0000 (0:00:00.218) 0:00:31.465 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:33:32 +0000 (0:00:00.047) 0:00:31.512 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020991", "end": "2024-03-15 15:33:33.226834", "rc": 1, "start": "2024-03-15 15:33:33.205843" } 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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:33:33 +0000 (0:00:00.276) 0:00:31.789 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:33:33 +0000 (0:00:00.060) 0:00:31.849 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003075", "end": "2024-03-15 15:33:33.540988", "rc": 0, "start": "2024-03-15 15:33:33.537913" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:33:33 +0000 (0:00:00.262) 0:00:32.112 ********** 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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:33:33 +0000 (0:00:00.036) 0:00:32.149 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003199", "end": "2024-03-15 15:33:33.879607", "rc": 0, "start": "2024-03-15 15:33:33.876408" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:33:33 +0000 (0:00:00.318) 0:00:32.467 ********** 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_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:33:33 +0000 (0:00:00.045) 0:00:32.512 ********** 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_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:33:34 +0000 (0:00:00.061) 0:00:32.574 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:33:34 +0000 (0:00:00.047) 0:00:32.622 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:48 Friday 15 March 2024 15:33:34 +0000 (0:00:00.030) 0:00:32.653 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003586", "end": "2024-03-15 15:33:34.345712", "rc": 0, "start": "2024-03-15 15:33:34.342126" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.114 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.114 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_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:52 Friday 15 March 2024 15:33:34 +0000 (0:00:00.292) 0:00:32.945 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:58 Friday 15 March 2024 15:33:34 +0000 (0:00:00.116) 0:00:33.062 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003501", "end": "2024-03-15 15:33:34.735701", "rc": 0, "start": "2024-03-15 15:33:34.732200" } 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_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:62 Friday 15 March 2024 15:33:34 +0000 (0:00:00.226) 0:00:33.289 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:69 Friday 15 March 2024 15:33:34 +0000 (0:00:00.029) 0:00:33.319 ********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:33:34 +0000 (0:00:00.070) 0:00:33.389 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:33:34 +0000 (0:00:00.085) 0:00:33.474 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:33:35 +0000 (0:00:00.089) 0:00:33.564 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:33:35 +0000 (0:00:00.047) 0:00:33.611 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:33:35 +0000 (0:00:00.029) 0:00:33.641 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:33:36 +0000 (0:00:01.496) 0:00:35.137 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:33:38 +0000 (0:00:01.425) 0:00:36.563 ********** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:33:38 +0000 (0:00:00.039) 0:00:36.603 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:33:38 +0000 (0:00:00.061) 0:00:36.664 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:33:38 +0000 (0:00:00.043) 0:00:36.707 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:33:38 +0000 (0:00:00.033) 0:00:36.741 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:33:38 +0000 (0:00:00.027) 0:00:36.768 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:33:38 +0000 (0:00:00.028) 0:00:36.797 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:33:38 +0000 (0:00:00.053) 0:00:36.851 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:33:38 +0000 (0:00:00.026) 0:00:36.877 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:33:38 +0000 (0:00:00.029) 0:00:36.907 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:33:38 +0000 (0:00:00.039) 0:00:36.946 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:33:38 +0000 (0:00:00.077) 0:00:37.023 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:33:38 +0000 (0:00:00.025) 0:00:37.049 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:33:38 +0000 (0:00:00.361) 0:00:37.410 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-27170rd6e2do/tmpvvuj_rbb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:33:39 +0000 (0:00:00.324) 0:00:37.734 ********** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:33:39 +0000 (0:00:00.441) 0:00:38.176 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:33:39 +0000 (0:00:00.032) 0:00:38.208 ********** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:33:39 +0000 (0:00:00.038) 0:00:38.247 ********** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:33:39 +0000 (0:00:00.029) 0:00:38.277 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:33:39 +0000 (0:00:00.024) 0:00:38.302 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:81 Friday 15 March 2024 15:33:39 +0000 (0:00:00.191) 0:00:38.493 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 15 March 2024 15:33:40 +0000 (0:00:00.055) 0:00:38.549 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 15 March 2024 15:33:40 +0000 (0:00:00.075) 0:00:38.624 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 15 March 2024 15:33:40 +0000 (0:00:00.031) 0:00:38.656 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:33:40 +0000 (0:00:00.064) 0:00:38.720 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:33:40 +0000 (0:00:00.040) 0:00:38.761 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003362", "end": "2024-03-15 15:33:40.421613", "rc": 0, "start": "2024-03-15 15:33:40.418251" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:33:40 +0000 (0:00:00.214) 0:00:38.976 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:33:40 +0000 (0:00:00.087) 0:00:39.064 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 15 March 2024 15:33:40 +0000 (0:00:00.035) 0:00:39.099 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 15 March 2024 15:33:43 +0000 (0:00:02.677) 0:00:41.777 ********** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 15 March 2024 15:33:43 +0000 (0:00:00.043) 0:00:41.820 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 15 March 2024 15:33:43 +0000 (0:00:00.028) 0:00:41.848 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014142", "end": "2024-03-15 15:33:43.514497", "rc": 0, "start": "2024-03-15 15:33:43.500355" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 15 March 2024 15:33:43 +0000 (0:00:00.216) 0:00:42.065 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 15 March 2024 15:33:43 +0000 (0:00:00.025) 0:00:42.090 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 15 March 2024 15:33:43 +0000 (0:00:00.024) 0:00:42.115 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 15 March 2024 15:33:43 +0000 (0:00:00.027) 0:00:42.143 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:85 Friday 15 March 2024 15:33:43 +0000 (0:00:00.047) 0:00:42.190 ********** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:89 Friday 15 March 2024 15:33:43 +0000 (0:00:00.028) 0:00:42.218 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 15 March 2024 15:33:43 +0000 (0:00:00.069) 0:00:42.287 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 15 March 2024 15:33:43 +0000 (0:00:00.029) 0:00:42.317 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 15 March 2024 15:33:43 +0000 (0:00:00.035) 0:00:42.352 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:33:43 +0000 (0:00:00.053) 0:00:42.405 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:33:43 +0000 (0:00:00.097) 0:00:42.503 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003317", "end": "2024-03-15 15:33:44.158732", "rc": 0, "start": "2024-03-15 15:33:44.155415" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:33:44 +0000 (0:00:00.206) 0:00:42.709 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:33:44 +0000 (0:00:00.026) 0:00:42.736 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 15 March 2024 15:33:44 +0000 (0:00:00.026) 0:00:42.762 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 15 March 2024 15:33:46 +0000 (0:00:02.551) 0:00:45.314 ********** 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.011621", "end": "2024-03-15 15:33:46.979260", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-15 15:33:46.967639" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003683", "end": "2024-03-15 15:33:47.196608", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-15 15:33:47.192925" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004273", "end": "2024-03-15 15:33:47.397936", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-15 15:33:47.393663" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 15 March 2024 15:33:47 +0000 (0:00:00.647) 0:00:45.961 ********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023374", "end": "2024-03-15 15:33:47.654330", "rc": 0, "start": "2024-03-15 15:33:47.630956" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 15 March 2024 15:33:47 +0000 (0:00:00.242) 0:00:46.203 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 15 March 2024 15:33:47 +0000 (0:00:00.117) 0:00:46.321 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 15 March 2024 15:33:47 +0000 (0:00:00.033) 0:00:46.354 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 15 March 2024 15:33:47 +0000 (0:00:00.042) 0:00:46.396 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 15 March 2024 15:33:47 +0000 (0:00:00.027) 0:00:46.423 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:33:47 +0000 (0:00:00.027) 0:00:46.451 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:33:47 +0000 (0:00:00.055) 0:00:46.506 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:33:48 +0000 (0:00:00.060) 0:00:46.567 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:33:48 +0000 (0:00:00.056) 0:00:46.623 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:33:48 +0000 (0:00:00.032) 0:00:46.656 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:33:49 +0000 (0:00:01.506) 0:00:48.162 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:33:51 +0000 (0:00:01.412) 0:00:49.575 ********** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:33:51 +0000 (0:00:00.027) 0:00:49.603 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:33:51 +0000 (0:00:00.024) 0:00:49.627 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:33:51 +0000 (0:00:00.033) 0:00:49.661 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:33:51 +0000 (0:00:00.032) 0:00:49.694 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:33:51 +0000 (0:00:00.024) 0:00:49.718 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:33:51 +0000 (0:00:00.034) 0:00:49.753 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:33:51 +0000 (0:00:00.054) 0:00:49.807 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:33:51 +0000 (0:00:00.027) 0:00:49.835 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:33:51 +0000 (0:00:00.027) 0:00:49.863 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:33:51 +0000 (0:00:00.029) 0:00:49.892 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:33:51 +0000 (0:00:00.077) 0:00:49.970 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:33:51 +0000 (0:00:00.023) 0:00:49.994 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:33:51 +0000 (0:00:00.344) 0:00:50.338 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-27170rd6e2do/tmpb75i0kza" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:33:52 +0000 (0:00:00.306) 0:00:50.644 ********** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:33:58 +0000 (0:00:06.530) 0:00:57.174 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:33:58 +0000 (0:00:00.057) 0:00:57.232 ********** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:33:58 +0000 (0:00:00.038) 0:00:57.271 ********** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:33:58 +0000 (0:00:00.036) 0:00:57.307 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:33:58 +0000 (0:00:00.088) 0:00:57.395 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:110 Friday 15 March 2024 15:33:59 +0000 (0:00:00.196) 0:00:57.592 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:33:59 +0000 (0:00:00.077) 0:00:57.669 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:33:59 +0000 (0:00:00.038) 0:00:57.708 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516826.9710925, "block_size": 4096, "blocks": 0, "ctime": 1710516826.9710925, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22209, "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": 1710516826.9710925, "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_hotfixo2c4clsp/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:33:59 +0000 (0:00:00.216) 0:00:57.924 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:112 Friday 15 March 2024 15:33:59 +0000 (0:00:00.026) 0:00:57.951 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:33:59 +0000 (0:00:00.063) 0:00:58.014 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:33:59 +0000 (0:00:00.038) 0:00:58.052 ********** 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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:33:59 +0000 (0:00:00.024) 0:00:58.077 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710516832.4070807, "block_size": 4096, "blocks": 8, "ctime": 1710516832.3870814, "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": 1710516832.3870814, "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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:33:59 +0000 (0:00:00.265) 0:00:58.342 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:33:59 +0000 (0:00:00.032) 0:00:58.375 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021240", "end": "2024-03-15 15:34:00.054911", "rc": 1, "start": "2024-03-15 15:34:00.033671" } 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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:34:00 +0000 (0:00:00.235) 0:00:58.610 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:34:00 +0000 (0:00:00.033) 0:00:58.644 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:01.004337", "end": "2024-03-15 15:34:01.304346", "rc": 0, "start": "2024-03-15 15:34:00.300009" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:34:01 +0000 (0:00:01.242) 0:00:59.886 ********** 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_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:34:01 +0000 (0:00:00.045) 0:00:59.932 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003151", "end": "2024-03-15 15:34:01.648256", "rc": 0, "start": "2024-03-15 15:34:01.645105" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:34:01 +0000 (0:00:00.313) 0:01:00.245 ********** 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_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:34:01 +0000 (0:00:00.055) 0:01:00.300 ********** 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_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:34:01 +0000 (0:00:00.050) 0:01:00.350 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:34:01 +0000 (0:00:00.051) 0:01:00.402 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:116 Friday 15 March 2024 15:34:01 +0000 (0:00:00.040) 0:01:00.442 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003616", "end": "2024-03-15 15:34:02.102641", "rc": 0, "start": "2024-03-15 15:34:02.099025" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.114 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.114 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_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:120 Friday 15 March 2024 15:34:02 +0000 (0:00:00.284) 0:01:00.726 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:126 Friday 15 March 2024 15:34:02 +0000 (0:00:00.042) 0:01:00.769 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003935", "end": "2024-03-15 15:34:02.424552", "rc": 0, "start": "2024-03-15 15:34:02.420617" } 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_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:130 Friday 15 March 2024 15:34:02 +0000 (0:00:00.207) 0:01:00.976 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:137 Friday 15 March 2024 15:34:02 +0000 (0:00:00.025) 0:01:01.002 ********** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:34:02 +0000 (0:00:00.036) 0:01:01.038 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:34:02 +0000 (0:00:00.053) 0:01:01.091 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:34:02 +0000 (0:00:00.064) 0:01:01.155 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:34:02 +0000 (0:00:00.053) 0:01:01.209 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:34:02 +0000 (0:00:00.036) 0:01:01.245 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:34:04 +0000 (0:00:01.531) 0:01:02.776 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:34:05 +0000 (0:00:01.378) 0:01:04.155 ********** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:34:05 +0000 (0:00:00.026) 0:01:04.181 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:34:05 +0000 (0:00:00.025) 0:01:04.206 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:34:05 +0000 (0:00:00.024) 0:01:04.231 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:34:05 +0000 (0:00:00.027) 0:01:04.259 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:34:05 +0000 (0:00:00.024) 0:01:04.283 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:34:05 +0000 (0:00:00.027) 0:01:04.311 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:34:05 +0000 (0:00:00.047) 0:01:04.359 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:34:05 +0000 (0:00:00.025) 0:01:04.385 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:34:05 +0000 (0:00:00.023) 0:01:04.408 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:34:05 +0000 (0:00:00.029) 0:01:04.438 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:34:06 +0000 (0:00:00.089) 0:01:04.527 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:34:06 +0000 (0:00:00.038) 0:01:04.566 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:34:06 +0000 (0:00:00.398) 0:01:04.964 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-27170rd6e2do/tmpifnp6wab" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:34:06 +0000 (0:00:00.353) 0:01:05.318 ********** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:34:07 +0000 (0:00:00.468) 0:01:05.786 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:34:07 +0000 (0:00:00.027) 0:01:05.814 ********** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:34:07 +0000 (0:00:00.026) 0:01:05.841 ********** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:34:07 +0000 (0:00:00.030) 0:01:05.871 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:34:07 +0000 (0:00:00.045) 0:01:05.917 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:149 Friday 15 March 2024 15:34:07 +0000 (0:00:00.231) 0:01:06.148 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 15 March 2024 15:34:07 +0000 (0:00:00.067) 0:01:06.216 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 15 March 2024 15:34:07 +0000 (0:00:00.104) 0:01:06.321 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 15 March 2024 15:34:07 +0000 (0:00:00.029) 0:01:06.350 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:34:07 +0000 (0:00:00.053) 0:01:06.404 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:34:07 +0000 (0:00:00.070) 0:01:06.475 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003261", "end": "2024-03-15 15:34:08.169096", "rc": 0, "start": "2024-03-15 15:34:08.165835" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:34:08 +0000 (0:00:00.293) 0:01:06.769 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:34:08 +0000 (0:00:00.060) 0:01:06.829 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 15 March 2024 15:34:08 +0000 (0:00:00.077) 0:01:06.907 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 15 March 2024 15:34:11 +0000 (0:00:02.620) 0:01:09.527 ********** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 15 March 2024 15:34:11 +0000 (0:00:00.053) 0:01:09.580 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 15 March 2024 15:34:11 +0000 (0:00:00.107) 0:01:09.688 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013040", "end": "2024-03-15 15:34:11.384561", "rc": 0, "start": "2024-03-15 15:34:11.371521" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 15 March 2024 15:34:11 +0000 (0:00:00.256) 0:01:09.944 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 15 March 2024 15:34:11 +0000 (0:00:00.036) 0:01:09.980 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 15 March 2024 15:34:11 +0000 (0:00:00.035) 0:01:10.016 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 15 March 2024 15:34:11 +0000 (0:00:00.051) 0:01:10.068 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tests_auto_gateway.yml:153 Friday 15 March 2024 15:34:11 +0000 (0:00:00.025) 0:01:10.094 ********** included: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/check_network_dns.yml:6 Friday 15 March 2024 15:34:11 +0000 (0:00:00.083) 0:01:10.178 ********** 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.009285", "end": "2024-03-15 15:34:11.850921", "rc": 0, "start": "2024-03-15 15:34:11.841636" } 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:2d:d4:1e:8c:37 brd ff:ff:ff:ff:ff:ff inet 10.31.45.114/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2435sec preferred_lft 2435sec inet6 fe80::2d:d4ff:fe1e:8c37/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.114 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.114 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_hotfixo2c4clsp/tests/playbooks/tasks/check_network_dns.yml:24 Friday 15 March 2024 15:34:11 +0000 (0:00:00.219) 0:01:10.397 ********** 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.212638", "end": "2024-03-15 15:34:12.267631", "rc": 0, "start": "2024-03-15 15:34:12.054993" } 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:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe: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 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 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 3719 0 --:--:-- --:--:-- --:--:-- 3719 % 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 3031 0 --:--:-- --:--:-- --:--:-- 3031 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=101 rescued=0 ignored=2 Friday 15 March 2024 15:34:12 +0000 (0:00:00.421) 0:01:10.819 ********** =============================================================================== linux-system-roles.network : Install packages --------------------------- 9.50s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:77 linux-system-roles.network : Configure networking connection profiles --- 6.93s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Configure networking connection profiles --- 6.53s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:173 Install iproute --------------------------------------------------------- 3.06s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.68s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.55s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.51s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.43s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.41s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the ansible_managed comment in ifcfg-veth0 -------------------------- 1.24s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/playbooks/tasks/get_profile_stat.yml:49 linux-system-roles.network : Enable network service --------------------- 1.02s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:156 linux-system-roles.network : Configure networking connection profiles --- 0.91s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:173 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/tests_auto_gateway_initscripts.yml:5 linux-system-roles.network : Enable network service --------------------- 0.76s /WORKDIR/git-nm_plugin_hotfixo2c4clsp/tests/roles/linux-system-roles.network/tasks/main.yml:156 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---