# 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_route_device_nm.yml ******************************************** 2 plays in /WORKDIR/git-route_typefz7powex/tests/tests_route_device_nm.yml PLAY [Run playbook 'playbooks/tests_route_device.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/tests_route_device_nm.yml:6 Thursday 11 January 2024 02:12:52 +0000 (0:00:00.037) 0:00:00.037 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typefz7powex/tests/tests_route_device_nm.yml:9 Thursday 11 January 2024 02:12:53 +0000 (0:00:00.731) 0:00:00.768 ****** included: /WORKDIR/git-route_typefz7powex/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-route_typefz7powex/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:12:53 +0000 (0:00:00.029) 0:00:00.798 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:12:53 +0000 (0:00:00.404) 0:00:01.202 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:12:53 +0000 (0:00:00.290) 0:00:01.493 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:12:53 +0000 (0:00:00.038) 0:00:01.531 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.048) 0:00:01.579 ****** included: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.055) 0:00:01.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.011) 0:00:01.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.011) 0:00:01.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.010) 0:00:01.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.043) 0:00:01.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tests_route_device_nm.yml:11 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.048) 0:00:01.760 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:3 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.017) 0:00:01.777 ****** ok: [sut] META: ran handlers TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:11 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.507) 0:00:02.284 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:15 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.011) 0:00:02.296 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.012) 0:00:02.309 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:12:54 +0000 (0:00:00.012) 0:00:02.321 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003082", "end": "2024-01-11 02:12:54.970980", "rc": 0, "start": "2024-01-11 02:12:54.967898" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.248) 0:00:02.570 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.025) 0:00:02.595 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:17 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.026) 0:00:02.621 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.030) 0:00:02.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.031) 0:00:02.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.021) 0:00:02.704 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.013) 0:00:02.718 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.013) 0:00:02.732 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003314", "end": "2024-01-11 02:12:55.337128", "rc": 0, "start": "2024-01-11 02:12:55.333814" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.210) 0:00:02.942 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.014) 0:00:02.957 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:12:55 +0000 (0:00:00.020) 0:00:02.977 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:12:56 +0000 (0:00:01.002) 0:00:03.979 ****** ok: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.010653", "end": "2024-01-11 02:12:56.613643", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-01-11 02:12:56.602990" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003294", "end": "2024-01-11 02:12:56.820311", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-01-11 02:12:56.817017" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003344", "end": "2024-01-11 02:12:57.034002", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-01-11 02:12:57.030658" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.637) 0:00:04.617 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024075", "end": "2024-01-11 02:12:57.242991", "rc": 0, "start": "2024-01-11 02:12:57.218916" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.210) 0:00:04.828 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.014) 0:00:04.842 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.013) 0:00:04.855 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.016) 0:00:04.872 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.011) 0:00:04.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:21 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.011) 0:00:04.895 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.017) 0:00:04.913 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.016) 0:00:04.929 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939176.6065345, "block_size": 4096, "blocks": 0, "ctime": 1704939176.6065345, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32215, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1704939176.6065345, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.190) 0:00:05.120 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface1] ********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:23 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.028) 0:00:05.149 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest1" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:26 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.039) 0:00:05.188 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.033) 0:00:05.221 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.014) 0:00:05.236 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003258", "end": "2024-01-11 02:12:57.856160", "rc": 0, "start": "2024-01-11 02:12:57.852902" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.205) 0:00:05.442 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.052) 0:00:05.494 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0', 'rpltstbr'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:28 Thursday 11 January 2024 02:12:57 +0000 (0:00:00.049) 0:00:05.543 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:12:58 +0000 (0:00:00.021) 0:00:05.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:12:58 +0000 (0:00:00.011) 0:00:05.575 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:12:58 +0000 (0:00:00.018) 0:00:05.594 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:12:58 +0000 (0:00:00.019) 0:00:05.614 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:12:58 +0000 (0:00:00.014) 0:00:05.628 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003058", "end": "2024-01-11 02:12:58.239194", "rc": 0, "start": "2024-01-11 02:12:58.236136" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:12:58 +0000 (0:00:00.192) 0:00:05.821 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:12:58 +0000 (0:00:00.036) 0:00:05.857 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:12:58 +0000 (0:00:00.024) 0:00:05.882 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:12:59 +0000 (0:00:00.906) 0:00:06.789 ****** ok: [sut] => (item=ip link add ethtest1 type veth peer name peerethtest1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest1", "type", "veth", "peer", "name", "peerethtest1" ], "delta": "0:00:00.009393", "end": "2024-01-11 02:12:59.405210", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-01-11 02:12:59.395817" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003276", "end": "2024-01-11 02:12:59.594375", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-01-11 02:12:59.591099" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.003312", "end": "2024-01-11 02:12:59.773025", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-01-11 02:12:59.769713" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:12:59 +0000 (0:00:00.563) 0:00:07.353 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.025205", "end": "2024-01-11 02:12:59.983929", "rc": 0, "start": "2024-01-11 02:12:59.958724" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.210) 0:00:07.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.012) 0:00:07.575 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.011) 0:00:07.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.012) 0:00:07.599 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.011) 0:00:07.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:32 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.014) 0:00:07.625 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.017) 0:00:07.643 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.015) 0:00:07.658 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939179.3993716, "block_size": 4096, "blocks": 0, "ctime": 1704939179.3993716, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32801, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest1", "lnk_target": "../../devices/virtual/net/ethtest1", "mode": "0777", "mtime": 1704939179.3993716, "nlink": 1, "path": "/sys/class/net/ethtest1", "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 - 'ethtest1'] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.184) 0:00:07.842 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.020) 0:00:07.863 ****** included: /WORKDIR/git-route_typefz7powex/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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.099) 0:00:07.962 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.016) 0:00:07.979 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.011) 0:00:07.990 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:13:00 +0000 (0:00:00.026) 0:00:08.016 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:13:01 +0000 (0:00:01.541) 0:00:09.558 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:13:03 +0000 (0:00:01.240) 0:00:10.799 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:13:03 +0000 (0:00:00.066) 0:00:10.866 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:13:03 +0000 (0:00:00.042) 0:00:10.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:13:03 +0000 (0:00:00.051) 0:00:10.960 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:13:03 +0000 (0:00:00.124) 0:00:11.085 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:13:03 +0000 (0:00:00.042) 0:00:11.127 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:13:03 +0000 (0:00:00.035) 0:00:11.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:13:03 +0000 (0:00:00.077) 0:00:11.240 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:13:04 +0000 (0:00:00.645) 0:00:11.885 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:13:04 +0000 (0:00:00.026) 0:00:11.912 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:13:04 +0000 (0:00:00.022) 0:00:11.934 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:13:04 +0000 (0:00:00.021) 0:00:11.955 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b141079d-7d2c-411a-a5fe-ce84eae271ae [006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9 [007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b141079d-7d2c-411a-a5fe-ce84eae271ae (not-active) [008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.669) 0:00:12.625 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.031) 0:00:12.657 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b141079d-7d2c-411a-a5fe-ce84eae271ae", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b141079d-7d2c-411a-a5fe-ce84eae271ae (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.033) 0:00:12.690 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b141079d-7d2c-411a-a5fe-ce84eae271ae\n[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9\n[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b141079d-7d2c-411a-a5fe-ce84eae271ae (not-active)\n[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, b141079d-7d2c-411a-a5fe-ce84eae271ae", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, b141079d-7d2c-411a-a5fe-ce84eae271ae (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.026) 0:00:12.717 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.022) 0:00:12.739 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the IPv4 routes from the route table main] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:75 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.247) 0:00:12.987 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-4", "route" ], "delta": "0:00:00.003521", "end": "2024-01-11 02:13:05.603567", "rc": 0, "start": "2024-01-11 02:13:05.600046" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.102 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.102 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 198.51.10.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 198.51.12.128/26 via 198.51.100.1 dev ethtest1 proto static metric 2 198.51.100.0/24 dev ethtest0 proto kernel scope link src 198.51.100.3 metric 103 198.51.100.0/24 dev ethtest1 proto kernel scope link src 198.51.100.6 metric 104 TASK [Assert that the route table main contains the specified IPv4 routes] ***** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:80 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.205) 0:00:13.192 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the IPv6 routes from the route table main] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:95 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.023) 0:00:13.216 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003484", "end": "2024-01-11 02:13:05.821678", "rc": 0, "start": "2024-01-11 02:13:05.818194" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db6::4 via 2001:db8::1 dev ethtest0 proto static metric 2 pref medium 2001:db8::/32 dev ethtest0 proto kernel metric 103 pref medium 2001:db8::/32 dev ethtest1 proto kernel metric 104 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerethtest0 proto kernel metric 256 pref medium fe80::/64 dev peerethtest1 proto kernel metric 256 pref medium fe80::/64 dev ethtest0 proto kernel metric 1024 pref medium fe80::/64 dev ethtest1 proto kernel metric 1024 pref medium TASK [Assert that the route table main contains the specified IPv6 routes] ***** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:100 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.201) 0:00:13.417 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the interface1 MAC address] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:108 Thursday 11 January 2024 02:13:05 +0000 (0:00:00.024) 0:00:13.442 ****** ok: [sut] => { "changed": false, "cmd": [ "cat", "/sys/class/net/ethtest1/address" ], "delta": "0:00:00.002850", "end": "2024-01-11 02:13:06.047110", "rc": 0, "start": "2024-01-11 02:13:06.044260" } STDOUT: 9e:b1:42:eb:90:41 TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:13:06 +0000 (0:00:00.192) 0:00:13.635 ****** included: /WORKDIR/git-route_typefz7powex/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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:13:06 +0000 (0:00:00.036) 0:00:13.671 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:13:06 +0000 (0:00:00.027) 0:00:13.699 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:13:06 +0000 (0:00:00.055) 0:00:13.755 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:13:06 +0000 (0:00:00.023) 0:00:13.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:13:07 +0000 (0:00:01.371) 0:00:15.150 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:13:08 +0000 (0:00:00.914) 0:00:16.064 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:13:08 +0000 (0:00:00.025) 0:00:16.090 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:13:08 +0000 (0:00:00.022) 0:00:16.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:13:08 +0000 (0:00:00.023) 0:00:16.135 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:13:08 +0000 (0:00:00.076) 0:00:16.211 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:13:08 +0000 (0:00:00.023) 0:00:16.235 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:13:08 +0000 (0:00:00.025) 0:00:16.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:13:08 +0000 (0:00:00.052) 0:00:16.313 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.386) 0:00:16.700 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.028) 0:00:16.728 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.024) 0:00:16.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.024) 0:00:16.777 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "9e:b1:42:eb:90:41", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.391) 0:00:17.168 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.023) 0:00:17.192 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.026) 0:00:17.218 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "9e:b1:42:eb:90:41", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, cc38e4fc-ab2d-462c-befc-ef2282760ba9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.025) 0:00:17.244 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.022) 0:00:17.266 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that the warning about specifying the route without the output device is logged for initscripts provider] *** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:132 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.206) 0:00:17.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that no warning is logged for nm provider] ************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:148 Thursday 11 January 2024 02:13:09 +0000 (0:00:00.026) 0:00:17.499 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Bring down test devices and profiles] ************************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:159 Thursday 11 January 2024 02:13:10 +0000 (0:00:00.068) 0:00:17.567 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:13:10 +0000 (0:00:00.059) 0:00:17.627 ****** included: /WORKDIR/git-route_typefz7powex/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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:13:10 +0000 (0:00:00.039) 0:00:17.666 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:13:10 +0000 (0:00:00.028) 0:00:17.694 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:13:10 +0000 (0:00:00.022) 0:00:17.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:13:10 +0000 (0:00:00.023) 0:00:17.741 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:13:11 +0000 (0:00:01.368) 0:00:19.109 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:13:12 +0000 (0:00:01.075) 0:00:20.184 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:13:12 +0000 (0:00:00.042) 0:00:20.227 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:13:12 +0000 (0:00:00.036) 0:00:20.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:13:12 +0000 (0:00:00.035) 0:00:20.298 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:13:12 +0000 (0:00:00.058) 0:00:20.357 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:13:12 +0000 (0:00:00.025) 0:00:20.382 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:13:12 +0000 (0:00:00.023) 0:00:20.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:13:12 +0000 (0:00:00.031) 0:00:20.438 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:13:13 +0000 (0:00:00.416) 0:00:20.854 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:13:13 +0000 (0:00:00.028) 0:00:20.882 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:13:13 +0000 (0:00:00.025) 0:00:20.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:13:13 +0000 (0:00:00.023) 0:00:20.932 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.644) 0:00:21.576 ****** 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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.078) 0:00:21.654 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.041) 0:00:21.696 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "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-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.063) 0:00:21.759 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.059) 0:00:21.818 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete interface1] ******************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:170 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.218) 0:00:22.037 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.085) 0:00:22.122 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.017698", "end": "2024-01-11 02:13:14.792927", "rc": 0, "start": "2024-01-11 02:13:14.775229" } TASK [Assert interface1 is absent] ********************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:172 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.262) 0:00:22.384 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.037) 0:00:22.422 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:13:14 +0000 (0:00:00.034) 0:00:22.456 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:13:15 +0000 (0:00:00.206) 0:00:22.663 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface0] ********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:174 Thursday 11 January 2024 02:13:15 +0000 (0:00:00.040) 0:00:22.703 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0" }, "changed": false } TASK [Delete interface0] ******************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:177 Thursday 11 January 2024 02:13:15 +0000 (0:00:00.035) 0:00:22.738 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:13:15 +0000 (0:00:00.057) 0:00:22.796 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.009323", "end": "2024-01-11 02:13:15.507726", "rc": 0, "start": "2024-01-11 02:13:15.498403" } TASK [Assert interface0 is absent] ********************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:179 Thursday 11 January 2024 02:13:15 +0000 (0:00:00.302) 0:00:23.099 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:13:15 +0000 (0:00:00.047) 0:00:23.147 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:13:15 +0000 (0:00:00.037) 0:00:23.184 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:13:15 +0000 (0:00:00.242) 0:00:23.426 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert interface0 profile and interface1 profile are absent] ************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:181 Thursday 11 January 2024 02:13:15 +0000 (0:00:00.084) 0:00:23.511 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.104) 0:00:23.615 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.092) 0:00:23.708 ****** 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-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.081) 0:00:23.790 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.217) 0:00:24.007 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.026) 0:00:24.034 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.020302", "end": "2024-01-11 02:13:16.675588", "rc": 1, "start": "2024-01-11 02:13:16.655286" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.263) 0:00:24.297 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.029) 0:00:24.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.024) 0:00:24.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.023) 0:00:24.374 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.034) 0:00:24.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.037) 0:00:24.446 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.026) 0:00:24.472 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.054) 0:00:24.527 ****** 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-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:13:16 +0000 (0:00:00.032) 0:00:24.560 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:13:17 +0000 (0:00:00.215) 0:00:24.775 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:13:17 +0000 (0:00:00.022) 0:00:24.798 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest1 | grep /etc", "delta": "0:00:00.020409", "end": "2024-01-11 02:13:17.421486", "rc": 1, "start": "2024-01-11 02:13:17.401077" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:13:17 +0000 (0:00:00.210) 0:00:25.009 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest1] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:13:17 +0000 (0:00:00.022) 0:00:25.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest1] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:13:17 +0000 (0:00:00.022) 0:00:25.054 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest1] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:13:17 +0000 (0:00:00.026) 0:00:25.080 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest1] ************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:13:17 +0000 (0:00:00.033) 0:00:25.113 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest1'] ************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:13:17 +0000 (0:00:00.060) 0:00:25.174 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=104 changed=3 unreachable=0 failed=0 skipped=75 rescued=0 ignored=2 Thursday 11 January 2024 02:13:17 +0000 (0:00:00.014) 0:00:25.188 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.24s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.00s /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-route_typefz7powex/tests/tests_route_device_nm.yml:6 ------------- linux-system-roles.network : Configure networking connection profiles --- 0.67s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.65s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.64s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Create veth interface ethtest0 ------------------------------------------ 0.64s /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:24 Create veth interface ethtest1 ------------------------------------------ 0.56s /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_route_device.yml:3 ------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.42s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather the minimum subset of ansible_facts required by the network role test --- 0.40s /WORKDIR/git-route_typefz7powex/tests/tasks/el_repo_setup.yml:3 --------------- linux-system-roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.39s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Remove test interface if necessary -------------------------------------- 0.30s /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/delete_interface.yml:3 -- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---