# 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-nm_plugin_hotfixm4y2jkmm/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-nm_plugin_hotfixm4y2jkmm/tests/tests_route_device_nm.yml:6 Sunday 18 February 2024 13:19:34 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tests_route_device_nm.yml:9 Sunday 18 February 2024 13:19:35 +0000 (0:00:01.003) 0:00:01.016 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/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_hotfixm4y2jkmm/tests/tasks/el_repo_setup.yml:3 Sunday 18 February 2024 13:19:35 +0000 (0:00:00.014) 0:00:01.031 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/el_repo_setup.yml:19 Sunday 18 February 2024 13:19:35 +0000 (0:00:00.510) 0:00:01.541 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/el_repo_setup.yml:24 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.266) 0:00:01.807 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/el_repo_setup.yml:28 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.022) 0:00:01.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/el_repo_setup.yml:53 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.019) 0:00:01.849 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/enable_epel.yml:8 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.031) 0:00:01.881 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/enable_epel.yml:24 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.009) 0:00:01.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/enable_epel.yml:30 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.009) 0:00:01.900 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/enable_epel.yml:35 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.012) 0:00:01.912 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/enable_epel.yml:40 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.010) 0:00:01.922 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tests_route_device_nm.yml:11 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.010) 0:00:01.933 ******* 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-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:3 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.011) 0:00:01.944 ******* ok: [sut] META: ran handlers TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:11 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.748) 0:00:02.692 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:15 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.033) 0:00:02.726 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.014) 0:00:02.741 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 13:19:36 +0000 (0:00:00.014) 0:00:02.755 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003283", "end": "2024-02-18 13:19:37.183425", "rc": 0, "start": "2024-02-18 13:19:37.180142" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.252) 0:00:03.007 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.014) 0:00:03.021 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:17 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.012) 0:00:03.033 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.020) 0:00:03.053 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.011) 0:00:03.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.011) 0:00:03.076 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.013) 0:00:03.090 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.014) 0:00:03.105 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003294", "end": "2024-02-18 13:19:37.481702", "rc": 0, "start": "2024-02-18 13:19:37.478408" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.197) 0:00:03.302 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.013) 0:00:03.316 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 13:19:37 +0000 (0:00:00.012) 0:00:03.328 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:28 Sunday 18 February 2024 13:21:40 +0000 (0:02:02.537) 0:02:05.866 ******* 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.007395", "end": "2024-02-18 13:21:40.251647", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-18 13:21:40.244252" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003716", "end": "2024-02-18 13:21:40.497993", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-18 13:21:40.494277" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003678", "end": "2024-02-18 13:21:40.687016", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-18 13:21:40.683338" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:37 Sunday 18 February 2024 13:21:40 +0000 (0:00:00.641) 0:02:06.508 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.023283", "end": "2024-02-18 13:21:40.905944", "rc": 0, "start": "2024-02-18 13:21:40.882661" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:45 Sunday 18 February 2024 13:21:40 +0000 (0:00:00.219) 0:02:06.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:52 Sunday 18 February 2024 13:21:40 +0000 (0:00:00.012) 0:02:06.739 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:58 Sunday 18 February 2024 13:21:40 +0000 (0:00:00.011) 0:02:06.751 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 13:21:40 +0000 (0:00:00.011) 0:02:06.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:71 Sunday 18 February 2024 13:21:40 +0000 (0:00:00.012) 0:02:06.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:21 Sunday 18 February 2024 13:21:40 +0000 (0:00:00.011) 0:02:06.786 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.015) 0:02:06.801 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.014) 0:02:06.816 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708262500.2482753, "block_size": 4096, "blocks": 0, "ctime": 1708262500.2482753, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36015, "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": 1708262500.2482753, "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-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.193) 0:02:07.009 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface1] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:23 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.013) 0:02:07.023 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest1" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:26 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.011) 0:02:07.034 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.015) 0:02:07.050 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.013) 0:02:07.064 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003306", "end": "2024-02-18 13:21:41.439645", "rc": 0, "start": "2024-02-18 13:21:41.436339" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.195) 0:02:07.259 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.011) 0:02:07.271 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:28 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.011) 0:02:07.282 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:3 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.017) 0:02:07.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:8 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.010) 0:02:07.310 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:13 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.011) 0:02:07.322 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.016) 0:02:07.338 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.014) 0:02:07.352 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003389", "end": "2024-02-18 13:21:41.728333", "rc": 0, "start": "2024-02-18 13:21:41.724944" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.196) 0:02:07.548 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.012) 0:02:07.560 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:16 Sunday 18 February 2024 13:21:41 +0000 (0:00:00.010) 0:02:07.571 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:28 Sunday 18 February 2024 13:23:44 +0000 (0:02:02.394) 0:04:09.966 ******* 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.007995", "end": "2024-02-18 13:23:44.354246", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-02-18 13:23:44.346251" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003916", "end": "2024-02-18 13:23:44.598092", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-02-18 13:23:44.594176" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004016", "end": "2024-02-18 13:23:44.790395", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-02-18 13:23:44.786379" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:37 Sunday 18 February 2024 13:23:44 +0000 (0:00:00.645) 0:04:10.612 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.024175", "end": "2024-02-18 13:23:45.013232", "rc": 0, "start": "2024-02-18 13:23:44.989057" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:45 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.222) 0:04:10.835 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:52 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.012) 0:04:10.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:58 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.011) 0:04:10.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:65 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.012) 0:04:10.871 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:71 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.012) 0:04:10.883 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:32 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.011) 0:04:10.895 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.016) 0:04:10.912 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.015) 0:04:10.927 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708262624.3504283, "block_size": 4096, "blocks": 0, "ctime": 1708262624.3504283, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36601, "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": 1708262624.3504283, "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-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.194) 0:04:11.121 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.013) 0:04:11.135 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.068) 0:04:11.204 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.015) 0:04:11.220 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.011) 0:04:11.231 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 13:23:45 +0000 (0:00:00.011) 0:04:11.243 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 13:23:47 +0000 (0:00:02.211) 0:04:13.455 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 13:23:48 +0000 (0:00:01.081) 0:04:14.536 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 13:23:48 +0000 (0:00:00.025) 0:04:14.561 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 13:23:48 +0000 (0:00:00.023) 0:04:14.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 13:23:48 +0000 (0:00:00.024) 0:04:14.609 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 13:23:48 +0000 (0:00:00.049) 0:04:14.659 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 13:23:48 +0000 (0:00:00.024) 0:04:14.683 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 13:23:48 +0000 (0:00:00.024) 0:04:14.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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 13:23:48 +0000 (0:00:00.029) 0:04:14.737 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 13:23:49 +0000 (0:00:00.683) 0:04:15.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 13:23:49 +0000 (0:00:00.028) 0:04:15.448 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 13:23:49 +0000 (0:00:00.023) 0:04:15.472 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 13:23:49 +0000 (0:00:00.023) 0:04:15.496 ******* 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, 9a2bbac9-507e-4492-92f1-3e354b357dc8 [006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35 [007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 9a2bbac9-507e-4492-92f1-3e354b357dc8 (not-active) [008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 13:23:50 +0000 (0:00:00.627) 0:04:16.124 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 13:23:50 +0000 (0:00:00.023) 0:04:16.148 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 9a2bbac9-507e-4492-92f1-3e354b357dc8", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 9a2bbac9-507e-4492-92f1-3e354b357dc8 (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 13:23:50 +0000 (0:00:00.025) 0:04:16.173 ******* 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, 9a2bbac9-507e-4492-92f1-3e354b357dc8\n[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35\n[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 9a2bbac9-507e-4492-92f1-3e354b357dc8 (not-active)\n[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 9a2bbac9-507e-4492-92f1-3e354b357dc8", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 9a2bbac9-507e-4492-92f1-3e354b357dc8 (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 13:23:50 +0000 (0:00:00.026) 0:04:16.200 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 13:23:50 +0000 (0:00:00.023) 0:04:16.223 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the IPv4 routes from the route table main] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:75 Sunday 18 February 2024 13:23:50 +0000 (0:00:00.252) 0:04:16.476 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-4", "route" ], "delta": "0:00:00.003630", "end": "2024-02-18 13:23:50.853982", "rc": 0, "start": "2024-02-18 13:23:50.850352" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.103 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.103 metric 100 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-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:80 Sunday 18 February 2024 13:23:50 +0000 (0:00:00.209) 0:04:16.686 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the IPv6 routes from the route table main] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:95 Sunday 18 February 2024 13:23:50 +0000 (0:00:00.026) 0:04:16.712 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003715", "end": "2024-02-18 13:23:51.089359", "rc": 0, "start": "2024-02-18 13:23:51.085644" } STDOUT: 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 peerethtest0 proto kernel metric 256 pref medium fe80::/64 dev peerethtest1 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:100 Sunday 18 February 2024 13:23:51 +0000 (0:00:00.210) 0:04:16.923 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the interface1 MAC address] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:108 Sunday 18 February 2024 13:23:51 +0000 (0:00:00.025) 0:04:16.948 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/sys/class/net/ethtest1/address" ], "delta": "0:00:00.003109", "end": "2024-02-18 13:23:51.326614", "rc": 0, "start": "2024-02-18 13:23:51.323505" } STDOUT: 82:04:77:ef:b8:ba TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 13:23:51 +0000 (0:00:00.209) 0:04:17.157 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 13:23:51 +0000 (0:00:00.066) 0:04:17.224 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 13:23:51 +0000 (0:00:00.030) 0:04:17.254 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 13:23:51 +0000 (0:00:00.023) 0:04:17.278 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 13:23:51 +0000 (0:00:00.023) 0:04:17.302 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 13:23:53 +0000 (0:00:02.134) 0:04:19.437 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 13:23:54 +0000 (0:00:00.913) 0:04:20.350 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 13:23:54 +0000 (0:00:00.025) 0:04:20.375 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 13:23:54 +0000 (0:00:00.024) 0:04:20.399 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 13:23:54 +0000 (0:00:00.023) 0:04:20.423 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 13:23:54 +0000 (0:00:00.047) 0:04:20.471 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 13:23:54 +0000 (0:00:00.024) 0:04:20.495 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 13:23:54 +0000 (0:00:00.024) 0:04:20.519 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 13:23:54 +0000 (0:00:00.027) 0:04:20.547 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 13:23:55 +0000 (0:00:00.545) 0:04:21.092 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 13:23:55 +0000 (0:00:00.061) 0:04:21.154 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 13:23:55 +0000 (0:00:00.024) 0:04:21.179 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 13:23:55 +0000 (0:00:00.024) 0:04:21.204 ******* 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": "82:04:77:ef:b8:ba", "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, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 13:23:55 +0000 (0:00:00.396) 0:04:21.601 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 13:23:55 +0000 (0:00:00.025) 0:04:21.626 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 13:23:55 +0000 (0:00:00.025) 0:04:21.651 ******* 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": "82:04:77:ef:b8:ba", "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, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, 5f6e5b57-5b7a-42ef-8fda-3b6d237d0c35" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 13:23:55 +0000 (0:00:00.025) 0:04:21.677 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 13:23:55 +0000 (0:00:00.025) 0:04:21.702 ******* 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-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:132 Sunday 18 February 2024 13:23:56 +0000 (0:00:00.221) 0:04:21.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that no warning is logged for nm provider] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:148 Sunday 18 February 2024 13:23:56 +0000 (0:00:00.022) 0:04:21.947 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Bring down test devices and profiles] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:159 Sunday 18 February 2024 13:23:56 +0000 (0:00:00.028) 0:04:21.975 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 13:23:56 +0000 (0:00:00.045) 0:04:22.021 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 13:23:56 +0000 (0:00:00.070) 0:04:22.092 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 13:23:56 +0000 (0:00:00.030) 0:04:22.122 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 13:23:56 +0000 (0:00:00.024) 0:04:22.147 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 13:23:56 +0000 (0:00:00.024) 0:04:22.172 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 13:23:58 +0000 (0:00:02.130) 0:04:24.302 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 13:23:59 +0000 (0:00:00.927) 0:04:25.229 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 13:23:59 +0000 (0:00:00.031) 0:04:25.261 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 13:23:59 +0000 (0:00:00.025) 0:04:25.286 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 13:23:59 +0000 (0:00:00.026) 0:04:25.312 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 13:23:59 +0000 (0:00:00.050) 0:04:25.362 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 13:23:59 +0000 (0:00:00.024) 0:04:25.386 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 13:23:59 +0000 (0:00:00.028) 0:04:25.414 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 13:23:59 +0000 (0:00:00.029) 0:04:25.444 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 13:24:00 +0000 (0:00:00.555) 0:04:26.000 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 13:24:00 +0000 (0:00:00.029) 0:04:26.029 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 13:24:00 +0000 (0:00:00.058) 0:04:26.087 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 13:24:00 +0000 (0:00:00.030) 0:04:26.117 ******* 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-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 13:24:00 +0000 (0:00:00.573) 0:04:26.691 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 13:24:00 +0000 (0:00:00.024) 0:04:26.715 ******* 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_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 13:24:00 +0000 (0:00:00.027) 0:04:26.742 ******* 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-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 13:24:00 +0000 (0:00:00.027) 0:04:26.769 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 13:24:00 +0000 (0:00:00.024) 0:04:26.794 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete interface1] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:170 Sunday 18 February 2024 13:24:01 +0000 (0:00:00.204) 0:04:26.998 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/delete_interface.yml:3 Sunday 18 February 2024 13:24:01 +0000 (0:00:00.041) 0:04:27.039 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.010753", "end": "2024-02-18 13:24:01.429918", "rc": 0, "start": "2024-02-18 13:24:01.419165" } TASK [Assert interface1 is absent] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:172 Sunday 18 February 2024 13:24:01 +0000 (0:00:00.236) 0:04:27.276 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 13:24:01 +0000 (0:00:00.085) 0:04:27.361 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 13:24:01 +0000 (0:00:00.041) 0:04:27.402 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 13:24:01 +0000 (0:00:00.210) 0:04:27.613 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface0] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:174 Sunday 18 February 2024 13:24:01 +0000 (0:00:00.027) 0:04:27.640 ******* ok: [sut] => { "ansible_facts": { "interface": "ethtest0" }, "changed": false } TASK [Delete interface0] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:177 Sunday 18 February 2024 13:24:01 +0000 (0:00:00.025) 0:04:27.666 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/delete_interface.yml:3 Sunday 18 February 2024 13:24:01 +0000 (0:00:00.042) 0:04:27.708 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.008368", "end": "2024-02-18 13:24:02.093831", "rc": 0, "start": "2024-02-18 13:24:02.085463" } TASK [Assert interface0 is absent] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:179 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.220) 0:04:27.929 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.043) 0:04:27.972 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.040) 0:04:28.013 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.208) 0:04:28.221 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert interface0 profile and interface1 profile are absent] ************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:181 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.060) 0:04:28.281 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_profile_absent.yml:3 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.050) 0:04:28.331 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/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_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.043) 0:04:28.374 ******* 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_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.025) 0:04:28.400 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.207) 0:04:28.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 13:24:02 +0000 (0:00:00.024) 0:04:28.632 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.019298", "end": "2024-02-18 13:24:03.027456", "rc": 1, "start": "2024-02-18 13:24:03.008158" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.226) 0:04:28.859 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.025) 0:04:28.884 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.025) 0:04:28.910 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.025) 0:04:28.935 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.026) 0:04:28.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_profile_absent.yml:5 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.026) 0:04:28.989 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_profile_absent.yml:3 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.027) 0:04:29.016 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/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_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.071) 0:04:29.088 ******* 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_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.025) 0:04:29.113 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.208) 0:04:29.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.023) 0:04:29.345 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest1 | grep /etc", "delta": "0:00:00.019383", "end": "2024-02-18 13:24:03.741298", "rc": 1, "start": "2024-02-18 13:24:03.721915" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.227) 0:04:29.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest1] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.025) 0:04:29.599 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest1] ******************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.026) 0:04:29.625 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest1] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.026) 0:04:29.651 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest1] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.024) 0:04:29.676 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest1'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/assert_profile_absent.yml:5 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.025) 0:04:29.702 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:188 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.027) 0:04:29.730 ******* included: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/check_network_dns.yml:6 Sunday 18 February 2024 13:24:03 +0000 (0:00:00.043) 0:04:29.774 ******* 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.008687", "end": "2024-02-18 13:24:04.157224", "rc": 0, "start": "2024-02-18 13:24:04.148537" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 12:b9:da:3c:5e:71 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.11.103/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 1987sec preferred_lft 1987sec inet6 fe80::10b9:daff:fe3c:5e71/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.103 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.103 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/check_network_dns.yml:24 Sunday 18 February 2024 13:24:04 +0000 (0:00:00.214) 0:04:29.988 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=106 changed=3 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Sunday 18 February 2024 13:24:04 +0000 (0:00:00.014) 0:04:30.002 ******* =============================================================================== Install iproute ------------------------------------------------------- 122.54s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute ------------------------------------------------------- 122.39s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tests_route_device_nm.yml:6 ------- linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tests_route_device.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 0.68s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Create veth interface ethtest1 ------------------------------------------ 0.65s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface ethtest0 ------------------------------------------ 0.64s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Configure networking connection profiles --- 0.63s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.56s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.55s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gather the minimum subset of ansible_facts required by the network role test --- 0.51s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/el_repo_setup.yml:3 --------- linux-system-roles.network : Configure networking connection profiles --- 0.40s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-nm_plugin_hotfixm4y2jkmm/tests/tasks/el_repo_setup.yml:19 -------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, 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. ---^---^---^---^---^---