# 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_nm.yml ******************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tests_auto_gateway_nm.yml:6 Tuesday 12 March 2024 21:57:27 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tests_auto_gateway_nm.yml:9 Tuesday 12 March 2024 21:57:28 +0000 (0:00:00.687) 0:00:00.700 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/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_hotfixk0snxifm/tests/tasks/el_repo_setup.yml:3 Tuesday 12 March 2024 21:57:28 +0000 (0:00:00.021) 0:00:00.721 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/el_repo_setup.yml:19 Tuesday 12 March 2024 21:57:28 +0000 (0:00:00.366) 0:00:01.087 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/el_repo_setup.yml:24 Tuesday 12 March 2024 21:57:28 +0000 (0:00:00.258) 0:00:01.346 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/el_repo_setup.yml:28 Tuesday 12 March 2024 21:57:28 +0000 (0:00:00.020) 0:00:01.366 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/el_repo_setup.yml:53 Tuesday 12 March 2024 21:57:28 +0000 (0:00:00.033) 0:00:01.399 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/enable_epel.yml:8 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.054) 0:00:01.453 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/enable_epel.yml:24 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.029) 0:00:01.483 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/enable_epel.yml:30 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.044) 0:00:01.527 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/enable_epel.yml:35 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.028) 0:00:01.555 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tasks/enable_epel.yml:40 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.026) 0:00:01.582 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tests_auto_gateway_nm.yml:11 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.032) 0:00:01.614 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.052) 0:00:01.667 ********* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.494) 0:00:02.161 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.024) 0:00:02.185 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:57:29 +0000 (0:00:00.012) 0:00:02.198 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004299", "end": "2024-03-12 21:57:31.011237", "rc": 0, "start": "2024-03-12 21:57:30.006938" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:57:31 +0000 (0:00:01.243) 0:00:03.441 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.024) 0:00:03.466 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.012) 0:00:03.478 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.031) 0:00:03.509 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.013) 0:00:03.522 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.020) 0:00:03.543 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.014) 0:00:03.557 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.015) 0:00:03.572 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003123", "end": "2024-03-12 21:57:31.339684", "rc": 0, "start": "2024-03-12 21:57:31.336561" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.187) 0:00:03.760 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.022) 0:00:03.782 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:57:31 +0000 (0:00:00.012) 0:00:03.795 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 12 March 2024 21:57:33 +0000 (0:00:01.963) 0:00:05.758 ********* 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.017484", "end": "2024-03-12 21:57:33.542648", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-12 21:57:33.525164" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003775", "end": "2024-03-12 21:57:33.758452", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-12 21:57:33.754677" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004330", "end": "2024-03-12 21:57:33.939054", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-12 21:57:33.934724" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 12 March 2024 21:57:33 +0000 (0:00:00.616) 0:00:06.375 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.096644", "end": "2024-03-12 21:57:34.246573", "rc": 0, "start": "2024-03-12 21:57:34.149929" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.327) 0:00:06.703 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.014) 0:00:06.718 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.035) 0:00:06.753 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.031) 0:00:06.785 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.103) 0:00:06.889 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.015) 0:00:06.904 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.029) 0:00:06.934 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.054) 0:00:06.989 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710280653.537484, "block_size": 4096, "blocks": 0, "ctime": 1710280653.537484, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23008, "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": 1710280653.537484, "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_hotfixk0snxifm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.215) 0:00:07.205 ********* 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_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.018) 0:00:07.223 ********* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.013) 0:00:07.236 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.017) 0:00:07.254 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.011) 0:00:07.266 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.011) 0:00:07.277 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 12 March 2024 21:57:34 +0000 (0:00:00.009) 0:00:07.286 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 12 March 2024 21:57:36 +0000 (0:00:01.491) 0:00:08.778 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 12 March 2024 21:57:37 +0000 (0:00:01.108) 0:00:09.887 ********* ok: [sut] => {} MSG: Using network provider: nm 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.020) 0:00:09.907 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.019) 0:00:09.927 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.019) 0:00:09.947 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:42 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.026) 0:00:09.973 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.021) 0:00:09.995 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:75 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.024) 0:00:10.020 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.041) 0:00:10.061 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:103 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.019) 0:00:10.081 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:120 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.019) 0:00:10.100 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 12 March 2024 21:57:37 +0000 (0:00:00.024) 0:00:10.125 ********* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 12 March 2024 21:57:38 +0000 (0:00:00.495) 0:00:10.621 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:154 Tuesday 12 March 2024 21:57:38 +0000 (0:00:00.024) 0:00:10.645 ********* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 12 March 2024 21:57:38 +0000 (0:00:00.021) 0:00:10.666 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:171 Tuesday 12 March 2024 21:57:38 +0000 (0:00:00.019) 0:00:10.686 ********* 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1fb44419-2f7b-4945-b953-efd36f94cd5f [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1fb44419-2f7b-4945-b953-efd36f94cd5f (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:183 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.724) 0:00:11.410 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.021) 0:00:11.432 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1fb44419-2f7b-4945-b953-efd36f94cd5f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1fb44419-2f7b-4945-b953-efd36f94cd5f (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:193 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.024) 0:00:11.456 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1fb44419-2f7b-4945-b953-efd36f94cd5f\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1fb44419-2f7b-4945-b953-efd36f94cd5f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1fb44419-2f7b-4945-b953-efd36f94cd5f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1fb44419-2f7b-4945-b953-efd36f94cd5f (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:198 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.022) 0:00:11.478 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:204 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.019) 0:00:11.498 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.238) 0:00:11.736 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.048) 0:00:11.785 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.033) 0:00:11.819 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710280653.537484, "block_size": 4096, "blocks": 0, "ctime": 1710280653.537484, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23008, "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": 1710280653.537484, "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_hotfixk0snxifm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.205) 0:00:12.024 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.034) 0:00:12.058 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.082) 0:00:12.140 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/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_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.036) 0:00:12.177 ********* 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_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.021) 0:00:12.198 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 12 March 2024 21:57:39 +0000 (0:00:00.189) 0:00:12.387 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.020) 0:00:12.408 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.074036", "end": "2024-03-12 21:57:40.247518", "rc": 0, "start": "2024-03-12 21:57:40.173482" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.268) 0:00:12.677 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.024) 0:00:12.701 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.020) 0:00:12.722 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.021) 0:00:12.743 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.021) 0:00:12.765 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.020) 0:00:12.785 ********* 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_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.022) 0:00:12.808 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.029) 0:00:12.837 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.024) 0:00:12.861 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003281", "end": "2024-03-12 21:57:40.644608", "rc": 0, "start": "2024-03-12 21:57:40.641327" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.23 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.23 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.213) 0:00:13.075 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.056) 0:00:13.131 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003488", "end": "2024-03-12 21:57:40.897932", "rc": 0, "start": "2024-03-12 21:57:40.894444" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 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 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.196) 0:00:13.328 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.025) 0:00:13.353 ********* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 12 March 2024 21:57:40 +0000 (0:00:00.025) 0:00:13.378 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 12 March 2024 21:57:41 +0000 (0:00:00.043) 0:00:13.422 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 12 March 2024 21:57:41 +0000 (0:00:00.030) 0:00:13.452 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 12 March 2024 21:57:41 +0000 (0:00:00.024) 0:00:13.477 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 12 March 2024 21:57:41 +0000 (0:00:00.025) 0:00:13.502 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 12 March 2024 21:57:42 +0000 (0:00:01.416) 0:00:14.919 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.972) 0:00:15.892 ********* ok: [sut] => {} MSG: Using network provider: nm 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.024) 0:00:15.916 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.023) 0:00:15.939 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.022) 0:00:15.962 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:42 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.026) 0:00:15.989 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.026) 0:00:16.015 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:75 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.032) 0:00:16.048 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.046) 0:00:16.095 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:103 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.021) 0:00:16.117 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:120 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.023) 0:00:16.140 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 12 March 2024 21:57:43 +0000 (0:00:00.026) 0:00:16.166 ********* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.357) 0:00:16.524 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:154 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.066) 0:00:16.590 ********* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.026) 0:00:16.617 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:171 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.030) 0:00:16.647 ********* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:183 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.467) 0:00:17.115 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.020) 0:00:17.135 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:193 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.020) 0:00:17.156 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:198 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.021) 0:00:17.177 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:204 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.019) 0:00:17.197 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 12 March 2024 21:57:44 +0000 (0:00:00.188) 0:00:17.386 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:57:45 +0000 (0:00:00.051) 0:00:17.438 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:57:45 +0000 (0:00:00.021) 0:00:17.459 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:57:45 +0000 (0:00:00.021) 0:00:17.481 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:57:45 +0000 (0:00:00.034) 0:00:17.516 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:57:45 +0000 (0:00:00.069) 0:00:17.585 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003200", "end": "2024-03-12 21:57:45.351402", "rc": 0, "start": "2024-03-12 21:57:45.348202" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:57:45 +0000 (0:00:00.196) 0:00:17.782 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:57:45 +0000 (0:00:00.023) 0:00:17.805 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:57:45 +0000 (0:00:00.021) 0:00:17.826 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.902) 0:00:18.729 ********* 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_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.032) 0:00:18.762 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.023) 0:00:18.785 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012374", "end": "2024-03-12 21:57:46.567375", "rc": 0, "start": "2024-03-12 21:57:46.555001" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.219) 0:00:19.005 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.022) 0:00:19.028 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.022) 0:00:19.050 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.025) 0:00:19.075 ********* 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_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.023) 0:00:19.099 ********* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.061) 0:00:19.161 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.054) 0:00:19.215 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.020) 0:00:19.235 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.020) 0:00:19.256 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.033) 0:00:19.289 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:57:46 +0000 (0:00:00.032) 0:00:19.322 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003191", "end": "2024-03-12 21:57:47.089432", "rc": 0, "start": "2024-03-12 21:57:47.086241" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:57:47 +0000 (0:00:00.196) 0:00:19.518 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:57:47 +0000 (0:00:00.022) 0:00:19.541 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:57:47 +0000 (0:00:00.020) 0:00:19.561 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 12 March 2024 21:57:48 +0000 (0:00:00.874) 0:00:20.436 ********* 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.007795", "end": "2024-03-12 21:57:48.209012", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-12 21:57:48.201217" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003453", "end": "2024-03-12 21:57:48.409914", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-12 21:57:48.406461" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004177", "end": "2024-03-12 21:57:48.587572", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-12 21:57:48.583395" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 12 March 2024 21:57:48 +0000 (0:00:00.580) 0:00:21.017 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023657", "end": "2024-03-12 21:57:48.804630", "rc": 0, "start": "2024-03-12 21:57:48.780973" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 12 March 2024 21:57:48 +0000 (0:00:00.218) 0:00:21.235 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 12 March 2024 21:57:48 +0000 (0:00:00.023) 0:00:21.259 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 12 March 2024 21:57:48 +0000 (0:00:00.022) 0:00:21.281 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:57:48 +0000 (0:00:00.023) 0:00:21.305 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 12 March 2024 21:57:48 +0000 (0:00:00.023) 0:00:21.328 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 12 March 2024 21:57:48 +0000 (0:00:00.022) 0:00:21.351 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 12 March 2024 21:57:48 +0000 (0:00:00.041) 0:00:21.392 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 12 March 2024 21:57:49 +0000 (0:00:00.026) 0:00:21.419 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 12 March 2024 21:57:49 +0000 (0:00:00.021) 0:00:21.440 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 12 March 2024 21:57:49 +0000 (0:00:00.021) 0:00:21.462 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 12 March 2024 21:57:50 +0000 (0:00:01.439) 0:00:22.901 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.971) 0:00:23.873 ********* ok: [sut] => {} MSG: Using network provider: nm 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.023) 0:00:23.897 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.021) 0:00:23.919 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.030) 0:00:23.949 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:42 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.027) 0:00:23.976 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.021) 0:00:23.998 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:75 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.025) 0:00:24.023 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.043) 0:00:24.067 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:103 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.019) 0:00:24.087 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:120 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.056) 0:00:24.144 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 12 March 2024 21:57:51 +0000 (0:00:00.025) 0:00:24.169 ********* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.364) 0:00:24.534 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:154 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.028) 0:00:24.562 ********* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.040) 0:00:24.603 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:171 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.035) 0:00:24.639 ********* 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3879b89b-3cd8-4c1f-9a36-7964db837c3f [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3879b89b-3cd8-4c1f-9a36-7964db837c3f (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:183 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.401) 0:00:25.041 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.021) 0:00:25.062 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3879b89b-3cd8-4c1f-9a36-7964db837c3f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3879b89b-3cd8-4c1f-9a36-7964db837c3f (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:193 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.021) 0:00:25.084 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3879b89b-3cd8-4c1f-9a36-7964db837c3f\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3879b89b-3cd8-4c1f-9a36-7964db837c3f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3879b89b-3cd8-4c1f-9a36-7964db837c3f", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3879b89b-3cd8-4c1f-9a36-7964db837c3f (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:198 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.022) 0:00:25.107 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:204 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.019) 0:00:25.127 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.190) 0:00:25.317 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 21:57:52 +0000 (0:00:00.053) 0:00:25.371 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.085) 0:00:25.457 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710280668.2046623, "block_size": 4096, "blocks": 0, "ctime": 1710280668.2046623, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23594, "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": 1710280668.2046623, "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_hotfixk0snxifm/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.207) 0:00:25.664 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.035) 0:00:25.700 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.059) 0:00:25.760 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/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_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.035) 0:00:25.796 ********* 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_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.021) 0:00:25.817 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.189) 0:00:26.006 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.020) 0:00:26.027 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021842", "end": "2024-03-12 21:57:53.811887", "rc": 0, "start": "2024-03-12 21:57:53.790045" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.215) 0:00:26.242 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.024) 0:00:26.267 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.025) 0:00:26.292 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.023) 0:00:26.316 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 12 March 2024 21:57:53 +0000 (0:00:00.066) 0:00:26.382 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.022) 0:00:26.405 ********* 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_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.024) 0:00:26.430 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.024) 0:00:26.455 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.022) 0:00:26.478 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003306", "end": "2024-03-12 21:57:54.244214", "rc": 0, "start": "2024-03-12 21:57:54.240908" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.23 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.23 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.195) 0:00:26.673 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.022) 0:00:26.696 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003394", "end": "2024-03-12 21:57:54.461289", "rc": 0, "start": "2024-03-12 21:57:54.457895" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 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 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.194) 0:00:26.891 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.024) 0:00:26.916 ********* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.021) 0:00:26.937 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.037) 0:00:26.975 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.025) 0:00:27.001 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.020) 0:00:27.021 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 12 March 2024 21:57:54 +0000 (0:00:00.019) 0:00:27.041 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 12 March 2024 21:57:56 +0000 (0:00:01.418) 0:00:28.459 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.972) 0:00:29.432 ********* ok: [sut] => {} MSG: Using network provider: nm 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.021) 0:00:29.453 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.021) 0:00:29.474 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.021) 0:00:29.496 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:42 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.029) 0:00:29.525 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.023) 0:00:29.549 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:75 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.026) 0:00:29.576 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.088) 0:00:29.664 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:103 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.022) 0:00:29.687 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:120 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.021) 0:00:29.708 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.026) 0:00:29.735 ********* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:145 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.354) 0:00:30.089 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:154 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.025) 0:00:30.114 ********* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:162 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.019) 0:00:30.134 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:171 Tuesday 12 March 2024 21:57:57 +0000 (0:00:00.020) 0:00:30.155 ********* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:183 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.418) 0:00:30.573 ********* 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_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:189 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.022) 0:00:30.595 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:193 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.023) 0:00:30.619 ********* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:198 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.022) 0:00:30.641 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:204 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.024) 0:00:30.666 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.192) 0:00:30.859 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.113) 0:00:30.973 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.031) 0:00:31.005 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.032) 0:00:31.038 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.037) 0:00:31.075 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.034) 0:00:31.110 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003108", "end": "2024-03-12 21:57:58.875628", "rc": 0, "start": "2024-03-12 21:57:58.872520" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.204) 0:00:31.314 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.025) 0:00:31.339 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 21:57:58 +0000 (0:00:00.024) 0:00:31.364 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 12 March 2024 21:57:59 +0000 (0:00:00.897) 0:00:32.262 ********* 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_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 12 March 2024 21:57:59 +0000 (0:00:00.033) 0:00:32.295 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 12 March 2024 21:57:59 +0000 (0:00:00.067) 0:00:32.362 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016330", "end": "2024-03-12 21:58:00.144006", "rc": 0, "start": "2024-03-12 21:58:00.127676" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 12 March 2024 21:58:00 +0000 (0:00:00.215) 0:00:32.578 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 12 March 2024 21:58:00 +0000 (0:00:00.023) 0:00:32.601 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 21:58:00 +0000 (0:00:00.039) 0:00:32.641 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 12 March 2024 21:58:00 +0000 (0:00:00.041) 0:00:32.682 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 12 March 2024 21:58:00 +0000 (0:00:00.047) 0:00:32.729 ********* included: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 12 March 2024 21:58:00 +0000 (0:00:00.115) 0:00:32.845 ********* 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.008329", "end": "2024-03-12 21:58:00.633162", "rc": 0, "start": "2024-03-12 21:58:00.624833" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:ae:6a:00:22:4f brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.11.23/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2822sec preferred_lft 2822sec inet6 fe80::10ae:6aff:fe00:224f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.23 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.23 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_hotfixk0snxifm/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 12 March 2024 21:58:00 +0000 (0:00:00.218) 0:00:33.063 ********* 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.237848", "end": "2024-03-12 21:58:01.069156", "rc": 0, "start": "2024-03-12 21:58:00.831308" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600: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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3050 0 --:--:-- --:--:-- --:--:-- 3050 % 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 2645 0 --:--:-- --:--:-- --:--:-- 2645 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=128 changed=4 unreachable=0 failed=0 skipped=114 rescued=0 ignored=0 Tuesday 12 March 2024 21:58:01 +0000 (0:00:00.424) 0:00:33.488 ********* =============================================================================== Install iproute --------------------------------------------------------- 1.96s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.24s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.90s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.90s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.89s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:171 Install iproute --------------------------------------------------------- 0.87s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.72s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:171 linux-system-roles.network : Enable and start NetworkManager ------------ 0.71s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/tests_auto_gateway_nm.yml:6 ------- Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.58s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-nm_plugin_hotfixk0snxifm/tests/roles/linux-system-roles.network/tasks/main.yml:134 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---